config.pb.go 66 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635
  1. package dns
  2. import (
  3. routercommon "github.com/v2fly/v2ray-core/v5/app/router/routercommon"
  4. net "github.com/v2fly/v2ray-core/v5/common/net"
  5. _ "github.com/v2fly/v2ray-core/v5/common/protoext"
  6. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  7. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  8. reflect "reflect"
  9. sync "sync"
  10. )
  11. const (
  12. // Verify that this generated code is sufficiently up-to-date.
  13. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  14. // Verify that runtime/protoimpl is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  16. )
  17. type DomainMatchingType int32
  18. const (
  19. DomainMatchingType_Full DomainMatchingType = 0
  20. DomainMatchingType_Subdomain DomainMatchingType = 1
  21. DomainMatchingType_Keyword DomainMatchingType = 2
  22. DomainMatchingType_Regex DomainMatchingType = 3
  23. )
  24. // Enum value maps for DomainMatchingType.
  25. var (
  26. DomainMatchingType_name = map[int32]string{
  27. 0: "Full",
  28. 1: "Subdomain",
  29. 2: "Keyword",
  30. 3: "Regex",
  31. }
  32. DomainMatchingType_value = map[string]int32{
  33. "Full": 0,
  34. "Subdomain": 1,
  35. "Keyword": 2,
  36. "Regex": 3,
  37. }
  38. )
  39. func (x DomainMatchingType) Enum() *DomainMatchingType {
  40. p := new(DomainMatchingType)
  41. *p = x
  42. return p
  43. }
  44. func (x DomainMatchingType) String() string {
  45. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  46. }
  47. func (DomainMatchingType) Descriptor() protoreflect.EnumDescriptor {
  48. return file_app_dns_config_proto_enumTypes[0].Descriptor()
  49. }
  50. func (DomainMatchingType) Type() protoreflect.EnumType {
  51. return &file_app_dns_config_proto_enumTypes[0]
  52. }
  53. func (x DomainMatchingType) Number() protoreflect.EnumNumber {
  54. return protoreflect.EnumNumber(x)
  55. }
  56. // Deprecated: Use DomainMatchingType.Descriptor instead.
  57. func (DomainMatchingType) EnumDescriptor() ([]byte, []int) {
  58. return file_app_dns_config_proto_rawDescGZIP(), []int{0}
  59. }
  60. type QueryStrategy int32
  61. const (
  62. QueryStrategy_USE_IP QueryStrategy = 0
  63. QueryStrategy_USE_IP4 QueryStrategy = 1
  64. QueryStrategy_USE_IP6 QueryStrategy = 2
  65. )
  66. // Enum value maps for QueryStrategy.
  67. var (
  68. QueryStrategy_name = map[int32]string{
  69. 0: "USE_IP",
  70. 1: "USE_IP4",
  71. 2: "USE_IP6",
  72. }
  73. QueryStrategy_value = map[string]int32{
  74. "USE_IP": 0,
  75. "USE_IP4": 1,
  76. "USE_IP6": 2,
  77. }
  78. )
  79. func (x QueryStrategy) Enum() *QueryStrategy {
  80. p := new(QueryStrategy)
  81. *p = x
  82. return p
  83. }
  84. func (x QueryStrategy) String() string {
  85. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  86. }
  87. func (QueryStrategy) Descriptor() protoreflect.EnumDescriptor {
  88. return file_app_dns_config_proto_enumTypes[1].Descriptor()
  89. }
  90. func (QueryStrategy) Type() protoreflect.EnumType {
  91. return &file_app_dns_config_proto_enumTypes[1]
  92. }
  93. func (x QueryStrategy) Number() protoreflect.EnumNumber {
  94. return protoreflect.EnumNumber(x)
  95. }
  96. // Deprecated: Use QueryStrategy.Descriptor instead.
  97. func (QueryStrategy) EnumDescriptor() ([]byte, []int) {
  98. return file_app_dns_config_proto_rawDescGZIP(), []int{1}
  99. }
  100. type CacheStrategy int32
  101. const (
  102. CacheStrategy_CacheEnabled CacheStrategy = 0
  103. CacheStrategy_CacheDisabled CacheStrategy = 1
  104. )
  105. // Enum value maps for CacheStrategy.
  106. var (
  107. CacheStrategy_name = map[int32]string{
  108. 0: "CacheEnabled",
  109. 1: "CacheDisabled",
  110. }
  111. CacheStrategy_value = map[string]int32{
  112. "CacheEnabled": 0,
  113. "CacheDisabled": 1,
  114. }
  115. )
  116. func (x CacheStrategy) Enum() *CacheStrategy {
  117. p := new(CacheStrategy)
  118. *p = x
  119. return p
  120. }
  121. func (x CacheStrategy) String() string {
  122. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  123. }
  124. func (CacheStrategy) Descriptor() protoreflect.EnumDescriptor {
  125. return file_app_dns_config_proto_enumTypes[2].Descriptor()
  126. }
  127. func (CacheStrategy) Type() protoreflect.EnumType {
  128. return &file_app_dns_config_proto_enumTypes[2]
  129. }
  130. func (x CacheStrategy) Number() protoreflect.EnumNumber {
  131. return protoreflect.EnumNumber(x)
  132. }
  133. // Deprecated: Use CacheStrategy.Descriptor instead.
  134. func (CacheStrategy) EnumDescriptor() ([]byte, []int) {
  135. return file_app_dns_config_proto_rawDescGZIP(), []int{2}
  136. }
  137. type FallbackStrategy int32
  138. const (
  139. FallbackStrategy_Enabled FallbackStrategy = 0
  140. FallbackStrategy_Disabled FallbackStrategy = 1
  141. FallbackStrategy_DisabledIfAnyMatch FallbackStrategy = 2
  142. )
  143. // Enum value maps for FallbackStrategy.
  144. var (
  145. FallbackStrategy_name = map[int32]string{
  146. 0: "Enabled",
  147. 1: "Disabled",
  148. 2: "DisabledIfAnyMatch",
  149. }
  150. FallbackStrategy_value = map[string]int32{
  151. "Enabled": 0,
  152. "Disabled": 1,
  153. "DisabledIfAnyMatch": 2,
  154. }
  155. )
  156. func (x FallbackStrategy) Enum() *FallbackStrategy {
  157. p := new(FallbackStrategy)
  158. *p = x
  159. return p
  160. }
  161. func (x FallbackStrategy) String() string {
  162. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  163. }
  164. func (FallbackStrategy) Descriptor() protoreflect.EnumDescriptor {
  165. return file_app_dns_config_proto_enumTypes[3].Descriptor()
  166. }
  167. func (FallbackStrategy) Type() protoreflect.EnumType {
  168. return &file_app_dns_config_proto_enumTypes[3]
  169. }
  170. func (x FallbackStrategy) Number() protoreflect.EnumNumber {
  171. return protoreflect.EnumNumber(x)
  172. }
  173. // Deprecated: Use FallbackStrategy.Descriptor instead.
  174. func (FallbackStrategy) EnumDescriptor() ([]byte, []int) {
  175. return file_app_dns_config_proto_rawDescGZIP(), []int{3}
  176. }
  177. type NameServer struct {
  178. state protoimpl.MessageState
  179. sizeCache protoimpl.SizeCache
  180. unknownFields protoimpl.UnknownFields
  181. Address *net.Endpoint `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
  182. ClientIp []byte `protobuf:"bytes,5,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"`
  183. Tag string `protobuf:"bytes,7,opt,name=tag,proto3" json:"tag,omitempty"`
  184. PrioritizedDomain []*NameServer_PriorityDomain `protobuf:"bytes,2,rep,name=prioritized_domain,json=prioritizedDomain,proto3" json:"prioritized_domain,omitempty"`
  185. Geoip []*routercommon.GeoIP `protobuf:"bytes,3,rep,name=geoip,proto3" json:"geoip,omitempty"`
  186. OriginalRules []*NameServer_OriginalRule `protobuf:"bytes,4,rep,name=original_rules,json=originalRules,proto3" json:"original_rules,omitempty"`
  187. // Deprecated. Use fallback_strategy.
  188. //
  189. // Deprecated: Do not use.
  190. SkipFallback bool `protobuf:"varint,6,opt,name=skipFallback,proto3" json:"skipFallback,omitempty"`
  191. QueryStrategy *QueryStrategy `protobuf:"varint,8,opt,name=query_strategy,json=queryStrategy,proto3,enum=v2ray.core.app.dns.QueryStrategy,oneof" json:"query_strategy,omitempty"`
  192. CacheStrategy *CacheStrategy `protobuf:"varint,9,opt,name=cache_strategy,json=cacheStrategy,proto3,enum=v2ray.core.app.dns.CacheStrategy,oneof" json:"cache_strategy,omitempty"`
  193. FallbackStrategy *FallbackStrategy `protobuf:"varint,10,opt,name=fallback_strategy,json=fallbackStrategy,proto3,enum=v2ray.core.app.dns.FallbackStrategy,oneof" json:"fallback_strategy,omitempty"`
  194. }
  195. func (x *NameServer) Reset() {
  196. *x = NameServer{}
  197. if protoimpl.UnsafeEnabled {
  198. mi := &file_app_dns_config_proto_msgTypes[0]
  199. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  200. ms.StoreMessageInfo(mi)
  201. }
  202. }
  203. func (x *NameServer) String() string {
  204. return protoimpl.X.MessageStringOf(x)
  205. }
  206. func (*NameServer) ProtoMessage() {}
  207. func (x *NameServer) ProtoReflect() protoreflect.Message {
  208. mi := &file_app_dns_config_proto_msgTypes[0]
  209. if protoimpl.UnsafeEnabled && x != nil {
  210. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  211. if ms.LoadMessageInfo() == nil {
  212. ms.StoreMessageInfo(mi)
  213. }
  214. return ms
  215. }
  216. return mi.MessageOf(x)
  217. }
  218. // Deprecated: Use NameServer.ProtoReflect.Descriptor instead.
  219. func (*NameServer) Descriptor() ([]byte, []int) {
  220. return file_app_dns_config_proto_rawDescGZIP(), []int{0}
  221. }
  222. func (x *NameServer) GetAddress() *net.Endpoint {
  223. if x != nil {
  224. return x.Address
  225. }
  226. return nil
  227. }
  228. func (x *NameServer) GetClientIp() []byte {
  229. if x != nil {
  230. return x.ClientIp
  231. }
  232. return nil
  233. }
  234. func (x *NameServer) GetTag() string {
  235. if x != nil {
  236. return x.Tag
  237. }
  238. return ""
  239. }
  240. func (x *NameServer) GetPrioritizedDomain() []*NameServer_PriorityDomain {
  241. if x != nil {
  242. return x.PrioritizedDomain
  243. }
  244. return nil
  245. }
  246. func (x *NameServer) GetGeoip() []*routercommon.GeoIP {
  247. if x != nil {
  248. return x.Geoip
  249. }
  250. return nil
  251. }
  252. func (x *NameServer) GetOriginalRules() []*NameServer_OriginalRule {
  253. if x != nil {
  254. return x.OriginalRules
  255. }
  256. return nil
  257. }
  258. // Deprecated: Do not use.
  259. func (x *NameServer) GetSkipFallback() bool {
  260. if x != nil {
  261. return x.SkipFallback
  262. }
  263. return false
  264. }
  265. func (x *NameServer) GetQueryStrategy() QueryStrategy {
  266. if x != nil && x.QueryStrategy != nil {
  267. return *x.QueryStrategy
  268. }
  269. return QueryStrategy_USE_IP
  270. }
  271. func (x *NameServer) GetCacheStrategy() CacheStrategy {
  272. if x != nil && x.CacheStrategy != nil {
  273. return *x.CacheStrategy
  274. }
  275. return CacheStrategy_CacheEnabled
  276. }
  277. func (x *NameServer) GetFallbackStrategy() FallbackStrategy {
  278. if x != nil && x.FallbackStrategy != nil {
  279. return *x.FallbackStrategy
  280. }
  281. return FallbackStrategy_Enabled
  282. }
  283. type HostMapping struct {
  284. state protoimpl.MessageState
  285. sizeCache protoimpl.SizeCache
  286. unknownFields protoimpl.UnknownFields
  287. Type DomainMatchingType `protobuf:"varint,1,opt,name=type,proto3,enum=v2ray.core.app.dns.DomainMatchingType" json:"type,omitempty"`
  288. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
  289. Ip [][]byte `protobuf:"bytes,3,rep,name=ip,proto3" json:"ip,omitempty"`
  290. // ProxiedDomain indicates the mapped domain has the same IP address on this
  291. // domain. V2Ray will use this domain for IP queries.
  292. ProxiedDomain string `protobuf:"bytes,4,opt,name=proxied_domain,json=proxiedDomain,proto3" json:"proxied_domain,omitempty"`
  293. }
  294. func (x *HostMapping) Reset() {
  295. *x = HostMapping{}
  296. if protoimpl.UnsafeEnabled {
  297. mi := &file_app_dns_config_proto_msgTypes[1]
  298. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  299. ms.StoreMessageInfo(mi)
  300. }
  301. }
  302. func (x *HostMapping) String() string {
  303. return protoimpl.X.MessageStringOf(x)
  304. }
  305. func (*HostMapping) ProtoMessage() {}
  306. func (x *HostMapping) ProtoReflect() protoreflect.Message {
  307. mi := &file_app_dns_config_proto_msgTypes[1]
  308. if protoimpl.UnsafeEnabled && x != nil {
  309. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  310. if ms.LoadMessageInfo() == nil {
  311. ms.StoreMessageInfo(mi)
  312. }
  313. return ms
  314. }
  315. return mi.MessageOf(x)
  316. }
  317. // Deprecated: Use HostMapping.ProtoReflect.Descriptor instead.
  318. func (*HostMapping) Descriptor() ([]byte, []int) {
  319. return file_app_dns_config_proto_rawDescGZIP(), []int{1}
  320. }
  321. func (x *HostMapping) GetType() DomainMatchingType {
  322. if x != nil {
  323. return x.Type
  324. }
  325. return DomainMatchingType_Full
  326. }
  327. func (x *HostMapping) GetDomain() string {
  328. if x != nil {
  329. return x.Domain
  330. }
  331. return ""
  332. }
  333. func (x *HostMapping) GetIp() [][]byte {
  334. if x != nil {
  335. return x.Ip
  336. }
  337. return nil
  338. }
  339. func (x *HostMapping) GetProxiedDomain() string {
  340. if x != nil {
  341. return x.ProxiedDomain
  342. }
  343. return ""
  344. }
  345. type Config struct {
  346. state protoimpl.MessageState
  347. sizeCache protoimpl.SizeCache
  348. unknownFields protoimpl.UnknownFields
  349. // Nameservers used by this DNS. Only traditional UDP servers are support at
  350. // the moment. A special value 'localhost' as a domain address can be set to
  351. // use DNS on local system.
  352. //
  353. // Deprecated: Do not use.
  354. NameServers []*net.Endpoint `protobuf:"bytes,1,rep,name=NameServers,proto3" json:"NameServers,omitempty"`
  355. // NameServer list used by this DNS client.
  356. NameServer []*NameServer `protobuf:"bytes,5,rep,name=name_server,json=nameServer,proto3" json:"name_server,omitempty"`
  357. // Static hosts. Domain to IP.
  358. // Deprecated. Use static_hosts.
  359. //
  360. // Deprecated: Do not use.
  361. Hosts map[string]*net.IPOrDomain `protobuf:"bytes,2,rep,name=Hosts,proto3" json:"Hosts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  362. // Client IP for EDNS client subnet. Must be 4 bytes (IPv4) or 16 bytes
  363. // (IPv6).
  364. ClientIp []byte `protobuf:"bytes,3,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"`
  365. StaticHosts []*HostMapping `protobuf:"bytes,4,rep,name=static_hosts,json=staticHosts,proto3" json:"static_hosts,omitempty"`
  366. // Tag is the inbound tag of DNS client.
  367. Tag string `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty"`
  368. // Domain matcher to use
  369. DomainMatcher string `protobuf:"bytes,15,opt,name=domain_matcher,json=domainMatcher,proto3" json:"domain_matcher,omitempty"`
  370. // DisableCache disables DNS cache
  371. // Deprecated. Use cache_strategy.
  372. //
  373. // Deprecated: Do not use.
  374. DisableCache bool `protobuf:"varint,8,opt,name=disableCache,proto3" json:"disableCache,omitempty"`
  375. // Deprecated. Use fallback_strategy.
  376. //
  377. // Deprecated: Do not use.
  378. DisableFallback bool `protobuf:"varint,10,opt,name=disableFallback,proto3" json:"disableFallback,omitempty"`
  379. // Deprecated. Use fallback_strategy.
  380. //
  381. // Deprecated: Do not use.
  382. DisableFallbackIfMatch bool `protobuf:"varint,11,opt,name=disableFallbackIfMatch,proto3" json:"disableFallbackIfMatch,omitempty"`
  383. // Default query strategy (IPv4, IPv6, or both) for each name server.
  384. QueryStrategy QueryStrategy `protobuf:"varint,9,opt,name=query_strategy,json=queryStrategy,proto3,enum=v2ray.core.app.dns.QueryStrategy" json:"query_strategy,omitempty"`
  385. // Default cache strategy for each name server.
  386. CacheStrategy CacheStrategy `protobuf:"varint,12,opt,name=cache_strategy,json=cacheStrategy,proto3,enum=v2ray.core.app.dns.CacheStrategy" json:"cache_strategy,omitempty"`
  387. // Default fallback strategy for each name server.
  388. FallbackStrategy FallbackStrategy `protobuf:"varint,13,opt,name=fallback_strategy,json=fallbackStrategy,proto3,enum=v2ray.core.app.dns.FallbackStrategy" json:"fallback_strategy,omitempty"`
  389. }
  390. func (x *Config) Reset() {
  391. *x = Config{}
  392. if protoimpl.UnsafeEnabled {
  393. mi := &file_app_dns_config_proto_msgTypes[2]
  394. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  395. ms.StoreMessageInfo(mi)
  396. }
  397. }
  398. func (x *Config) String() string {
  399. return protoimpl.X.MessageStringOf(x)
  400. }
  401. func (*Config) ProtoMessage() {}
  402. func (x *Config) ProtoReflect() protoreflect.Message {
  403. mi := &file_app_dns_config_proto_msgTypes[2]
  404. if protoimpl.UnsafeEnabled && x != nil {
  405. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  406. if ms.LoadMessageInfo() == nil {
  407. ms.StoreMessageInfo(mi)
  408. }
  409. return ms
  410. }
  411. return mi.MessageOf(x)
  412. }
  413. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  414. func (*Config) Descriptor() ([]byte, []int) {
  415. return file_app_dns_config_proto_rawDescGZIP(), []int{2}
  416. }
  417. // Deprecated: Do not use.
  418. func (x *Config) GetNameServers() []*net.Endpoint {
  419. if x != nil {
  420. return x.NameServers
  421. }
  422. return nil
  423. }
  424. func (x *Config) GetNameServer() []*NameServer {
  425. if x != nil {
  426. return x.NameServer
  427. }
  428. return nil
  429. }
  430. // Deprecated: Do not use.
  431. func (x *Config) GetHosts() map[string]*net.IPOrDomain {
  432. if x != nil {
  433. return x.Hosts
  434. }
  435. return nil
  436. }
  437. func (x *Config) GetClientIp() []byte {
  438. if x != nil {
  439. return x.ClientIp
  440. }
  441. return nil
  442. }
  443. func (x *Config) GetStaticHosts() []*HostMapping {
  444. if x != nil {
  445. return x.StaticHosts
  446. }
  447. return nil
  448. }
  449. func (x *Config) GetTag() string {
  450. if x != nil {
  451. return x.Tag
  452. }
  453. return ""
  454. }
  455. func (x *Config) GetDomainMatcher() string {
  456. if x != nil {
  457. return x.DomainMatcher
  458. }
  459. return ""
  460. }
  461. // Deprecated: Do not use.
  462. func (x *Config) GetDisableCache() bool {
  463. if x != nil {
  464. return x.DisableCache
  465. }
  466. return false
  467. }
  468. // Deprecated: Do not use.
  469. func (x *Config) GetDisableFallback() bool {
  470. if x != nil {
  471. return x.DisableFallback
  472. }
  473. return false
  474. }
  475. // Deprecated: Do not use.
  476. func (x *Config) GetDisableFallbackIfMatch() bool {
  477. if x != nil {
  478. return x.DisableFallbackIfMatch
  479. }
  480. return false
  481. }
  482. func (x *Config) GetQueryStrategy() QueryStrategy {
  483. if x != nil {
  484. return x.QueryStrategy
  485. }
  486. return QueryStrategy_USE_IP
  487. }
  488. func (x *Config) GetCacheStrategy() CacheStrategy {
  489. if x != nil {
  490. return x.CacheStrategy
  491. }
  492. return CacheStrategy_CacheEnabled
  493. }
  494. func (x *Config) GetFallbackStrategy() FallbackStrategy {
  495. if x != nil {
  496. return x.FallbackStrategy
  497. }
  498. return FallbackStrategy_Enabled
  499. }
  500. type SimplifiedConfig struct {
  501. state protoimpl.MessageState
  502. sizeCache protoimpl.SizeCache
  503. unknownFields protoimpl.UnknownFields
  504. // NameServer list used by this DNS client.
  505. NameServer []*SimplifiedNameServer `protobuf:"bytes,5,rep,name=name_server,json=nameServer,proto3" json:"name_server,omitempty"`
  506. // Client IP for EDNS client subnet. Must be 4 bytes (IPv4) or 16 bytes
  507. // (IPv6).
  508. ClientIp string `protobuf:"bytes,3,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"`
  509. StaticHosts []*HostMapping `protobuf:"bytes,4,rep,name=static_hosts,json=staticHosts,proto3" json:"static_hosts,omitempty"`
  510. // Tag is the inbound tag of DNS client.
  511. Tag string `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty"`
  512. // Domain matcher to use
  513. DomainMatcher string `protobuf:"bytes,15,opt,name=domain_matcher,json=domainMatcher,proto3" json:"domain_matcher,omitempty"`
  514. // DisableCache disables DNS cache
  515. // Deprecated. Use cache_strategy.
  516. //
  517. // Deprecated: Do not use.
  518. DisableCache bool `protobuf:"varint,8,opt,name=disableCache,proto3" json:"disableCache,omitempty"`
  519. // Deprecated. Use fallback_strategy.
  520. //
  521. // Deprecated: Do not use.
  522. DisableFallback bool `protobuf:"varint,10,opt,name=disableFallback,proto3" json:"disableFallback,omitempty"`
  523. // Deprecated. Use fallback_strategy.
  524. //
  525. // Deprecated: Do not use.
  526. DisableFallbackIfMatch bool `protobuf:"varint,11,opt,name=disableFallbackIfMatch,proto3" json:"disableFallbackIfMatch,omitempty"`
  527. // Default query strategy (IPv4, IPv6, or both) for each name server.
  528. QueryStrategy QueryStrategy `protobuf:"varint,9,opt,name=query_strategy,json=queryStrategy,proto3,enum=v2ray.core.app.dns.QueryStrategy" json:"query_strategy,omitempty"`
  529. // Default cache strategy for each name server.
  530. CacheStrategy CacheStrategy `protobuf:"varint,12,opt,name=cache_strategy,json=cacheStrategy,proto3,enum=v2ray.core.app.dns.CacheStrategy" json:"cache_strategy,omitempty"`
  531. // Default fallback strategy for each name server.
  532. FallbackStrategy FallbackStrategy `protobuf:"varint,13,opt,name=fallback_strategy,json=fallbackStrategy,proto3,enum=v2ray.core.app.dns.FallbackStrategy" json:"fallback_strategy,omitempty"`
  533. }
  534. func (x *SimplifiedConfig) Reset() {
  535. *x = SimplifiedConfig{}
  536. if protoimpl.UnsafeEnabled {
  537. mi := &file_app_dns_config_proto_msgTypes[3]
  538. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  539. ms.StoreMessageInfo(mi)
  540. }
  541. }
  542. func (x *SimplifiedConfig) String() string {
  543. return protoimpl.X.MessageStringOf(x)
  544. }
  545. func (*SimplifiedConfig) ProtoMessage() {}
  546. func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message {
  547. mi := &file_app_dns_config_proto_msgTypes[3]
  548. if protoimpl.UnsafeEnabled && x != nil {
  549. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  550. if ms.LoadMessageInfo() == nil {
  551. ms.StoreMessageInfo(mi)
  552. }
  553. return ms
  554. }
  555. return mi.MessageOf(x)
  556. }
  557. // Deprecated: Use SimplifiedConfig.ProtoReflect.Descriptor instead.
  558. func (*SimplifiedConfig) Descriptor() ([]byte, []int) {
  559. return file_app_dns_config_proto_rawDescGZIP(), []int{3}
  560. }
  561. func (x *SimplifiedConfig) GetNameServer() []*SimplifiedNameServer {
  562. if x != nil {
  563. return x.NameServer
  564. }
  565. return nil
  566. }
  567. func (x *SimplifiedConfig) GetClientIp() string {
  568. if x != nil {
  569. return x.ClientIp
  570. }
  571. return ""
  572. }
  573. func (x *SimplifiedConfig) GetStaticHosts() []*HostMapping {
  574. if x != nil {
  575. return x.StaticHosts
  576. }
  577. return nil
  578. }
  579. func (x *SimplifiedConfig) GetTag() string {
  580. if x != nil {
  581. return x.Tag
  582. }
  583. return ""
  584. }
  585. func (x *SimplifiedConfig) GetDomainMatcher() string {
  586. if x != nil {
  587. return x.DomainMatcher
  588. }
  589. return ""
  590. }
  591. // Deprecated: Do not use.
  592. func (x *SimplifiedConfig) GetDisableCache() bool {
  593. if x != nil {
  594. return x.DisableCache
  595. }
  596. return false
  597. }
  598. // Deprecated: Do not use.
  599. func (x *SimplifiedConfig) GetDisableFallback() bool {
  600. if x != nil {
  601. return x.DisableFallback
  602. }
  603. return false
  604. }
  605. // Deprecated: Do not use.
  606. func (x *SimplifiedConfig) GetDisableFallbackIfMatch() bool {
  607. if x != nil {
  608. return x.DisableFallbackIfMatch
  609. }
  610. return false
  611. }
  612. func (x *SimplifiedConfig) GetQueryStrategy() QueryStrategy {
  613. if x != nil {
  614. return x.QueryStrategy
  615. }
  616. return QueryStrategy_USE_IP
  617. }
  618. func (x *SimplifiedConfig) GetCacheStrategy() CacheStrategy {
  619. if x != nil {
  620. return x.CacheStrategy
  621. }
  622. return CacheStrategy_CacheEnabled
  623. }
  624. func (x *SimplifiedConfig) GetFallbackStrategy() FallbackStrategy {
  625. if x != nil {
  626. return x.FallbackStrategy
  627. }
  628. return FallbackStrategy_Enabled
  629. }
  630. type SimplifiedHostMapping struct {
  631. state protoimpl.MessageState
  632. sizeCache protoimpl.SizeCache
  633. unknownFields protoimpl.UnknownFields
  634. Type DomainMatchingType `protobuf:"varint,1,opt,name=type,proto3,enum=v2ray.core.app.dns.DomainMatchingType" json:"type,omitempty"`
  635. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
  636. Ip []string `protobuf:"bytes,3,rep,name=ip,proto3" json:"ip,omitempty"`
  637. // ProxiedDomain indicates the mapped domain has the same IP address on this
  638. // domain. V2Ray will use this domain for IP queries.
  639. ProxiedDomain string `protobuf:"bytes,4,opt,name=proxied_domain,json=proxiedDomain,proto3" json:"proxied_domain,omitempty"`
  640. }
  641. func (x *SimplifiedHostMapping) Reset() {
  642. *x = SimplifiedHostMapping{}
  643. if protoimpl.UnsafeEnabled {
  644. mi := &file_app_dns_config_proto_msgTypes[4]
  645. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  646. ms.StoreMessageInfo(mi)
  647. }
  648. }
  649. func (x *SimplifiedHostMapping) String() string {
  650. return protoimpl.X.MessageStringOf(x)
  651. }
  652. func (*SimplifiedHostMapping) ProtoMessage() {}
  653. func (x *SimplifiedHostMapping) ProtoReflect() protoreflect.Message {
  654. mi := &file_app_dns_config_proto_msgTypes[4]
  655. if protoimpl.UnsafeEnabled && x != nil {
  656. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  657. if ms.LoadMessageInfo() == nil {
  658. ms.StoreMessageInfo(mi)
  659. }
  660. return ms
  661. }
  662. return mi.MessageOf(x)
  663. }
  664. // Deprecated: Use SimplifiedHostMapping.ProtoReflect.Descriptor instead.
  665. func (*SimplifiedHostMapping) Descriptor() ([]byte, []int) {
  666. return file_app_dns_config_proto_rawDescGZIP(), []int{4}
  667. }
  668. func (x *SimplifiedHostMapping) GetType() DomainMatchingType {
  669. if x != nil {
  670. return x.Type
  671. }
  672. return DomainMatchingType_Full
  673. }
  674. func (x *SimplifiedHostMapping) GetDomain() string {
  675. if x != nil {
  676. return x.Domain
  677. }
  678. return ""
  679. }
  680. func (x *SimplifiedHostMapping) GetIp() []string {
  681. if x != nil {
  682. return x.Ip
  683. }
  684. return nil
  685. }
  686. func (x *SimplifiedHostMapping) GetProxiedDomain() string {
  687. if x != nil {
  688. return x.ProxiedDomain
  689. }
  690. return ""
  691. }
  692. type SimplifiedNameServer struct {
  693. state protoimpl.MessageState
  694. sizeCache protoimpl.SizeCache
  695. unknownFields protoimpl.UnknownFields
  696. Address *net.Endpoint `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
  697. ClientIp string `protobuf:"bytes,5,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"`
  698. Tag string `protobuf:"bytes,7,opt,name=tag,proto3" json:"tag,omitempty"`
  699. PrioritizedDomain []*SimplifiedNameServer_PriorityDomain `protobuf:"bytes,2,rep,name=prioritized_domain,json=prioritizedDomain,proto3" json:"prioritized_domain,omitempty"`
  700. Geoip []*routercommon.GeoIP `protobuf:"bytes,3,rep,name=geoip,proto3" json:"geoip,omitempty"`
  701. OriginalRules []*SimplifiedNameServer_OriginalRule `protobuf:"bytes,4,rep,name=original_rules,json=originalRules,proto3" json:"original_rules,omitempty"`
  702. // Deprecated. Use fallback_strategy.
  703. //
  704. // Deprecated: Do not use.
  705. SkipFallback bool `protobuf:"varint,6,opt,name=skipFallback,proto3" json:"skipFallback,omitempty"`
  706. QueryStrategy *QueryStrategy `protobuf:"varint,8,opt,name=query_strategy,json=queryStrategy,proto3,enum=v2ray.core.app.dns.QueryStrategy,oneof" json:"query_strategy,omitempty"`
  707. CacheStrategy *CacheStrategy `protobuf:"varint,9,opt,name=cache_strategy,json=cacheStrategy,proto3,enum=v2ray.core.app.dns.CacheStrategy,oneof" json:"cache_strategy,omitempty"`
  708. FallbackStrategy *FallbackStrategy `protobuf:"varint,10,opt,name=fallback_strategy,json=fallbackStrategy,proto3,enum=v2ray.core.app.dns.FallbackStrategy,oneof" json:"fallback_strategy,omitempty"`
  709. }
  710. func (x *SimplifiedNameServer) Reset() {
  711. *x = SimplifiedNameServer{}
  712. if protoimpl.UnsafeEnabled {
  713. mi := &file_app_dns_config_proto_msgTypes[5]
  714. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  715. ms.StoreMessageInfo(mi)
  716. }
  717. }
  718. func (x *SimplifiedNameServer) String() string {
  719. return protoimpl.X.MessageStringOf(x)
  720. }
  721. func (*SimplifiedNameServer) ProtoMessage() {}
  722. func (x *SimplifiedNameServer) ProtoReflect() protoreflect.Message {
  723. mi := &file_app_dns_config_proto_msgTypes[5]
  724. if protoimpl.UnsafeEnabled && x != nil {
  725. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  726. if ms.LoadMessageInfo() == nil {
  727. ms.StoreMessageInfo(mi)
  728. }
  729. return ms
  730. }
  731. return mi.MessageOf(x)
  732. }
  733. // Deprecated: Use SimplifiedNameServer.ProtoReflect.Descriptor instead.
  734. func (*SimplifiedNameServer) Descriptor() ([]byte, []int) {
  735. return file_app_dns_config_proto_rawDescGZIP(), []int{5}
  736. }
  737. func (x *SimplifiedNameServer) GetAddress() *net.Endpoint {
  738. if x != nil {
  739. return x.Address
  740. }
  741. return nil
  742. }
  743. func (x *SimplifiedNameServer) GetClientIp() string {
  744. if x != nil {
  745. return x.ClientIp
  746. }
  747. return ""
  748. }
  749. func (x *SimplifiedNameServer) GetTag() string {
  750. if x != nil {
  751. return x.Tag
  752. }
  753. return ""
  754. }
  755. func (x *SimplifiedNameServer) GetPrioritizedDomain() []*SimplifiedNameServer_PriorityDomain {
  756. if x != nil {
  757. return x.PrioritizedDomain
  758. }
  759. return nil
  760. }
  761. func (x *SimplifiedNameServer) GetGeoip() []*routercommon.GeoIP {
  762. if x != nil {
  763. return x.Geoip
  764. }
  765. return nil
  766. }
  767. func (x *SimplifiedNameServer) GetOriginalRules() []*SimplifiedNameServer_OriginalRule {
  768. if x != nil {
  769. return x.OriginalRules
  770. }
  771. return nil
  772. }
  773. // Deprecated: Do not use.
  774. func (x *SimplifiedNameServer) GetSkipFallback() bool {
  775. if x != nil {
  776. return x.SkipFallback
  777. }
  778. return false
  779. }
  780. func (x *SimplifiedNameServer) GetQueryStrategy() QueryStrategy {
  781. if x != nil && x.QueryStrategy != nil {
  782. return *x.QueryStrategy
  783. }
  784. return QueryStrategy_USE_IP
  785. }
  786. func (x *SimplifiedNameServer) GetCacheStrategy() CacheStrategy {
  787. if x != nil && x.CacheStrategy != nil {
  788. return *x.CacheStrategy
  789. }
  790. return CacheStrategy_CacheEnabled
  791. }
  792. func (x *SimplifiedNameServer) GetFallbackStrategy() FallbackStrategy {
  793. if x != nil && x.FallbackStrategy != nil {
  794. return *x.FallbackStrategy
  795. }
  796. return FallbackStrategy_Enabled
  797. }
  798. type NameServer_PriorityDomain struct {
  799. state protoimpl.MessageState
  800. sizeCache protoimpl.SizeCache
  801. unknownFields protoimpl.UnknownFields
  802. Type DomainMatchingType `protobuf:"varint,1,opt,name=type,proto3,enum=v2ray.core.app.dns.DomainMatchingType" json:"type,omitempty"`
  803. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
  804. }
  805. func (x *NameServer_PriorityDomain) Reset() {
  806. *x = NameServer_PriorityDomain{}
  807. if protoimpl.UnsafeEnabled {
  808. mi := &file_app_dns_config_proto_msgTypes[6]
  809. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  810. ms.StoreMessageInfo(mi)
  811. }
  812. }
  813. func (x *NameServer_PriorityDomain) String() string {
  814. return protoimpl.X.MessageStringOf(x)
  815. }
  816. func (*NameServer_PriorityDomain) ProtoMessage() {}
  817. func (x *NameServer_PriorityDomain) ProtoReflect() protoreflect.Message {
  818. mi := &file_app_dns_config_proto_msgTypes[6]
  819. if protoimpl.UnsafeEnabled && x != nil {
  820. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  821. if ms.LoadMessageInfo() == nil {
  822. ms.StoreMessageInfo(mi)
  823. }
  824. return ms
  825. }
  826. return mi.MessageOf(x)
  827. }
  828. // Deprecated: Use NameServer_PriorityDomain.ProtoReflect.Descriptor instead.
  829. func (*NameServer_PriorityDomain) Descriptor() ([]byte, []int) {
  830. return file_app_dns_config_proto_rawDescGZIP(), []int{0, 0}
  831. }
  832. func (x *NameServer_PriorityDomain) GetType() DomainMatchingType {
  833. if x != nil {
  834. return x.Type
  835. }
  836. return DomainMatchingType_Full
  837. }
  838. func (x *NameServer_PriorityDomain) GetDomain() string {
  839. if x != nil {
  840. return x.Domain
  841. }
  842. return ""
  843. }
  844. type NameServer_OriginalRule struct {
  845. state protoimpl.MessageState
  846. sizeCache protoimpl.SizeCache
  847. unknownFields protoimpl.UnknownFields
  848. Rule string `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
  849. Size uint32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
  850. }
  851. func (x *NameServer_OriginalRule) Reset() {
  852. *x = NameServer_OriginalRule{}
  853. if protoimpl.UnsafeEnabled {
  854. mi := &file_app_dns_config_proto_msgTypes[7]
  855. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  856. ms.StoreMessageInfo(mi)
  857. }
  858. }
  859. func (x *NameServer_OriginalRule) String() string {
  860. return protoimpl.X.MessageStringOf(x)
  861. }
  862. func (*NameServer_OriginalRule) ProtoMessage() {}
  863. func (x *NameServer_OriginalRule) ProtoReflect() protoreflect.Message {
  864. mi := &file_app_dns_config_proto_msgTypes[7]
  865. if protoimpl.UnsafeEnabled && x != nil {
  866. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  867. if ms.LoadMessageInfo() == nil {
  868. ms.StoreMessageInfo(mi)
  869. }
  870. return ms
  871. }
  872. return mi.MessageOf(x)
  873. }
  874. // Deprecated: Use NameServer_OriginalRule.ProtoReflect.Descriptor instead.
  875. func (*NameServer_OriginalRule) Descriptor() ([]byte, []int) {
  876. return file_app_dns_config_proto_rawDescGZIP(), []int{0, 1}
  877. }
  878. func (x *NameServer_OriginalRule) GetRule() string {
  879. if x != nil {
  880. return x.Rule
  881. }
  882. return ""
  883. }
  884. func (x *NameServer_OriginalRule) GetSize() uint32 {
  885. if x != nil {
  886. return x.Size
  887. }
  888. return 0
  889. }
  890. type SimplifiedNameServer_PriorityDomain struct {
  891. state protoimpl.MessageState
  892. sizeCache protoimpl.SizeCache
  893. unknownFields protoimpl.UnknownFields
  894. Type DomainMatchingType `protobuf:"varint,1,opt,name=type,proto3,enum=v2ray.core.app.dns.DomainMatchingType" json:"type,omitempty"`
  895. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
  896. }
  897. func (x *SimplifiedNameServer_PriorityDomain) Reset() {
  898. *x = SimplifiedNameServer_PriorityDomain{}
  899. if protoimpl.UnsafeEnabled {
  900. mi := &file_app_dns_config_proto_msgTypes[9]
  901. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  902. ms.StoreMessageInfo(mi)
  903. }
  904. }
  905. func (x *SimplifiedNameServer_PriorityDomain) String() string {
  906. return protoimpl.X.MessageStringOf(x)
  907. }
  908. func (*SimplifiedNameServer_PriorityDomain) ProtoMessage() {}
  909. func (x *SimplifiedNameServer_PriorityDomain) ProtoReflect() protoreflect.Message {
  910. mi := &file_app_dns_config_proto_msgTypes[9]
  911. if protoimpl.UnsafeEnabled && x != nil {
  912. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  913. if ms.LoadMessageInfo() == nil {
  914. ms.StoreMessageInfo(mi)
  915. }
  916. return ms
  917. }
  918. return mi.MessageOf(x)
  919. }
  920. // Deprecated: Use SimplifiedNameServer_PriorityDomain.ProtoReflect.Descriptor instead.
  921. func (*SimplifiedNameServer_PriorityDomain) Descriptor() ([]byte, []int) {
  922. return file_app_dns_config_proto_rawDescGZIP(), []int{5, 0}
  923. }
  924. func (x *SimplifiedNameServer_PriorityDomain) GetType() DomainMatchingType {
  925. if x != nil {
  926. return x.Type
  927. }
  928. return DomainMatchingType_Full
  929. }
  930. func (x *SimplifiedNameServer_PriorityDomain) GetDomain() string {
  931. if x != nil {
  932. return x.Domain
  933. }
  934. return ""
  935. }
  936. type SimplifiedNameServer_OriginalRule struct {
  937. state protoimpl.MessageState
  938. sizeCache protoimpl.SizeCache
  939. unknownFields protoimpl.UnknownFields
  940. Rule string `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
  941. Size uint32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
  942. }
  943. func (x *SimplifiedNameServer_OriginalRule) Reset() {
  944. *x = SimplifiedNameServer_OriginalRule{}
  945. if protoimpl.UnsafeEnabled {
  946. mi := &file_app_dns_config_proto_msgTypes[10]
  947. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  948. ms.StoreMessageInfo(mi)
  949. }
  950. }
  951. func (x *SimplifiedNameServer_OriginalRule) String() string {
  952. return protoimpl.X.MessageStringOf(x)
  953. }
  954. func (*SimplifiedNameServer_OriginalRule) ProtoMessage() {}
  955. func (x *SimplifiedNameServer_OriginalRule) ProtoReflect() protoreflect.Message {
  956. mi := &file_app_dns_config_proto_msgTypes[10]
  957. if protoimpl.UnsafeEnabled && x != nil {
  958. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  959. if ms.LoadMessageInfo() == nil {
  960. ms.StoreMessageInfo(mi)
  961. }
  962. return ms
  963. }
  964. return mi.MessageOf(x)
  965. }
  966. // Deprecated: Use SimplifiedNameServer_OriginalRule.ProtoReflect.Descriptor instead.
  967. func (*SimplifiedNameServer_OriginalRule) Descriptor() ([]byte, []int) {
  968. return file_app_dns_config_proto_rawDescGZIP(), []int{5, 1}
  969. }
  970. func (x *SimplifiedNameServer_OriginalRule) GetRule() string {
  971. if x != nil {
  972. return x.Rule
  973. }
  974. return ""
  975. }
  976. func (x *SimplifiedNameServer_OriginalRule) GetSize() uint32 {
  977. if x != nil {
  978. return x.Size
  979. }
  980. return 0
  981. }
  982. var File_app_dns_config_proto protoreflect.FileDescriptor
  983. var file_app_dns_config_proto_rawDesc = []byte{
  984. 0x0a, 0x14, 0x61, 0x70, 0x70, 0x2f, 0x64, 0x6e, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
  985. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  986. 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d,
  987. 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70,
  988. 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74,
  989. 0x2f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
  990. 0x74, 0x6f, 0x1a, 0x24, 0x61, 0x70, 0x70, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x72,
  991. 0x6f, 0x75, 0x74, 0x65, 0x72, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
  992. 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  993. 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
  994. 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe1, 0x06, 0x0a, 0x0a, 0x4e,
  995. 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x07, 0x61, 0x64, 0x64,
  996. 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x32, 0x72,
  997. 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e,
  998. 0x65, 0x74, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x64, 0x64,
  999. 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69,
  1000. 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49,
  1001. 0x70, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  1002. 0x74, 0x61, 0x67, 0x12, 0x5c, 0x0a, 0x12, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x7a,
  1003. 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1004. 0x2d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70,
  1005. 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e,
  1006. 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x11,
  1007. 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x6f, 0x6d, 0x61, 0x69,
  1008. 0x6e, 0x12, 0x3f, 0x0a, 0x05, 0x67, 0x65, 0x6f, 0x69, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
  1009. 0x32, 0x29, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
  1010. 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x63,
  1011. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x6f, 0x49, 0x50, 0x52, 0x05, 0x67, 0x65, 0x6f,
  1012. 0x69, 0x70, 0x12, 0x52, 0x0a, 0x0e, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x72,
  1013. 0x75, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x32, 0x72,
  1014. 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e,
  1015. 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4f, 0x72, 0x69, 0x67, 0x69,
  1016. 0x6e, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61,
  1017. 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x46, 0x61,
  1018. 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01,
  1019. 0x52, 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x4d,
  1020. 0x0a, 0x0e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79,
  1021. 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
  1022. 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72,
  1023. 0x79, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x48, 0x00, 0x52, 0x0d, 0x71, 0x75, 0x65,
  1024. 0x72, 0x79, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x88, 0x01, 0x01, 0x12, 0x4d, 0x0a,
  1025. 0x0e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18,
  1026. 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  1027. 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65,
  1028. 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x48, 0x01, 0x52, 0x0d, 0x63, 0x61, 0x63, 0x68,
  1029. 0x65, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x88, 0x01, 0x01, 0x12, 0x56, 0x0a, 0x11,
  1030. 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67,
  1031. 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  1032. 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x46, 0x61, 0x6c,
  1033. 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x48, 0x02, 0x52,
  1034. 0x10, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67,
  1035. 0x79, 0x88, 0x01, 0x01, 0x1a, 0x64, 0x0a, 0x0e, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79,
  1036. 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x3a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
  1037. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
  1038. 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
  1039. 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79,
  1040. 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01,
  1041. 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x1a, 0x36, 0x0a, 0x0c, 0x4f, 0x72,
  1042. 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x75,
  1043. 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x12, 0x12,
  1044. 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x69,
  1045. 0x7a, 0x65, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x72,
  1046. 0x61, 0x74, 0x65, 0x67, 0x79, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f,
  1047. 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x66, 0x61, 0x6c,
  1048. 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x22, 0x98,
  1049. 0x01, 0x0a, 0x0b, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x3a,
  1050. 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76,
  1051. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e,
  1052. 0x73, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67,
  1053. 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f,
  1054. 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61,
  1055. 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x02,
  1056. 0x69, 0x70, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x78, 0x69, 0x65, 0x64, 0x5f, 0x64, 0x6f,
  1057. 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78,
  1058. 0x69, 0x65, 0x64, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x22, 0xc7, 0x06, 0x0a, 0x06, 0x43, 0x6f,
  1059. 0x6e, 0x66, 0x69, 0x67, 0x12, 0x45, 0x0a, 0x0b, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76,
  1060. 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x32, 0x72, 0x61,
  1061. 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65,
  1062. 0x74, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b,
  1063. 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x12, 0x3f, 0x0a, 0x0b, 0x6e,
  1064. 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b,
  1065. 0x32, 0x1e, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
  1066. 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
  1067. 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x3f, 0x0a, 0x05,
  1068. 0x48, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x32,
  1069. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73,
  1070. 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x45, 0x6e, 0x74,
  1071. 0x72, 0x79, 0x42, 0x02, 0x18, 0x01, 0x52, 0x05, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x1b, 0x0a,
  1072. 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
  1073. 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x70, 0x12, 0x42, 0x0a, 0x0c, 0x73, 0x74,
  1074. 0x61, 0x74, 0x69, 0x63, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
  1075. 0x32, 0x1f, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
  1076. 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e,
  1077. 0x67, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x10,
  1078. 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67,
  1079. 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68,
  1080. 0x65, 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
  1081. 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62,
  1082. 0x6c, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18,
  1083. 0x01, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12,
  1084. 0x2c, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61,
  1085. 0x63, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x64, 0x69,
  1086. 0x73, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x3a, 0x0a,
  1087. 0x16, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b,
  1088. 0x49, 0x66, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18,
  1089. 0x01, 0x52, 0x16, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61,
  1090. 0x63, 0x6b, 0x49, 0x66, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x48, 0x0a, 0x0e, 0x71, 0x75, 0x65,
  1091. 0x72, 0x79, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28,
  1092. 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61,
  1093. 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x72, 0x61,
  1094. 0x74, 0x65, 0x67, 0x79, 0x52, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x72, 0x61, 0x74,
  1095. 0x65, 0x67, 0x79, 0x12, 0x48, 0x0a, 0x0e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x73, 0x74, 0x72,
  1096. 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x32,
  1097. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73,
  1098. 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0d,
  1099. 0x63, 0x61, 0x63, 0x68, 0x65, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x51, 0x0a,
  1100. 0x11, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65,
  1101. 0x67, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
  1102. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x46, 0x61,
  1103. 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x10,
  1104. 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79,
  1105. 0x1a, 0x5b, 0x0a, 0x0a, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
  1106. 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
  1107. 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1108. 0x21, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
  1109. 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61,
  1110. 0x69, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08,
  1111. 0x07, 0x10, 0x08, 0x22, 0x9a, 0x05, 0x0a, 0x10, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x69,
  1112. 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x49, 0x0a, 0x0b, 0x6e, 0x61, 0x6d, 0x65,
  1113. 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e,
  1114. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64,
  1115. 0x6e, 0x73, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4e, 0x61, 0x6d,
  1116. 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72,
  1117. 0x76, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x70,
  1118. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x70,
  1119. 0x12, 0x42, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x73,
  1120. 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
  1121. 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x48, 0x6f, 0x73, 0x74,
  1122. 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x48,
  1123. 0x6f, 0x73, 0x74, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28,
  1124. 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
  1125. 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
  1126. 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x26, 0x0a,
  1127. 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x18, 0x08, 0x20,
  1128. 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
  1129. 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x2c, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
  1130. 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02,
  1131. 0x18, 0x01, 0x52, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x61, 0x6c, 0x6c, 0x62,
  1132. 0x61, 0x63, 0x6b, 0x12, 0x3a, 0x0a, 0x16, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x61,
  1133. 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x49, 0x66, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x0b, 0x20,
  1134. 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x16, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
  1135. 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x49, 0x66, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12,
  1136. 0x48, 0x0a, 0x0e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67,
  1137. 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  1138. 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x51, 0x75, 0x65,
  1139. 0x72, 0x79, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0d, 0x71, 0x75, 0x65, 0x72,
  1140. 0x79, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x48, 0x0a, 0x0e, 0x63, 0x61, 0x63,
  1141. 0x68, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28,
  1142. 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61,
  1143. 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x74, 0x72, 0x61,
  1144. 0x74, 0x65, 0x67, 0x79, 0x52, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x53, 0x74, 0x72, 0x61, 0x74,
  1145. 0x65, 0x67, 0x79, 0x12, 0x51, 0x0a, 0x11, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f,
  1146. 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24,
  1147. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e,
  1148. 0x64, 0x6e, 0x73, 0x2e, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x74, 0x72, 0x61,
  1149. 0x74, 0x65, 0x67, 0x79, 0x52, 0x10, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x74,
  1150. 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x3a, 0x16, 0x82, 0xb5, 0x18, 0x09, 0x0a, 0x07, 0x73, 0x65,
  1151. 0x72, 0x76, 0x69, 0x63, 0x65, 0x82, 0xb5, 0x18, 0x05, 0x12, 0x03, 0x64, 0x6e, 0x73, 0x4a, 0x04,
  1152. 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08,
  1153. 0x22, 0xa2, 0x01, 0x0a, 0x15, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x48,
  1154. 0x6f, 0x73, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x3a, 0x0a, 0x04, 0x74, 0x79,
  1155. 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
  1156. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x44, 0x6f,
  1157. 0x6d, 0x61, 0x69, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65,
  1158. 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
  1159. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x0e,
  1160. 0x0a, 0x02, 0x69, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x25,
  1161. 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x78, 0x69, 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
  1162. 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x69, 0x65, 0x64, 0x44,
  1163. 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x22, 0xff, 0x06, 0x0a, 0x14, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x69,
  1164. 0x66, 0x69, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x39,
  1165. 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1166. 0x1f, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
  1167. 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
  1168. 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69,
  1169. 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c,
  1170. 0x69, 0x65, 0x6e, 0x74, 0x49, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x07, 0x20,
  1171. 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x66, 0x0a, 0x12, 0x70, 0x72, 0x69, 0x6f,
  1172. 0x72, 0x69, 0x74, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02,
  1173. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
  1174. 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x69,
  1175. 0x66, 0x69, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x50,
  1176. 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x11, 0x70,
  1177. 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
  1178. 0x12, 0x3f, 0x0a, 0x05, 0x67, 0x65, 0x6f, 0x69, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1179. 0x29, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70,
  1180. 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x63, 0x6f,
  1181. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x6f, 0x49, 0x50, 0x52, 0x05, 0x67, 0x65, 0x6f, 0x69,
  1182. 0x70, 0x12, 0x5c, 0x0a, 0x0e, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x75,
  1183. 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, 0x32, 0x72, 0x61,
  1184. 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x53,
  1185. 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72,
  1186. 0x76, 0x65, 0x72, 0x2e, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65,
  1187. 0x52, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12,
  1188. 0x26, 0x0a, 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18,
  1189. 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x46,
  1190. 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x4d, 0x0a, 0x0e, 0x71, 0x75, 0x65, 0x72, 0x79,
  1191. 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32,
  1192. 0x21, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70,
  1193. 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65,
  1194. 0x67, 0x79, 0x48, 0x00, 0x52, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x72, 0x61, 0x74,
  1195. 0x65, 0x67, 0x79, 0x88, 0x01, 0x01, 0x12, 0x4d, 0x0a, 0x0e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f,
  1196. 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21,
  1197. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e,
  1198. 0x64, 0x6e, 0x73, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67,
  1199. 0x79, 0x48, 0x01, 0x52, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65,
  1200. 0x67, 0x79, 0x88, 0x01, 0x01, 0x12, 0x56, 0x0a, 0x11, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63,
  1201. 0x6b, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e,
  1202. 0x32, 0x24, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
  1203. 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x74,
  1204. 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x48, 0x02, 0x52, 0x10, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61,
  1205. 0x63, 0x6b, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x88, 0x01, 0x01, 0x1a, 0x64, 0x0a,
  1206. 0x0e, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12,
  1207. 0x3a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e,
  1208. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64,
  1209. 0x6e, 0x73, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e,
  1210. 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64,
  1211. 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d,
  1212. 0x61, 0x69, 0x6e, 0x1a, 0x36, 0x0a, 0x0c, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x52,
  1213. 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1214. 0x09, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18,
  1215. 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x11, 0x0a, 0x0f, 0x5f,
  1216. 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x42, 0x11,
  1217. 0x0a, 0x0f, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67,
  1218. 0x79, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x73,
  1219. 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2a, 0x45, 0x0a, 0x12, 0x44, 0x6f, 0x6d, 0x61, 0x69,
  1220. 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a,
  1221. 0x04, 0x46, 0x75, 0x6c, 0x6c, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x64, 0x6f,
  1222. 0x6d, 0x61, 0x69, 0x6e, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72,
  1223. 0x64, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x65, 0x67, 0x65, 0x78, 0x10, 0x03, 0x2a, 0x35,
  1224. 0x0a, 0x0d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12,
  1225. 0x0a, 0x0a, 0x06, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x50, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55,
  1226. 0x53, 0x45, 0x5f, 0x49, 0x50, 0x34, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x53, 0x45, 0x5f,
  1227. 0x49, 0x50, 0x36, 0x10, 0x02, 0x2a, 0x34, 0x0a, 0x0d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x74,
  1228. 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x61, 0x63, 0x68, 0x65, 0x45,
  1229. 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x61, 0x63, 0x68,
  1230. 0x65, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x10, 0x01, 0x2a, 0x45, 0x0a, 0x10, 0x46,
  1231. 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12,
  1232. 0x0b, 0x0a, 0x07, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08,
  1233. 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x44, 0x69,
  1234. 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x66, 0x41, 0x6e, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68,
  1235. 0x10, 0x02, 0x42, 0x57, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  1236. 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x50, 0x01, 0x5a, 0x26,
  1237. 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79,
  1238. 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x61,
  1239. 0x70, 0x70, 0x2f, 0x64, 0x6e, 0x73, 0xaa, 0x02, 0x12, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43,
  1240. 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x44, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f,
  1241. 0x74, 0x6f, 0x33,
  1242. }
  1243. var (
  1244. file_app_dns_config_proto_rawDescOnce sync.Once
  1245. file_app_dns_config_proto_rawDescData = file_app_dns_config_proto_rawDesc
  1246. )
  1247. func file_app_dns_config_proto_rawDescGZIP() []byte {
  1248. file_app_dns_config_proto_rawDescOnce.Do(func() {
  1249. file_app_dns_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_dns_config_proto_rawDescData)
  1250. })
  1251. return file_app_dns_config_proto_rawDescData
  1252. }
  1253. var file_app_dns_config_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
  1254. var file_app_dns_config_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
  1255. var file_app_dns_config_proto_goTypes = []interface{}{
  1256. (DomainMatchingType)(0), // 0: v2ray.core.app.dns.DomainMatchingType
  1257. (QueryStrategy)(0), // 1: v2ray.core.app.dns.QueryStrategy
  1258. (CacheStrategy)(0), // 2: v2ray.core.app.dns.CacheStrategy
  1259. (FallbackStrategy)(0), // 3: v2ray.core.app.dns.FallbackStrategy
  1260. (*NameServer)(nil), // 4: v2ray.core.app.dns.NameServer
  1261. (*HostMapping)(nil), // 5: v2ray.core.app.dns.HostMapping
  1262. (*Config)(nil), // 6: v2ray.core.app.dns.Config
  1263. (*SimplifiedConfig)(nil), // 7: v2ray.core.app.dns.SimplifiedConfig
  1264. (*SimplifiedHostMapping)(nil), // 8: v2ray.core.app.dns.SimplifiedHostMapping
  1265. (*SimplifiedNameServer)(nil), // 9: v2ray.core.app.dns.SimplifiedNameServer
  1266. (*NameServer_PriorityDomain)(nil), // 10: v2ray.core.app.dns.NameServer.PriorityDomain
  1267. (*NameServer_OriginalRule)(nil), // 11: v2ray.core.app.dns.NameServer.OriginalRule
  1268. nil, // 12: v2ray.core.app.dns.Config.HostsEntry
  1269. (*SimplifiedNameServer_PriorityDomain)(nil), // 13: v2ray.core.app.dns.SimplifiedNameServer.PriorityDomain
  1270. (*SimplifiedNameServer_OriginalRule)(nil), // 14: v2ray.core.app.dns.SimplifiedNameServer.OriginalRule
  1271. (*net.Endpoint)(nil), // 15: v2ray.core.common.net.Endpoint
  1272. (*routercommon.GeoIP)(nil), // 16: v2ray.core.app.router.routercommon.GeoIP
  1273. (*net.IPOrDomain)(nil), // 17: v2ray.core.common.net.IPOrDomain
  1274. }
  1275. var file_app_dns_config_proto_depIdxs = []int32{
  1276. 15, // 0: v2ray.core.app.dns.NameServer.address:type_name -> v2ray.core.common.net.Endpoint
  1277. 10, // 1: v2ray.core.app.dns.NameServer.prioritized_domain:type_name -> v2ray.core.app.dns.NameServer.PriorityDomain
  1278. 16, // 2: v2ray.core.app.dns.NameServer.geoip:type_name -> v2ray.core.app.router.routercommon.GeoIP
  1279. 11, // 3: v2ray.core.app.dns.NameServer.original_rules:type_name -> v2ray.core.app.dns.NameServer.OriginalRule
  1280. 1, // 4: v2ray.core.app.dns.NameServer.query_strategy:type_name -> v2ray.core.app.dns.QueryStrategy
  1281. 2, // 5: v2ray.core.app.dns.NameServer.cache_strategy:type_name -> v2ray.core.app.dns.CacheStrategy
  1282. 3, // 6: v2ray.core.app.dns.NameServer.fallback_strategy:type_name -> v2ray.core.app.dns.FallbackStrategy
  1283. 0, // 7: v2ray.core.app.dns.HostMapping.type:type_name -> v2ray.core.app.dns.DomainMatchingType
  1284. 15, // 8: v2ray.core.app.dns.Config.NameServers:type_name -> v2ray.core.common.net.Endpoint
  1285. 4, // 9: v2ray.core.app.dns.Config.name_server:type_name -> v2ray.core.app.dns.NameServer
  1286. 12, // 10: v2ray.core.app.dns.Config.Hosts:type_name -> v2ray.core.app.dns.Config.HostsEntry
  1287. 5, // 11: v2ray.core.app.dns.Config.static_hosts:type_name -> v2ray.core.app.dns.HostMapping
  1288. 1, // 12: v2ray.core.app.dns.Config.query_strategy:type_name -> v2ray.core.app.dns.QueryStrategy
  1289. 2, // 13: v2ray.core.app.dns.Config.cache_strategy:type_name -> v2ray.core.app.dns.CacheStrategy
  1290. 3, // 14: v2ray.core.app.dns.Config.fallback_strategy:type_name -> v2ray.core.app.dns.FallbackStrategy
  1291. 9, // 15: v2ray.core.app.dns.SimplifiedConfig.name_server:type_name -> v2ray.core.app.dns.SimplifiedNameServer
  1292. 5, // 16: v2ray.core.app.dns.SimplifiedConfig.static_hosts:type_name -> v2ray.core.app.dns.HostMapping
  1293. 1, // 17: v2ray.core.app.dns.SimplifiedConfig.query_strategy:type_name -> v2ray.core.app.dns.QueryStrategy
  1294. 2, // 18: v2ray.core.app.dns.SimplifiedConfig.cache_strategy:type_name -> v2ray.core.app.dns.CacheStrategy
  1295. 3, // 19: v2ray.core.app.dns.SimplifiedConfig.fallback_strategy:type_name -> v2ray.core.app.dns.FallbackStrategy
  1296. 0, // 20: v2ray.core.app.dns.SimplifiedHostMapping.type:type_name -> v2ray.core.app.dns.DomainMatchingType
  1297. 15, // 21: v2ray.core.app.dns.SimplifiedNameServer.address:type_name -> v2ray.core.common.net.Endpoint
  1298. 13, // 22: v2ray.core.app.dns.SimplifiedNameServer.prioritized_domain:type_name -> v2ray.core.app.dns.SimplifiedNameServer.PriorityDomain
  1299. 16, // 23: v2ray.core.app.dns.SimplifiedNameServer.geoip:type_name -> v2ray.core.app.router.routercommon.GeoIP
  1300. 14, // 24: v2ray.core.app.dns.SimplifiedNameServer.original_rules:type_name -> v2ray.core.app.dns.SimplifiedNameServer.OriginalRule
  1301. 1, // 25: v2ray.core.app.dns.SimplifiedNameServer.query_strategy:type_name -> v2ray.core.app.dns.QueryStrategy
  1302. 2, // 26: v2ray.core.app.dns.SimplifiedNameServer.cache_strategy:type_name -> v2ray.core.app.dns.CacheStrategy
  1303. 3, // 27: v2ray.core.app.dns.SimplifiedNameServer.fallback_strategy:type_name -> v2ray.core.app.dns.FallbackStrategy
  1304. 0, // 28: v2ray.core.app.dns.NameServer.PriorityDomain.type:type_name -> v2ray.core.app.dns.DomainMatchingType
  1305. 17, // 29: v2ray.core.app.dns.Config.HostsEntry.value:type_name -> v2ray.core.common.net.IPOrDomain
  1306. 0, // 30: v2ray.core.app.dns.SimplifiedNameServer.PriorityDomain.type:type_name -> v2ray.core.app.dns.DomainMatchingType
  1307. 31, // [31:31] is the sub-list for method output_type
  1308. 31, // [31:31] is the sub-list for method input_type
  1309. 31, // [31:31] is the sub-list for extension type_name
  1310. 31, // [31:31] is the sub-list for extension extendee
  1311. 0, // [0:31] is the sub-list for field type_name
  1312. }
  1313. func init() { file_app_dns_config_proto_init() }
  1314. func file_app_dns_config_proto_init() {
  1315. if File_app_dns_config_proto != nil {
  1316. return
  1317. }
  1318. if !protoimpl.UnsafeEnabled {
  1319. file_app_dns_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1320. switch v := v.(*NameServer); i {
  1321. case 0:
  1322. return &v.state
  1323. case 1:
  1324. return &v.sizeCache
  1325. case 2:
  1326. return &v.unknownFields
  1327. default:
  1328. return nil
  1329. }
  1330. }
  1331. file_app_dns_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1332. switch v := v.(*HostMapping); i {
  1333. case 0:
  1334. return &v.state
  1335. case 1:
  1336. return &v.sizeCache
  1337. case 2:
  1338. return &v.unknownFields
  1339. default:
  1340. return nil
  1341. }
  1342. }
  1343. file_app_dns_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1344. switch v := v.(*Config); i {
  1345. case 0:
  1346. return &v.state
  1347. case 1:
  1348. return &v.sizeCache
  1349. case 2:
  1350. return &v.unknownFields
  1351. default:
  1352. return nil
  1353. }
  1354. }
  1355. file_app_dns_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1356. switch v := v.(*SimplifiedConfig); i {
  1357. case 0:
  1358. return &v.state
  1359. case 1:
  1360. return &v.sizeCache
  1361. case 2:
  1362. return &v.unknownFields
  1363. default:
  1364. return nil
  1365. }
  1366. }
  1367. file_app_dns_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1368. switch v := v.(*SimplifiedHostMapping); i {
  1369. case 0:
  1370. return &v.state
  1371. case 1:
  1372. return &v.sizeCache
  1373. case 2:
  1374. return &v.unknownFields
  1375. default:
  1376. return nil
  1377. }
  1378. }
  1379. file_app_dns_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1380. switch v := v.(*SimplifiedNameServer); i {
  1381. case 0:
  1382. return &v.state
  1383. case 1:
  1384. return &v.sizeCache
  1385. case 2:
  1386. return &v.unknownFields
  1387. default:
  1388. return nil
  1389. }
  1390. }
  1391. file_app_dns_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1392. switch v := v.(*NameServer_PriorityDomain); i {
  1393. case 0:
  1394. return &v.state
  1395. case 1:
  1396. return &v.sizeCache
  1397. case 2:
  1398. return &v.unknownFields
  1399. default:
  1400. return nil
  1401. }
  1402. }
  1403. file_app_dns_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1404. switch v := v.(*NameServer_OriginalRule); i {
  1405. case 0:
  1406. return &v.state
  1407. case 1:
  1408. return &v.sizeCache
  1409. case 2:
  1410. return &v.unknownFields
  1411. default:
  1412. return nil
  1413. }
  1414. }
  1415. file_app_dns_config_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1416. switch v := v.(*SimplifiedNameServer_PriorityDomain); i {
  1417. case 0:
  1418. return &v.state
  1419. case 1:
  1420. return &v.sizeCache
  1421. case 2:
  1422. return &v.unknownFields
  1423. default:
  1424. return nil
  1425. }
  1426. }
  1427. file_app_dns_config_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1428. switch v := v.(*SimplifiedNameServer_OriginalRule); i {
  1429. case 0:
  1430. return &v.state
  1431. case 1:
  1432. return &v.sizeCache
  1433. case 2:
  1434. return &v.unknownFields
  1435. default:
  1436. return nil
  1437. }
  1438. }
  1439. }
  1440. file_app_dns_config_proto_msgTypes[0].OneofWrappers = []interface{}{}
  1441. file_app_dns_config_proto_msgTypes[5].OneofWrappers = []interface{}{}
  1442. type x struct{}
  1443. out := protoimpl.TypeBuilder{
  1444. File: protoimpl.DescBuilder{
  1445. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1446. RawDescriptor: file_app_dns_config_proto_rawDesc,
  1447. NumEnums: 4,
  1448. NumMessages: 11,
  1449. NumExtensions: 0,
  1450. NumServices: 0,
  1451. },
  1452. GoTypes: file_app_dns_config_proto_goTypes,
  1453. DependencyIndexes: file_app_dns_config_proto_depIdxs,
  1454. EnumInfos: file_app_dns_config_proto_enumTypes,
  1455. MessageInfos: file_app_dns_config_proto_msgTypes,
  1456. }.Build()
  1457. File_app_dns_config_proto = out.File
  1458. file_app_dns_config_proto_rawDesc = nil
  1459. file_app_dns_config_proto_goTypes = nil
  1460. file_app_dns_config_proto_depIdxs = nil
  1461. }