config.pb.go 8.7 KB

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