config.pb.go 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/proxy/blackhole/config.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package blackhole is a generated protocol buffer package.
  6. It is generated from these files:
  7. v2ray.com/core/proxy/blackhole/config.proto
  8. It has these top-level messages:
  9. NoneResponse
  10. HTTPResponse
  11. Response
  12. Config
  13. */
  14. package blackhole
  15. import proto "github.com/golang/protobuf/proto"
  16. import fmt "fmt"
  17. import math "math"
  18. import google_protobuf "github.com/golang/protobuf/ptypes/any"
  19. // Reference imports to suppress errors if they are not otherwise used.
  20. var _ = proto.Marshal
  21. var _ = fmt.Errorf
  22. var _ = math.Inf
  23. // This is a compile-time assertion to ensure that this generated file
  24. // is compatible with the proto package it is being compiled against.
  25. // A compilation error at this line likely means your copy of the
  26. // proto package needs to be updated.
  27. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  28. type Response_Type int32
  29. const (
  30. Response_None Response_Type = 0
  31. Response_HTTP Response_Type = 1
  32. )
  33. var Response_Type_name = map[int32]string{
  34. 0: "None",
  35. 1: "HTTP",
  36. }
  37. var Response_Type_value = map[string]int32{
  38. "None": 0,
  39. "HTTP": 1,
  40. }
  41. func (x Response_Type) String() string {
  42. return proto.EnumName(Response_Type_name, int32(x))
  43. }
  44. func (Response_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
  45. type NoneResponse struct {
  46. }
  47. func (m *NoneResponse) Reset() { *m = NoneResponse{} }
  48. func (m *NoneResponse) String() string { return proto.CompactTextString(m) }
  49. func (*NoneResponse) ProtoMessage() {}
  50. func (*NoneResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  51. type HTTPResponse struct {
  52. }
  53. func (m *HTTPResponse) Reset() { *m = HTTPResponse{} }
  54. func (m *HTTPResponse) String() string { return proto.CompactTextString(m) }
  55. func (*HTTPResponse) ProtoMessage() {}
  56. func (*HTTPResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  57. type Response struct {
  58. Type Response_Type `protobuf:"varint,1,opt,name=type,enum=com.v2ray.core.proxy.blackhole.Response_Type" json:"type,omitempty"`
  59. Settings *google_protobuf.Any `protobuf:"bytes,2,opt,name=settings" json:"settings,omitempty"`
  60. }
  61. func (m *Response) Reset() { *m = Response{} }
  62. func (m *Response) String() string { return proto.CompactTextString(m) }
  63. func (*Response) ProtoMessage() {}
  64. func (*Response) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
  65. func (m *Response) GetSettings() *google_protobuf.Any {
  66. if m != nil {
  67. return m.Settings
  68. }
  69. return nil
  70. }
  71. type Config struct {
  72. Response *Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
  73. }
  74. func (m *Config) Reset() { *m = Config{} }
  75. func (m *Config) String() string { return proto.CompactTextString(m) }
  76. func (*Config) ProtoMessage() {}
  77. func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
  78. func (m *Config) GetResponse() *Response {
  79. if m != nil {
  80. return m.Response
  81. }
  82. return nil
  83. }
  84. func init() {
  85. proto.RegisterType((*NoneResponse)(nil), "com.v2ray.core.proxy.blackhole.NoneResponse")
  86. proto.RegisterType((*HTTPResponse)(nil), "com.v2ray.core.proxy.blackhole.HTTPResponse")
  87. proto.RegisterType((*Response)(nil), "com.v2ray.core.proxy.blackhole.Response")
  88. proto.RegisterType((*Config)(nil), "com.v2ray.core.proxy.blackhole.Config")
  89. proto.RegisterEnum("com.v2ray.core.proxy.blackhole.Response_Type", Response_Type_name, Response_Type_value)
  90. }
  91. func init() { proto.RegisterFile("v2ray.com/core/proxy/blackhole/config.proto", fileDescriptor0) }
  92. var fileDescriptor0 = []byte{
  93. // 249 bytes of a gzipped FileDescriptorProto
  94. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x8c, 0x90, 0x41, 0x4b, 0xc3, 0x30,
  95. 0x18, 0x86, 0xad, 0x94, 0x51, 0x53, 0x19, 0x23, 0x78, 0x98, 0x3b, 0xc8, 0xe8, 0xa9, 0x20, 0x7e,
  96. 0x91, 0xfa, 0x0b, 0xa6, 0x1e, 0x3c, 0x0d, 0x29, 0x3d, 0x79, 0x6b, 0xc3, 0xb7, 0x3a, 0xec, 0xf2,
  97. 0x85, 0x34, 0x8a, 0xf9, 0x2d, 0xfe, 0x59, 0x49, 0x66, 0x73, 0x94, 0xdd, 0xf2, 0x92, 0xf7, 0xc9,
  98. 0xfb, 0x10, 0x76, 0xfb, 0x55, 0x99, 0xd6, 0x81, 0xa4, 0x83, 0x90, 0x64, 0x50, 0x68, 0x43, 0xdf,
  99. 0x4e, 0x74, 0x43, 0x2b, 0x3f, 0xde, 0x69, 0x40, 0x21, 0x49, 0xed, 0xf6, 0x3d, 0x68, 0x43, 0x96,
  100. 0xf8, 0x8d, 0xa4, 0x03, 0x4c, 0x80, 0x41, 0x08, 0x65, 0x88, 0xe5, 0xd5, 0x75, 0x4f, 0xd4, 0x0f,
  101. 0xe1, 0x11, 0x4b, 0xdd, 0xe7, 0x4e, 0xb4, 0xca, 0x1d, 0xd1, 0x62, 0xce, 0x2e, 0xb7, 0xa4, 0xb0,
  102. 0xc6, 0x51, 0x93, 0x1a, 0xd1, 0xe7, 0x97, 0xa6, 0x79, 0x8d, 0xf9, 0x27, 0x61, 0xd9, 0x14, 0xf8,
  103. 0x86, 0xa5, 0xd6, 0x69, 0x5c, 0x26, 0xeb, 0xa4, 0x9c, 0x57, 0x77, 0xf0, 0xff, 0x2c, 0x4c, 0x1c,
  104. 0x34, 0x4e, 0x63, 0x1d, 0x50, 0x7e, 0xcf, 0xb2, 0x11, 0xad, 0xdd, 0xab, 0x7e, 0x5c, 0x9e, 0xaf,
  105. 0x93, 0x32, 0xaf, 0xae, 0xe0, 0x68, 0x07, 0x93, 0x1d, 0x6c, 0x94, 0xab, 0x63, 0xab, 0x58, 0xb1,
  106. 0xd4, 0xf3, 0x3c, 0x63, 0xa9, 0x37, 0x5d, 0x9c, 0xf9, 0x93, 0x77, 0x5c, 0x24, 0xc5, 0x96, 0xcd,
  107. 0x9e, 0xc2, 0x47, 0xf0, 0x67, 0x96, 0x99, 0xbf, 0xb9, 0xa0, 0x97, 0x57, 0xe5, 0xa9, 0x7a, 0x75,
  108. 0x24, 0x1f, 0xf3, 0xb7, 0x8b, 0x78, 0xdf, 0xcd, 0x82, 0xd0, 0xc3, 0x6f, 0x00, 0x00, 0x00, 0xff,
  109. 0xff, 0x09, 0xa5, 0x68, 0x2e, 0x8b, 0x01, 0x00, 0x00,
  110. }