github.com/xmplusdev/xmcore@v1.8.11-0.20240412132628-5518b55526af/proxy/blackhole/config.pb.go (about)

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