github.com/xraypb/xray-core@v1.6.6/proxy/vless/outbound/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.1
     4  // 	protoc        v3.18.0
     5  // source: proxy/vless/outbound/config.proto
     6  
     7  package outbound
     8  
     9  import (
    10  	protocol "github.com/xraypb/xray-core/common/protocol"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type Config struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	Vnext []*protocol.ServerEndpoint `protobuf:"bytes,1,rep,name=vnext,proto3" json:"vnext,omitempty"`
    30  }
    31  
    32  func (x *Config) Reset() {
    33  	*x = Config{}
    34  	if protoimpl.UnsafeEnabled {
    35  		mi := &file_proxy_vless_outbound_config_proto_msgTypes[0]
    36  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    37  		ms.StoreMessageInfo(mi)
    38  	}
    39  }
    40  
    41  func (x *Config) String() string {
    42  	return protoimpl.X.MessageStringOf(x)
    43  }
    44  
    45  func (*Config) ProtoMessage() {}
    46  
    47  func (x *Config) ProtoReflect() protoreflect.Message {
    48  	mi := &file_proxy_vless_outbound_config_proto_msgTypes[0]
    49  	if protoimpl.UnsafeEnabled && x != nil {
    50  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    51  		if ms.LoadMessageInfo() == nil {
    52  			ms.StoreMessageInfo(mi)
    53  		}
    54  		return ms
    55  	}
    56  	return mi.MessageOf(x)
    57  }
    58  
    59  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
    60  func (*Config) Descriptor() ([]byte, []int) {
    61  	return file_proxy_vless_outbound_config_proto_rawDescGZIP(), []int{0}
    62  }
    63  
    64  func (x *Config) GetVnext() []*protocol.ServerEndpoint {
    65  	if x != nil {
    66  		return x.Vnext
    67  	}
    68  	return nil
    69  }
    70  
    71  var File_proxy_vless_outbound_config_proto protoreflect.FileDescriptor
    72  
    73  var file_proxy_vless_outbound_config_proto_rawDesc = []byte{
    74  	0x0a, 0x21, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x6f, 0x75,
    75  	0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72,
    76  	0x6f, 0x74, 0x6f, 0x12, 0x19, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
    77  	0x76, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x21,
    78  	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f,
    79  	0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74,
    80  	0x6f, 0x22, 0x44, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x05, 0x76,
    81  	0x6e, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x72, 0x61,
    82  	0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
    83  	0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
    84  	0x52, 0x05, 0x76, 0x6e, 0x65, 0x78, 0x74, 0x42, 0x6d, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x78,
    85  	0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2e,
    86  	0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68,
    87  	0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79,
    88  	0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73,
    89  	0x73, 0x2f, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0xaa, 0x02, 0x19, 0x58, 0x72, 0x61,
    90  	0x79, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x4f, 0x75,
    91  	0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
    92  }
    93  
    94  var (
    95  	file_proxy_vless_outbound_config_proto_rawDescOnce sync.Once
    96  	file_proxy_vless_outbound_config_proto_rawDescData = file_proxy_vless_outbound_config_proto_rawDesc
    97  )
    98  
    99  func file_proxy_vless_outbound_config_proto_rawDescGZIP() []byte {
   100  	file_proxy_vless_outbound_config_proto_rawDescOnce.Do(func() {
   101  		file_proxy_vless_outbound_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vless_outbound_config_proto_rawDescData)
   102  	})
   103  	return file_proxy_vless_outbound_config_proto_rawDescData
   104  }
   105  
   106  var file_proxy_vless_outbound_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   107  var file_proxy_vless_outbound_config_proto_goTypes = []interface{}{
   108  	(*Config)(nil),                  // 0: xray.proxy.vless.outbound.Config
   109  	(*protocol.ServerEndpoint)(nil), // 1: xray.common.protocol.ServerEndpoint
   110  }
   111  var file_proxy_vless_outbound_config_proto_depIdxs = []int32{
   112  	1, // 0: xray.proxy.vless.outbound.Config.vnext:type_name -> xray.common.protocol.ServerEndpoint
   113  	1, // [1:1] is the sub-list for method output_type
   114  	1, // [1:1] is the sub-list for method input_type
   115  	1, // [1:1] is the sub-list for extension type_name
   116  	1, // [1:1] is the sub-list for extension extendee
   117  	0, // [0:1] is the sub-list for field type_name
   118  }
   119  
   120  func init() { file_proxy_vless_outbound_config_proto_init() }
   121  func file_proxy_vless_outbound_config_proto_init() {
   122  	if File_proxy_vless_outbound_config_proto != nil {
   123  		return
   124  	}
   125  	if !protoimpl.UnsafeEnabled {
   126  		file_proxy_vless_outbound_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   127  			switch v := v.(*Config); i {
   128  			case 0:
   129  				return &v.state
   130  			case 1:
   131  				return &v.sizeCache
   132  			case 2:
   133  				return &v.unknownFields
   134  			default:
   135  				return nil
   136  			}
   137  		}
   138  	}
   139  	type x struct{}
   140  	out := protoimpl.TypeBuilder{
   141  		File: protoimpl.DescBuilder{
   142  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   143  			RawDescriptor: file_proxy_vless_outbound_config_proto_rawDesc,
   144  			NumEnums:      0,
   145  			NumMessages:   1,
   146  			NumExtensions: 0,
   147  			NumServices:   0,
   148  		},
   149  		GoTypes:           file_proxy_vless_outbound_config_proto_goTypes,
   150  		DependencyIndexes: file_proxy_vless_outbound_config_proto_depIdxs,
   151  		MessageInfos:      file_proxy_vless_outbound_config_proto_msgTypes,
   152  	}.Build()
   153  	File_proxy_vless_outbound_config_proto = out.File
   154  	file_proxy_vless_outbound_config_proto_rawDesc = nil
   155  	file_proxy_vless_outbound_config_proto_goTypes = nil
   156  	file_proxy_vless_outbound_config_proto_depIdxs = nil
   157  }