github.com/xraypb/xray-core@v1.6.6/transport/internet/headers/noop/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: transport/internet/headers/noop/config.proto 6 7 package noop 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 Config struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 } 28 29 func (x *Config) Reset() { 30 *x = Config{} 31 if protoimpl.UnsafeEnabled { 32 mi := &file_transport_internet_headers_noop_config_proto_msgTypes[0] 33 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 34 ms.StoreMessageInfo(mi) 35 } 36 } 37 38 func (x *Config) String() string { 39 return protoimpl.X.MessageStringOf(x) 40 } 41 42 func (*Config) ProtoMessage() {} 43 44 func (x *Config) ProtoReflect() protoreflect.Message { 45 mi := &file_transport_internet_headers_noop_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 Config.ProtoReflect.Descriptor instead. 57 func (*Config) Descriptor() ([]byte, []int) { 58 return file_transport_internet_headers_noop_config_proto_rawDescGZIP(), []int{0} 59 } 60 61 type ConnectionConfig struct { 62 state protoimpl.MessageState 63 sizeCache protoimpl.SizeCache 64 unknownFields protoimpl.UnknownFields 65 } 66 67 func (x *ConnectionConfig) Reset() { 68 *x = ConnectionConfig{} 69 if protoimpl.UnsafeEnabled { 70 mi := &file_transport_internet_headers_noop_config_proto_msgTypes[1] 71 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 72 ms.StoreMessageInfo(mi) 73 } 74 } 75 76 func (x *ConnectionConfig) String() string { 77 return protoimpl.X.MessageStringOf(x) 78 } 79 80 func (*ConnectionConfig) ProtoMessage() {} 81 82 func (x *ConnectionConfig) ProtoReflect() protoreflect.Message { 83 mi := &file_transport_internet_headers_noop_config_proto_msgTypes[1] 84 if protoimpl.UnsafeEnabled && x != nil { 85 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 86 if ms.LoadMessageInfo() == nil { 87 ms.StoreMessageInfo(mi) 88 } 89 return ms 90 } 91 return mi.MessageOf(x) 92 } 93 94 // Deprecated: Use ConnectionConfig.ProtoReflect.Descriptor instead. 95 func (*ConnectionConfig) Descriptor() ([]byte, []int) { 96 return file_transport_internet_headers_noop_config_proto_rawDescGZIP(), []int{1} 97 } 98 99 var File_transport_internet_headers_noop_config_proto protoreflect.FileDescriptor 100 101 var file_transport_internet_headers_noop_config_proto_rawDesc = []byte{ 102 0x0a, 0x2c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 103 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x6e, 0x6f, 0x6f, 104 0x70, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 105 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 106 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 107 0x6e, 0x6f, 0x6f, 0x70, 0x22, 0x08, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x12, 108 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 109 0x69, 0x67, 0x42, 0x8e, 0x01, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 110 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 111 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x6e, 0x6f, 0x6f, 0x70, 0x50, 112 0x01, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 113 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x72, 0x61, 114 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 115 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x6e, 0x6f, 0x6f, 0x70, 0xaa, 0x02, 0x24, 0x58, 116 0x72, 0x61, 0x79, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 117 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x4e, 118 0x6f, 0x6f, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 119 } 120 121 var ( 122 file_transport_internet_headers_noop_config_proto_rawDescOnce sync.Once 123 file_transport_internet_headers_noop_config_proto_rawDescData = file_transport_internet_headers_noop_config_proto_rawDesc 124 ) 125 126 func file_transport_internet_headers_noop_config_proto_rawDescGZIP() []byte { 127 file_transport_internet_headers_noop_config_proto_rawDescOnce.Do(func() { 128 file_transport_internet_headers_noop_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_headers_noop_config_proto_rawDescData) 129 }) 130 return file_transport_internet_headers_noop_config_proto_rawDescData 131 } 132 133 var file_transport_internet_headers_noop_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 134 var file_transport_internet_headers_noop_config_proto_goTypes = []interface{}{ 135 (*Config)(nil), // 0: xray.transport.internet.headers.noop.Config 136 (*ConnectionConfig)(nil), // 1: xray.transport.internet.headers.noop.ConnectionConfig 137 } 138 var file_transport_internet_headers_noop_config_proto_depIdxs = []int32{ 139 0, // [0:0] is the sub-list for method output_type 140 0, // [0:0] is the sub-list for method input_type 141 0, // [0:0] is the sub-list for extension type_name 142 0, // [0:0] is the sub-list for extension extendee 143 0, // [0:0] is the sub-list for field type_name 144 } 145 146 func init() { file_transport_internet_headers_noop_config_proto_init() } 147 func file_transport_internet_headers_noop_config_proto_init() { 148 if File_transport_internet_headers_noop_config_proto != nil { 149 return 150 } 151 if !protoimpl.UnsafeEnabled { 152 file_transport_internet_headers_noop_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 153 switch v := v.(*Config); i { 154 case 0: 155 return &v.state 156 case 1: 157 return &v.sizeCache 158 case 2: 159 return &v.unknownFields 160 default: 161 return nil 162 } 163 } 164 file_transport_internet_headers_noop_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 165 switch v := v.(*ConnectionConfig); i { 166 case 0: 167 return &v.state 168 case 1: 169 return &v.sizeCache 170 case 2: 171 return &v.unknownFields 172 default: 173 return nil 174 } 175 } 176 } 177 type x struct{} 178 out := protoimpl.TypeBuilder{ 179 File: protoimpl.DescBuilder{ 180 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 181 RawDescriptor: file_transport_internet_headers_noop_config_proto_rawDesc, 182 NumEnums: 0, 183 NumMessages: 2, 184 NumExtensions: 0, 185 NumServices: 0, 186 }, 187 GoTypes: file_transport_internet_headers_noop_config_proto_goTypes, 188 DependencyIndexes: file_transport_internet_headers_noop_config_proto_depIdxs, 189 MessageInfos: file_transport_internet_headers_noop_config_proto_msgTypes, 190 }.Build() 191 File_transport_internet_headers_noop_config_proto = out.File 192 file_transport_internet_headers_noop_config_proto_rawDesc = nil 193 file_transport_internet_headers_noop_config_proto_goTypes = nil 194 file_transport_internet_headers_noop_config_proto_depIdxs = nil 195 }