config.pb.go 18 KB

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