github.com/yaling888/clash@v1.53.0/component/geodata/router/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.31.0
     4  // 	protoc        v4.23.4
     5  // source: component/geodata/router/config.proto
     6  
     7  package router
     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 of domain value.
    24  type Domain_Type int32
    25  
    26  const (
    27  	// The value is used as is.
    28  	Domain_Plain Domain_Type = 0
    29  	// The value is used as a regular expression.
    30  	Domain_Regex Domain_Type = 1
    31  	// The value is a root domain.
    32  	Domain_Domain Domain_Type = 2
    33  	// The value is a domain.
    34  	Domain_Full Domain_Type = 3
    35  )
    36  
    37  // Enum value maps for Domain_Type.
    38  var (
    39  	Domain_Type_name = map[int32]string{
    40  		0: "Plain",
    41  		1: "Regex",
    42  		2: "Domain",
    43  		3: "Full",
    44  	}
    45  	Domain_Type_value = map[string]int32{
    46  		"Plain":  0,
    47  		"Regex":  1,
    48  		"Domain": 2,
    49  		"Full":   3,
    50  	}
    51  )
    52  
    53  func (x Domain_Type) Enum() *Domain_Type {
    54  	p := new(Domain_Type)
    55  	*p = x
    56  	return p
    57  }
    58  
    59  func (x Domain_Type) String() string {
    60  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    61  }
    62  
    63  func (Domain_Type) Descriptor() protoreflect.EnumDescriptor {
    64  	return file_component_geodata_router_config_proto_enumTypes[0].Descriptor()
    65  }
    66  
    67  func (Domain_Type) Type() protoreflect.EnumType {
    68  	return &file_component_geodata_router_config_proto_enumTypes[0]
    69  }
    70  
    71  func (x Domain_Type) Number() protoreflect.EnumNumber {
    72  	return protoreflect.EnumNumber(x)
    73  }
    74  
    75  // Deprecated: Use Domain_Type.Descriptor instead.
    76  func (Domain_Type) EnumDescriptor() ([]byte, []int) {
    77  	return file_component_geodata_router_config_proto_rawDescGZIP(), []int{0, 0}
    78  }
    79  
    80  // Domain for routing decision.
    81  type Domain struct {
    82  	state         protoimpl.MessageState
    83  	sizeCache     protoimpl.SizeCache
    84  	unknownFields protoimpl.UnknownFields
    85  
    86  	// Domain matching type.
    87  	Type Domain_Type `protobuf:"varint,1,opt,name=type,proto3,enum=clash.component.geodata.router.Domain_Type" json:"type,omitempty"`
    88  	// Domain value.
    89  	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    90  	// Attributes of this domain. May be used for filtering.
    91  	Attribute []*Domain_Attribute `protobuf:"bytes,3,rep,name=attribute,proto3" json:"attribute,omitempty"`
    92  }
    93  
    94  func (x *Domain) Reset() {
    95  	*x = Domain{}
    96  	if protoimpl.UnsafeEnabled {
    97  		mi := &file_component_geodata_router_config_proto_msgTypes[0]
    98  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    99  		ms.StoreMessageInfo(mi)
   100  	}
   101  }
   102  
   103  func (x *Domain) String() string {
   104  	return protoimpl.X.MessageStringOf(x)
   105  }
   106  
   107  func (*Domain) ProtoMessage() {}
   108  
   109  func (x *Domain) ProtoReflect() protoreflect.Message {
   110  	mi := &file_component_geodata_router_config_proto_msgTypes[0]
   111  	if protoimpl.UnsafeEnabled && x != nil {
   112  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   113  		if ms.LoadMessageInfo() == nil {
   114  			ms.StoreMessageInfo(mi)
   115  		}
   116  		return ms
   117  	}
   118  	return mi.MessageOf(x)
   119  }
   120  
   121  // Deprecated: Use Domain.ProtoReflect.Descriptor instead.
   122  func (*Domain) Descriptor() ([]byte, []int) {
   123  	return file_component_geodata_router_config_proto_rawDescGZIP(), []int{0}
   124  }
   125  
   126  func (x *Domain) GetType() Domain_Type {
   127  	if x != nil {
   128  		return x.Type
   129  	}
   130  	return Domain_Plain
   131  }
   132  
   133  func (x *Domain) GetValue() string {
   134  	if x != nil {
   135  		return x.Value
   136  	}
   137  	return ""
   138  }
   139  
   140  func (x *Domain) GetAttribute() []*Domain_Attribute {
   141  	if x != nil {
   142  		return x.Attribute
   143  	}
   144  	return nil
   145  }
   146  
   147  // IP for routing decision, in CIDR form.
   148  type CIDR struct {
   149  	state         protoimpl.MessageState
   150  	sizeCache     protoimpl.SizeCache
   151  	unknownFields protoimpl.UnknownFields
   152  
   153  	// IP address, should be either 4 or 16 bytes.
   154  	Ip []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
   155  	// Number of leading ones in the network mask.
   156  	Prefix uint32 `protobuf:"varint,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
   157  }
   158  
   159  func (x *CIDR) Reset() {
   160  	*x = CIDR{}
   161  	if protoimpl.UnsafeEnabled {
   162  		mi := &file_component_geodata_router_config_proto_msgTypes[1]
   163  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   164  		ms.StoreMessageInfo(mi)
   165  	}
   166  }
   167  
   168  func (x *CIDR) String() string {
   169  	return protoimpl.X.MessageStringOf(x)
   170  }
   171  
   172  func (*CIDR) ProtoMessage() {}
   173  
   174  func (x *CIDR) ProtoReflect() protoreflect.Message {
   175  	mi := &file_component_geodata_router_config_proto_msgTypes[1]
   176  	if protoimpl.UnsafeEnabled && x != nil {
   177  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   178  		if ms.LoadMessageInfo() == nil {
   179  			ms.StoreMessageInfo(mi)
   180  		}
   181  		return ms
   182  	}
   183  	return mi.MessageOf(x)
   184  }
   185  
   186  // Deprecated: Use CIDR.ProtoReflect.Descriptor instead.
   187  func (*CIDR) Descriptor() ([]byte, []int) {
   188  	return file_component_geodata_router_config_proto_rawDescGZIP(), []int{1}
   189  }
   190  
   191  func (x *CIDR) GetIp() []byte {
   192  	if x != nil {
   193  		return x.Ip
   194  	}
   195  	return nil
   196  }
   197  
   198  func (x *CIDR) GetPrefix() uint32 {
   199  	if x != nil {
   200  		return x.Prefix
   201  	}
   202  	return 0
   203  }
   204  
   205  type GeoIP struct {
   206  	state         protoimpl.MessageState
   207  	sizeCache     protoimpl.SizeCache
   208  	unknownFields protoimpl.UnknownFields
   209  
   210  	CountryCode  string  `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
   211  	Cidr         []*CIDR `protobuf:"bytes,2,rep,name=cidr,proto3" json:"cidr,omitempty"`
   212  	ReverseMatch bool    `protobuf:"varint,3,opt,name=reverse_match,json=reverseMatch,proto3" json:"reverse_match,omitempty"`
   213  }
   214  
   215  func (x *GeoIP) Reset() {
   216  	*x = GeoIP{}
   217  	if protoimpl.UnsafeEnabled {
   218  		mi := &file_component_geodata_router_config_proto_msgTypes[2]
   219  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   220  		ms.StoreMessageInfo(mi)
   221  	}
   222  }
   223  
   224  func (x *GeoIP) String() string {
   225  	return protoimpl.X.MessageStringOf(x)
   226  }
   227  
   228  func (*GeoIP) ProtoMessage() {}
   229  
   230  func (x *GeoIP) ProtoReflect() protoreflect.Message {
   231  	mi := &file_component_geodata_router_config_proto_msgTypes[2]
   232  	if protoimpl.UnsafeEnabled && x != nil {
   233  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   234  		if ms.LoadMessageInfo() == nil {
   235  			ms.StoreMessageInfo(mi)
   236  		}
   237  		return ms
   238  	}
   239  	return mi.MessageOf(x)
   240  }
   241  
   242  // Deprecated: Use GeoIP.ProtoReflect.Descriptor instead.
   243  func (*GeoIP) Descriptor() ([]byte, []int) {
   244  	return file_component_geodata_router_config_proto_rawDescGZIP(), []int{2}
   245  }
   246  
   247  func (x *GeoIP) GetCountryCode() string {
   248  	if x != nil {
   249  		return x.CountryCode
   250  	}
   251  	return ""
   252  }
   253  
   254  func (x *GeoIP) GetCidr() []*CIDR {
   255  	if x != nil {
   256  		return x.Cidr
   257  	}
   258  	return nil
   259  }
   260  
   261  func (x *GeoIP) GetReverseMatch() bool {
   262  	if x != nil {
   263  		return x.ReverseMatch
   264  	}
   265  	return false
   266  }
   267  
   268  type GeoIPList struct {
   269  	state         protoimpl.MessageState
   270  	sizeCache     protoimpl.SizeCache
   271  	unknownFields protoimpl.UnknownFields
   272  
   273  	Entry []*GeoIP `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
   274  }
   275  
   276  func (x *GeoIPList) Reset() {
   277  	*x = GeoIPList{}
   278  	if protoimpl.UnsafeEnabled {
   279  		mi := &file_component_geodata_router_config_proto_msgTypes[3]
   280  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   281  		ms.StoreMessageInfo(mi)
   282  	}
   283  }
   284  
   285  func (x *GeoIPList) String() string {
   286  	return protoimpl.X.MessageStringOf(x)
   287  }
   288  
   289  func (*GeoIPList) ProtoMessage() {}
   290  
   291  func (x *GeoIPList) ProtoReflect() protoreflect.Message {
   292  	mi := &file_component_geodata_router_config_proto_msgTypes[3]
   293  	if protoimpl.UnsafeEnabled && x != nil {
   294  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   295  		if ms.LoadMessageInfo() == nil {
   296  			ms.StoreMessageInfo(mi)
   297  		}
   298  		return ms
   299  	}
   300  	return mi.MessageOf(x)
   301  }
   302  
   303  // Deprecated: Use GeoIPList.ProtoReflect.Descriptor instead.
   304  func (*GeoIPList) Descriptor() ([]byte, []int) {
   305  	return file_component_geodata_router_config_proto_rawDescGZIP(), []int{3}
   306  }
   307  
   308  func (x *GeoIPList) GetEntry() []*GeoIP {
   309  	if x != nil {
   310  		return x.Entry
   311  	}
   312  	return nil
   313  }
   314  
   315  type GeoSite struct {
   316  	state         protoimpl.MessageState
   317  	sizeCache     protoimpl.SizeCache
   318  	unknownFields protoimpl.UnknownFields
   319  
   320  	CountryCode string    `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
   321  	Domain      []*Domain `protobuf:"bytes,2,rep,name=domain,proto3" json:"domain,omitempty"`
   322  }
   323  
   324  func (x *GeoSite) Reset() {
   325  	*x = GeoSite{}
   326  	if protoimpl.UnsafeEnabled {
   327  		mi := &file_component_geodata_router_config_proto_msgTypes[4]
   328  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   329  		ms.StoreMessageInfo(mi)
   330  	}
   331  }
   332  
   333  func (x *GeoSite) String() string {
   334  	return protoimpl.X.MessageStringOf(x)
   335  }
   336  
   337  func (*GeoSite) ProtoMessage() {}
   338  
   339  func (x *GeoSite) ProtoReflect() protoreflect.Message {
   340  	mi := &file_component_geodata_router_config_proto_msgTypes[4]
   341  	if protoimpl.UnsafeEnabled && x != nil {
   342  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   343  		if ms.LoadMessageInfo() == nil {
   344  			ms.StoreMessageInfo(mi)
   345  		}
   346  		return ms
   347  	}
   348  	return mi.MessageOf(x)
   349  }
   350  
   351  // Deprecated: Use GeoSite.ProtoReflect.Descriptor instead.
   352  func (*GeoSite) Descriptor() ([]byte, []int) {
   353  	return file_component_geodata_router_config_proto_rawDescGZIP(), []int{4}
   354  }
   355  
   356  func (x *GeoSite) GetCountryCode() string {
   357  	if x != nil {
   358  		return x.CountryCode
   359  	}
   360  	return ""
   361  }
   362  
   363  func (x *GeoSite) GetDomain() []*Domain {
   364  	if x != nil {
   365  		return x.Domain
   366  	}
   367  	return nil
   368  }
   369  
   370  type GeoSiteList struct {
   371  	state         protoimpl.MessageState
   372  	sizeCache     protoimpl.SizeCache
   373  	unknownFields protoimpl.UnknownFields
   374  
   375  	Entry []*GeoSite `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
   376  }
   377  
   378  func (x *GeoSiteList) Reset() {
   379  	*x = GeoSiteList{}
   380  	if protoimpl.UnsafeEnabled {
   381  		mi := &file_component_geodata_router_config_proto_msgTypes[5]
   382  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   383  		ms.StoreMessageInfo(mi)
   384  	}
   385  }
   386  
   387  func (x *GeoSiteList) String() string {
   388  	return protoimpl.X.MessageStringOf(x)
   389  }
   390  
   391  func (*GeoSiteList) ProtoMessage() {}
   392  
   393  func (x *GeoSiteList) ProtoReflect() protoreflect.Message {
   394  	mi := &file_component_geodata_router_config_proto_msgTypes[5]
   395  	if protoimpl.UnsafeEnabled && x != nil {
   396  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   397  		if ms.LoadMessageInfo() == nil {
   398  			ms.StoreMessageInfo(mi)
   399  		}
   400  		return ms
   401  	}
   402  	return mi.MessageOf(x)
   403  }
   404  
   405  // Deprecated: Use GeoSiteList.ProtoReflect.Descriptor instead.
   406  func (*GeoSiteList) Descriptor() ([]byte, []int) {
   407  	return file_component_geodata_router_config_proto_rawDescGZIP(), []int{5}
   408  }
   409  
   410  func (x *GeoSiteList) GetEntry() []*GeoSite {
   411  	if x != nil {
   412  		return x.Entry
   413  	}
   414  	return nil
   415  }
   416  
   417  type Domain_Attribute struct {
   418  	state         protoimpl.MessageState
   419  	sizeCache     protoimpl.SizeCache
   420  	unknownFields protoimpl.UnknownFields
   421  
   422  	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   423  	// Types that are assignable to TypedValue:
   424  	//
   425  	//	*Domain_Attribute_BoolValue
   426  	//	*Domain_Attribute_IntValue
   427  	TypedValue isDomain_Attribute_TypedValue `protobuf_oneof:"typed_value"`
   428  }
   429  
   430  func (x *Domain_Attribute) Reset() {
   431  	*x = Domain_Attribute{}
   432  	if protoimpl.UnsafeEnabled {
   433  		mi := &file_component_geodata_router_config_proto_msgTypes[6]
   434  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   435  		ms.StoreMessageInfo(mi)
   436  	}
   437  }
   438  
   439  func (x *Domain_Attribute) String() string {
   440  	return protoimpl.X.MessageStringOf(x)
   441  }
   442  
   443  func (*Domain_Attribute) ProtoMessage() {}
   444  
   445  func (x *Domain_Attribute) ProtoReflect() protoreflect.Message {
   446  	mi := &file_component_geodata_router_config_proto_msgTypes[6]
   447  	if protoimpl.UnsafeEnabled && x != nil {
   448  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   449  		if ms.LoadMessageInfo() == nil {
   450  			ms.StoreMessageInfo(mi)
   451  		}
   452  		return ms
   453  	}
   454  	return mi.MessageOf(x)
   455  }
   456  
   457  // Deprecated: Use Domain_Attribute.ProtoReflect.Descriptor instead.
   458  func (*Domain_Attribute) Descriptor() ([]byte, []int) {
   459  	return file_component_geodata_router_config_proto_rawDescGZIP(), []int{0, 0}
   460  }
   461  
   462  func (x *Domain_Attribute) GetKey() string {
   463  	if x != nil {
   464  		return x.Key
   465  	}
   466  	return ""
   467  }
   468  
   469  func (m *Domain_Attribute) GetTypedValue() isDomain_Attribute_TypedValue {
   470  	if m != nil {
   471  		return m.TypedValue
   472  	}
   473  	return nil
   474  }
   475  
   476  func (x *Domain_Attribute) GetBoolValue() bool {
   477  	if x, ok := x.GetTypedValue().(*Domain_Attribute_BoolValue); ok {
   478  		return x.BoolValue
   479  	}
   480  	return false
   481  }
   482  
   483  func (x *Domain_Attribute) GetIntValue() int64 {
   484  	if x, ok := x.GetTypedValue().(*Domain_Attribute_IntValue); ok {
   485  		return x.IntValue
   486  	}
   487  	return 0
   488  }
   489  
   490  type isDomain_Attribute_TypedValue interface {
   491  	isDomain_Attribute_TypedValue()
   492  }
   493  
   494  type Domain_Attribute_BoolValue struct {
   495  	BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
   496  }
   497  
   498  type Domain_Attribute_IntValue struct {
   499  	IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof"`
   500  }
   501  
   502  func (*Domain_Attribute_BoolValue) isDomain_Attribute_TypedValue() {}
   503  
   504  func (*Domain_Attribute_IntValue) isDomain_Attribute_TypedValue() {}
   505  
   506  var File_component_geodata_router_config_proto protoreflect.FileDescriptor
   507  
   508  var file_component_geodata_router_config_proto_rawDesc = []byte{
   509  	0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2f, 0x67, 0x65, 0x6f, 0x64,
   510  	0x61, 0x74, 0x61, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
   511  	0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x63, 0x6c, 0x61, 0x73, 0x68, 0x2e, 0x63,
   512  	0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x67, 0x65, 0x6f, 0x64, 0x61, 0x74, 0x61,
   513  	0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x22, 0xd1, 0x02, 0x0a, 0x06, 0x44, 0x6f, 0x6d, 0x61,
   514  	0x69, 0x6e, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
   515  	0x32, 0x2b, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x68, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65,
   516  	0x6e, 0x74, 0x2e, 0x67, 0x65, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
   517  	0x72, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,
   518  	0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
   519  	0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4e, 0x0a, 0x09, 0x61, 0x74, 0x74,
   520  	0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63,
   521  	0x6c, 0x61, 0x73, 0x68, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x67,
   522  	0x65, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x44, 0x6f,
   523  	0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x09,
   524  	0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x1a, 0x6c, 0x0a, 0x09, 0x41, 0x74, 0x74,
   525  	0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
   526  	0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c,
   527  	0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09,
   528  	0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74,
   529  	0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08,
   530  	0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x74, 0x79, 0x70, 0x65,
   531  	0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x32, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12,
   532  	0x09, 0x0a, 0x05, 0x50, 0x6c, 0x61, 0x69, 0x6e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x65,
   533  	0x67, 0x65, 0x78, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x10,
   534  	0x02, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x75, 0x6c, 0x6c, 0x10, 0x03, 0x22, 0x2e, 0x0a, 0x04, 0x43,
   535  	0x49, 0x44, 0x52, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
   536  	0x02, 0x69, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20,
   537  	0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0x89, 0x01, 0x0a, 0x05,
   538  	0x47, 0x65, 0x6f, 0x49, 0x50, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79,
   539  	0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x75,
   540  	0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x38, 0x0a, 0x04, 0x63, 0x69, 0x64, 0x72,
   541  	0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x68, 0x2e, 0x63,
   542  	0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x67, 0x65, 0x6f, 0x64, 0x61, 0x74, 0x61,
   543  	0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x49, 0x44, 0x52, 0x52, 0x04, 0x63, 0x69,
   544  	0x64, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x5f, 0x6d, 0x61,
   545  	0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x76, 0x65, 0x72,
   546  	0x73, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x22, 0x48, 0x0a, 0x09, 0x47, 0x65, 0x6f, 0x49, 0x50,
   547  	0x4c, 0x69, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20,
   548  	0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x68, 0x2e, 0x63, 0x6f, 0x6d, 0x70,
   549  	0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x67, 0x65, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x72, 0x6f,
   550  	0x75, 0x74, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x6f, 0x49, 0x50, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72,
   551  	0x79, 0x22, 0x6c, 0x0a, 0x07, 0x47, 0x65, 0x6f, 0x53, 0x69, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c,
   552  	0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
   553  	0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12,
   554  	0x3e, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
   555  	0x26, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x68, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e,
   556  	0x74, 0x2e, 0x67, 0x65, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72,
   557  	0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x22,
   558  	0x4c, 0x0a, 0x0b, 0x47, 0x65, 0x6f, 0x53, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3d,
   559  	0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e,
   560  	0x63, 0x6c, 0x61, 0x73, 0x68, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e,
   561  	0x67, 0x65, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x47,
   562  	0x65, 0x6f, 0x53, 0x69, 0x74, 0x65, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x7c, 0x0a,
   563  	0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x68, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f,
   564  	0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x67, 0x65, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x72, 0x6f, 0x75,
   565  	0x74, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
   566  	0x6d, 0x2f, 0x44, 0x72, 0x65, 0x61, 0x6d, 0x61, 0x63, 0x72, 0x6f, 0x2f, 0x63, 0x6c, 0x61, 0x73,
   567  	0x68, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2f, 0x67, 0x65, 0x6f, 0x64,
   568  	0x61, 0x74, 0x61, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0xaa, 0x02, 0x1e, 0x43, 0x6c, 0x61,
   569  	0x73, 0x68, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x47, 0x65, 0x6f,
   570  	0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f,
   571  	0x74, 0x6f, 0x33,
   572  }
   573  
   574  var (
   575  	file_component_geodata_router_config_proto_rawDescOnce sync.Once
   576  	file_component_geodata_router_config_proto_rawDescData = file_component_geodata_router_config_proto_rawDesc
   577  )
   578  
   579  func file_component_geodata_router_config_proto_rawDescGZIP() []byte {
   580  	file_component_geodata_router_config_proto_rawDescOnce.Do(func() {
   581  		file_component_geodata_router_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_component_geodata_router_config_proto_rawDescData)
   582  	})
   583  	return file_component_geodata_router_config_proto_rawDescData
   584  }
   585  
   586  var file_component_geodata_router_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   587  var file_component_geodata_router_config_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
   588  var file_component_geodata_router_config_proto_goTypes = []interface{}{
   589  	(Domain_Type)(0),         // 0: clash.component.geodata.router.Domain.Type
   590  	(*Domain)(nil),           // 1: clash.component.geodata.router.Domain
   591  	(*CIDR)(nil),             // 2: clash.component.geodata.router.CIDR
   592  	(*GeoIP)(nil),            // 3: clash.component.geodata.router.GeoIP
   593  	(*GeoIPList)(nil),        // 4: clash.component.geodata.router.GeoIPList
   594  	(*GeoSite)(nil),          // 5: clash.component.geodata.router.GeoSite
   595  	(*GeoSiteList)(nil),      // 6: clash.component.geodata.router.GeoSiteList
   596  	(*Domain_Attribute)(nil), // 7: clash.component.geodata.router.Domain.Attribute
   597  }
   598  var file_component_geodata_router_config_proto_depIdxs = []int32{
   599  	0, // 0: clash.component.geodata.router.Domain.type:type_name -> clash.component.geodata.router.Domain.Type
   600  	7, // 1: clash.component.geodata.router.Domain.attribute:type_name -> clash.component.geodata.router.Domain.Attribute
   601  	2, // 2: clash.component.geodata.router.GeoIP.cidr:type_name -> clash.component.geodata.router.CIDR
   602  	3, // 3: clash.component.geodata.router.GeoIPList.entry:type_name -> clash.component.geodata.router.GeoIP
   603  	1, // 4: clash.component.geodata.router.GeoSite.domain:type_name -> clash.component.geodata.router.Domain
   604  	5, // 5: clash.component.geodata.router.GeoSiteList.entry:type_name -> clash.component.geodata.router.GeoSite
   605  	6, // [6:6] is the sub-list for method output_type
   606  	6, // [6:6] is the sub-list for method input_type
   607  	6, // [6:6] is the sub-list for extension type_name
   608  	6, // [6:6] is the sub-list for extension extendee
   609  	0, // [0:6] is the sub-list for field type_name
   610  }
   611  
   612  func init() { file_component_geodata_router_config_proto_init() }
   613  func file_component_geodata_router_config_proto_init() {
   614  	if File_component_geodata_router_config_proto != nil {
   615  		return
   616  	}
   617  	if !protoimpl.UnsafeEnabled {
   618  		file_component_geodata_router_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   619  			switch v := v.(*Domain); i {
   620  			case 0:
   621  				return &v.state
   622  			case 1:
   623  				return &v.sizeCache
   624  			case 2:
   625  				return &v.unknownFields
   626  			default:
   627  				return nil
   628  			}
   629  		}
   630  		file_component_geodata_router_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   631  			switch v := v.(*CIDR); i {
   632  			case 0:
   633  				return &v.state
   634  			case 1:
   635  				return &v.sizeCache
   636  			case 2:
   637  				return &v.unknownFields
   638  			default:
   639  				return nil
   640  			}
   641  		}
   642  		file_component_geodata_router_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   643  			switch v := v.(*GeoIP); i {
   644  			case 0:
   645  				return &v.state
   646  			case 1:
   647  				return &v.sizeCache
   648  			case 2:
   649  				return &v.unknownFields
   650  			default:
   651  				return nil
   652  			}
   653  		}
   654  		file_component_geodata_router_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   655  			switch v := v.(*GeoIPList); i {
   656  			case 0:
   657  				return &v.state
   658  			case 1:
   659  				return &v.sizeCache
   660  			case 2:
   661  				return &v.unknownFields
   662  			default:
   663  				return nil
   664  			}
   665  		}
   666  		file_component_geodata_router_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   667  			switch v := v.(*GeoSite); i {
   668  			case 0:
   669  				return &v.state
   670  			case 1:
   671  				return &v.sizeCache
   672  			case 2:
   673  				return &v.unknownFields
   674  			default:
   675  				return nil
   676  			}
   677  		}
   678  		file_component_geodata_router_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   679  			switch v := v.(*GeoSiteList); i {
   680  			case 0:
   681  				return &v.state
   682  			case 1:
   683  				return &v.sizeCache
   684  			case 2:
   685  				return &v.unknownFields
   686  			default:
   687  				return nil
   688  			}
   689  		}
   690  		file_component_geodata_router_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   691  			switch v := v.(*Domain_Attribute); i {
   692  			case 0:
   693  				return &v.state
   694  			case 1:
   695  				return &v.sizeCache
   696  			case 2:
   697  				return &v.unknownFields
   698  			default:
   699  				return nil
   700  			}
   701  		}
   702  	}
   703  	file_component_geodata_router_config_proto_msgTypes[6].OneofWrappers = []interface{}{
   704  		(*Domain_Attribute_BoolValue)(nil),
   705  		(*Domain_Attribute_IntValue)(nil),
   706  	}
   707  	type x struct{}
   708  	out := protoimpl.TypeBuilder{
   709  		File: protoimpl.DescBuilder{
   710  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   711  			RawDescriptor: file_component_geodata_router_config_proto_rawDesc,
   712  			NumEnums:      1,
   713  			NumMessages:   7,
   714  			NumExtensions: 0,
   715  			NumServices:   0,
   716  		},
   717  		GoTypes:           file_component_geodata_router_config_proto_goTypes,
   718  		DependencyIndexes: file_component_geodata_router_config_proto_depIdxs,
   719  		EnumInfos:         file_component_geodata_router_config_proto_enumTypes,
   720  		MessageInfos:      file_component_geodata_router_config_proto_msgTypes,
   721  	}.Build()
   722  	File_component_geodata_router_config_proto = out.File
   723  	file_component_geodata_router_config_proto_rawDesc = nil
   724  	file_component_geodata_router_config_proto_goTypes = nil
   725  	file_component_geodata_router_config_proto_depIdxs = nil
   726  }