github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/proxy/blackhole/config.pb.go (about)

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