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