github.com/EagleQL/Xray-core@v1.4.3/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.14.0
     5  // source: proxy/blackhole/config.proto
     6  
     7  package blackhole
     8  
     9  import (
    10  	proto "github.com/golang/protobuf/proto"
    11  	serial "github.com/xtls/xray-core/common/serial"
    12  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    13  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    14  	reflect "reflect"
    15  	sync "sync"
    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, 0x14,
   157  	0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x62, 0x6c, 0x61, 0x63, 0x6b,
   158  	0x68, 0x6f, 0x6c, 0x65, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72,
   159  	0x69, 0x61, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
   160  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0e, 0x0a, 0x0c, 0x4e, 0x6f, 0x6e, 0x65, 0x52,
   161  	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0e, 0x0a, 0x0c, 0x48, 0x54, 0x54, 0x50, 0x52,
   162  	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69,
   163  	0x67, 0x12, 0x3c, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20,
   164  	0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
   165  	0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65,
   166  	0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
   167  	0x5e, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78,
   168  	0x79, 0x2e, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x68, 0x6f, 0x6c, 0x65, 0x50, 0x01, 0x5a, 0x29, 0x67,
   169  	0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78,
   170  	0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x62,
   171  	0x6c, 0x61, 0x63, 0x6b, 0x68, 0x6f, 0x6c, 0x65, 0xaa, 0x02, 0x14, 0x58, 0x72, 0x61, 0x79, 0x2e,
   172  	0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x68, 0x6f, 0x6c, 0x65, 0x62,
   173  	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   174  }
   175  
   176  var (
   177  	file_proxy_blackhole_config_proto_rawDescOnce sync.Once
   178  	file_proxy_blackhole_config_proto_rawDescData = file_proxy_blackhole_config_proto_rawDesc
   179  )
   180  
   181  func file_proxy_blackhole_config_proto_rawDescGZIP() []byte {
   182  	file_proxy_blackhole_config_proto_rawDescOnce.Do(func() {
   183  		file_proxy_blackhole_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_blackhole_config_proto_rawDescData)
   184  	})
   185  	return file_proxy_blackhole_config_proto_rawDescData
   186  }
   187  
   188  var file_proxy_blackhole_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   189  var file_proxy_blackhole_config_proto_goTypes = []interface{}{
   190  	(*NoneResponse)(nil),        // 0: xray.proxy.blackhole.NoneResponse
   191  	(*HTTPResponse)(nil),        // 1: xray.proxy.blackhole.HTTPResponse
   192  	(*Config)(nil),              // 2: xray.proxy.blackhole.Config
   193  	(*serial.TypedMessage)(nil), // 3: xray.common.serial.TypedMessage
   194  }
   195  var file_proxy_blackhole_config_proto_depIdxs = []int32{
   196  	3, // 0: xray.proxy.blackhole.Config.response:type_name -> xray.common.serial.TypedMessage
   197  	1, // [1:1] is the sub-list for method output_type
   198  	1, // [1:1] is the sub-list for method input_type
   199  	1, // [1:1] is the sub-list for extension type_name
   200  	1, // [1:1] is the sub-list for extension extendee
   201  	0, // [0:1] is the sub-list for field type_name
   202  }
   203  
   204  func init() { file_proxy_blackhole_config_proto_init() }
   205  func file_proxy_blackhole_config_proto_init() {
   206  	if File_proxy_blackhole_config_proto != nil {
   207  		return
   208  	}
   209  	if !protoimpl.UnsafeEnabled {
   210  		file_proxy_blackhole_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   211  			switch v := v.(*NoneResponse); i {
   212  			case 0:
   213  				return &v.state
   214  			case 1:
   215  				return &v.sizeCache
   216  			case 2:
   217  				return &v.unknownFields
   218  			default:
   219  				return nil
   220  			}
   221  		}
   222  		file_proxy_blackhole_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   223  			switch v := v.(*HTTPResponse); i {
   224  			case 0:
   225  				return &v.state
   226  			case 1:
   227  				return &v.sizeCache
   228  			case 2:
   229  				return &v.unknownFields
   230  			default:
   231  				return nil
   232  			}
   233  		}
   234  		file_proxy_blackhole_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   235  			switch v := v.(*Config); i {
   236  			case 0:
   237  				return &v.state
   238  			case 1:
   239  				return &v.sizeCache
   240  			case 2:
   241  				return &v.unknownFields
   242  			default:
   243  				return nil
   244  			}
   245  		}
   246  	}
   247  	type x struct{}
   248  	out := protoimpl.TypeBuilder{
   249  		File: protoimpl.DescBuilder{
   250  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   251  			RawDescriptor: file_proxy_blackhole_config_proto_rawDesc,
   252  			NumEnums:      0,
   253  			NumMessages:   3,
   254  			NumExtensions: 0,
   255  			NumServices:   0,
   256  		},
   257  		GoTypes:           file_proxy_blackhole_config_proto_goTypes,
   258  		DependencyIndexes: file_proxy_blackhole_config_proto_depIdxs,
   259  		MessageInfos:      file_proxy_blackhole_config_proto_msgTypes,
   260  	}.Build()
   261  	File_proxy_blackhole_config_proto = out.File
   262  	file_proxy_blackhole_config_proto_rawDesc = nil
   263  	file_proxy_blackhole_config_proto_goTypes = nil
   264  	file_proxy_blackhole_config_proto_depIdxs = nil
   265  }