config.pb.go 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.1
  4. // protoc v5.28.2
  5. // source: transport/internet/splithttp/config.proto
  6. package splithttp
  7. import (
  8. internet "github.com/xtls/xray-core/transport/internet"
  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. type Config struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
  25. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
  26. Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
  27. Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  28. XPaddingBytes *RandRangeConfig `protobuf:"bytes,5,opt,name=xPaddingBytes,proto3" json:"xPaddingBytes,omitempty"`
  29. NoGRPCHeader bool `protobuf:"varint,6,opt,name=noGRPCHeader,proto3" json:"noGRPCHeader,omitempty"`
  30. NoSSEHeader bool `protobuf:"varint,7,opt,name=noSSEHeader,proto3" json:"noSSEHeader,omitempty"`
  31. ScMaxEachPostBytes *RandRangeConfig `protobuf:"bytes,8,opt,name=scMaxEachPostBytes,proto3" json:"scMaxEachPostBytes,omitempty"`
  32. ScMinPostsIntervalMs *RandRangeConfig `protobuf:"bytes,9,opt,name=scMinPostsIntervalMs,proto3" json:"scMinPostsIntervalMs,omitempty"`
  33. ScMaxBufferedPosts int64 `protobuf:"varint,10,opt,name=scMaxBufferedPosts,proto3" json:"scMaxBufferedPosts,omitempty"`
  34. KeepAlivePeriod int64 `protobuf:"varint,11,opt,name=keepAlivePeriod,proto3" json:"keepAlivePeriod,omitempty"`
  35. Xmux *Multiplexing `protobuf:"bytes,12,opt,name=xmux,proto3" json:"xmux,omitempty"`
  36. DownloadSettings *internet.StreamConfig `protobuf:"bytes,13,opt,name=downloadSettings,proto3" json:"downloadSettings,omitempty"`
  37. }
  38. func (x *Config) Reset() {
  39. *x = Config{}
  40. mi := &file_transport_internet_splithttp_config_proto_msgTypes[0]
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. ms.StoreMessageInfo(mi)
  43. }
  44. func (x *Config) String() string {
  45. return protoimpl.X.MessageStringOf(x)
  46. }
  47. func (*Config) ProtoMessage() {}
  48. func (x *Config) ProtoReflect() protoreflect.Message {
  49. mi := &file_transport_internet_splithttp_config_proto_msgTypes[0]
  50. if x != nil {
  51. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  52. if ms.LoadMessageInfo() == nil {
  53. ms.StoreMessageInfo(mi)
  54. }
  55. return ms
  56. }
  57. return mi.MessageOf(x)
  58. }
  59. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  60. func (*Config) Descriptor() ([]byte, []int) {
  61. return file_transport_internet_splithttp_config_proto_rawDescGZIP(), []int{0}
  62. }
  63. func (x *Config) GetHost() string {
  64. if x != nil {
  65. return x.Host
  66. }
  67. return ""
  68. }
  69. func (x *Config) GetPath() string {
  70. if x != nil {
  71. return x.Path
  72. }
  73. return ""
  74. }
  75. func (x *Config) GetMode() string {
  76. if x != nil {
  77. return x.Mode
  78. }
  79. return ""
  80. }
  81. func (x *Config) GetHeaders() map[string]string {
  82. if x != nil {
  83. return x.Headers
  84. }
  85. return nil
  86. }
  87. func (x *Config) GetXPaddingBytes() *RandRangeConfig {
  88. if x != nil {
  89. return x.XPaddingBytes
  90. }
  91. return nil
  92. }
  93. func (x *Config) GetNoGRPCHeader() bool {
  94. if x != nil {
  95. return x.NoGRPCHeader
  96. }
  97. return false
  98. }
  99. func (x *Config) GetNoSSEHeader() bool {
  100. if x != nil {
  101. return x.NoSSEHeader
  102. }
  103. return false
  104. }
  105. func (x *Config) GetScMaxEachPostBytes() *RandRangeConfig {
  106. if x != nil {
  107. return x.ScMaxEachPostBytes
  108. }
  109. return nil
  110. }
  111. func (x *Config) GetScMinPostsIntervalMs() *RandRangeConfig {
  112. if x != nil {
  113. return x.ScMinPostsIntervalMs
  114. }
  115. return nil
  116. }
  117. func (x *Config) GetScMaxBufferedPosts() int64 {
  118. if x != nil {
  119. return x.ScMaxBufferedPosts
  120. }
  121. return 0
  122. }
  123. func (x *Config) GetKeepAlivePeriod() int64 {
  124. if x != nil {
  125. return x.KeepAlivePeriod
  126. }
  127. return 0
  128. }
  129. func (x *Config) GetXmux() *Multiplexing {
  130. if x != nil {
  131. return x.Xmux
  132. }
  133. return nil
  134. }
  135. func (x *Config) GetDownloadSettings() *internet.StreamConfig {
  136. if x != nil {
  137. return x.DownloadSettings
  138. }
  139. return nil
  140. }
  141. type RandRangeConfig struct {
  142. state protoimpl.MessageState
  143. sizeCache protoimpl.SizeCache
  144. unknownFields protoimpl.UnknownFields
  145. From int32 `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"`
  146. To int32 `protobuf:"varint,2,opt,name=to,proto3" json:"to,omitempty"`
  147. }
  148. func (x *RandRangeConfig) Reset() {
  149. *x = RandRangeConfig{}
  150. mi := &file_transport_internet_splithttp_config_proto_msgTypes[1]
  151. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  152. ms.StoreMessageInfo(mi)
  153. }
  154. func (x *RandRangeConfig) String() string {
  155. return protoimpl.X.MessageStringOf(x)
  156. }
  157. func (*RandRangeConfig) ProtoMessage() {}
  158. func (x *RandRangeConfig) ProtoReflect() protoreflect.Message {
  159. mi := &file_transport_internet_splithttp_config_proto_msgTypes[1]
  160. if x != nil {
  161. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  162. if ms.LoadMessageInfo() == nil {
  163. ms.StoreMessageInfo(mi)
  164. }
  165. return ms
  166. }
  167. return mi.MessageOf(x)
  168. }
  169. // Deprecated: Use RandRangeConfig.ProtoReflect.Descriptor instead.
  170. func (*RandRangeConfig) Descriptor() ([]byte, []int) {
  171. return file_transport_internet_splithttp_config_proto_rawDescGZIP(), []int{1}
  172. }
  173. func (x *RandRangeConfig) GetFrom() int32 {
  174. if x != nil {
  175. return x.From
  176. }
  177. return 0
  178. }
  179. func (x *RandRangeConfig) GetTo() int32 {
  180. if x != nil {
  181. return x.To
  182. }
  183. return 0
  184. }
  185. type Multiplexing struct {
  186. state protoimpl.MessageState
  187. sizeCache protoimpl.SizeCache
  188. unknownFields protoimpl.UnknownFields
  189. MaxConcurrency *RandRangeConfig `protobuf:"bytes,1,opt,name=maxConcurrency,proto3" json:"maxConcurrency,omitempty"`
  190. MaxConnections *RandRangeConfig `protobuf:"bytes,2,opt,name=maxConnections,proto3" json:"maxConnections,omitempty"`
  191. CMaxReuseTimes *RandRangeConfig `protobuf:"bytes,3,opt,name=cMaxReuseTimes,proto3" json:"cMaxReuseTimes,omitempty"`
  192. CMaxLifetimeMs *RandRangeConfig `protobuf:"bytes,4,opt,name=cMaxLifetimeMs,proto3" json:"cMaxLifetimeMs,omitempty"`
  193. }
  194. func (x *Multiplexing) Reset() {
  195. *x = Multiplexing{}
  196. mi := &file_transport_internet_splithttp_config_proto_msgTypes[2]
  197. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  198. ms.StoreMessageInfo(mi)
  199. }
  200. func (x *Multiplexing) String() string {
  201. return protoimpl.X.MessageStringOf(x)
  202. }
  203. func (*Multiplexing) ProtoMessage() {}
  204. func (x *Multiplexing) ProtoReflect() protoreflect.Message {
  205. mi := &file_transport_internet_splithttp_config_proto_msgTypes[2]
  206. if x != nil {
  207. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  208. if ms.LoadMessageInfo() == nil {
  209. ms.StoreMessageInfo(mi)
  210. }
  211. return ms
  212. }
  213. return mi.MessageOf(x)
  214. }
  215. // Deprecated: Use Multiplexing.ProtoReflect.Descriptor instead.
  216. func (*Multiplexing) Descriptor() ([]byte, []int) {
  217. return file_transport_internet_splithttp_config_proto_rawDescGZIP(), []int{2}
  218. }
  219. func (x *Multiplexing) GetMaxConcurrency() *RandRangeConfig {
  220. if x != nil {
  221. return x.MaxConcurrency
  222. }
  223. return nil
  224. }
  225. func (x *Multiplexing) GetMaxConnections() *RandRangeConfig {
  226. if x != nil {
  227. return x.MaxConnections
  228. }
  229. return nil
  230. }
  231. func (x *Multiplexing) GetCMaxReuseTimes() *RandRangeConfig {
  232. if x != nil {
  233. return x.CMaxReuseTimes
  234. }
  235. return nil
  236. }
  237. func (x *Multiplexing) GetCMaxLifetimeMs() *RandRangeConfig {
  238. if x != nil {
  239. return x.CMaxLifetimeMs
  240. }
  241. return nil
  242. }
  243. var File_transport_internet_splithttp_config_proto protoreflect.FileDescriptor
  244. var file_transport_internet_splithttp_config_proto_rawDesc = []byte{
  245. 0x0a, 0x29, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
  246. 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x68, 0x74, 0x74, 0x70, 0x2f, 0x63,
  247. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x78, 0x72, 0x61,
  248. 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65,
  249. 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x68, 0x74, 0x74, 0x70, 0x1a, 0x1f,
  250. 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
  251. 0x65, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
  252. 0xb0, 0x06, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f,
  253. 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12,
  254. 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61,
  255. 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  256. 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x50, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
  257. 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74,
  258. 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65,
  259. 0x74, 0x2e, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x43, 0x6f, 0x6e, 0x66,
  260. 0x69, 0x67, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
  261. 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x58, 0x0a, 0x0d, 0x78, 0x50, 0x61, 0x64,
  262. 0x64, 0x69, 0x6e, 0x67, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
  263. 0x32, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
  264. 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x68,
  265. 0x74, 0x74, 0x70, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6e,
  266. 0x66, 0x69, 0x67, 0x52, 0x0d, 0x78, 0x50, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x79, 0x74,
  267. 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x6e, 0x6f, 0x47, 0x52, 0x50, 0x43, 0x48, 0x65, 0x61, 0x64,
  268. 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6e, 0x6f, 0x47, 0x52, 0x50, 0x43,
  269. 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x6f, 0x53, 0x53, 0x45, 0x48,
  270. 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6e, 0x6f, 0x53,
  271. 0x53, 0x45, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x62, 0x0a, 0x12, 0x73, 0x63, 0x4d, 0x61,
  272. 0x78, 0x45, 0x61, 0x63, 0x68, 0x50, 0x6f, 0x73, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x08,
  273. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e,
  274. 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x73,
  275. 0x70, 0x6c, 0x69, 0x74, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x52, 0x61, 0x6e,
  276. 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x12, 0x73, 0x63, 0x4d, 0x61, 0x78, 0x45,
  277. 0x61, 0x63, 0x68, 0x50, 0x6f, 0x73, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x66, 0x0a, 0x14,
  278. 0x73, 0x63, 0x4d, 0x69, 0x6e, 0x50, 0x6f, 0x73, 0x74, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76,
  279. 0x61, 0x6c, 0x4d, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x78, 0x72, 0x61,
  280. 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65,
  281. 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x52,
  282. 0x61, 0x6e, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x14,
  283. 0x73, 0x63, 0x4d, 0x69, 0x6e, 0x50, 0x6f, 0x73, 0x74, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76,
  284. 0x61, 0x6c, 0x4d, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x63, 0x4d, 0x61, 0x78, 0x42, 0x75, 0x66,
  285. 0x66, 0x65, 0x72, 0x65, 0x64, 0x50, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03,
  286. 0x52, 0x12, 0x73, 0x63, 0x4d, 0x61, 0x78, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x65, 0x64, 0x50,
  287. 0x6f, 0x73, 0x74, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x6b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76,
  288. 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6b,
  289. 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x43,
  290. 0x0a, 0x04, 0x78, 0x6d, 0x75, 0x78, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x78,
  291. 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e,
  292. 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x68, 0x74, 0x74, 0x70,
  293. 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x6e, 0x67, 0x52, 0x04, 0x78,
  294. 0x6d, 0x75, 0x78, 0x12, 0x51, 0x0a, 0x10, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x53,
  295. 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e,
  296. 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69,
  297. 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43, 0x6f,
  298. 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x65,
  299. 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
  300. 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
  301. 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
  302. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
  303. 0x38, 0x01, 0x22, 0x35, 0x0a, 0x0f, 0x52, 0x61, 0x6e, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x43,
  304. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20,
  305. 0x01, 0x28, 0x05, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18,
  306. 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x74, 0x6f, 0x22, 0xfe, 0x02, 0x0a, 0x0c, 0x4d, 0x75,
  307. 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x6e, 0x67, 0x12, 0x5a, 0x0a, 0x0e, 0x6d, 0x61,
  308. 0x78, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01,
  309. 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
  310. 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x73, 0x70, 0x6c,
  311. 0x69, 0x74, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65,
  312. 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x63, 0x75,
  313. 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x5a, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e,
  314. 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32,
  315. 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
  316. 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x68, 0x74,
  317. 0x74, 0x70, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66,
  318. 0x69, 0x67, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
  319. 0x6e, 0x73, 0x12, 0x5a, 0x0a, 0x0e, 0x63, 0x4d, 0x61, 0x78, 0x52, 0x65, 0x75, 0x73, 0x65, 0x54,
  320. 0x69, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x78, 0x72, 0x61,
  321. 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65,
  322. 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x52,
  323. 0x61, 0x6e, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e,
  324. 0x63, 0x4d, 0x61, 0x78, 0x52, 0x65, 0x75, 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x5a,
  325. 0x0a, 0x0e, 0x63, 0x4d, 0x61, 0x78, 0x4c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x73,
  326. 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72,
  327. 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74,
  328. 0x2e, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x52,
  329. 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x63, 0x4d, 0x61, 0x78,
  330. 0x4c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x42, 0x85, 0x01, 0x0a, 0x25, 0x63,
  331. 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
  332. 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x73, 0x70, 0x6c, 0x69, 0x74,
  333. 0x68, 0x74, 0x74, 0x70, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
  334. 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72,
  335. 0x65, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
  336. 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x68, 0x74, 0x74, 0x70, 0xaa, 0x02,
  337. 0x21, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
  338. 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x48, 0x74,
  339. 0x74, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  340. }
  341. var (
  342. file_transport_internet_splithttp_config_proto_rawDescOnce sync.Once
  343. file_transport_internet_splithttp_config_proto_rawDescData = file_transport_internet_splithttp_config_proto_rawDesc
  344. )
  345. func file_transport_internet_splithttp_config_proto_rawDescGZIP() []byte {
  346. file_transport_internet_splithttp_config_proto_rawDescOnce.Do(func() {
  347. file_transport_internet_splithttp_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_splithttp_config_proto_rawDescData)
  348. })
  349. return file_transport_internet_splithttp_config_proto_rawDescData
  350. }
  351. var file_transport_internet_splithttp_config_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  352. var file_transport_internet_splithttp_config_proto_goTypes = []any{
  353. (*Config)(nil), // 0: xray.transport.internet.splithttp.Config
  354. (*RandRangeConfig)(nil), // 1: xray.transport.internet.splithttp.RandRangeConfig
  355. (*Multiplexing)(nil), // 2: xray.transport.internet.splithttp.Multiplexing
  356. nil, // 3: xray.transport.internet.splithttp.Config.HeadersEntry
  357. (*internet.StreamConfig)(nil), // 4: xray.transport.internet.StreamConfig
  358. }
  359. var file_transport_internet_splithttp_config_proto_depIdxs = []int32{
  360. 3, // 0: xray.transport.internet.splithttp.Config.headers:type_name -> xray.transport.internet.splithttp.Config.HeadersEntry
  361. 1, // 1: xray.transport.internet.splithttp.Config.xPaddingBytes:type_name -> xray.transport.internet.splithttp.RandRangeConfig
  362. 1, // 2: xray.transport.internet.splithttp.Config.scMaxEachPostBytes:type_name -> xray.transport.internet.splithttp.RandRangeConfig
  363. 1, // 3: xray.transport.internet.splithttp.Config.scMinPostsIntervalMs:type_name -> xray.transport.internet.splithttp.RandRangeConfig
  364. 2, // 4: xray.transport.internet.splithttp.Config.xmux:type_name -> xray.transport.internet.splithttp.Multiplexing
  365. 4, // 5: xray.transport.internet.splithttp.Config.downloadSettings:type_name -> xray.transport.internet.StreamConfig
  366. 1, // 6: xray.transport.internet.splithttp.Multiplexing.maxConcurrency:type_name -> xray.transport.internet.splithttp.RandRangeConfig
  367. 1, // 7: xray.transport.internet.splithttp.Multiplexing.maxConnections:type_name -> xray.transport.internet.splithttp.RandRangeConfig
  368. 1, // 8: xray.transport.internet.splithttp.Multiplexing.cMaxReuseTimes:type_name -> xray.transport.internet.splithttp.RandRangeConfig
  369. 1, // 9: xray.transport.internet.splithttp.Multiplexing.cMaxLifetimeMs:type_name -> xray.transport.internet.splithttp.RandRangeConfig
  370. 10, // [10:10] is the sub-list for method output_type
  371. 10, // [10:10] is the sub-list for method input_type
  372. 10, // [10:10] is the sub-list for extension type_name
  373. 10, // [10:10] is the sub-list for extension extendee
  374. 0, // [0:10] is the sub-list for field type_name
  375. }
  376. func init() { file_transport_internet_splithttp_config_proto_init() }
  377. func file_transport_internet_splithttp_config_proto_init() {
  378. if File_transport_internet_splithttp_config_proto != nil {
  379. return
  380. }
  381. type x struct{}
  382. out := protoimpl.TypeBuilder{
  383. File: protoimpl.DescBuilder{
  384. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  385. RawDescriptor: file_transport_internet_splithttp_config_proto_rawDesc,
  386. NumEnums: 0,
  387. NumMessages: 4,
  388. NumExtensions: 0,
  389. NumServices: 0,
  390. },
  391. GoTypes: file_transport_internet_splithttp_config_proto_goTypes,
  392. DependencyIndexes: file_transport_internet_splithttp_config_proto_depIdxs,
  393. MessageInfos: file_transport_internet_splithttp_config_proto_msgTypes,
  394. }.Build()
  395. File_transport_internet_splithttp_config_proto = out.File
  396. file_transport_internet_splithttp_config_proto_rawDesc = nil
  397. file_transport_internet_splithttp_config_proto_goTypes = nil
  398. file_transport_internet_splithttp_config_proto_depIdxs = nil
  399. }