config.pb.go 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.25.0
  4. // protoc v3.15.5
  5. // source: proxy/blackhole/config.proto
  6. package blackhole
  7. import (
  8. proto "github.com/golang/protobuf/proto"
  9. serial "github.com/v2fly/v2ray-core/v4/common/serial"
  10. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  12. reflect "reflect"
  13. sync "sync"
  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, 0x6f, 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. 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c,
  145. 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f,
  146. 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x68, 0x6f, 0x6c, 0x65, 0xaa,
  147. 0x02, 0x1a, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f,
  148. 0x78, 0x79, 0x2e, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x68, 0x6f, 0x6c, 0x65, 0x62, 0x06, 0x70, 0x72,
  149. 0x6f, 0x74, 0x6f, 0x33,
  150. }
  151. var (
  152. file_proxy_blackhole_config_proto_rawDescOnce sync.Once
  153. file_proxy_blackhole_config_proto_rawDescData = file_proxy_blackhole_config_proto_rawDesc
  154. )
  155. func file_proxy_blackhole_config_proto_rawDescGZIP() []byte {
  156. file_proxy_blackhole_config_proto_rawDescOnce.Do(func() {
  157. file_proxy_blackhole_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_blackhole_config_proto_rawDescData)
  158. })
  159. return file_proxy_blackhole_config_proto_rawDescData
  160. }
  161. var file_proxy_blackhole_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
  162. var file_proxy_blackhole_config_proto_goTypes = []interface{}{
  163. (*NoneResponse)(nil), // 0: v2ray.core.proxy.blackhole.NoneResponse
  164. (*HTTPResponse)(nil), // 1: v2ray.core.proxy.blackhole.HTTPResponse
  165. (*Config)(nil), // 2: v2ray.core.proxy.blackhole.Config
  166. (*serial.TypedMessage)(nil), // 3: v2ray.core.common.serial.TypedMessage
  167. }
  168. var file_proxy_blackhole_config_proto_depIdxs = []int32{
  169. 3, // 0: v2ray.core.proxy.blackhole.Config.response:type_name -> v2ray.core.common.serial.TypedMessage
  170. 1, // [1:1] is the sub-list for method output_type
  171. 1, // [1:1] is the sub-list for method input_type
  172. 1, // [1:1] is the sub-list for extension type_name
  173. 1, // [1:1] is the sub-list for extension extendee
  174. 0, // [0:1] is the sub-list for field type_name
  175. }
  176. func init() { file_proxy_blackhole_config_proto_init() }
  177. func file_proxy_blackhole_config_proto_init() {
  178. if File_proxy_blackhole_config_proto != nil {
  179. return
  180. }
  181. if !protoimpl.UnsafeEnabled {
  182. file_proxy_blackhole_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  183. switch v := v.(*NoneResponse); i {
  184. case 0:
  185. return &v.state
  186. case 1:
  187. return &v.sizeCache
  188. case 2:
  189. return &v.unknownFields
  190. default:
  191. return nil
  192. }
  193. }
  194. file_proxy_blackhole_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  195. switch v := v.(*HTTPResponse); i {
  196. case 0:
  197. return &v.state
  198. case 1:
  199. return &v.sizeCache
  200. case 2:
  201. return &v.unknownFields
  202. default:
  203. return nil
  204. }
  205. }
  206. file_proxy_blackhole_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  207. switch v := v.(*Config); i {
  208. case 0:
  209. return &v.state
  210. case 1:
  211. return &v.sizeCache
  212. case 2:
  213. return &v.unknownFields
  214. default:
  215. return nil
  216. }
  217. }
  218. }
  219. type x struct{}
  220. out := protoimpl.TypeBuilder{
  221. File: protoimpl.DescBuilder{
  222. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  223. RawDescriptor: file_proxy_blackhole_config_proto_rawDesc,
  224. NumEnums: 0,
  225. NumMessages: 3,
  226. NumExtensions: 0,
  227. NumServices: 0,
  228. },
  229. GoTypes: file_proxy_blackhole_config_proto_goTypes,
  230. DependencyIndexes: file_proxy_blackhole_config_proto_depIdxs,
  231. MessageInfos: file_proxy_blackhole_config_proto_msgTypes,
  232. }.Build()
  233. File_proxy_blackhole_config_proto = out.File
  234. file_proxy_blackhole_config_proto_rawDesc = nil
  235. file_proxy_blackhole_config_proto_goTypes = nil
  236. file_proxy_blackhole_config_proto_depIdxs = nil
  237. }