config.pb.go 23 KB

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