github.com/xtls/xray-core@v1.8.12-0.20240518155711-3168d27b0bdb/transport/internet/headers/wireguard/config.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.33.0 4 // protoc v4.23.1 5 // source: transport/internet/headers/wireguard/config.proto 6 7 package wireguard 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type WireguardConfig struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 } 28 29 func (x *WireguardConfig) Reset() { 30 *x = WireguardConfig{} 31 if protoimpl.UnsafeEnabled { 32 mi := &file_transport_internet_headers_wireguard_config_proto_msgTypes[0] 33 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 34 ms.StoreMessageInfo(mi) 35 } 36 } 37 38 func (x *WireguardConfig) String() string { 39 return protoimpl.X.MessageStringOf(x) 40 } 41 42 func (*WireguardConfig) ProtoMessage() {} 43 44 func (x *WireguardConfig) ProtoReflect() protoreflect.Message { 45 mi := &file_transport_internet_headers_wireguard_config_proto_msgTypes[0] 46 if protoimpl.UnsafeEnabled && x != nil { 47 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 48 if ms.LoadMessageInfo() == nil { 49 ms.StoreMessageInfo(mi) 50 } 51 return ms 52 } 53 return mi.MessageOf(x) 54 } 55 56 // Deprecated: Use WireguardConfig.ProtoReflect.Descriptor instead. 57 func (*WireguardConfig) Descriptor() ([]byte, []int) { 58 return file_transport_internet_headers_wireguard_config_proto_rawDescGZIP(), []int{0} 59 } 60 61 var File_transport_internet_headers_wireguard_config_proto protoreflect.FileDescriptor 62 63 var file_transport_internet_headers_wireguard_config_proto_rawDesc = []byte{ 64 0x0a, 0x31, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 65 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x77, 0x69, 0x72, 66 0x65, 0x67, 0x75, 0x61, 0x72, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 67 0x6f, 0x74, 0x6f, 0x12, 0x29, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 68 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 69 0x64, 0x65, 0x72, 0x73, 0x2e, 0x77, 0x69, 0x72, 0x65, 0x67, 0x75, 0x61, 0x72, 0x64, 0x22, 0x11, 70 0x0a, 0x0f, 0x57, 0x69, 0x72, 0x65, 0x67, 0x75, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 71 0x67, 0x42, 0x9d, 0x01, 0x0a, 0x2d, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 72 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 73 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x77, 0x69, 0x72, 0x65, 0x67, 0x75, 74 0x61, 0x72, 0x64, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 75 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 76 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 77 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x77, 0x69, 0x72, 0x65, 78 0x67, 0x75, 0x61, 0x72, 0x64, 0xaa, 0x02, 0x29, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x54, 0x72, 0x61, 79 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 80 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x57, 0x69, 0x72, 0x65, 0x67, 0x75, 0x61, 0x72, 81 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 82 } 83 84 var ( 85 file_transport_internet_headers_wireguard_config_proto_rawDescOnce sync.Once 86 file_transport_internet_headers_wireguard_config_proto_rawDescData = file_transport_internet_headers_wireguard_config_proto_rawDesc 87 ) 88 89 func file_transport_internet_headers_wireguard_config_proto_rawDescGZIP() []byte { 90 file_transport_internet_headers_wireguard_config_proto_rawDescOnce.Do(func() { 91 file_transport_internet_headers_wireguard_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_headers_wireguard_config_proto_rawDescData) 92 }) 93 return file_transport_internet_headers_wireguard_config_proto_rawDescData 94 } 95 96 var file_transport_internet_headers_wireguard_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 97 var file_transport_internet_headers_wireguard_config_proto_goTypes = []interface{}{ 98 (*WireguardConfig)(nil), // 0: xray.transport.internet.headers.wireguard.WireguardConfig 99 } 100 var file_transport_internet_headers_wireguard_config_proto_depIdxs = []int32{ 101 0, // [0:0] is the sub-list for method output_type 102 0, // [0:0] is the sub-list for method input_type 103 0, // [0:0] is the sub-list for extension type_name 104 0, // [0:0] is the sub-list for extension extendee 105 0, // [0:0] is the sub-list for field type_name 106 } 107 108 func init() { file_transport_internet_headers_wireguard_config_proto_init() } 109 func file_transport_internet_headers_wireguard_config_proto_init() { 110 if File_transport_internet_headers_wireguard_config_proto != nil { 111 return 112 } 113 if !protoimpl.UnsafeEnabled { 114 file_transport_internet_headers_wireguard_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 115 switch v := v.(*WireguardConfig); i { 116 case 0: 117 return &v.state 118 case 1: 119 return &v.sizeCache 120 case 2: 121 return &v.unknownFields 122 default: 123 return nil 124 } 125 } 126 } 127 type x struct{} 128 out := protoimpl.TypeBuilder{ 129 File: protoimpl.DescBuilder{ 130 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 131 RawDescriptor: file_transport_internet_headers_wireguard_config_proto_rawDesc, 132 NumEnums: 0, 133 NumMessages: 1, 134 NumExtensions: 0, 135 NumServices: 0, 136 }, 137 GoTypes: file_transport_internet_headers_wireguard_config_proto_goTypes, 138 DependencyIndexes: file_transport_internet_headers_wireguard_config_proto_depIdxs, 139 MessageInfos: file_transport_internet_headers_wireguard_config_proto_msgTypes, 140 }.Build() 141 File_transport_internet_headers_wireguard_config_proto = out.File 142 file_transport_internet_headers_wireguard_config_proto_rawDesc = nil 143 file_transport_internet_headers_wireguard_config_proto_goTypes = nil 144 file_transport_internet_headers_wireguard_config_proto_depIdxs = nil 145 }