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