config.pb.go 70 KB

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