github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/pkg/protos/config/dns/dns.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.34.0
     4  // 	protoc        v4.25.3
     5  // source: config/dns/dns.proto
     6  
     7  package dns
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type Type int32
    24  
    25  const (
    26  	Type_reserve Type = 0
    27  	Type_udp     Type = 1
    28  	Type_tcp     Type = 2
    29  	Type_doh     Type = 3
    30  	Type_dot     Type = 4
    31  	Type_doq     Type = 5
    32  	Type_doh3    Type = 6
    33  )
    34  
    35  // Enum value maps for Type.
    36  var (
    37  	Type_name = map[int32]string{
    38  		0: "reserve",
    39  		1: "udp",
    40  		2: "tcp",
    41  		3: "doh",
    42  		4: "dot",
    43  		5: "doq",
    44  		6: "doh3",
    45  	}
    46  	Type_value = map[string]int32{
    47  		"reserve": 0,
    48  		"udp":     1,
    49  		"tcp":     2,
    50  		"doh":     3,
    51  		"dot":     4,
    52  		"doq":     5,
    53  		"doh3":    6,
    54  	}
    55  )
    56  
    57  func (x Type) Enum() *Type {
    58  	p := new(Type)
    59  	*p = x
    60  	return p
    61  }
    62  
    63  func (x Type) String() string {
    64  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    65  }
    66  
    67  func (Type) Descriptor() protoreflect.EnumDescriptor {
    68  	return file_config_dns_dns_proto_enumTypes[0].Descriptor()
    69  }
    70  
    71  func (Type) Type() protoreflect.EnumType {
    72  	return &file_config_dns_dns_proto_enumTypes[0]
    73  }
    74  
    75  func (x Type) Number() protoreflect.EnumNumber {
    76  	return protoreflect.EnumNumber(x)
    77  }
    78  
    79  // Deprecated: Use Type.Descriptor instead.
    80  func (Type) EnumDescriptor() ([]byte, []int) {
    81  	return file_config_dns_dns_proto_rawDescGZIP(), []int{0}
    82  }
    83  
    84  type Dns struct {
    85  	state         protoimpl.MessageState
    86  	sizeCache     protoimpl.SizeCache
    87  	unknownFields protoimpl.UnknownFields
    88  
    89  	Host          string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
    90  	Type          Type   `protobuf:"varint,5,opt,name=type,proto3,enum=yuhaiin.dns.Type" json:"type,omitempty"`
    91  	Subnet        string `protobuf:"bytes,4,opt,name=subnet,proto3" json:"subnet,omitempty"`
    92  	TlsServername string `protobuf:"bytes,2,opt,name=tls_servername,proto3" json:"tls_servername,omitempty"`
    93  }
    94  
    95  func (x *Dns) Reset() {
    96  	*x = Dns{}
    97  	if protoimpl.UnsafeEnabled {
    98  		mi := &file_config_dns_dns_proto_msgTypes[0]
    99  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   100  		ms.StoreMessageInfo(mi)
   101  	}
   102  }
   103  
   104  func (x *Dns) String() string {
   105  	return protoimpl.X.MessageStringOf(x)
   106  }
   107  
   108  func (*Dns) ProtoMessage() {}
   109  
   110  func (x *Dns) ProtoReflect() protoreflect.Message {
   111  	mi := &file_config_dns_dns_proto_msgTypes[0]
   112  	if protoimpl.UnsafeEnabled && x != nil {
   113  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   114  		if ms.LoadMessageInfo() == nil {
   115  			ms.StoreMessageInfo(mi)
   116  		}
   117  		return ms
   118  	}
   119  	return mi.MessageOf(x)
   120  }
   121  
   122  // Deprecated: Use Dns.ProtoReflect.Descriptor instead.
   123  func (*Dns) Descriptor() ([]byte, []int) {
   124  	return file_config_dns_dns_proto_rawDescGZIP(), []int{0}
   125  }
   126  
   127  func (x *Dns) GetHost() string {
   128  	if x != nil {
   129  		return x.Host
   130  	}
   131  	return ""
   132  }
   133  
   134  func (x *Dns) GetType() Type {
   135  	if x != nil {
   136  		return x.Type
   137  	}
   138  	return Type_reserve
   139  }
   140  
   141  func (x *Dns) GetSubnet() string {
   142  	if x != nil {
   143  		return x.Subnet
   144  	}
   145  	return ""
   146  }
   147  
   148  func (x *Dns) GetTlsServername() string {
   149  	if x != nil {
   150  		return x.TlsServername
   151  	}
   152  	return ""
   153  }
   154  
   155  type DnsConfig struct {
   156  	state         protoimpl.MessageState
   157  	sizeCache     protoimpl.SizeCache
   158  	unknownFields protoimpl.UnknownFields
   159  
   160  	Server              string            `protobuf:"bytes,4,opt,name=server,proto3" json:"server,omitempty"`
   161  	Fakedns             bool              `protobuf:"varint,5,opt,name=fakedns,proto3" json:"fakedns,omitempty"`
   162  	FakednsIpRange      string            `protobuf:"bytes,6,opt,name=fakedns_ip_range,proto3" json:"fakedns_ip_range,omitempty"`
   163  	FakednsIpv6Range    string            `protobuf:"bytes,13,opt,name=fakedns_ipv6_range,proto3" json:"fakedns_ipv6_range,omitempty"`
   164  	FakednsWhitelist    []string          `protobuf:"bytes,9,rep,name=fakedns_whitelist,proto3" json:"fakedns_whitelist,omitempty"`
   165  	ResolveRemoteDomain bool              `protobuf:"varint,7,opt,name=resolve_remote_domain,proto3" json:"resolve_remote_domain,omitempty"`
   166  	Remote              *Dns              `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"`
   167  	Local               *Dns              `protobuf:"bytes,2,opt,name=local,proto3" json:"local,omitempty"`
   168  	Bootstrap           *Dns              `protobuf:"bytes,3,opt,name=bootstrap,proto3" json:"bootstrap,omitempty"`
   169  	Hosts               map[string]string `protobuf:"bytes,8,rep,name=hosts,proto3" json:"hosts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   170  	Resolver            map[string]*Dns   `protobuf:"bytes,10,rep,name=resolver,proto3" json:"resolver,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   171  }
   172  
   173  func (x *DnsConfig) Reset() {
   174  	*x = DnsConfig{}
   175  	if protoimpl.UnsafeEnabled {
   176  		mi := &file_config_dns_dns_proto_msgTypes[1]
   177  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   178  		ms.StoreMessageInfo(mi)
   179  	}
   180  }
   181  
   182  func (x *DnsConfig) String() string {
   183  	return protoimpl.X.MessageStringOf(x)
   184  }
   185  
   186  func (*DnsConfig) ProtoMessage() {}
   187  
   188  func (x *DnsConfig) ProtoReflect() protoreflect.Message {
   189  	mi := &file_config_dns_dns_proto_msgTypes[1]
   190  	if protoimpl.UnsafeEnabled && x != nil {
   191  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   192  		if ms.LoadMessageInfo() == nil {
   193  			ms.StoreMessageInfo(mi)
   194  		}
   195  		return ms
   196  	}
   197  	return mi.MessageOf(x)
   198  }
   199  
   200  // Deprecated: Use DnsConfig.ProtoReflect.Descriptor instead.
   201  func (*DnsConfig) Descriptor() ([]byte, []int) {
   202  	return file_config_dns_dns_proto_rawDescGZIP(), []int{1}
   203  }
   204  
   205  func (x *DnsConfig) GetServer() string {
   206  	if x != nil {
   207  		return x.Server
   208  	}
   209  	return ""
   210  }
   211  
   212  func (x *DnsConfig) GetFakedns() bool {
   213  	if x != nil {
   214  		return x.Fakedns
   215  	}
   216  	return false
   217  }
   218  
   219  func (x *DnsConfig) GetFakednsIpRange() string {
   220  	if x != nil {
   221  		return x.FakednsIpRange
   222  	}
   223  	return ""
   224  }
   225  
   226  func (x *DnsConfig) GetFakednsIpv6Range() string {
   227  	if x != nil {
   228  		return x.FakednsIpv6Range
   229  	}
   230  	return ""
   231  }
   232  
   233  func (x *DnsConfig) GetFakednsWhitelist() []string {
   234  	if x != nil {
   235  		return x.FakednsWhitelist
   236  	}
   237  	return nil
   238  }
   239  
   240  func (x *DnsConfig) GetResolveRemoteDomain() bool {
   241  	if x != nil {
   242  		return x.ResolveRemoteDomain
   243  	}
   244  	return false
   245  }
   246  
   247  func (x *DnsConfig) GetRemote() *Dns {
   248  	if x != nil {
   249  		return x.Remote
   250  	}
   251  	return nil
   252  }
   253  
   254  func (x *DnsConfig) GetLocal() *Dns {
   255  	if x != nil {
   256  		return x.Local
   257  	}
   258  	return nil
   259  }
   260  
   261  func (x *DnsConfig) GetBootstrap() *Dns {
   262  	if x != nil {
   263  		return x.Bootstrap
   264  	}
   265  	return nil
   266  }
   267  
   268  func (x *DnsConfig) GetHosts() map[string]string {
   269  	if x != nil {
   270  		return x.Hosts
   271  	}
   272  	return nil
   273  }
   274  
   275  func (x *DnsConfig) GetResolver() map[string]*Dns {
   276  	if x != nil {
   277  		return x.Resolver
   278  	}
   279  	return nil
   280  }
   281  
   282  var File_config_dns_dns_proto protoreflect.FileDescriptor
   283  
   284  var file_config_dns_dns_proto_rawDesc = []byte{
   285  	0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x64, 0x6e, 0x73, 0x2f, 0x64, 0x6e, 0x73,
   286  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e,
   287  	0x64, 0x6e, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x03, 0x64, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68,
   288  	0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12,
   289  	0x25, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e,
   290  	0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65,
   291  	0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74,
   292  	0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x12, 0x26,
   293  	0x0a, 0x0e, 0x74, 0x6c, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
   294  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x6c, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76,
   295  	0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x86, 0x05, 0x0a, 0x0a, 0x64, 0x6e, 0x73, 0x5f, 0x63,
   296  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18,
   297  	0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x18, 0x0a,
   298  	0x07, 0x66, 0x61, 0x6b, 0x65, 0x64, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
   299  	0x66, 0x61, 0x6b, 0x65, 0x64, 0x6e, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x61, 0x6b, 0x65, 0x64,
   300  	0x6e, 0x73, 0x5f, 0x69, 0x70, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
   301  	0x09, 0x52, 0x10, 0x66, 0x61, 0x6b, 0x65, 0x64, 0x6e, 0x73, 0x5f, 0x69, 0x70, 0x5f, 0x72, 0x61,
   302  	0x6e, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x66, 0x61, 0x6b, 0x65, 0x64, 0x6e, 0x73, 0x5f, 0x69,
   303  	0x70, 0x76, 0x36, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52,
   304  	0x12, 0x66, 0x61, 0x6b, 0x65, 0x64, 0x6e, 0x73, 0x5f, 0x69, 0x70, 0x76, 0x36, 0x5f, 0x72, 0x61,
   305  	0x6e, 0x67, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x66, 0x61, 0x6b, 0x65, 0x64, 0x6e, 0x73, 0x5f, 0x77,
   306  	0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11,
   307  	0x66, 0x61, 0x6b, 0x65, 0x64, 0x6e, 0x73, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73,
   308  	0x74, 0x12, 0x34, 0x0a, 0x15, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x6d,
   309  	0x6f, 0x74, 0x65, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08,
   310  	0x52, 0x15, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65,
   311  	0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74,
   312  	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69,
   313  	0x6e, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x64, 0x6e, 0x73, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74,
   314  	0x65, 0x12, 0x26, 0x0a, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
   315  	0x32, 0x10, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x64,
   316  	0x6e, 0x73, 0x52, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x12, 0x2e, 0x0a, 0x09, 0x62, 0x6f, 0x6f,
   317  	0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x79,
   318  	0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x64, 0x6e, 0x73, 0x52, 0x09,
   319  	0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x12, 0x38, 0x0a, 0x05, 0x68, 0x6f, 0x73,
   320  	0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69,
   321  	0x69, 0x6e, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x64, 0x6e, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
   322  	0x67, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x68, 0x6f,
   323  	0x73, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x18,
   324  	0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e,
   325  	0x64, 0x6e, 0x73, 0x2e, 0x64, 0x6e, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52,
   326  	0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x72, 0x65,
   327  	0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x1a, 0x38, 0x0a, 0x0a, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x45,
   328  	0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
   329  	0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
   330  	0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
   331  	0x1a, 0x4d, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72,
   332  	0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
   333  	0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
   334  	0x28, 0x0b, 0x32, 0x10, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x64, 0x6e, 0x73,
   335  	0x2e, 0x64, 0x6e, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a,
   336  	0x4a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72,
   337  	0x76, 0x65, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x75, 0x64, 0x70, 0x10, 0x01, 0x12, 0x07, 0x0a,
   338  	0x03, 0x74, 0x63, 0x70, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x64, 0x6f, 0x68, 0x10, 0x03, 0x12,
   339  	0x07, 0x0a, 0x03, 0x64, 0x6f, 0x74, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x64, 0x6f, 0x71, 0x10,
   340  	0x05, 0x12, 0x08, 0x0a, 0x04, 0x64, 0x6f, 0x68, 0x33, 0x10, 0x06, 0x42, 0x34, 0x5a, 0x32, 0x67,
   341  	0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x73, 0x75, 0x74, 0x6f, 0x72,
   342  	0x75, 0x66, 0x61, 0x2f, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2f, 0x70, 0x6b, 0x67, 0x2f,
   343  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x64, 0x6e,
   344  	0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   345  }
   346  
   347  var (
   348  	file_config_dns_dns_proto_rawDescOnce sync.Once
   349  	file_config_dns_dns_proto_rawDescData = file_config_dns_dns_proto_rawDesc
   350  )
   351  
   352  func file_config_dns_dns_proto_rawDescGZIP() []byte {
   353  	file_config_dns_dns_proto_rawDescOnce.Do(func() {
   354  		file_config_dns_dns_proto_rawDescData = protoimpl.X.CompressGZIP(file_config_dns_dns_proto_rawDescData)
   355  	})
   356  	return file_config_dns_dns_proto_rawDescData
   357  }
   358  
   359  var file_config_dns_dns_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   360  var file_config_dns_dns_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   361  var file_config_dns_dns_proto_goTypes = []interface{}{
   362  	(Type)(0),         // 0: yuhaiin.dns.type
   363  	(*Dns)(nil),       // 1: yuhaiin.dns.dns
   364  	(*DnsConfig)(nil), // 2: yuhaiin.dns.dns_config
   365  	nil,               // 3: yuhaiin.dns.dns_config.HostsEntry
   366  	nil,               // 4: yuhaiin.dns.dns_config.ResolverEntry
   367  }
   368  var file_config_dns_dns_proto_depIdxs = []int32{
   369  	0, // 0: yuhaiin.dns.dns.type:type_name -> yuhaiin.dns.type
   370  	1, // 1: yuhaiin.dns.dns_config.remote:type_name -> yuhaiin.dns.dns
   371  	1, // 2: yuhaiin.dns.dns_config.local:type_name -> yuhaiin.dns.dns
   372  	1, // 3: yuhaiin.dns.dns_config.bootstrap:type_name -> yuhaiin.dns.dns
   373  	3, // 4: yuhaiin.dns.dns_config.hosts:type_name -> yuhaiin.dns.dns_config.HostsEntry
   374  	4, // 5: yuhaiin.dns.dns_config.resolver:type_name -> yuhaiin.dns.dns_config.ResolverEntry
   375  	1, // 6: yuhaiin.dns.dns_config.ResolverEntry.value:type_name -> yuhaiin.dns.dns
   376  	7, // [7:7] is the sub-list for method output_type
   377  	7, // [7:7] is the sub-list for method input_type
   378  	7, // [7:7] is the sub-list for extension type_name
   379  	7, // [7:7] is the sub-list for extension extendee
   380  	0, // [0:7] is the sub-list for field type_name
   381  }
   382  
   383  func init() { file_config_dns_dns_proto_init() }
   384  func file_config_dns_dns_proto_init() {
   385  	if File_config_dns_dns_proto != nil {
   386  		return
   387  	}
   388  	if !protoimpl.UnsafeEnabled {
   389  		file_config_dns_dns_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   390  			switch v := v.(*Dns); i {
   391  			case 0:
   392  				return &v.state
   393  			case 1:
   394  				return &v.sizeCache
   395  			case 2:
   396  				return &v.unknownFields
   397  			default:
   398  				return nil
   399  			}
   400  		}
   401  		file_config_dns_dns_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   402  			switch v := v.(*DnsConfig); i {
   403  			case 0:
   404  				return &v.state
   405  			case 1:
   406  				return &v.sizeCache
   407  			case 2:
   408  				return &v.unknownFields
   409  			default:
   410  				return nil
   411  			}
   412  		}
   413  	}
   414  	type x struct{}
   415  	out := protoimpl.TypeBuilder{
   416  		File: protoimpl.DescBuilder{
   417  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   418  			RawDescriptor: file_config_dns_dns_proto_rawDesc,
   419  			NumEnums:      1,
   420  			NumMessages:   4,
   421  			NumExtensions: 0,
   422  			NumServices:   0,
   423  		},
   424  		GoTypes:           file_config_dns_dns_proto_goTypes,
   425  		DependencyIndexes: file_config_dns_dns_proto_depIdxs,
   426  		EnumInfos:         file_config_dns_dns_proto_enumTypes,
   427  		MessageInfos:      file_config_dns_dns_proto_msgTypes,
   428  	}.Build()
   429  	File_config_dns_dns_proto = out.File
   430  	file_config_dns_dns_proto_rawDesc = nil
   431  	file_config_dns_dns_proto_goTypes = nil
   432  	file_config_dns_dns_proto_depIdxs = nil
   433  }