config.pb.go 8.8 KB

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