github.com/eagleql/xray-core@v1.4.4/transport/internet/quic/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: transport/internet/quic/config.proto
     6  
     7  package quic
     8  
     9  import (
    10  	protocol "github.com/eagleql/xray-core/common/protocol"
    11  	serial "github.com/eagleql/xray-core/common/serial"
    12  	proto "github.com/golang/protobuf/proto"
    13  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    14  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    15  	reflect "reflect"
    16  	sync "sync"
    17  )
    18  
    19  const (
    20  	// Verify that this generated code is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    22  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    23  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    24  )
    25  
    26  // This is a compile-time assertion that a sufficiently up-to-date version
    27  // of the legacy proto package is being used.
    28  const _ = proto.ProtoPackageIsVersion4
    29  
    30  type Config struct {
    31  	state         protoimpl.MessageState
    32  	sizeCache     protoimpl.SizeCache
    33  	unknownFields protoimpl.UnknownFields
    34  
    35  	Key      string                   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    36  	Security *protocol.SecurityConfig `protobuf:"bytes,2,opt,name=security,proto3" json:"security,omitempty"`
    37  	Header   *serial.TypedMessage     `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"`
    38  }
    39  
    40  func (x *Config) Reset() {
    41  	*x = Config{}
    42  	if protoimpl.UnsafeEnabled {
    43  		mi := &file_transport_internet_quic_config_proto_msgTypes[0]
    44  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    45  		ms.StoreMessageInfo(mi)
    46  	}
    47  }
    48  
    49  func (x *Config) String() string {
    50  	return protoimpl.X.MessageStringOf(x)
    51  }
    52  
    53  func (*Config) ProtoMessage() {}
    54  
    55  func (x *Config) ProtoReflect() protoreflect.Message {
    56  	mi := &file_transport_internet_quic_config_proto_msgTypes[0]
    57  	if protoimpl.UnsafeEnabled && x != nil {
    58  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    59  		if ms.LoadMessageInfo() == nil {
    60  			ms.StoreMessageInfo(mi)
    61  		}
    62  		return ms
    63  	}
    64  	return mi.MessageOf(x)
    65  }
    66  
    67  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
    68  func (*Config) Descriptor() ([]byte, []int) {
    69  	return file_transport_internet_quic_config_proto_rawDescGZIP(), []int{0}
    70  }
    71  
    72  func (x *Config) GetKey() string {
    73  	if x != nil {
    74  		return x.Key
    75  	}
    76  	return ""
    77  }
    78  
    79  func (x *Config) GetSecurity() *protocol.SecurityConfig {
    80  	if x != nil {
    81  		return x.Security
    82  	}
    83  	return nil
    84  }
    85  
    86  func (x *Config) GetHeader() *serial.TypedMessage {
    87  	if x != nil {
    88  		return x.Header
    89  	}
    90  	return nil
    91  }
    92  
    93  var File_transport_internet_quic_config_proto protoreflect.FileDescriptor
    94  
    95  var file_transport_internet_quic_config_proto_rawDesc = []byte{
    96  	0x0a, 0x24, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
    97  	0x72, 0x6e, 0x65, 0x74, 0x2f, 0x71, 0x75, 0x69, 0x63, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
    98  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61,
    99  	0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e,
   100  	0x71, 0x75, 0x69, 0x63, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72,
   101  	0x69, 0x61, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
   102  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f,
   103  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
   104  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x96, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69,
   105  	0x67, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
   106  	0x6b, 0x65, 0x79, 0x12, 0x40, 0x0a, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x18,
   107  	0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d,
   108  	0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x63,
   109  	0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x73, 0x65, 0x63,
   110  	0x75, 0x72, 0x69, 0x74, 0x79, 0x12, 0x38, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18,
   111  	0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d,
   112  	0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64,
   113  	0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42,
   114  	0x76, 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e,
   115  	0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x71,
   116  	0x75, 0x69, 0x63, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
   117  	0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65,
   118  	0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
   119  	0x6e, 0x65, 0x74, 0x2f, 0x71, 0x75, 0x69, 0x63, 0xaa, 0x02, 0x1c, 0x58, 0x72, 0x61, 0x79, 0x2e,
   120  	0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e,
   121  	0x65, 0x74, 0x2e, 0x51, 0x75, 0x69, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   122  }
   123  
   124  var (
   125  	file_transport_internet_quic_config_proto_rawDescOnce sync.Once
   126  	file_transport_internet_quic_config_proto_rawDescData = file_transport_internet_quic_config_proto_rawDesc
   127  )
   128  
   129  func file_transport_internet_quic_config_proto_rawDescGZIP() []byte {
   130  	file_transport_internet_quic_config_proto_rawDescOnce.Do(func() {
   131  		file_transport_internet_quic_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_quic_config_proto_rawDescData)
   132  	})
   133  	return file_transport_internet_quic_config_proto_rawDescData
   134  }
   135  
   136  var file_transport_internet_quic_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   137  var file_transport_internet_quic_config_proto_goTypes = []interface{}{
   138  	(*Config)(nil),                  // 0: xray.transport.internet.quic.Config
   139  	(*protocol.SecurityConfig)(nil), // 1: xray.common.protocol.SecurityConfig
   140  	(*serial.TypedMessage)(nil),     // 2: xray.common.serial.TypedMessage
   141  }
   142  var file_transport_internet_quic_config_proto_depIdxs = []int32{
   143  	1, // 0: xray.transport.internet.quic.Config.security:type_name -> xray.common.protocol.SecurityConfig
   144  	2, // 1: xray.transport.internet.quic.Config.header:type_name -> xray.common.serial.TypedMessage
   145  	2, // [2:2] is the sub-list for method output_type
   146  	2, // [2:2] is the sub-list for method input_type
   147  	2, // [2:2] is the sub-list for extension type_name
   148  	2, // [2:2] is the sub-list for extension extendee
   149  	0, // [0:2] is the sub-list for field type_name
   150  }
   151  
   152  func init() { file_transport_internet_quic_config_proto_init() }
   153  func file_transport_internet_quic_config_proto_init() {
   154  	if File_transport_internet_quic_config_proto != nil {
   155  		return
   156  	}
   157  	if !protoimpl.UnsafeEnabled {
   158  		file_transport_internet_quic_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   159  			switch v := v.(*Config); i {
   160  			case 0:
   161  				return &v.state
   162  			case 1:
   163  				return &v.sizeCache
   164  			case 2:
   165  				return &v.unknownFields
   166  			default:
   167  				return nil
   168  			}
   169  		}
   170  	}
   171  	type x struct{}
   172  	out := protoimpl.TypeBuilder{
   173  		File: protoimpl.DescBuilder{
   174  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   175  			RawDescriptor: file_transport_internet_quic_config_proto_rawDesc,
   176  			NumEnums:      0,
   177  			NumMessages:   1,
   178  			NumExtensions: 0,
   179  			NumServices:   0,
   180  		},
   181  		GoTypes:           file_transport_internet_quic_config_proto_goTypes,
   182  		DependencyIndexes: file_transport_internet_quic_config_proto_depIdxs,
   183  		MessageInfos:      file_transport_internet_quic_config_proto_msgTypes,
   184  	}.Build()
   185  	File_transport_internet_quic_config_proto = out.File
   186  	file_transport_internet_quic_config_proto_rawDesc = nil
   187  	file_transport_internet_quic_config_proto_goTypes = nil
   188  	file_transport_internet_quic_config_proto_depIdxs = nil
   189  }