config.pb.go 24 KB

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