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