config.pb.go 70 KB

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