config.pb.go 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540
  1. package http
  2. import (
  3. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  4. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  5. reflect "reflect"
  6. sync "sync"
  7. unsafe "unsafe"
  8. )
  9. const (
  10. // Verify that this generated code is sufficiently up-to-date.
  11. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  12. // Verify that runtime/protoimpl is sufficiently up-to-date.
  13. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  14. )
  15. type Header struct {
  16. state protoimpl.MessageState `protogen:"open.v1"`
  17. // "Accept", "Cookie", etc
  18. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  19. // Each entry must be valid in one piece. Random entry will be chosen if
  20. // multiple entries present.
  21. Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"`
  22. unknownFields protoimpl.UnknownFields
  23. sizeCache protoimpl.SizeCache
  24. }
  25. func (x *Header) Reset() {
  26. *x = Header{}
  27. mi := &file_transport_internet_headers_http_config_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. func (x *Header) String() string {
  32. return protoimpl.X.MessageStringOf(x)
  33. }
  34. func (*Header) ProtoMessage() {}
  35. func (x *Header) ProtoReflect() protoreflect.Message {
  36. mi := &file_transport_internet_headers_http_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 Header.ProtoReflect.Descriptor instead.
  47. func (*Header) Descriptor() ([]byte, []int) {
  48. return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{0}
  49. }
  50. func (x *Header) GetName() string {
  51. if x != nil {
  52. return x.Name
  53. }
  54. return ""
  55. }
  56. func (x *Header) GetValue() []string {
  57. if x != nil {
  58. return x.Value
  59. }
  60. return nil
  61. }
  62. // HTTP version. Default value "1.1".
  63. type Version struct {
  64. state protoimpl.MessageState `protogen:"open.v1"`
  65. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  66. unknownFields protoimpl.UnknownFields
  67. sizeCache protoimpl.SizeCache
  68. }
  69. func (x *Version) Reset() {
  70. *x = Version{}
  71. mi := &file_transport_internet_headers_http_config_proto_msgTypes[1]
  72. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  73. ms.StoreMessageInfo(mi)
  74. }
  75. func (x *Version) String() string {
  76. return protoimpl.X.MessageStringOf(x)
  77. }
  78. func (*Version) ProtoMessage() {}
  79. func (x *Version) ProtoReflect() protoreflect.Message {
  80. mi := &file_transport_internet_headers_http_config_proto_msgTypes[1]
  81. if x != nil {
  82. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  83. if ms.LoadMessageInfo() == nil {
  84. ms.StoreMessageInfo(mi)
  85. }
  86. return ms
  87. }
  88. return mi.MessageOf(x)
  89. }
  90. // Deprecated: Use Version.ProtoReflect.Descriptor instead.
  91. func (*Version) Descriptor() ([]byte, []int) {
  92. return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{1}
  93. }
  94. func (x *Version) GetValue() string {
  95. if x != nil {
  96. return x.Value
  97. }
  98. return ""
  99. }
  100. // HTTP method. Default value "GET".
  101. type Method struct {
  102. state protoimpl.MessageState `protogen:"open.v1"`
  103. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  104. unknownFields protoimpl.UnknownFields
  105. sizeCache protoimpl.SizeCache
  106. }
  107. func (x *Method) Reset() {
  108. *x = Method{}
  109. mi := &file_transport_internet_headers_http_config_proto_msgTypes[2]
  110. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  111. ms.StoreMessageInfo(mi)
  112. }
  113. func (x *Method) String() string {
  114. return protoimpl.X.MessageStringOf(x)
  115. }
  116. func (*Method) ProtoMessage() {}
  117. func (x *Method) ProtoReflect() protoreflect.Message {
  118. mi := &file_transport_internet_headers_http_config_proto_msgTypes[2]
  119. if x != nil {
  120. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  121. if ms.LoadMessageInfo() == nil {
  122. ms.StoreMessageInfo(mi)
  123. }
  124. return ms
  125. }
  126. return mi.MessageOf(x)
  127. }
  128. // Deprecated: Use Method.ProtoReflect.Descriptor instead.
  129. func (*Method) Descriptor() ([]byte, []int) {
  130. return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{2}
  131. }
  132. func (x *Method) GetValue() string {
  133. if x != nil {
  134. return x.Value
  135. }
  136. return ""
  137. }
  138. type RequestConfig struct {
  139. state protoimpl.MessageState `protogen:"open.v1"`
  140. // Full HTTP version like "1.1".
  141. Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
  142. // GET, POST, CONNECT etc
  143. Method *Method `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
  144. // URI like "/login.php"
  145. Uri []string `protobuf:"bytes,3,rep,name=uri,proto3" json:"uri,omitempty"`
  146. Header []*Header `protobuf:"bytes,4,rep,name=header,proto3" json:"header,omitempty"`
  147. unknownFields protoimpl.UnknownFields
  148. sizeCache protoimpl.SizeCache
  149. }
  150. func (x *RequestConfig) Reset() {
  151. *x = RequestConfig{}
  152. mi := &file_transport_internet_headers_http_config_proto_msgTypes[3]
  153. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  154. ms.StoreMessageInfo(mi)
  155. }
  156. func (x *RequestConfig) String() string {
  157. return protoimpl.X.MessageStringOf(x)
  158. }
  159. func (*RequestConfig) ProtoMessage() {}
  160. func (x *RequestConfig) ProtoReflect() protoreflect.Message {
  161. mi := &file_transport_internet_headers_http_config_proto_msgTypes[3]
  162. if x != nil {
  163. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  164. if ms.LoadMessageInfo() == nil {
  165. ms.StoreMessageInfo(mi)
  166. }
  167. return ms
  168. }
  169. return mi.MessageOf(x)
  170. }
  171. // Deprecated: Use RequestConfig.ProtoReflect.Descriptor instead.
  172. func (*RequestConfig) Descriptor() ([]byte, []int) {
  173. return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{3}
  174. }
  175. func (x *RequestConfig) GetVersion() *Version {
  176. if x != nil {
  177. return x.Version
  178. }
  179. return nil
  180. }
  181. func (x *RequestConfig) GetMethod() *Method {
  182. if x != nil {
  183. return x.Method
  184. }
  185. return nil
  186. }
  187. func (x *RequestConfig) GetUri() []string {
  188. if x != nil {
  189. return x.Uri
  190. }
  191. return nil
  192. }
  193. func (x *RequestConfig) GetHeader() []*Header {
  194. if x != nil {
  195. return x.Header
  196. }
  197. return nil
  198. }
  199. type Status struct {
  200. state protoimpl.MessageState `protogen:"open.v1"`
  201. // Status code. Default "200".
  202. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
  203. // Statue reason. Default "OK".
  204. Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
  205. unknownFields protoimpl.UnknownFields
  206. sizeCache protoimpl.SizeCache
  207. }
  208. func (x *Status) Reset() {
  209. *x = Status{}
  210. mi := &file_transport_internet_headers_http_config_proto_msgTypes[4]
  211. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  212. ms.StoreMessageInfo(mi)
  213. }
  214. func (x *Status) String() string {
  215. return protoimpl.X.MessageStringOf(x)
  216. }
  217. func (*Status) ProtoMessage() {}
  218. func (x *Status) ProtoReflect() protoreflect.Message {
  219. mi := &file_transport_internet_headers_http_config_proto_msgTypes[4]
  220. if x != nil {
  221. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  222. if ms.LoadMessageInfo() == nil {
  223. ms.StoreMessageInfo(mi)
  224. }
  225. return ms
  226. }
  227. return mi.MessageOf(x)
  228. }
  229. // Deprecated: Use Status.ProtoReflect.Descriptor instead.
  230. func (*Status) Descriptor() ([]byte, []int) {
  231. return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{4}
  232. }
  233. func (x *Status) GetCode() string {
  234. if x != nil {
  235. return x.Code
  236. }
  237. return ""
  238. }
  239. func (x *Status) GetReason() string {
  240. if x != nil {
  241. return x.Reason
  242. }
  243. return ""
  244. }
  245. type ResponseConfig struct {
  246. state protoimpl.MessageState `protogen:"open.v1"`
  247. Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
  248. Status *Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
  249. Header []*Header `protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty"`
  250. unknownFields protoimpl.UnknownFields
  251. sizeCache protoimpl.SizeCache
  252. }
  253. func (x *ResponseConfig) Reset() {
  254. *x = ResponseConfig{}
  255. mi := &file_transport_internet_headers_http_config_proto_msgTypes[5]
  256. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  257. ms.StoreMessageInfo(mi)
  258. }
  259. func (x *ResponseConfig) String() string {
  260. return protoimpl.X.MessageStringOf(x)
  261. }
  262. func (*ResponseConfig) ProtoMessage() {}
  263. func (x *ResponseConfig) ProtoReflect() protoreflect.Message {
  264. mi := &file_transport_internet_headers_http_config_proto_msgTypes[5]
  265. if x != nil {
  266. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  267. if ms.LoadMessageInfo() == nil {
  268. ms.StoreMessageInfo(mi)
  269. }
  270. return ms
  271. }
  272. return mi.MessageOf(x)
  273. }
  274. // Deprecated: Use ResponseConfig.ProtoReflect.Descriptor instead.
  275. func (*ResponseConfig) Descriptor() ([]byte, []int) {
  276. return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{5}
  277. }
  278. func (x *ResponseConfig) GetVersion() *Version {
  279. if x != nil {
  280. return x.Version
  281. }
  282. return nil
  283. }
  284. func (x *ResponseConfig) GetStatus() *Status {
  285. if x != nil {
  286. return x.Status
  287. }
  288. return nil
  289. }
  290. func (x *ResponseConfig) GetHeader() []*Header {
  291. if x != nil {
  292. return x.Header
  293. }
  294. return nil
  295. }
  296. type Config struct {
  297. state protoimpl.MessageState `protogen:"open.v1"`
  298. // Settings for authenticating requests. If not set, client side will not send
  299. // authenication header, and server side will bypass authentication.
  300. Request *RequestConfig `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
  301. // Settings for authenticating responses. If not set, client side will bypass
  302. // authentication, and server side will not send authentication header.
  303. Response *ResponseConfig `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
  304. unknownFields protoimpl.UnknownFields
  305. sizeCache protoimpl.SizeCache
  306. }
  307. func (x *Config) Reset() {
  308. *x = Config{}
  309. mi := &file_transport_internet_headers_http_config_proto_msgTypes[6]
  310. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  311. ms.StoreMessageInfo(mi)
  312. }
  313. func (x *Config) String() string {
  314. return protoimpl.X.MessageStringOf(x)
  315. }
  316. func (*Config) ProtoMessage() {}
  317. func (x *Config) ProtoReflect() protoreflect.Message {
  318. mi := &file_transport_internet_headers_http_config_proto_msgTypes[6]
  319. if x != nil {
  320. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  321. if ms.LoadMessageInfo() == nil {
  322. ms.StoreMessageInfo(mi)
  323. }
  324. return ms
  325. }
  326. return mi.MessageOf(x)
  327. }
  328. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  329. func (*Config) Descriptor() ([]byte, []int) {
  330. return file_transport_internet_headers_http_config_proto_rawDescGZIP(), []int{6}
  331. }
  332. func (x *Config) GetRequest() *RequestConfig {
  333. if x != nil {
  334. return x.Request
  335. }
  336. return nil
  337. }
  338. func (x *Config) GetResponse() *ResponseConfig {
  339. if x != nil {
  340. return x.Response
  341. }
  342. return nil
  343. }
  344. var File_transport_internet_headers_http_config_proto protoreflect.FileDescriptor
  345. var file_transport_internet_headers_http_config_proto_rawDesc = string([]byte{
  346. 0x0a, 0x2c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
  347. 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x68, 0x74, 0x74,
  348. 0x70, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a,
  349. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
  350. 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65,
  351. 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x22, 0x32, 0x0a, 0x06, 0x48, 0x65,
  352. 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  353. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
  354. 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x1f,
  355. 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
  356. 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
  357. 0x1e, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
  358. 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
  359. 0x88, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
  360. 0x67, 0x12, 0x4d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
  361. 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  362. 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
  363. 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e,
  364. 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
  365. 0x12, 0x4a, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
  366. 0x32, 0x32, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72,
  367. 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74,
  368. 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x4d, 0x65,
  369. 0x74, 0x68, 0x6f, 0x64, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x03,
  370. 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x4a,
  371. 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32,
  372. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e,
  373. 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68,
  374. 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x48, 0x65, 0x61, 0x64,
  375. 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x34, 0x0a, 0x06, 0x53, 0x74,
  376. 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
  377. 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73,
  378. 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e,
  379. 0x22, 0xf7, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e,
  380. 0x66, 0x69, 0x67, 0x12, 0x4d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
  381. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
  382. 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65,
  383. 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74,
  384. 0x70, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
  385. 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
  386. 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  387. 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
  388. 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e,
  389. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4a,
  390. 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32,
  391. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e,
  392. 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68,
  393. 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x48, 0x65, 0x61, 0x64,
  394. 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0xb5, 0x01, 0x0a, 0x06, 0x43,
  395. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x53, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  396. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
  397. 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e,
  398. 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68,
  399. 0x74, 0x74, 0x70, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
  400. 0x67, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x56, 0x0a, 0x08, 0x72, 0x65,
  401. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x76,
  402. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
  403. 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61,
  404. 0x64, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  405. 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  406. 0x73, 0x65, 0x42, 0x9f, 0x01, 0x0a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
  407. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
  408. 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
  409. 0x2e, 0x68, 0x74, 0x74, 0x70, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
  410. 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d,
  411. 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
  412. 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65,
  413. 0x72, 0x73, 0x2f, 0x68, 0x74, 0x74, 0x70, 0xaa, 0x02, 0x2a, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e,
  414. 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49,
  415. 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e,
  416. 0x48, 0x74, 0x74, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  417. })
  418. var (
  419. file_transport_internet_headers_http_config_proto_rawDescOnce sync.Once
  420. file_transport_internet_headers_http_config_proto_rawDescData []byte
  421. )
  422. func file_transport_internet_headers_http_config_proto_rawDescGZIP() []byte {
  423. file_transport_internet_headers_http_config_proto_rawDescOnce.Do(func() {
  424. file_transport_internet_headers_http_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_transport_internet_headers_http_config_proto_rawDesc), len(file_transport_internet_headers_http_config_proto_rawDesc)))
  425. })
  426. return file_transport_internet_headers_http_config_proto_rawDescData
  427. }
  428. var file_transport_internet_headers_http_config_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  429. var file_transport_internet_headers_http_config_proto_goTypes = []any{
  430. (*Header)(nil), // 0: v2ray.core.transport.internet.headers.http.Header
  431. (*Version)(nil), // 1: v2ray.core.transport.internet.headers.http.Version
  432. (*Method)(nil), // 2: v2ray.core.transport.internet.headers.http.Method
  433. (*RequestConfig)(nil), // 3: v2ray.core.transport.internet.headers.http.RequestConfig
  434. (*Status)(nil), // 4: v2ray.core.transport.internet.headers.http.Status
  435. (*ResponseConfig)(nil), // 5: v2ray.core.transport.internet.headers.http.ResponseConfig
  436. (*Config)(nil), // 6: v2ray.core.transport.internet.headers.http.Config
  437. }
  438. var file_transport_internet_headers_http_config_proto_depIdxs = []int32{
  439. 1, // 0: v2ray.core.transport.internet.headers.http.RequestConfig.version:type_name -> v2ray.core.transport.internet.headers.http.Version
  440. 2, // 1: v2ray.core.transport.internet.headers.http.RequestConfig.method:type_name -> v2ray.core.transport.internet.headers.http.Method
  441. 0, // 2: v2ray.core.transport.internet.headers.http.RequestConfig.header:type_name -> v2ray.core.transport.internet.headers.http.Header
  442. 1, // 3: v2ray.core.transport.internet.headers.http.ResponseConfig.version:type_name -> v2ray.core.transport.internet.headers.http.Version
  443. 4, // 4: v2ray.core.transport.internet.headers.http.ResponseConfig.status:type_name -> v2ray.core.transport.internet.headers.http.Status
  444. 0, // 5: v2ray.core.transport.internet.headers.http.ResponseConfig.header:type_name -> v2ray.core.transport.internet.headers.http.Header
  445. 3, // 6: v2ray.core.transport.internet.headers.http.Config.request:type_name -> v2ray.core.transport.internet.headers.http.RequestConfig
  446. 5, // 7: v2ray.core.transport.internet.headers.http.Config.response:type_name -> v2ray.core.transport.internet.headers.http.ResponseConfig
  447. 8, // [8:8] is the sub-list for method output_type
  448. 8, // [8:8] is the sub-list for method input_type
  449. 8, // [8:8] is the sub-list for extension type_name
  450. 8, // [8:8] is the sub-list for extension extendee
  451. 0, // [0:8] is the sub-list for field type_name
  452. }
  453. func init() { file_transport_internet_headers_http_config_proto_init() }
  454. func file_transport_internet_headers_http_config_proto_init() {
  455. if File_transport_internet_headers_http_config_proto != nil {
  456. return
  457. }
  458. type x struct{}
  459. out := protoimpl.TypeBuilder{
  460. File: protoimpl.DescBuilder{
  461. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  462. RawDescriptor: unsafe.Slice(unsafe.StringData(file_transport_internet_headers_http_config_proto_rawDesc), len(file_transport_internet_headers_http_config_proto_rawDesc)),
  463. NumEnums: 0,
  464. NumMessages: 7,
  465. NumExtensions: 0,
  466. NumServices: 0,
  467. },
  468. GoTypes: file_transport_internet_headers_http_config_proto_goTypes,
  469. DependencyIndexes: file_transport_internet_headers_http_config_proto_depIdxs,
  470. MessageInfos: file_transport_internet_headers_http_config_proto_msgTypes,
  471. }.Build()
  472. File_transport_internet_headers_http_config_proto = out.File
  473. file_transport_internet_headers_http_config_proto_goTypes = nil
  474. file_transport_internet_headers_http_config_proto_depIdxs = nil
  475. }