config.pb.go 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. package blackhole
  2. import proto "github.com/golang/protobuf/proto"
  3. import fmt "fmt"
  4. import math "math"
  5. import serial "v2ray.com/core/common/serial"
  6. // Reference imports to suppress errors if they are not otherwise used.
  7. var _ = proto.Marshal
  8. var _ = fmt.Errorf
  9. var _ = math.Inf
  10. // This is a compile-time assertion to ensure that this generated file
  11. // is compatible with the proto package it is being compiled against.
  12. // A compilation error at this line likely means your copy of the
  13. // proto package needs to be updated.
  14. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  15. type NoneResponse struct {
  16. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  17. XXX_unrecognized []byte `json:"-"`
  18. XXX_sizecache int32 `json:"-"`
  19. }
  20. func (m *NoneResponse) Reset() { *m = NoneResponse{} }
  21. func (m *NoneResponse) String() string { return proto.CompactTextString(m) }
  22. func (*NoneResponse) ProtoMessage() {}
  23. func (*NoneResponse) Descriptor() ([]byte, []int) {
  24. return fileDescriptor_8c8b37c8ae1bdfea, []int{0}
  25. }
  26. func (m *NoneResponse) XXX_Unmarshal(b []byte) error {
  27. return xxx_messageInfo_NoneResponse.Unmarshal(m, b)
  28. }
  29. func (m *NoneResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  30. return xxx_messageInfo_NoneResponse.Marshal(b, m, deterministic)
  31. }
  32. func (m *NoneResponse) XXX_Merge(src proto.Message) {
  33. xxx_messageInfo_NoneResponse.Merge(m, src)
  34. }
  35. func (m *NoneResponse) XXX_Size() int {
  36. return xxx_messageInfo_NoneResponse.Size(m)
  37. }
  38. func (m *NoneResponse) XXX_DiscardUnknown() {
  39. xxx_messageInfo_NoneResponse.DiscardUnknown(m)
  40. }
  41. var xxx_messageInfo_NoneResponse proto.InternalMessageInfo
  42. type HTTPResponse struct {
  43. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  44. XXX_unrecognized []byte `json:"-"`
  45. XXX_sizecache int32 `json:"-"`
  46. }
  47. func (m *HTTPResponse) Reset() { *m = HTTPResponse{} }
  48. func (m *HTTPResponse) String() string { return proto.CompactTextString(m) }
  49. func (*HTTPResponse) ProtoMessage() {}
  50. func (*HTTPResponse) Descriptor() ([]byte, []int) {
  51. return fileDescriptor_8c8b37c8ae1bdfea, []int{1}
  52. }
  53. func (m *HTTPResponse) XXX_Unmarshal(b []byte) error {
  54. return xxx_messageInfo_HTTPResponse.Unmarshal(m, b)
  55. }
  56. func (m *HTTPResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  57. return xxx_messageInfo_HTTPResponse.Marshal(b, m, deterministic)
  58. }
  59. func (m *HTTPResponse) XXX_Merge(src proto.Message) {
  60. xxx_messageInfo_HTTPResponse.Merge(m, src)
  61. }
  62. func (m *HTTPResponse) XXX_Size() int {
  63. return xxx_messageInfo_HTTPResponse.Size(m)
  64. }
  65. func (m *HTTPResponse) XXX_DiscardUnknown() {
  66. xxx_messageInfo_HTTPResponse.DiscardUnknown(m)
  67. }
  68. var xxx_messageInfo_HTTPResponse proto.InternalMessageInfo
  69. type Config struct {
  70. Response *serial.TypedMessage `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
  71. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  72. XXX_unrecognized []byte `json:"-"`
  73. XXX_sizecache int32 `json:"-"`
  74. }
  75. func (m *Config) Reset() { *m = Config{} }
  76. func (m *Config) String() string { return proto.CompactTextString(m) }
  77. func (*Config) ProtoMessage() {}
  78. func (*Config) Descriptor() ([]byte, []int) {
  79. return fileDescriptor_8c8b37c8ae1bdfea, []int{2}
  80. }
  81. func (m *Config) XXX_Unmarshal(b []byte) error {
  82. return xxx_messageInfo_Config.Unmarshal(m, b)
  83. }
  84. func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  85. return xxx_messageInfo_Config.Marshal(b, m, deterministic)
  86. }
  87. func (m *Config) XXX_Merge(src proto.Message) {
  88. xxx_messageInfo_Config.Merge(m, src)
  89. }
  90. func (m *Config) XXX_Size() int {
  91. return xxx_messageInfo_Config.Size(m)
  92. }
  93. func (m *Config) XXX_DiscardUnknown() {
  94. xxx_messageInfo_Config.DiscardUnknown(m)
  95. }
  96. var xxx_messageInfo_Config proto.InternalMessageInfo
  97. func (m *Config) GetResponse() *serial.TypedMessage {
  98. if m != nil {
  99. return m.Response
  100. }
  101. return nil
  102. }
  103. func init() {
  104. proto.RegisterType((*NoneResponse)(nil), "v2ray.core.proxy.blackhole.NoneResponse")
  105. proto.RegisterType((*HTTPResponse)(nil), "v2ray.core.proxy.blackhole.HTTPResponse")
  106. proto.RegisterType((*Config)(nil), "v2ray.core.proxy.blackhole.Config")
  107. }
  108. func init() {
  109. proto.RegisterFile("v2ray.com/core/proxy/blackhole/config.proto", fileDescriptor_8c8b37c8ae1bdfea)
  110. }
  111. var fileDescriptor_8c8b37c8ae1bdfea = []byte{
  112. // 217 bytes of a gzipped FileDescriptorProto
  113. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2e, 0x33, 0x2a, 0x4a,
  114. 0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0x28, 0xca, 0xaf, 0xa8,
  115. 0xd4, 0x4f, 0xca, 0x49, 0x4c, 0xce, 0xce, 0xc8, 0xcf, 0x49, 0xd5, 0x4f, 0xce, 0xcf, 0x4b, 0xcb,
  116. 0x4c, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x82, 0x29, 0x2e, 0x4a, 0xd5, 0x03, 0x2b,
  117. 0xd4, 0x83, 0x2b, 0x94, 0x32, 0x40, 0x33, 0x28, 0x39, 0x3f, 0x37, 0x37, 0x3f, 0x4f, 0xbf, 0x38,
  118. 0xb5, 0x28, 0x33, 0x31, 0x47, 0xbf, 0xa4, 0xb2, 0x20, 0x35, 0x25, 0x3e, 0x37, 0xb5, 0xb8, 0x38,
  119. 0x31, 0x3d, 0x15, 0x62, 0x9a, 0x12, 0x1f, 0x17, 0x8f, 0x5f, 0x7e, 0x5e, 0x6a, 0x50, 0x6a, 0x71,
  120. 0x41, 0x7e, 0x5e, 0x71, 0x2a, 0x88, 0xef, 0x11, 0x12, 0x12, 0x00, 0xe7, 0xfb, 0x70, 0xb1, 0x39,
  121. 0x83, 0x6d, 0x17, 0x72, 0xe2, 0xe2, 0x28, 0x82, 0x8a, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x1b,
  122. 0xa9, 0xe9, 0x21, 0x39, 0x05, 0x62, 0x95, 0x1e, 0xc4, 0x2a, 0xbd, 0x10, 0x90, 0x55, 0xbe, 0x10,
  123. 0x9b, 0x82, 0xe0, 0xfa, 0x9c, 0xbc, 0xb8, 0xe4, 0x92, 0xf3, 0x73, 0xf5, 0x70, 0xfb, 0x20, 0x80,
  124. 0x31, 0x8a, 0x13, 0xce, 0x59, 0xc5, 0x24, 0x15, 0x66, 0x14, 0x94, 0x58, 0xa9, 0xe7, 0x0c, 0x52,
  125. 0x19, 0x00, 0x56, 0xe9, 0x04, 0x93, 0x4c, 0x62, 0x03, 0x7b, 0xc0, 0x18, 0x10, 0x00, 0x00, 0xff,
  126. 0xff, 0xb6, 0x3c, 0xef, 0x4f, 0x3d, 0x01, 0x00, 0x00,
  127. }