github.com/imannamdari/v2ray-core/v5@v5.0.5/proxy/blackhole/config.pb.go (about) 1 package blackhole 2 3 import ( 4 reflect "reflect" 5 sync "sync" 6 7 _ "github.com/imannamdari/v2ray-core/v5/common/protoext" 8 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 9 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 10 anypb "google.golang.org/protobuf/types/known/anypb" 11 ) 12 13 const ( 14 // Verify that this generated code is sufficiently up-to-date. 15 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 16 // Verify that runtime/protoimpl is sufficiently up-to-date. 17 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 18 ) 19 20 type NoneResponse struct { 21 state protoimpl.MessageState 22 sizeCache protoimpl.SizeCache 23 unknownFields protoimpl.UnknownFields 24 } 25 26 func (x *NoneResponse) Reset() { 27 *x = NoneResponse{} 28 if protoimpl.UnsafeEnabled { 29 mi := &file_proxy_blackhole_config_proto_msgTypes[0] 30 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 31 ms.StoreMessageInfo(mi) 32 } 33 } 34 35 func (x *NoneResponse) String() string { 36 return protoimpl.X.MessageStringOf(x) 37 } 38 39 func (*NoneResponse) ProtoMessage() {} 40 41 func (x *NoneResponse) ProtoReflect() protoreflect.Message { 42 mi := &file_proxy_blackhole_config_proto_msgTypes[0] 43 if protoimpl.UnsafeEnabled && x != nil { 44 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 45 if ms.LoadMessageInfo() == nil { 46 ms.StoreMessageInfo(mi) 47 } 48 return ms 49 } 50 return mi.MessageOf(x) 51 } 52 53 // Deprecated: Use NoneResponse.ProtoReflect.Descriptor instead. 54 func (*NoneResponse) Descriptor() ([]byte, []int) { 55 return file_proxy_blackhole_config_proto_rawDescGZIP(), []int{0} 56 } 57 58 type HTTPResponse struct { 59 state protoimpl.MessageState 60 sizeCache protoimpl.SizeCache 61 unknownFields protoimpl.UnknownFields 62 } 63 64 func (x *HTTPResponse) Reset() { 65 *x = HTTPResponse{} 66 if protoimpl.UnsafeEnabled { 67 mi := &file_proxy_blackhole_config_proto_msgTypes[1] 68 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 69 ms.StoreMessageInfo(mi) 70 } 71 } 72 73 func (x *HTTPResponse) String() string { 74 return protoimpl.X.MessageStringOf(x) 75 } 76 77 func (*HTTPResponse) ProtoMessage() {} 78 79 func (x *HTTPResponse) ProtoReflect() protoreflect.Message { 80 mi := &file_proxy_blackhole_config_proto_msgTypes[1] 81 if protoimpl.UnsafeEnabled && x != nil { 82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 83 if ms.LoadMessageInfo() == nil { 84 ms.StoreMessageInfo(mi) 85 } 86 return ms 87 } 88 return mi.MessageOf(x) 89 } 90 91 // Deprecated: Use HTTPResponse.ProtoReflect.Descriptor instead. 92 func (*HTTPResponse) Descriptor() ([]byte, []int) { 93 return file_proxy_blackhole_config_proto_rawDescGZIP(), []int{1} 94 } 95 96 type Config struct { 97 state protoimpl.MessageState 98 sizeCache protoimpl.SizeCache 99 unknownFields protoimpl.UnknownFields 100 101 Response *anypb.Any `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` 102 } 103 104 func (x *Config) Reset() { 105 *x = Config{} 106 if protoimpl.UnsafeEnabled { 107 mi := &file_proxy_blackhole_config_proto_msgTypes[2] 108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 109 ms.StoreMessageInfo(mi) 110 } 111 } 112 113 func (x *Config) String() string { 114 return protoimpl.X.MessageStringOf(x) 115 } 116 117 func (*Config) ProtoMessage() {} 118 119 func (x *Config) ProtoReflect() protoreflect.Message { 120 mi := &file_proxy_blackhole_config_proto_msgTypes[2] 121 if protoimpl.UnsafeEnabled && x != nil { 122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 123 if ms.LoadMessageInfo() == nil { 124 ms.StoreMessageInfo(mi) 125 } 126 return ms 127 } 128 return mi.MessageOf(x) 129 } 130 131 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 132 func (*Config) Descriptor() ([]byte, []int) { 133 return file_proxy_blackhole_config_proto_rawDescGZIP(), []int{2} 134 } 135 136 func (x *Config) GetResponse() *anypb.Any { 137 if x != nil { 138 return x.Response 139 } 140 return nil 141 } 142 143 type SimplifiedConfig struct { 144 state protoimpl.MessageState 145 sizeCache protoimpl.SizeCache 146 unknownFields protoimpl.UnknownFields 147 } 148 149 func (x *SimplifiedConfig) Reset() { 150 *x = SimplifiedConfig{} 151 if protoimpl.UnsafeEnabled { 152 mi := &file_proxy_blackhole_config_proto_msgTypes[3] 153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 154 ms.StoreMessageInfo(mi) 155 } 156 } 157 158 func (x *SimplifiedConfig) String() string { 159 return protoimpl.X.MessageStringOf(x) 160 } 161 162 func (*SimplifiedConfig) ProtoMessage() {} 163 164 func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message { 165 mi := &file_proxy_blackhole_config_proto_msgTypes[3] 166 if protoimpl.UnsafeEnabled && x != nil { 167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 168 if ms.LoadMessageInfo() == nil { 169 ms.StoreMessageInfo(mi) 170 } 171 return ms 172 } 173 return mi.MessageOf(x) 174 } 175 176 // Deprecated: Use SimplifiedConfig.ProtoReflect.Descriptor instead. 177 func (*SimplifiedConfig) Descriptor() ([]byte, []int) { 178 return file_proxy_blackhole_config_proto_rawDescGZIP(), []int{3} 179 } 180 181 var File_proxy_blackhole_config_proto protoreflect.FileDescriptor 182 183 var file_proxy_blackhole_config_proto_rawDesc = []byte{ 184 0x0a, 0x1c, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x68, 0x6f, 0x6c, 185 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 186 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 187 0x2e, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x68, 0x6f, 0x6c, 0x65, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 188 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 189 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 190 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 191 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0e, 0x0a, 0x0c, 0x4e, 0x6f, 0x6e, 0x65, 0x52, 192 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0e, 0x0a, 0x0c, 0x48, 0x54, 0x54, 0x50, 0x52, 193 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 194 0x67, 0x12, 0x30, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 195 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 196 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 197 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x10, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x69, 0x65, 198 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x1d, 0x82, 0xb5, 0x18, 0x0a, 0x0a, 0x08, 0x6f, 199 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x82, 0xb5, 0x18, 0x0b, 0x12, 0x09, 0x62, 0x6c, 0x61, 200 0x63, 0x6b, 0x68, 0x6f, 0x6c, 0x65, 0x42, 0x6f, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 201 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x62, 202 0x6c, 0x61, 0x63, 0x6b, 0x68, 0x6f, 0x6c, 0x65, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 203 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 204 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 205 0x2f, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x68, 0x6f, 0x6c, 0x65, 0xaa, 0x02, 0x1a, 0x56, 0x32, 0x52, 206 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x42, 0x6c, 207 0x61, 0x63, 0x6b, 0x68, 0x6f, 0x6c, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 208 } 209 210 var ( 211 file_proxy_blackhole_config_proto_rawDescOnce sync.Once 212 file_proxy_blackhole_config_proto_rawDescData = file_proxy_blackhole_config_proto_rawDesc 213 ) 214 215 func file_proxy_blackhole_config_proto_rawDescGZIP() []byte { 216 file_proxy_blackhole_config_proto_rawDescOnce.Do(func() { 217 file_proxy_blackhole_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_blackhole_config_proto_rawDescData) 218 }) 219 return file_proxy_blackhole_config_proto_rawDescData 220 } 221 222 var file_proxy_blackhole_config_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 223 var file_proxy_blackhole_config_proto_goTypes = []interface{}{ 224 (*NoneResponse)(nil), // 0: v2ray.core.proxy.blackhole.NoneResponse 225 (*HTTPResponse)(nil), // 1: v2ray.core.proxy.blackhole.HTTPResponse 226 (*Config)(nil), // 2: v2ray.core.proxy.blackhole.Config 227 (*SimplifiedConfig)(nil), // 3: v2ray.core.proxy.blackhole.SimplifiedConfig 228 (*anypb.Any)(nil), // 4: google.protobuf.Any 229 } 230 var file_proxy_blackhole_config_proto_depIdxs = []int32{ 231 4, // 0: v2ray.core.proxy.blackhole.Config.response:type_name -> google.protobuf.Any 232 1, // [1:1] is the sub-list for method output_type 233 1, // [1:1] is the sub-list for method input_type 234 1, // [1:1] is the sub-list for extension type_name 235 1, // [1:1] is the sub-list for extension extendee 236 0, // [0:1] is the sub-list for field type_name 237 } 238 239 func init() { file_proxy_blackhole_config_proto_init() } 240 func file_proxy_blackhole_config_proto_init() { 241 if File_proxy_blackhole_config_proto != nil { 242 return 243 } 244 if !protoimpl.UnsafeEnabled { 245 file_proxy_blackhole_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 246 switch v := v.(*NoneResponse); i { 247 case 0: 248 return &v.state 249 case 1: 250 return &v.sizeCache 251 case 2: 252 return &v.unknownFields 253 default: 254 return nil 255 } 256 } 257 file_proxy_blackhole_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 258 switch v := v.(*HTTPResponse); i { 259 case 0: 260 return &v.state 261 case 1: 262 return &v.sizeCache 263 case 2: 264 return &v.unknownFields 265 default: 266 return nil 267 } 268 } 269 file_proxy_blackhole_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 270 switch v := v.(*Config); i { 271 case 0: 272 return &v.state 273 case 1: 274 return &v.sizeCache 275 case 2: 276 return &v.unknownFields 277 default: 278 return nil 279 } 280 } 281 file_proxy_blackhole_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 282 switch v := v.(*SimplifiedConfig); i { 283 case 0: 284 return &v.state 285 case 1: 286 return &v.sizeCache 287 case 2: 288 return &v.unknownFields 289 default: 290 return nil 291 } 292 } 293 } 294 type x struct{} 295 out := protoimpl.TypeBuilder{ 296 File: protoimpl.DescBuilder{ 297 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 298 RawDescriptor: file_proxy_blackhole_config_proto_rawDesc, 299 NumEnums: 0, 300 NumMessages: 4, 301 NumExtensions: 0, 302 NumServices: 0, 303 }, 304 GoTypes: file_proxy_blackhole_config_proto_goTypes, 305 DependencyIndexes: file_proxy_blackhole_config_proto_depIdxs, 306 MessageInfos: file_proxy_blackhole_config_proto_msgTypes, 307 }.Build() 308 File_proxy_blackhole_config_proto = out.File 309 file_proxy_blackhole_config_proto_rawDesc = nil 310 file_proxy_blackhole_config_proto_goTypes = nil 311 file_proxy_blackhole_config_proto_depIdxs = nil 312 }