config.pb.go 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.1
  4. // protoc v5.28.2
  5. // source: proxy/blackhole/config.proto
  6. package blackhole
  7. import (
  8. serial "github.com/xtls/xray-core/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. mi := &file_proxy_blackhole_config_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. func (x *NoneResponse) String() string {
  32. return protoimpl.X.MessageStringOf(x)
  33. }
  34. func (*NoneResponse) ProtoMessage() {}
  35. func (x *NoneResponse) ProtoReflect() protoreflect.Message {
  36. mi := &file_proxy_blackhole_config_proto_msgTypes[0]
  37. if x != nil {
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. if ms.LoadMessageInfo() == nil {
  40. ms.StoreMessageInfo(mi)
  41. }
  42. return ms
  43. }
  44. return mi.MessageOf(x)
  45. }
  46. // Deprecated: Use NoneResponse.ProtoReflect.Descriptor instead.
  47. func (*NoneResponse) Descriptor() ([]byte, []int) {
  48. return file_proxy_blackhole_config_proto_rawDescGZIP(), []int{0}
  49. }
  50. type HTTPResponse struct {
  51. state protoimpl.MessageState
  52. sizeCache protoimpl.SizeCache
  53. unknownFields protoimpl.UnknownFields
  54. }
  55. func (x *HTTPResponse) Reset() {
  56. *x = HTTPResponse{}
  57. mi := &file_proxy_blackhole_config_proto_msgTypes[1]
  58. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  59. ms.StoreMessageInfo(mi)
  60. }
  61. func (x *HTTPResponse) String() string {
  62. return protoimpl.X.MessageStringOf(x)
  63. }
  64. func (*HTTPResponse) ProtoMessage() {}
  65. func (x *HTTPResponse) ProtoReflect() protoreflect.Message {
  66. mi := &file_proxy_blackhole_config_proto_msgTypes[1]
  67. if x != nil {
  68. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  69. if ms.LoadMessageInfo() == nil {
  70. ms.StoreMessageInfo(mi)
  71. }
  72. return ms
  73. }
  74. return mi.MessageOf(x)
  75. }
  76. // Deprecated: Use HTTPResponse.ProtoReflect.Descriptor instead.
  77. func (*HTTPResponse) Descriptor() ([]byte, []int) {
  78. return file_proxy_blackhole_config_proto_rawDescGZIP(), []int{1}
  79. }
  80. type Config struct {
  81. state protoimpl.MessageState
  82. sizeCache protoimpl.SizeCache
  83. unknownFields protoimpl.UnknownFields
  84. Response *serial.TypedMessage `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
  85. }
  86. func (x *Config) Reset() {
  87. *x = Config{}
  88. mi := &file_proxy_blackhole_config_proto_msgTypes[2]
  89. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  90. ms.StoreMessageInfo(mi)
  91. }
  92. func (x *Config) String() string {
  93. return protoimpl.X.MessageStringOf(x)
  94. }
  95. func (*Config) ProtoMessage() {}
  96. func (x *Config) ProtoReflect() protoreflect.Message {
  97. mi := &file_proxy_blackhole_config_proto_msgTypes[2]
  98. if x != nil {
  99. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  100. if ms.LoadMessageInfo() == nil {
  101. ms.StoreMessageInfo(mi)
  102. }
  103. return ms
  104. }
  105. return mi.MessageOf(x)
  106. }
  107. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  108. func (*Config) Descriptor() ([]byte, []int) {
  109. return file_proxy_blackhole_config_proto_rawDescGZIP(), []int{2}
  110. }
  111. func (x *Config) GetResponse() *serial.TypedMessage {
  112. if x != nil {
  113. return x.Response
  114. }
  115. return nil
  116. }
  117. var File_proxy_blackhole_config_proto protoreflect.FileDescriptor
  118. var file_proxy_blackhole_config_proto_rawDesc = []byte{
  119. 0x0a, 0x1c, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x68, 0x6f, 0x6c,
  120. 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14,
  121. 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x62, 0x6c, 0x61, 0x63, 0x6b,
  122. 0x68, 0x6f, 0x6c, 0x65, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72,
  123. 0x69, 0x61, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  124. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0e, 0x0a, 0x0c, 0x4e, 0x6f, 0x6e, 0x65, 0x52,
  125. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0e, 0x0a, 0x0c, 0x48, 0x54, 0x54, 0x50, 0x52,
  126. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69,
  127. 0x67, 0x12, 0x3c, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20,
  128. 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
  129. 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65,
  130. 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
  131. 0x5e, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78,
  132. 0x79, 0x2e, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x68, 0x6f, 0x6c, 0x65, 0x50, 0x01, 0x5a, 0x29, 0x67,
  133. 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78,
  134. 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x62,
  135. 0x6c, 0x61, 0x63, 0x6b, 0x68, 0x6f, 0x6c, 0x65, 0xaa, 0x02, 0x14, 0x58, 0x72, 0x61, 0x79, 0x2e,
  136. 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x68, 0x6f, 0x6c, 0x65, 0x62,
  137. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  138. }
  139. var (
  140. file_proxy_blackhole_config_proto_rawDescOnce sync.Once
  141. file_proxy_blackhole_config_proto_rawDescData = file_proxy_blackhole_config_proto_rawDesc
  142. )
  143. func file_proxy_blackhole_config_proto_rawDescGZIP() []byte {
  144. file_proxy_blackhole_config_proto_rawDescOnce.Do(func() {
  145. file_proxy_blackhole_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_blackhole_config_proto_rawDescData)
  146. })
  147. return file_proxy_blackhole_config_proto_rawDescData
  148. }
  149. var file_proxy_blackhole_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
  150. var file_proxy_blackhole_config_proto_goTypes = []any{
  151. (*NoneResponse)(nil), // 0: xray.proxy.blackhole.NoneResponse
  152. (*HTTPResponse)(nil), // 1: xray.proxy.blackhole.HTTPResponse
  153. (*Config)(nil), // 2: xray.proxy.blackhole.Config
  154. (*serial.TypedMessage)(nil), // 3: xray.common.serial.TypedMessage
  155. }
  156. var file_proxy_blackhole_config_proto_depIdxs = []int32{
  157. 3, // 0: xray.proxy.blackhole.Config.response:type_name -> xray.common.serial.TypedMessage
  158. 1, // [1:1] is the sub-list for method output_type
  159. 1, // [1:1] is the sub-list for method input_type
  160. 1, // [1:1] is the sub-list for extension type_name
  161. 1, // [1:1] is the sub-list for extension extendee
  162. 0, // [0:1] is the sub-list for field type_name
  163. }
  164. func init() { file_proxy_blackhole_config_proto_init() }
  165. func file_proxy_blackhole_config_proto_init() {
  166. if File_proxy_blackhole_config_proto != nil {
  167. return
  168. }
  169. type x struct{}
  170. out := protoimpl.TypeBuilder{
  171. File: protoimpl.DescBuilder{
  172. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  173. RawDescriptor: file_proxy_blackhole_config_proto_rawDesc,
  174. NumEnums: 0,
  175. NumMessages: 3,
  176. NumExtensions: 0,
  177. NumServices: 0,
  178. },
  179. GoTypes: file_proxy_blackhole_config_proto_goTypes,
  180. DependencyIndexes: file_proxy_blackhole_config_proto_depIdxs,
  181. MessageInfos: file_proxy_blackhole_config_proto_msgTypes,
  182. }.Build()
  183. File_proxy_blackhole_config_proto = out.File
  184. file_proxy_blackhole_config_proto_rawDesc = nil
  185. file_proxy_blackhole_config_proto_goTypes = nil
  186. file_proxy_blackhole_config_proto_depIdxs = nil
  187. }