config.pb.go 23 KB

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