github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/proxy/vless/inbound/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.13.0
     5  // source: proxy/vless/inbound/config.proto
     6  
     7  package inbound
     8  
     9  import (
    10  	proto "github.com/golang/protobuf/proto"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  	protocol "v2ray.com/core/common/protocol"
    16  )
    17  
    18  const (
    19  	// Verify that this generated code is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    21  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    23  )
    24  
    25  // This is a compile-time assertion that a sufficiently up-to-date version
    26  // of the legacy proto package is being used.
    27  const _ = proto.ProtoPackageIsVersion4
    28  
    29  type Fallback struct {
    30  	state         protoimpl.MessageState
    31  	sizeCache     protoimpl.SizeCache
    32  	unknownFields protoimpl.UnknownFields
    33  
    34  	Alpn string `protobuf:"bytes,1,opt,name=alpn,proto3" json:"alpn,omitempty"`
    35  	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
    36  	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
    37  	Dest string `protobuf:"bytes,4,opt,name=dest,proto3" json:"dest,omitempty"`
    38  	Xver uint64 `protobuf:"varint,5,opt,name=xver,proto3" json:"xver,omitempty"`
    39  }
    40  
    41  func (x *Fallback) Reset() {
    42  	*x = Fallback{}
    43  	if protoimpl.UnsafeEnabled {
    44  		mi := &file_proxy_vless_inbound_config_proto_msgTypes[0]
    45  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    46  		ms.StoreMessageInfo(mi)
    47  	}
    48  }
    49  
    50  func (x *Fallback) String() string {
    51  	return protoimpl.X.MessageStringOf(x)
    52  }
    53  
    54  func (*Fallback) ProtoMessage() {}
    55  
    56  func (x *Fallback) ProtoReflect() protoreflect.Message {
    57  	mi := &file_proxy_vless_inbound_config_proto_msgTypes[0]
    58  	if protoimpl.UnsafeEnabled && x != nil {
    59  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    60  		if ms.LoadMessageInfo() == nil {
    61  			ms.StoreMessageInfo(mi)
    62  		}
    63  		return ms
    64  	}
    65  	return mi.MessageOf(x)
    66  }
    67  
    68  // Deprecated: Use Fallback.ProtoReflect.Descriptor instead.
    69  func (*Fallback) Descriptor() ([]byte, []int) {
    70  	return file_proxy_vless_inbound_config_proto_rawDescGZIP(), []int{0}
    71  }
    72  
    73  func (x *Fallback) GetAlpn() string {
    74  	if x != nil {
    75  		return x.Alpn
    76  	}
    77  	return ""
    78  }
    79  
    80  func (x *Fallback) GetPath() string {
    81  	if x != nil {
    82  		return x.Path
    83  	}
    84  	return ""
    85  }
    86  
    87  func (x *Fallback) GetType() string {
    88  	if x != nil {
    89  		return x.Type
    90  	}
    91  	return ""
    92  }
    93  
    94  func (x *Fallback) GetDest() string {
    95  	if x != nil {
    96  		return x.Dest
    97  	}
    98  	return ""
    99  }
   100  
   101  func (x *Fallback) GetXver() uint64 {
   102  	if x != nil {
   103  		return x.Xver
   104  	}
   105  	return 0
   106  }
   107  
   108  type Config struct {
   109  	state         protoimpl.MessageState
   110  	sizeCache     protoimpl.SizeCache
   111  	unknownFields protoimpl.UnknownFields
   112  
   113  	Clients []*protocol.User `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"`
   114  	// Decryption settings. Only applies to server side, and only accepts "none"
   115  	// for now.
   116  	Decryption string      `protobuf:"bytes,2,opt,name=decryption,proto3" json:"decryption,omitempty"`
   117  	Fallbacks  []*Fallback `protobuf:"bytes,3,rep,name=fallbacks,proto3" json:"fallbacks,omitempty"`
   118  }
   119  
   120  func (x *Config) Reset() {
   121  	*x = Config{}
   122  	if protoimpl.UnsafeEnabled {
   123  		mi := &file_proxy_vless_inbound_config_proto_msgTypes[1]
   124  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   125  		ms.StoreMessageInfo(mi)
   126  	}
   127  }
   128  
   129  func (x *Config) String() string {
   130  	return protoimpl.X.MessageStringOf(x)
   131  }
   132  
   133  func (*Config) ProtoMessage() {}
   134  
   135  func (x *Config) ProtoReflect() protoreflect.Message {
   136  	mi := &file_proxy_vless_inbound_config_proto_msgTypes[1]
   137  	if protoimpl.UnsafeEnabled && x != nil {
   138  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   139  		if ms.LoadMessageInfo() == nil {
   140  			ms.StoreMessageInfo(mi)
   141  		}
   142  		return ms
   143  	}
   144  	return mi.MessageOf(x)
   145  }
   146  
   147  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
   148  func (*Config) Descriptor() ([]byte, []int) {
   149  	return file_proxy_vless_inbound_config_proto_rawDescGZIP(), []int{1}
   150  }
   151  
   152  func (x *Config) GetClients() []*protocol.User {
   153  	if x != nil {
   154  		return x.Clients
   155  	}
   156  	return nil
   157  }
   158  
   159  func (x *Config) GetDecryption() string {
   160  	if x != nil {
   161  		return x.Decryption
   162  	}
   163  	return ""
   164  }
   165  
   166  func (x *Config) GetFallbacks() []*Fallback {
   167  	if x != nil {
   168  		return x.Fallbacks
   169  	}
   170  	return nil
   171  }
   172  
   173  var File_proxy_vless_inbound_config_proto protoreflect.FileDescriptor
   174  
   175  var file_proxy_vless_inbound_config_proto_rawDesc = []byte{
   176  	0x0a, 0x20, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x69, 0x6e,
   177  	0x62, 0x6f, 0x75, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f,
   178  	0x74, 0x6f, 0x12, 0x1e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70,
   179  	0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x69, 0x6e, 0x62, 0x6f, 0x75,
   180  	0x6e, 0x64, 0x1a, 0x1a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   181  	0x63, 0x6f, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e,
   182  	0x0a, 0x08, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x6c,
   183  	0x70, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x6c, 0x70, 0x6e, 0x12, 0x12,
   184  	0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61,
   185  	0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
   186  	0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x74, 0x18, 0x04,
   187  	0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x78, 0x76,
   188  	0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x78, 0x76, 0x65, 0x72, 0x22, 0xac,
   189  	0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x07, 0x63, 0x6c, 0x69,
   190  	0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x32, 0x72,
   191  	0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70,
   192  	0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c,
   193  	0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74,
   194  	0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x63, 0x72, 0x79,
   195  	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x09, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63,
   196  	0x6b, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
   197  	0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73,
   198  	0x73, 0x2e, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x2e, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61,
   199  	0x63, 0x6b, 0x52, 0x09, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x73, 0x42, 0x6b, 0x0a,
   200  	0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
   201  	0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x69, 0x6e, 0x62, 0x6f,
   202  	0x75, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x22, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d,
   203  	0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73,
   204  	0x73, 0x2f, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0xaa, 0x02, 0x1e, 0x56, 0x32, 0x52, 0x61,
   205  	0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6c, 0x65,
   206  	0x73, 0x73, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   207  	0x6f, 0x33,
   208  }
   209  
   210  var (
   211  	file_proxy_vless_inbound_config_proto_rawDescOnce sync.Once
   212  	file_proxy_vless_inbound_config_proto_rawDescData = file_proxy_vless_inbound_config_proto_rawDesc
   213  )
   214  
   215  func file_proxy_vless_inbound_config_proto_rawDescGZIP() []byte {
   216  	file_proxy_vless_inbound_config_proto_rawDescOnce.Do(func() {
   217  		file_proxy_vless_inbound_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vless_inbound_config_proto_rawDescData)
   218  	})
   219  	return file_proxy_vless_inbound_config_proto_rawDescData
   220  }
   221  
   222  var file_proxy_vless_inbound_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   223  var file_proxy_vless_inbound_config_proto_goTypes = []interface{}{
   224  	(*Fallback)(nil),      // 0: v2ray.core.proxy.vless.inbound.Fallback
   225  	(*Config)(nil),        // 1: v2ray.core.proxy.vless.inbound.Config
   226  	(*protocol.User)(nil), // 2: v2ray.core.common.protocol.User
   227  }
   228  var file_proxy_vless_inbound_config_proto_depIdxs = []int32{
   229  	2, // 0: v2ray.core.proxy.vless.inbound.Config.clients:type_name -> v2ray.core.common.protocol.User
   230  	0, // 1: v2ray.core.proxy.vless.inbound.Config.fallbacks:type_name -> v2ray.core.proxy.vless.inbound.Fallback
   231  	2, // [2:2] is the sub-list for method output_type
   232  	2, // [2:2] is the sub-list for method input_type
   233  	2, // [2:2] is the sub-list for extension type_name
   234  	2, // [2:2] is the sub-list for extension extendee
   235  	0, // [0:2] is the sub-list for field type_name
   236  }
   237  
   238  func init() { file_proxy_vless_inbound_config_proto_init() }
   239  func file_proxy_vless_inbound_config_proto_init() {
   240  	if File_proxy_vless_inbound_config_proto != nil {
   241  		return
   242  	}
   243  	if !protoimpl.UnsafeEnabled {
   244  		file_proxy_vless_inbound_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   245  			switch v := v.(*Fallback); i {
   246  			case 0:
   247  				return &v.state
   248  			case 1:
   249  				return &v.sizeCache
   250  			case 2:
   251  				return &v.unknownFields
   252  			default:
   253  				return nil
   254  			}
   255  		}
   256  		file_proxy_vless_inbound_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   257  			switch v := v.(*Config); i {
   258  			case 0:
   259  				return &v.state
   260  			case 1:
   261  				return &v.sizeCache
   262  			case 2:
   263  				return &v.unknownFields
   264  			default:
   265  				return nil
   266  			}
   267  		}
   268  	}
   269  	type x struct{}
   270  	out := protoimpl.TypeBuilder{
   271  		File: protoimpl.DescBuilder{
   272  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   273  			RawDescriptor: file_proxy_vless_inbound_config_proto_rawDesc,
   274  			NumEnums:      0,
   275  			NumMessages:   2,
   276  			NumExtensions: 0,
   277  			NumServices:   0,
   278  		},
   279  		GoTypes:           file_proxy_vless_inbound_config_proto_goTypes,
   280  		DependencyIndexes: file_proxy_vless_inbound_config_proto_depIdxs,
   281  		MessageInfos:      file_proxy_vless_inbound_config_proto_msgTypes,
   282  	}.Build()
   283  	File_proxy_vless_inbound_config_proto = out.File
   284  	file_proxy_vless_inbound_config_proto_rawDesc = nil
   285  	file_proxy_vless_inbound_config_proto_goTypes = nil
   286  	file_proxy_vless_inbound_config_proto_depIdxs = nil
   287  }