config.pb.go 8.5 KB

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