config.pb.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
  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: proxy/freedom/config.proto
  6. package freedom
  7. import (
  8. protocol "github.com/xtls/xray-core/common/protocol"
  9. internet "github.com/xtls/xray-core/transport/internet"
  10. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  12. reflect "reflect"
  13. sync "sync"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. type DestinationOverride struct {
  22. state protoimpl.MessageState
  23. sizeCache protoimpl.SizeCache
  24. unknownFields protoimpl.UnknownFields
  25. Server *protocol.ServerEndpoint `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
  26. }
  27. func (x *DestinationOverride) Reset() {
  28. *x = DestinationOverride{}
  29. mi := &file_proxy_freedom_config_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. func (x *DestinationOverride) String() string {
  34. return protoimpl.X.MessageStringOf(x)
  35. }
  36. func (*DestinationOverride) ProtoMessage() {}
  37. func (x *DestinationOverride) ProtoReflect() protoreflect.Message {
  38. mi := &file_proxy_freedom_config_proto_msgTypes[0]
  39. if x != nil {
  40. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  41. if ms.LoadMessageInfo() == nil {
  42. ms.StoreMessageInfo(mi)
  43. }
  44. return ms
  45. }
  46. return mi.MessageOf(x)
  47. }
  48. // Deprecated: Use DestinationOverride.ProtoReflect.Descriptor instead.
  49. func (*DestinationOverride) Descriptor() ([]byte, []int) {
  50. return file_proxy_freedom_config_proto_rawDescGZIP(), []int{0}
  51. }
  52. func (x *DestinationOverride) GetServer() *protocol.ServerEndpoint {
  53. if x != nil {
  54. return x.Server
  55. }
  56. return nil
  57. }
  58. type Fragment struct {
  59. state protoimpl.MessageState
  60. sizeCache protoimpl.SizeCache
  61. unknownFields protoimpl.UnknownFields
  62. PacketsFrom uint64 `protobuf:"varint,1,opt,name=packets_from,json=packetsFrom,proto3" json:"packets_from,omitempty"`
  63. PacketsTo uint64 `protobuf:"varint,2,opt,name=packets_to,json=packetsTo,proto3" json:"packets_to,omitempty"`
  64. LengthMin uint64 `protobuf:"varint,3,opt,name=length_min,json=lengthMin,proto3" json:"length_min,omitempty"`
  65. LengthMax uint64 `protobuf:"varint,4,opt,name=length_max,json=lengthMax,proto3" json:"length_max,omitempty"`
  66. IntervalMin uint64 `protobuf:"varint,5,opt,name=interval_min,json=intervalMin,proto3" json:"interval_min,omitempty"`
  67. IntervalMax uint64 `protobuf:"varint,6,opt,name=interval_max,json=intervalMax,proto3" json:"interval_max,omitempty"`
  68. MaxSplitMin uint64 `protobuf:"varint,7,opt,name=max_split_min,json=maxSplitMin,proto3" json:"max_split_min,omitempty"`
  69. MaxSplitMax uint64 `protobuf:"varint,8,opt,name=max_split_max,json=maxSplitMax,proto3" json:"max_split_max,omitempty"`
  70. }
  71. func (x *Fragment) Reset() {
  72. *x = Fragment{}
  73. mi := &file_proxy_freedom_config_proto_msgTypes[1]
  74. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  75. ms.StoreMessageInfo(mi)
  76. }
  77. func (x *Fragment) String() string {
  78. return protoimpl.X.MessageStringOf(x)
  79. }
  80. func (*Fragment) ProtoMessage() {}
  81. func (x *Fragment) ProtoReflect() protoreflect.Message {
  82. mi := &file_proxy_freedom_config_proto_msgTypes[1]
  83. if x != nil {
  84. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  85. if ms.LoadMessageInfo() == nil {
  86. ms.StoreMessageInfo(mi)
  87. }
  88. return ms
  89. }
  90. return mi.MessageOf(x)
  91. }
  92. // Deprecated: Use Fragment.ProtoReflect.Descriptor instead.
  93. func (*Fragment) Descriptor() ([]byte, []int) {
  94. return file_proxy_freedom_config_proto_rawDescGZIP(), []int{1}
  95. }
  96. func (x *Fragment) GetPacketsFrom() uint64 {
  97. if x != nil {
  98. return x.PacketsFrom
  99. }
  100. return 0
  101. }
  102. func (x *Fragment) GetPacketsTo() uint64 {
  103. if x != nil {
  104. return x.PacketsTo
  105. }
  106. return 0
  107. }
  108. func (x *Fragment) GetLengthMin() uint64 {
  109. if x != nil {
  110. return x.LengthMin
  111. }
  112. return 0
  113. }
  114. func (x *Fragment) GetLengthMax() uint64 {
  115. if x != nil {
  116. return x.LengthMax
  117. }
  118. return 0
  119. }
  120. func (x *Fragment) GetIntervalMin() uint64 {
  121. if x != nil {
  122. return x.IntervalMin
  123. }
  124. return 0
  125. }
  126. func (x *Fragment) GetIntervalMax() uint64 {
  127. if x != nil {
  128. return x.IntervalMax
  129. }
  130. return 0
  131. }
  132. func (x *Fragment) GetMaxSplitMin() uint64 {
  133. if x != nil {
  134. return x.MaxSplitMin
  135. }
  136. return 0
  137. }
  138. func (x *Fragment) GetMaxSplitMax() uint64 {
  139. if x != nil {
  140. return x.MaxSplitMax
  141. }
  142. return 0
  143. }
  144. type Noise struct {
  145. state protoimpl.MessageState
  146. sizeCache protoimpl.SizeCache
  147. unknownFields protoimpl.UnknownFields
  148. LengthMin uint64 `protobuf:"varint,1,opt,name=length_min,json=lengthMin,proto3" json:"length_min,omitempty"`
  149. LengthMax uint64 `protobuf:"varint,2,opt,name=length_max,json=lengthMax,proto3" json:"length_max,omitempty"`
  150. DelayMin uint64 `protobuf:"varint,3,opt,name=delay_min,json=delayMin,proto3" json:"delay_min,omitempty"`
  151. DelayMax uint64 `protobuf:"varint,4,opt,name=delay_max,json=delayMax,proto3" json:"delay_max,omitempty"`
  152. Packet []byte `protobuf:"bytes,5,opt,name=packet,proto3" json:"packet,omitempty"`
  153. ApplyTo string `protobuf:"bytes,6,opt,name=apply_to,json=applyTo,proto3" json:"apply_to,omitempty"`
  154. }
  155. func (x *Noise) Reset() {
  156. *x = Noise{}
  157. mi := &file_proxy_freedom_config_proto_msgTypes[2]
  158. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  159. ms.StoreMessageInfo(mi)
  160. }
  161. func (x *Noise) String() string {
  162. return protoimpl.X.MessageStringOf(x)
  163. }
  164. func (*Noise) ProtoMessage() {}
  165. func (x *Noise) ProtoReflect() protoreflect.Message {
  166. mi := &file_proxy_freedom_config_proto_msgTypes[2]
  167. if x != nil {
  168. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  169. if ms.LoadMessageInfo() == nil {
  170. ms.StoreMessageInfo(mi)
  171. }
  172. return ms
  173. }
  174. return mi.MessageOf(x)
  175. }
  176. // Deprecated: Use Noise.ProtoReflect.Descriptor instead.
  177. func (*Noise) Descriptor() ([]byte, []int) {
  178. return file_proxy_freedom_config_proto_rawDescGZIP(), []int{2}
  179. }
  180. func (x *Noise) GetLengthMin() uint64 {
  181. if x != nil {
  182. return x.LengthMin
  183. }
  184. return 0
  185. }
  186. func (x *Noise) GetLengthMax() uint64 {
  187. if x != nil {
  188. return x.LengthMax
  189. }
  190. return 0
  191. }
  192. func (x *Noise) GetDelayMin() uint64 {
  193. if x != nil {
  194. return x.DelayMin
  195. }
  196. return 0
  197. }
  198. func (x *Noise) GetDelayMax() uint64 {
  199. if x != nil {
  200. return x.DelayMax
  201. }
  202. return 0
  203. }
  204. func (x *Noise) GetPacket() []byte {
  205. if x != nil {
  206. return x.Packet
  207. }
  208. return nil
  209. }
  210. func (x *Noise) GetApplyTo() string {
  211. if x != nil {
  212. return x.ApplyTo
  213. }
  214. return ""
  215. }
  216. type Config struct {
  217. state protoimpl.MessageState
  218. sizeCache protoimpl.SizeCache
  219. unknownFields protoimpl.UnknownFields
  220. DomainStrategy internet.DomainStrategy `protobuf:"varint,1,opt,name=domain_strategy,json=domainStrategy,proto3,enum=xray.transport.internet.DomainStrategy" json:"domain_strategy,omitempty"`
  221. DestinationOverride *DestinationOverride `protobuf:"bytes,3,opt,name=destination_override,json=destinationOverride,proto3" json:"destination_override,omitempty"`
  222. UserLevel uint32 `protobuf:"varint,4,opt,name=user_level,json=userLevel,proto3" json:"user_level,omitempty"`
  223. Fragment *Fragment `protobuf:"bytes,5,opt,name=fragment,proto3" json:"fragment,omitempty"`
  224. ProxyProtocol uint32 `protobuf:"varint,6,opt,name=proxy_protocol,json=proxyProtocol,proto3" json:"proxy_protocol,omitempty"`
  225. Noises []*Noise `protobuf:"bytes,7,rep,name=noises,proto3" json:"noises,omitempty"`
  226. }
  227. func (x *Config) Reset() {
  228. *x = Config{}
  229. mi := &file_proxy_freedom_config_proto_msgTypes[3]
  230. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  231. ms.StoreMessageInfo(mi)
  232. }
  233. func (x *Config) String() string {
  234. return protoimpl.X.MessageStringOf(x)
  235. }
  236. func (*Config) ProtoMessage() {}
  237. func (x *Config) ProtoReflect() protoreflect.Message {
  238. mi := &file_proxy_freedom_config_proto_msgTypes[3]
  239. if x != nil {
  240. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  241. if ms.LoadMessageInfo() == nil {
  242. ms.StoreMessageInfo(mi)
  243. }
  244. return ms
  245. }
  246. return mi.MessageOf(x)
  247. }
  248. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  249. func (*Config) Descriptor() ([]byte, []int) {
  250. return file_proxy_freedom_config_proto_rawDescGZIP(), []int{3}
  251. }
  252. func (x *Config) GetDomainStrategy() internet.DomainStrategy {
  253. if x != nil {
  254. return x.DomainStrategy
  255. }
  256. return internet.DomainStrategy(0)
  257. }
  258. func (x *Config) GetDestinationOverride() *DestinationOverride {
  259. if x != nil {
  260. return x.DestinationOverride
  261. }
  262. return nil
  263. }
  264. func (x *Config) GetUserLevel() uint32 {
  265. if x != nil {
  266. return x.UserLevel
  267. }
  268. return 0
  269. }
  270. func (x *Config) GetFragment() *Fragment {
  271. if x != nil {
  272. return x.Fragment
  273. }
  274. return nil
  275. }
  276. func (x *Config) GetProxyProtocol() uint32 {
  277. if x != nil {
  278. return x.ProxyProtocol
  279. }
  280. return 0
  281. }
  282. func (x *Config) GetNoises() []*Noise {
  283. if x != nil {
  284. return x.Noises
  285. }
  286. return nil
  287. }
  288. var File_proxy_freedom_config_proto protoreflect.FileDescriptor
  289. var file_proxy_freedom_config_proto_rawDesc = []byte{
  290. 0x0a, 0x1a, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x64, 0x6f, 0x6d, 0x2f,
  291. 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x78, 0x72,
  292. 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x66, 0x72, 0x65, 0x65, 0x64, 0x6f, 0x6d,
  293. 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
  294. 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72,
  295. 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69,
  296. 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70,
  297. 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x13, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74,
  298. 0x69, 0x6f, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x3c, 0x0a, 0x06, 0x73,
  299. 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x72,
  300. 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
  301. 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
  302. 0x74, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x22, 0x98, 0x02, 0x0a, 0x08, 0x46, 0x72,
  303. 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74,
  304. 0x73, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x61,
  305. 0x63, 0x6b, 0x65, 0x74, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x63,
  306. 0x6b, 0x65, 0x74, 0x73, 0x5f, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x70,
  307. 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x54, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x65, 0x6e, 0x67,
  308. 0x74, 0x68, 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6c, 0x65,
  309. 0x6e, 0x67, 0x74, 0x68, 0x4d, 0x69, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x65, 0x6e, 0x67, 0x74,
  310. 0x68, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6c, 0x65, 0x6e,
  311. 0x67, 0x74, 0x68, 0x4d, 0x61, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76,
  312. 0x61, 0x6c, 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x69, 0x6e,
  313. 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x69, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 0x74,
  314. 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52,
  315. 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x61, 0x78, 0x12, 0x22, 0x0a, 0x0d,
  316. 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x07, 0x20,
  317. 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x4d, 0x69, 0x6e,
  318. 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x5f, 0x6d, 0x61,
  319. 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x53, 0x70, 0x6c, 0x69,
  320. 0x74, 0x4d, 0x61, 0x78, 0x22, 0xb2, 0x01, 0x0a, 0x05, 0x4e, 0x6f, 0x69, 0x73, 0x65, 0x12, 0x1d,
  321. 0x0a, 0x0a, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01,
  322. 0x28, 0x04, 0x52, 0x09, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x4d, 0x69, 0x6e, 0x12, 0x1d, 0x0a,
  323. 0x0a, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28,
  324. 0x04, 0x52, 0x09, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x4d, 0x61, 0x78, 0x12, 0x1b, 0x0a, 0x09,
  325. 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52,
  326. 0x08, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x4d, 0x69, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x6c,
  327. 0x61, 0x79, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x64, 0x65,
  328. 0x6c, 0x61, 0x79, 0x4d, 0x61, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74,
  329. 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x19,
  330. 0x0a, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x74, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
  331. 0x52, 0x07, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x54, 0x6f, 0x22, 0xe9, 0x02, 0x0a, 0x06, 0x43, 0x6f,
  332. 0x6e, 0x66, 0x69, 0x67, 0x12, 0x50, 0x0a, 0x0f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x73,
  333. 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e,
  334. 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69,
  335. 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74,
  336. 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74,
  337. 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x5a, 0x0a, 0x14, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e,
  338. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x03,
  339. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78,
  340. 0x79, 0x2e, 0x66, 0x72, 0x65, 0x65, 0x64, 0x6f, 0x6d, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e,
  341. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x13, 0x64,
  342. 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69,
  343. 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c,
  344. 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65,
  345. 0x6c, 0x12, 0x38, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20,
  346. 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79,
  347. 0x2e, 0x66, 0x72, 0x65, 0x65, 0x64, 0x6f, 0x6d, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e,
  348. 0x74, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x70,
  349. 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x06, 0x20,
  350. 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
  351. 0x6f, 0x6c, 0x12, 0x31, 0x0a, 0x06, 0x6e, 0x6f, 0x69, 0x73, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03,
  352. 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
  353. 0x66, 0x72, 0x65, 0x65, 0x64, 0x6f, 0x6d, 0x2e, 0x4e, 0x6f, 0x69, 0x73, 0x65, 0x52, 0x06, 0x6e,
  354. 0x6f, 0x69, 0x73, 0x65, 0x73, 0x42, 0x58, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61,
  355. 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x66, 0x72, 0x65, 0x65, 0x64, 0x6f, 0x6d, 0x50,
  356. 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74,
  357. 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f,
  358. 0x78, 0x79, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x64, 0x6f, 0x6d, 0xaa, 0x02, 0x12, 0x58, 0x72, 0x61,
  359. 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x64, 0x6f, 0x6d, 0x62,
  360. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  361. }
  362. var (
  363. file_proxy_freedom_config_proto_rawDescOnce sync.Once
  364. file_proxy_freedom_config_proto_rawDescData = file_proxy_freedom_config_proto_rawDesc
  365. )
  366. func file_proxy_freedom_config_proto_rawDescGZIP() []byte {
  367. file_proxy_freedom_config_proto_rawDescOnce.Do(func() {
  368. file_proxy_freedom_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_freedom_config_proto_rawDescData)
  369. })
  370. return file_proxy_freedom_config_proto_rawDescData
  371. }
  372. var file_proxy_freedom_config_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  373. var file_proxy_freedom_config_proto_goTypes = []any{
  374. (*DestinationOverride)(nil), // 0: xray.proxy.freedom.DestinationOverride
  375. (*Fragment)(nil), // 1: xray.proxy.freedom.Fragment
  376. (*Noise)(nil), // 2: xray.proxy.freedom.Noise
  377. (*Config)(nil), // 3: xray.proxy.freedom.Config
  378. (*protocol.ServerEndpoint)(nil), // 4: xray.common.protocol.ServerEndpoint
  379. (internet.DomainStrategy)(0), // 5: xray.transport.internet.DomainStrategy
  380. }
  381. var file_proxy_freedom_config_proto_depIdxs = []int32{
  382. 4, // 0: xray.proxy.freedom.DestinationOverride.server:type_name -> xray.common.protocol.ServerEndpoint
  383. 5, // 1: xray.proxy.freedom.Config.domain_strategy:type_name -> xray.transport.internet.DomainStrategy
  384. 0, // 2: xray.proxy.freedom.Config.destination_override:type_name -> xray.proxy.freedom.DestinationOverride
  385. 1, // 3: xray.proxy.freedom.Config.fragment:type_name -> xray.proxy.freedom.Fragment
  386. 2, // 4: xray.proxy.freedom.Config.noises:type_name -> xray.proxy.freedom.Noise
  387. 5, // [5:5] is the sub-list for method output_type
  388. 5, // [5:5] is the sub-list for method input_type
  389. 5, // [5:5] is the sub-list for extension type_name
  390. 5, // [5:5] is the sub-list for extension extendee
  391. 0, // [0:5] is the sub-list for field type_name
  392. }
  393. func init() { file_proxy_freedom_config_proto_init() }
  394. func file_proxy_freedom_config_proto_init() {
  395. if File_proxy_freedom_config_proto != nil {
  396. return
  397. }
  398. type x struct{}
  399. out := protoimpl.TypeBuilder{
  400. File: protoimpl.DescBuilder{
  401. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  402. RawDescriptor: file_proxy_freedom_config_proto_rawDesc,
  403. NumEnums: 0,
  404. NumMessages: 4,
  405. NumExtensions: 0,
  406. NumServices: 0,
  407. },
  408. GoTypes: file_proxy_freedom_config_proto_goTypes,
  409. DependencyIndexes: file_proxy_freedom_config_proto_depIdxs,
  410. MessageInfos: file_proxy_freedom_config_proto_msgTypes,
  411. }.Build()
  412. File_proxy_freedom_config_proto = out.File
  413. file_proxy_freedom_config_proto_rawDesc = nil
  414. file_proxy_freedom_config_proto_goTypes = nil
  415. file_proxy_freedom_config_proto_depIdxs = nil
  416. }