config.pb.go 24 KB

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