bep.pb.go 83 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.1
  4. // protoc (unknown)
  5. // source: bep/bep.proto
  6. package bep
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type MessageType int32
  20. const (
  21. MessageType_MESSAGE_TYPE_CLUSTER_CONFIG MessageType = 0
  22. MessageType_MESSAGE_TYPE_INDEX MessageType = 1
  23. MessageType_MESSAGE_TYPE_INDEX_UPDATE MessageType = 2
  24. MessageType_MESSAGE_TYPE_REQUEST MessageType = 3
  25. MessageType_MESSAGE_TYPE_RESPONSE MessageType = 4
  26. MessageType_MESSAGE_TYPE_DOWNLOAD_PROGRESS MessageType = 5
  27. MessageType_MESSAGE_TYPE_PING MessageType = 6
  28. MessageType_MESSAGE_TYPE_CLOSE MessageType = 7
  29. )
  30. // Enum value maps for MessageType.
  31. var (
  32. MessageType_name = map[int32]string{
  33. 0: "MESSAGE_TYPE_CLUSTER_CONFIG",
  34. 1: "MESSAGE_TYPE_INDEX",
  35. 2: "MESSAGE_TYPE_INDEX_UPDATE",
  36. 3: "MESSAGE_TYPE_REQUEST",
  37. 4: "MESSAGE_TYPE_RESPONSE",
  38. 5: "MESSAGE_TYPE_DOWNLOAD_PROGRESS",
  39. 6: "MESSAGE_TYPE_PING",
  40. 7: "MESSAGE_TYPE_CLOSE",
  41. }
  42. MessageType_value = map[string]int32{
  43. "MESSAGE_TYPE_CLUSTER_CONFIG": 0,
  44. "MESSAGE_TYPE_INDEX": 1,
  45. "MESSAGE_TYPE_INDEX_UPDATE": 2,
  46. "MESSAGE_TYPE_REQUEST": 3,
  47. "MESSAGE_TYPE_RESPONSE": 4,
  48. "MESSAGE_TYPE_DOWNLOAD_PROGRESS": 5,
  49. "MESSAGE_TYPE_PING": 6,
  50. "MESSAGE_TYPE_CLOSE": 7,
  51. }
  52. )
  53. func (x MessageType) Enum() *MessageType {
  54. p := new(MessageType)
  55. *p = x
  56. return p
  57. }
  58. func (x MessageType) String() string {
  59. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  60. }
  61. func (MessageType) Descriptor() protoreflect.EnumDescriptor {
  62. return file_bep_bep_proto_enumTypes[0].Descriptor()
  63. }
  64. func (MessageType) Type() protoreflect.EnumType {
  65. return &file_bep_bep_proto_enumTypes[0]
  66. }
  67. func (x MessageType) Number() protoreflect.EnumNumber {
  68. return protoreflect.EnumNumber(x)
  69. }
  70. // Deprecated: Use MessageType.Descriptor instead.
  71. func (MessageType) EnumDescriptor() ([]byte, []int) {
  72. return file_bep_bep_proto_rawDescGZIP(), []int{0}
  73. }
  74. type MessageCompression int32
  75. const (
  76. MessageCompression_MESSAGE_COMPRESSION_NONE MessageCompression = 0
  77. MessageCompression_MESSAGE_COMPRESSION_LZ4 MessageCompression = 1
  78. )
  79. // Enum value maps for MessageCompression.
  80. var (
  81. MessageCompression_name = map[int32]string{
  82. 0: "MESSAGE_COMPRESSION_NONE",
  83. 1: "MESSAGE_COMPRESSION_LZ4",
  84. }
  85. MessageCompression_value = map[string]int32{
  86. "MESSAGE_COMPRESSION_NONE": 0,
  87. "MESSAGE_COMPRESSION_LZ4": 1,
  88. }
  89. )
  90. func (x MessageCompression) Enum() *MessageCompression {
  91. p := new(MessageCompression)
  92. *p = x
  93. return p
  94. }
  95. func (x MessageCompression) String() string {
  96. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  97. }
  98. func (MessageCompression) Descriptor() protoreflect.EnumDescriptor {
  99. return file_bep_bep_proto_enumTypes[1].Descriptor()
  100. }
  101. func (MessageCompression) Type() protoreflect.EnumType {
  102. return &file_bep_bep_proto_enumTypes[1]
  103. }
  104. func (x MessageCompression) Number() protoreflect.EnumNumber {
  105. return protoreflect.EnumNumber(x)
  106. }
  107. // Deprecated: Use MessageCompression.Descriptor instead.
  108. func (MessageCompression) EnumDescriptor() ([]byte, []int) {
  109. return file_bep_bep_proto_rawDescGZIP(), []int{1}
  110. }
  111. type Compression int32
  112. const (
  113. Compression_COMPRESSION_METADATA Compression = 0
  114. Compression_COMPRESSION_NEVER Compression = 1
  115. Compression_COMPRESSION_ALWAYS Compression = 2
  116. )
  117. // Enum value maps for Compression.
  118. var (
  119. Compression_name = map[int32]string{
  120. 0: "COMPRESSION_METADATA",
  121. 1: "COMPRESSION_NEVER",
  122. 2: "COMPRESSION_ALWAYS",
  123. }
  124. Compression_value = map[string]int32{
  125. "COMPRESSION_METADATA": 0,
  126. "COMPRESSION_NEVER": 1,
  127. "COMPRESSION_ALWAYS": 2,
  128. }
  129. )
  130. func (x Compression) Enum() *Compression {
  131. p := new(Compression)
  132. *p = x
  133. return p
  134. }
  135. func (x Compression) String() string {
  136. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  137. }
  138. func (Compression) Descriptor() protoreflect.EnumDescriptor {
  139. return file_bep_bep_proto_enumTypes[2].Descriptor()
  140. }
  141. func (Compression) Type() protoreflect.EnumType {
  142. return &file_bep_bep_proto_enumTypes[2]
  143. }
  144. func (x Compression) Number() protoreflect.EnumNumber {
  145. return protoreflect.EnumNumber(x)
  146. }
  147. // Deprecated: Use Compression.Descriptor instead.
  148. func (Compression) EnumDescriptor() ([]byte, []int) {
  149. return file_bep_bep_proto_rawDescGZIP(), []int{2}
  150. }
  151. type FolderType int32
  152. const (
  153. FolderType_FOLDER_TYPE_SEND_RECEIVE FolderType = 0
  154. FolderType_FOLDER_TYPE_SEND_ONLY FolderType = 1
  155. FolderType_FOLDER_TYPE_RECEIVE_ONLY FolderType = 2
  156. FolderType_FOLDER_TYPE_RECEIVE_ENCRYPTED FolderType = 3
  157. )
  158. // Enum value maps for FolderType.
  159. var (
  160. FolderType_name = map[int32]string{
  161. 0: "FOLDER_TYPE_SEND_RECEIVE",
  162. 1: "FOLDER_TYPE_SEND_ONLY",
  163. 2: "FOLDER_TYPE_RECEIVE_ONLY",
  164. 3: "FOLDER_TYPE_RECEIVE_ENCRYPTED",
  165. }
  166. FolderType_value = map[string]int32{
  167. "FOLDER_TYPE_SEND_RECEIVE": 0,
  168. "FOLDER_TYPE_SEND_ONLY": 1,
  169. "FOLDER_TYPE_RECEIVE_ONLY": 2,
  170. "FOLDER_TYPE_RECEIVE_ENCRYPTED": 3,
  171. }
  172. )
  173. func (x FolderType) Enum() *FolderType {
  174. p := new(FolderType)
  175. *p = x
  176. return p
  177. }
  178. func (x FolderType) String() string {
  179. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  180. }
  181. func (FolderType) Descriptor() protoreflect.EnumDescriptor {
  182. return file_bep_bep_proto_enumTypes[3].Descriptor()
  183. }
  184. func (FolderType) Type() protoreflect.EnumType {
  185. return &file_bep_bep_proto_enumTypes[3]
  186. }
  187. func (x FolderType) Number() protoreflect.EnumNumber {
  188. return protoreflect.EnumNumber(x)
  189. }
  190. // Deprecated: Use FolderType.Descriptor instead.
  191. func (FolderType) EnumDescriptor() ([]byte, []int) {
  192. return file_bep_bep_proto_rawDescGZIP(), []int{3}
  193. }
  194. type FolderStopReason int32
  195. const (
  196. FolderStopReason_FOLDER_STOP_REASON_RUNNING FolderStopReason = 0 // i.e., not stopped
  197. FolderStopReason_FOLDER_STOP_REASON_PAUSED FolderStopReason = 1
  198. )
  199. // Enum value maps for FolderStopReason.
  200. var (
  201. FolderStopReason_name = map[int32]string{
  202. 0: "FOLDER_STOP_REASON_RUNNING",
  203. 1: "FOLDER_STOP_REASON_PAUSED",
  204. }
  205. FolderStopReason_value = map[string]int32{
  206. "FOLDER_STOP_REASON_RUNNING": 0,
  207. "FOLDER_STOP_REASON_PAUSED": 1,
  208. }
  209. )
  210. func (x FolderStopReason) Enum() *FolderStopReason {
  211. p := new(FolderStopReason)
  212. *p = x
  213. return p
  214. }
  215. func (x FolderStopReason) String() string {
  216. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  217. }
  218. func (FolderStopReason) Descriptor() protoreflect.EnumDescriptor {
  219. return file_bep_bep_proto_enumTypes[4].Descriptor()
  220. }
  221. func (FolderStopReason) Type() protoreflect.EnumType {
  222. return &file_bep_bep_proto_enumTypes[4]
  223. }
  224. func (x FolderStopReason) Number() protoreflect.EnumNumber {
  225. return protoreflect.EnumNumber(x)
  226. }
  227. // Deprecated: Use FolderStopReason.Descriptor instead.
  228. func (FolderStopReason) EnumDescriptor() ([]byte, []int) {
  229. return file_bep_bep_proto_rawDescGZIP(), []int{4}
  230. }
  231. type FileInfoType int32
  232. const (
  233. FileInfoType_FILE_INFO_TYPE_FILE FileInfoType = 0
  234. FileInfoType_FILE_INFO_TYPE_DIRECTORY FileInfoType = 1
  235. // Deprecated: Marked as deprecated in bep/bep.proto.
  236. FileInfoType_FILE_INFO_TYPE_SYMLINK_FILE FileInfoType = 2
  237. // Deprecated: Marked as deprecated in bep/bep.proto.
  238. FileInfoType_FILE_INFO_TYPE_SYMLINK_DIRECTORY FileInfoType = 3
  239. FileInfoType_FILE_INFO_TYPE_SYMLINK FileInfoType = 4
  240. )
  241. // Enum value maps for FileInfoType.
  242. var (
  243. FileInfoType_name = map[int32]string{
  244. 0: "FILE_INFO_TYPE_FILE",
  245. 1: "FILE_INFO_TYPE_DIRECTORY",
  246. 2: "FILE_INFO_TYPE_SYMLINK_FILE",
  247. 3: "FILE_INFO_TYPE_SYMLINK_DIRECTORY",
  248. 4: "FILE_INFO_TYPE_SYMLINK",
  249. }
  250. FileInfoType_value = map[string]int32{
  251. "FILE_INFO_TYPE_FILE": 0,
  252. "FILE_INFO_TYPE_DIRECTORY": 1,
  253. "FILE_INFO_TYPE_SYMLINK_FILE": 2,
  254. "FILE_INFO_TYPE_SYMLINK_DIRECTORY": 3,
  255. "FILE_INFO_TYPE_SYMLINK": 4,
  256. }
  257. )
  258. func (x FileInfoType) Enum() *FileInfoType {
  259. p := new(FileInfoType)
  260. *p = x
  261. return p
  262. }
  263. func (x FileInfoType) String() string {
  264. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  265. }
  266. func (FileInfoType) Descriptor() protoreflect.EnumDescriptor {
  267. return file_bep_bep_proto_enumTypes[5].Descriptor()
  268. }
  269. func (FileInfoType) Type() protoreflect.EnumType {
  270. return &file_bep_bep_proto_enumTypes[5]
  271. }
  272. func (x FileInfoType) Number() protoreflect.EnumNumber {
  273. return protoreflect.EnumNumber(x)
  274. }
  275. // Deprecated: Use FileInfoType.Descriptor instead.
  276. func (FileInfoType) EnumDescriptor() ([]byte, []int) {
  277. return file_bep_bep_proto_rawDescGZIP(), []int{5}
  278. }
  279. type ErrorCode int32
  280. const (
  281. ErrorCode_ERROR_CODE_NO_ERROR ErrorCode = 0
  282. ErrorCode_ERROR_CODE_GENERIC ErrorCode = 1
  283. ErrorCode_ERROR_CODE_NO_SUCH_FILE ErrorCode = 2
  284. ErrorCode_ERROR_CODE_INVALID_FILE ErrorCode = 3
  285. )
  286. // Enum value maps for ErrorCode.
  287. var (
  288. ErrorCode_name = map[int32]string{
  289. 0: "ERROR_CODE_NO_ERROR",
  290. 1: "ERROR_CODE_GENERIC",
  291. 2: "ERROR_CODE_NO_SUCH_FILE",
  292. 3: "ERROR_CODE_INVALID_FILE",
  293. }
  294. ErrorCode_value = map[string]int32{
  295. "ERROR_CODE_NO_ERROR": 0,
  296. "ERROR_CODE_GENERIC": 1,
  297. "ERROR_CODE_NO_SUCH_FILE": 2,
  298. "ERROR_CODE_INVALID_FILE": 3,
  299. }
  300. )
  301. func (x ErrorCode) Enum() *ErrorCode {
  302. p := new(ErrorCode)
  303. *p = x
  304. return p
  305. }
  306. func (x ErrorCode) String() string {
  307. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  308. }
  309. func (ErrorCode) Descriptor() protoreflect.EnumDescriptor {
  310. return file_bep_bep_proto_enumTypes[6].Descriptor()
  311. }
  312. func (ErrorCode) Type() protoreflect.EnumType {
  313. return &file_bep_bep_proto_enumTypes[6]
  314. }
  315. func (x ErrorCode) Number() protoreflect.EnumNumber {
  316. return protoreflect.EnumNumber(x)
  317. }
  318. // Deprecated: Use ErrorCode.Descriptor instead.
  319. func (ErrorCode) EnumDescriptor() ([]byte, []int) {
  320. return file_bep_bep_proto_rawDescGZIP(), []int{6}
  321. }
  322. type FileDownloadProgressUpdateType int32
  323. const (
  324. FileDownloadProgressUpdateType_FILE_DOWNLOAD_PROGRESS_UPDATE_TYPE_APPEND FileDownloadProgressUpdateType = 0
  325. FileDownloadProgressUpdateType_FILE_DOWNLOAD_PROGRESS_UPDATE_TYPE_FORGET FileDownloadProgressUpdateType = 1
  326. )
  327. // Enum value maps for FileDownloadProgressUpdateType.
  328. var (
  329. FileDownloadProgressUpdateType_name = map[int32]string{
  330. 0: "FILE_DOWNLOAD_PROGRESS_UPDATE_TYPE_APPEND",
  331. 1: "FILE_DOWNLOAD_PROGRESS_UPDATE_TYPE_FORGET",
  332. }
  333. FileDownloadProgressUpdateType_value = map[string]int32{
  334. "FILE_DOWNLOAD_PROGRESS_UPDATE_TYPE_APPEND": 0,
  335. "FILE_DOWNLOAD_PROGRESS_UPDATE_TYPE_FORGET": 1,
  336. }
  337. )
  338. func (x FileDownloadProgressUpdateType) Enum() *FileDownloadProgressUpdateType {
  339. p := new(FileDownloadProgressUpdateType)
  340. *p = x
  341. return p
  342. }
  343. func (x FileDownloadProgressUpdateType) String() string {
  344. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  345. }
  346. func (FileDownloadProgressUpdateType) Descriptor() protoreflect.EnumDescriptor {
  347. return file_bep_bep_proto_enumTypes[7].Descriptor()
  348. }
  349. func (FileDownloadProgressUpdateType) Type() protoreflect.EnumType {
  350. return &file_bep_bep_proto_enumTypes[7]
  351. }
  352. func (x FileDownloadProgressUpdateType) Number() protoreflect.EnumNumber {
  353. return protoreflect.EnumNumber(x)
  354. }
  355. // Deprecated: Use FileDownloadProgressUpdateType.Descriptor instead.
  356. func (FileDownloadProgressUpdateType) EnumDescriptor() ([]byte, []int) {
  357. return file_bep_bep_proto_rawDescGZIP(), []int{7}
  358. }
  359. type Hello struct {
  360. state protoimpl.MessageState
  361. sizeCache protoimpl.SizeCache
  362. unknownFields protoimpl.UnknownFields
  363. DeviceName string `protobuf:"bytes,1,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
  364. ClientName string `protobuf:"bytes,2,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"`
  365. ClientVersion string `protobuf:"bytes,3,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
  366. NumConnections int32 `protobuf:"varint,4,opt,name=num_connections,json=numConnections,proto3" json:"num_connections,omitempty"`
  367. Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
  368. }
  369. func (x *Hello) Reset() {
  370. *x = Hello{}
  371. mi := &file_bep_bep_proto_msgTypes[0]
  372. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  373. ms.StoreMessageInfo(mi)
  374. }
  375. func (x *Hello) String() string {
  376. return protoimpl.X.MessageStringOf(x)
  377. }
  378. func (*Hello) ProtoMessage() {}
  379. func (x *Hello) ProtoReflect() protoreflect.Message {
  380. mi := &file_bep_bep_proto_msgTypes[0]
  381. if x != nil {
  382. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  383. if ms.LoadMessageInfo() == nil {
  384. ms.StoreMessageInfo(mi)
  385. }
  386. return ms
  387. }
  388. return mi.MessageOf(x)
  389. }
  390. // Deprecated: Use Hello.ProtoReflect.Descriptor instead.
  391. func (*Hello) Descriptor() ([]byte, []int) {
  392. return file_bep_bep_proto_rawDescGZIP(), []int{0}
  393. }
  394. func (x *Hello) GetDeviceName() string {
  395. if x != nil {
  396. return x.DeviceName
  397. }
  398. return ""
  399. }
  400. func (x *Hello) GetClientName() string {
  401. if x != nil {
  402. return x.ClientName
  403. }
  404. return ""
  405. }
  406. func (x *Hello) GetClientVersion() string {
  407. if x != nil {
  408. return x.ClientVersion
  409. }
  410. return ""
  411. }
  412. func (x *Hello) GetNumConnections() int32 {
  413. if x != nil {
  414. return x.NumConnections
  415. }
  416. return 0
  417. }
  418. func (x *Hello) GetTimestamp() int64 {
  419. if x != nil {
  420. return x.Timestamp
  421. }
  422. return 0
  423. }
  424. type Header struct {
  425. state protoimpl.MessageState
  426. sizeCache protoimpl.SizeCache
  427. unknownFields protoimpl.UnknownFields
  428. Type MessageType `protobuf:"varint,1,opt,name=type,proto3,enum=bep.MessageType" json:"type,omitempty"`
  429. Compression MessageCompression `protobuf:"varint,2,opt,name=compression,proto3,enum=bep.MessageCompression" json:"compression,omitempty"`
  430. }
  431. func (x *Header) Reset() {
  432. *x = Header{}
  433. mi := &file_bep_bep_proto_msgTypes[1]
  434. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  435. ms.StoreMessageInfo(mi)
  436. }
  437. func (x *Header) String() string {
  438. return protoimpl.X.MessageStringOf(x)
  439. }
  440. func (*Header) ProtoMessage() {}
  441. func (x *Header) ProtoReflect() protoreflect.Message {
  442. mi := &file_bep_bep_proto_msgTypes[1]
  443. if x != nil {
  444. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  445. if ms.LoadMessageInfo() == nil {
  446. ms.StoreMessageInfo(mi)
  447. }
  448. return ms
  449. }
  450. return mi.MessageOf(x)
  451. }
  452. // Deprecated: Use Header.ProtoReflect.Descriptor instead.
  453. func (*Header) Descriptor() ([]byte, []int) {
  454. return file_bep_bep_proto_rawDescGZIP(), []int{1}
  455. }
  456. func (x *Header) GetType() MessageType {
  457. if x != nil {
  458. return x.Type
  459. }
  460. return MessageType_MESSAGE_TYPE_CLUSTER_CONFIG
  461. }
  462. func (x *Header) GetCompression() MessageCompression {
  463. if x != nil {
  464. return x.Compression
  465. }
  466. return MessageCompression_MESSAGE_COMPRESSION_NONE
  467. }
  468. type ClusterConfig struct {
  469. state protoimpl.MessageState
  470. sizeCache protoimpl.SizeCache
  471. unknownFields protoimpl.UnknownFields
  472. Folders []*Folder `protobuf:"bytes,1,rep,name=folders,proto3" json:"folders,omitempty"`
  473. Secondary bool `protobuf:"varint,2,opt,name=secondary,proto3" json:"secondary,omitempty"`
  474. }
  475. func (x *ClusterConfig) Reset() {
  476. *x = ClusterConfig{}
  477. mi := &file_bep_bep_proto_msgTypes[2]
  478. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  479. ms.StoreMessageInfo(mi)
  480. }
  481. func (x *ClusterConfig) String() string {
  482. return protoimpl.X.MessageStringOf(x)
  483. }
  484. func (*ClusterConfig) ProtoMessage() {}
  485. func (x *ClusterConfig) ProtoReflect() protoreflect.Message {
  486. mi := &file_bep_bep_proto_msgTypes[2]
  487. if x != nil {
  488. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  489. if ms.LoadMessageInfo() == nil {
  490. ms.StoreMessageInfo(mi)
  491. }
  492. return ms
  493. }
  494. return mi.MessageOf(x)
  495. }
  496. // Deprecated: Use ClusterConfig.ProtoReflect.Descriptor instead.
  497. func (*ClusterConfig) Descriptor() ([]byte, []int) {
  498. return file_bep_bep_proto_rawDescGZIP(), []int{2}
  499. }
  500. func (x *ClusterConfig) GetFolders() []*Folder {
  501. if x != nil {
  502. return x.Folders
  503. }
  504. return nil
  505. }
  506. func (x *ClusterConfig) GetSecondary() bool {
  507. if x != nil {
  508. return x.Secondary
  509. }
  510. return false
  511. }
  512. type Folder struct {
  513. state protoimpl.MessageState
  514. sizeCache protoimpl.SizeCache
  515. unknownFields protoimpl.UnknownFields
  516. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  517. Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
  518. Type FolderType `protobuf:"varint,3,opt,name=type,proto3,enum=bep.FolderType" json:"type,omitempty"`
  519. StopReason FolderStopReason `protobuf:"varint,7,opt,name=stop_reason,json=stopReason,proto3,enum=bep.FolderStopReason" json:"stop_reason,omitempty"`
  520. Devices []*Device `protobuf:"bytes,16,rep,name=devices,proto3" json:"devices,omitempty"`
  521. }
  522. func (x *Folder) Reset() {
  523. *x = Folder{}
  524. mi := &file_bep_bep_proto_msgTypes[3]
  525. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  526. ms.StoreMessageInfo(mi)
  527. }
  528. func (x *Folder) String() string {
  529. return protoimpl.X.MessageStringOf(x)
  530. }
  531. func (*Folder) ProtoMessage() {}
  532. func (x *Folder) ProtoReflect() protoreflect.Message {
  533. mi := &file_bep_bep_proto_msgTypes[3]
  534. if x != nil {
  535. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  536. if ms.LoadMessageInfo() == nil {
  537. ms.StoreMessageInfo(mi)
  538. }
  539. return ms
  540. }
  541. return mi.MessageOf(x)
  542. }
  543. // Deprecated: Use Folder.ProtoReflect.Descriptor instead.
  544. func (*Folder) Descriptor() ([]byte, []int) {
  545. return file_bep_bep_proto_rawDescGZIP(), []int{3}
  546. }
  547. func (x *Folder) GetId() string {
  548. if x != nil {
  549. return x.Id
  550. }
  551. return ""
  552. }
  553. func (x *Folder) GetLabel() string {
  554. if x != nil {
  555. return x.Label
  556. }
  557. return ""
  558. }
  559. func (x *Folder) GetType() FolderType {
  560. if x != nil {
  561. return x.Type
  562. }
  563. return FolderType_FOLDER_TYPE_SEND_RECEIVE
  564. }
  565. func (x *Folder) GetStopReason() FolderStopReason {
  566. if x != nil {
  567. return x.StopReason
  568. }
  569. return FolderStopReason_FOLDER_STOP_REASON_RUNNING
  570. }
  571. func (x *Folder) GetDevices() []*Device {
  572. if x != nil {
  573. return x.Devices
  574. }
  575. return nil
  576. }
  577. type Device struct {
  578. state protoimpl.MessageState
  579. sizeCache protoimpl.SizeCache
  580. unknownFields protoimpl.UnknownFields
  581. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  582. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  583. Addresses []string `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"`
  584. Compression Compression `protobuf:"varint,4,opt,name=compression,proto3,enum=bep.Compression" json:"compression,omitempty"`
  585. CertName string `protobuf:"bytes,5,opt,name=cert_name,json=certName,proto3" json:"cert_name,omitempty"`
  586. MaxSequence int64 `protobuf:"varint,6,opt,name=max_sequence,json=maxSequence,proto3" json:"max_sequence,omitempty"`
  587. Introducer bool `protobuf:"varint,7,opt,name=introducer,proto3" json:"introducer,omitempty"`
  588. IndexId uint64 `protobuf:"varint,8,opt,name=index_id,json=indexId,proto3" json:"index_id,omitempty"`
  589. SkipIntroductionRemovals bool `protobuf:"varint,9,opt,name=skip_introduction_removals,json=skipIntroductionRemovals,proto3" json:"skip_introduction_removals,omitempty"`
  590. EncryptionPasswordToken []byte `protobuf:"bytes,10,opt,name=encryption_password_token,json=encryptionPasswordToken,proto3" json:"encryption_password_token,omitempty"`
  591. }
  592. func (x *Device) Reset() {
  593. *x = Device{}
  594. mi := &file_bep_bep_proto_msgTypes[4]
  595. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  596. ms.StoreMessageInfo(mi)
  597. }
  598. func (x *Device) String() string {
  599. return protoimpl.X.MessageStringOf(x)
  600. }
  601. func (*Device) ProtoMessage() {}
  602. func (x *Device) ProtoReflect() protoreflect.Message {
  603. mi := &file_bep_bep_proto_msgTypes[4]
  604. if x != nil {
  605. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  606. if ms.LoadMessageInfo() == nil {
  607. ms.StoreMessageInfo(mi)
  608. }
  609. return ms
  610. }
  611. return mi.MessageOf(x)
  612. }
  613. // Deprecated: Use Device.ProtoReflect.Descriptor instead.
  614. func (*Device) Descriptor() ([]byte, []int) {
  615. return file_bep_bep_proto_rawDescGZIP(), []int{4}
  616. }
  617. func (x *Device) GetId() []byte {
  618. if x != nil {
  619. return x.Id
  620. }
  621. return nil
  622. }
  623. func (x *Device) GetName() string {
  624. if x != nil {
  625. return x.Name
  626. }
  627. return ""
  628. }
  629. func (x *Device) GetAddresses() []string {
  630. if x != nil {
  631. return x.Addresses
  632. }
  633. return nil
  634. }
  635. func (x *Device) GetCompression() Compression {
  636. if x != nil {
  637. return x.Compression
  638. }
  639. return Compression_COMPRESSION_METADATA
  640. }
  641. func (x *Device) GetCertName() string {
  642. if x != nil {
  643. return x.CertName
  644. }
  645. return ""
  646. }
  647. func (x *Device) GetMaxSequence() int64 {
  648. if x != nil {
  649. return x.MaxSequence
  650. }
  651. return 0
  652. }
  653. func (x *Device) GetIntroducer() bool {
  654. if x != nil {
  655. return x.Introducer
  656. }
  657. return false
  658. }
  659. func (x *Device) GetIndexId() uint64 {
  660. if x != nil {
  661. return x.IndexId
  662. }
  663. return 0
  664. }
  665. func (x *Device) GetSkipIntroductionRemovals() bool {
  666. if x != nil {
  667. return x.SkipIntroductionRemovals
  668. }
  669. return false
  670. }
  671. func (x *Device) GetEncryptionPasswordToken() []byte {
  672. if x != nil {
  673. return x.EncryptionPasswordToken
  674. }
  675. return nil
  676. }
  677. type Index struct {
  678. state protoimpl.MessageState
  679. sizeCache protoimpl.SizeCache
  680. unknownFields protoimpl.UnknownFields
  681. Folder string `protobuf:"bytes,1,opt,name=folder,proto3" json:"folder,omitempty"`
  682. Files []*FileInfo `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
  683. LastSequence int64 `protobuf:"varint,3,opt,name=last_sequence,json=lastSequence,proto3" json:"last_sequence,omitempty"` // the highest sequence in this batch
  684. }
  685. func (x *Index) Reset() {
  686. *x = Index{}
  687. mi := &file_bep_bep_proto_msgTypes[5]
  688. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  689. ms.StoreMessageInfo(mi)
  690. }
  691. func (x *Index) String() string {
  692. return protoimpl.X.MessageStringOf(x)
  693. }
  694. func (*Index) ProtoMessage() {}
  695. func (x *Index) ProtoReflect() protoreflect.Message {
  696. mi := &file_bep_bep_proto_msgTypes[5]
  697. if x != nil {
  698. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  699. if ms.LoadMessageInfo() == nil {
  700. ms.StoreMessageInfo(mi)
  701. }
  702. return ms
  703. }
  704. return mi.MessageOf(x)
  705. }
  706. // Deprecated: Use Index.ProtoReflect.Descriptor instead.
  707. func (*Index) Descriptor() ([]byte, []int) {
  708. return file_bep_bep_proto_rawDescGZIP(), []int{5}
  709. }
  710. func (x *Index) GetFolder() string {
  711. if x != nil {
  712. return x.Folder
  713. }
  714. return ""
  715. }
  716. func (x *Index) GetFiles() []*FileInfo {
  717. if x != nil {
  718. return x.Files
  719. }
  720. return nil
  721. }
  722. func (x *Index) GetLastSequence() int64 {
  723. if x != nil {
  724. return x.LastSequence
  725. }
  726. return 0
  727. }
  728. type IndexUpdate struct {
  729. state protoimpl.MessageState
  730. sizeCache protoimpl.SizeCache
  731. unknownFields protoimpl.UnknownFields
  732. Folder string `protobuf:"bytes,1,opt,name=folder,proto3" json:"folder,omitempty"`
  733. Files []*FileInfo `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
  734. LastSequence int64 `protobuf:"varint,3,opt,name=last_sequence,json=lastSequence,proto3" json:"last_sequence,omitempty"` // the highest sequence in this batch
  735. PrevSequence int64 `protobuf:"varint,4,opt,name=prev_sequence,json=prevSequence,proto3" json:"prev_sequence,omitempty"` // the highest sequence in the previous batch
  736. }
  737. func (x *IndexUpdate) Reset() {
  738. *x = IndexUpdate{}
  739. mi := &file_bep_bep_proto_msgTypes[6]
  740. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  741. ms.StoreMessageInfo(mi)
  742. }
  743. func (x *IndexUpdate) String() string {
  744. return protoimpl.X.MessageStringOf(x)
  745. }
  746. func (*IndexUpdate) ProtoMessage() {}
  747. func (x *IndexUpdate) ProtoReflect() protoreflect.Message {
  748. mi := &file_bep_bep_proto_msgTypes[6]
  749. if x != nil {
  750. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  751. if ms.LoadMessageInfo() == nil {
  752. ms.StoreMessageInfo(mi)
  753. }
  754. return ms
  755. }
  756. return mi.MessageOf(x)
  757. }
  758. // Deprecated: Use IndexUpdate.ProtoReflect.Descriptor instead.
  759. func (*IndexUpdate) Descriptor() ([]byte, []int) {
  760. return file_bep_bep_proto_rawDescGZIP(), []int{6}
  761. }
  762. func (x *IndexUpdate) GetFolder() string {
  763. if x != nil {
  764. return x.Folder
  765. }
  766. return ""
  767. }
  768. func (x *IndexUpdate) GetFiles() []*FileInfo {
  769. if x != nil {
  770. return x.Files
  771. }
  772. return nil
  773. }
  774. func (x *IndexUpdate) GetLastSequence() int64 {
  775. if x != nil {
  776. return x.LastSequence
  777. }
  778. return 0
  779. }
  780. func (x *IndexUpdate) GetPrevSequence() int64 {
  781. if x != nil {
  782. return x.PrevSequence
  783. }
  784. return 0
  785. }
  786. type FileInfo struct {
  787. state protoimpl.MessageState
  788. sizeCache protoimpl.SizeCache
  789. unknownFields protoimpl.UnknownFields
  790. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  791. Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
  792. ModifiedS int64 `protobuf:"varint,5,opt,name=modified_s,json=modifiedS,proto3" json:"modified_s,omitempty"`
  793. ModifiedBy uint64 `protobuf:"varint,12,opt,name=modified_by,json=modifiedBy,proto3" json:"modified_by,omitempty"`
  794. Version *Vector `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"`
  795. Sequence int64 `protobuf:"varint,10,opt,name=sequence,proto3" json:"sequence,omitempty"`
  796. Blocks []*BlockInfo `protobuf:"bytes,16,rep,name=blocks,proto3" json:"blocks,omitempty"`
  797. SymlinkTarget []byte `protobuf:"bytes,17,opt,name=symlink_target,json=symlinkTarget,proto3" json:"symlink_target,omitempty"`
  798. BlocksHash []byte `protobuf:"bytes,18,opt,name=blocks_hash,json=blocksHash,proto3" json:"blocks_hash,omitempty"`
  799. PreviousBlocksHash []byte `protobuf:"bytes,20,opt,name=previous_blocks_hash,json=previousBlocksHash,proto3" json:"previous_blocks_hash,omitempty"`
  800. Encrypted []byte `protobuf:"bytes,19,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
  801. Type FileInfoType `protobuf:"varint,2,opt,name=type,proto3,enum=bep.FileInfoType" json:"type,omitempty"`
  802. Permissions uint32 `protobuf:"varint,4,opt,name=permissions,proto3" json:"permissions,omitempty"`
  803. ModifiedNs int32 `protobuf:"varint,11,opt,name=modified_ns,json=modifiedNs,proto3" json:"modified_ns,omitempty"`
  804. BlockSize int32 `protobuf:"varint,13,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
  805. Platform *PlatformData `protobuf:"bytes,14,opt,name=platform,proto3" json:"platform,omitempty"`
  806. // The local_flags fields stores flags that are relevant to the local
  807. // host only. It is not part of the protocol, doesn't get sent or
  808. // received (we make sure to zero it), nonetheless we need it on our
  809. // struct and to be able to serialize it to/from the database.
  810. LocalFlags uint32 `protobuf:"varint,1000,opt,name=local_flags,json=localFlags,proto3" json:"local_flags,omitempty"`
  811. // The version_hash is an implementation detail and not part of the wire
  812. // format. It is used in the old database format.
  813. VersionHash []byte `protobuf:"bytes,1001,opt,name=version_hash,json=versionHash,proto3" json:"version_hash,omitempty"`
  814. // The time when the inode was last changed (i.e., permissions, xattrs
  815. // etc changed). This is host-local, not sent over the wire.
  816. InodeChangeNs int64 `protobuf:"varint,1002,opt,name=inode_change_ns,json=inodeChangeNs,proto3" json:"inode_change_ns,omitempty"`
  817. // The size of the data appended to the encrypted file on disk. This is
  818. // host-local, not sent over the wire.
  819. EncryptionTrailerSize int32 `protobuf:"varint,1003,opt,name=encryption_trailer_size,json=encryptionTrailerSize,proto3" json:"encryption_trailer_size,omitempty"`
  820. Deleted bool `protobuf:"varint,6,opt,name=deleted,proto3" json:"deleted,omitempty"`
  821. Invalid bool `protobuf:"varint,7,opt,name=invalid,proto3" json:"invalid,omitempty"`
  822. NoPermissions bool `protobuf:"varint,8,opt,name=no_permissions,json=noPermissions,proto3" json:"no_permissions,omitempty"`
  823. }
  824. func (x *FileInfo) Reset() {
  825. *x = FileInfo{}
  826. mi := &file_bep_bep_proto_msgTypes[7]
  827. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  828. ms.StoreMessageInfo(mi)
  829. }
  830. func (x *FileInfo) String() string {
  831. return protoimpl.X.MessageStringOf(x)
  832. }
  833. func (*FileInfo) ProtoMessage() {}
  834. func (x *FileInfo) ProtoReflect() protoreflect.Message {
  835. mi := &file_bep_bep_proto_msgTypes[7]
  836. if x != nil {
  837. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  838. if ms.LoadMessageInfo() == nil {
  839. ms.StoreMessageInfo(mi)
  840. }
  841. return ms
  842. }
  843. return mi.MessageOf(x)
  844. }
  845. // Deprecated: Use FileInfo.ProtoReflect.Descriptor instead.
  846. func (*FileInfo) Descriptor() ([]byte, []int) {
  847. return file_bep_bep_proto_rawDescGZIP(), []int{7}
  848. }
  849. func (x *FileInfo) GetName() string {
  850. if x != nil {
  851. return x.Name
  852. }
  853. return ""
  854. }
  855. func (x *FileInfo) GetSize() int64 {
  856. if x != nil {
  857. return x.Size
  858. }
  859. return 0
  860. }
  861. func (x *FileInfo) GetModifiedS() int64 {
  862. if x != nil {
  863. return x.ModifiedS
  864. }
  865. return 0
  866. }
  867. func (x *FileInfo) GetModifiedBy() uint64 {
  868. if x != nil {
  869. return x.ModifiedBy
  870. }
  871. return 0
  872. }
  873. func (x *FileInfo) GetVersion() *Vector {
  874. if x != nil {
  875. return x.Version
  876. }
  877. return nil
  878. }
  879. func (x *FileInfo) GetSequence() int64 {
  880. if x != nil {
  881. return x.Sequence
  882. }
  883. return 0
  884. }
  885. func (x *FileInfo) GetBlocks() []*BlockInfo {
  886. if x != nil {
  887. return x.Blocks
  888. }
  889. return nil
  890. }
  891. func (x *FileInfo) GetSymlinkTarget() []byte {
  892. if x != nil {
  893. return x.SymlinkTarget
  894. }
  895. return nil
  896. }
  897. func (x *FileInfo) GetBlocksHash() []byte {
  898. if x != nil {
  899. return x.BlocksHash
  900. }
  901. return nil
  902. }
  903. func (x *FileInfo) GetPreviousBlocksHash() []byte {
  904. if x != nil {
  905. return x.PreviousBlocksHash
  906. }
  907. return nil
  908. }
  909. func (x *FileInfo) GetEncrypted() []byte {
  910. if x != nil {
  911. return x.Encrypted
  912. }
  913. return nil
  914. }
  915. func (x *FileInfo) GetType() FileInfoType {
  916. if x != nil {
  917. return x.Type
  918. }
  919. return FileInfoType_FILE_INFO_TYPE_FILE
  920. }
  921. func (x *FileInfo) GetPermissions() uint32 {
  922. if x != nil {
  923. return x.Permissions
  924. }
  925. return 0
  926. }
  927. func (x *FileInfo) GetModifiedNs() int32 {
  928. if x != nil {
  929. return x.ModifiedNs
  930. }
  931. return 0
  932. }
  933. func (x *FileInfo) GetBlockSize() int32 {
  934. if x != nil {
  935. return x.BlockSize
  936. }
  937. return 0
  938. }
  939. func (x *FileInfo) GetPlatform() *PlatformData {
  940. if x != nil {
  941. return x.Platform
  942. }
  943. return nil
  944. }
  945. func (x *FileInfo) GetLocalFlags() uint32 {
  946. if x != nil {
  947. return x.LocalFlags
  948. }
  949. return 0
  950. }
  951. func (x *FileInfo) GetVersionHash() []byte {
  952. if x != nil {
  953. return x.VersionHash
  954. }
  955. return nil
  956. }
  957. func (x *FileInfo) GetInodeChangeNs() int64 {
  958. if x != nil {
  959. return x.InodeChangeNs
  960. }
  961. return 0
  962. }
  963. func (x *FileInfo) GetEncryptionTrailerSize() int32 {
  964. if x != nil {
  965. return x.EncryptionTrailerSize
  966. }
  967. return 0
  968. }
  969. func (x *FileInfo) GetDeleted() bool {
  970. if x != nil {
  971. return x.Deleted
  972. }
  973. return false
  974. }
  975. func (x *FileInfo) GetInvalid() bool {
  976. if x != nil {
  977. return x.Invalid
  978. }
  979. return false
  980. }
  981. func (x *FileInfo) GetNoPermissions() bool {
  982. if x != nil {
  983. return x.NoPermissions
  984. }
  985. return false
  986. }
  987. type BlockInfo struct {
  988. state protoimpl.MessageState
  989. sizeCache protoimpl.SizeCache
  990. unknownFields protoimpl.UnknownFields
  991. Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
  992. Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
  993. Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
  994. }
  995. func (x *BlockInfo) Reset() {
  996. *x = BlockInfo{}
  997. mi := &file_bep_bep_proto_msgTypes[8]
  998. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  999. ms.StoreMessageInfo(mi)
  1000. }
  1001. func (x *BlockInfo) String() string {
  1002. return protoimpl.X.MessageStringOf(x)
  1003. }
  1004. func (*BlockInfo) ProtoMessage() {}
  1005. func (x *BlockInfo) ProtoReflect() protoreflect.Message {
  1006. mi := &file_bep_bep_proto_msgTypes[8]
  1007. if x != nil {
  1008. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1009. if ms.LoadMessageInfo() == nil {
  1010. ms.StoreMessageInfo(mi)
  1011. }
  1012. return ms
  1013. }
  1014. return mi.MessageOf(x)
  1015. }
  1016. // Deprecated: Use BlockInfo.ProtoReflect.Descriptor instead.
  1017. func (*BlockInfo) Descriptor() ([]byte, []int) {
  1018. return file_bep_bep_proto_rawDescGZIP(), []int{8}
  1019. }
  1020. func (x *BlockInfo) GetHash() []byte {
  1021. if x != nil {
  1022. return x.Hash
  1023. }
  1024. return nil
  1025. }
  1026. func (x *BlockInfo) GetOffset() int64 {
  1027. if x != nil {
  1028. return x.Offset
  1029. }
  1030. return 0
  1031. }
  1032. func (x *BlockInfo) GetSize() int32 {
  1033. if x != nil {
  1034. return x.Size
  1035. }
  1036. return 0
  1037. }
  1038. type Vector struct {
  1039. state protoimpl.MessageState
  1040. sizeCache protoimpl.SizeCache
  1041. unknownFields protoimpl.UnknownFields
  1042. Counters []*Counter `protobuf:"bytes,1,rep,name=counters,proto3" json:"counters,omitempty"`
  1043. }
  1044. func (x *Vector) Reset() {
  1045. *x = Vector{}
  1046. mi := &file_bep_bep_proto_msgTypes[9]
  1047. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1048. ms.StoreMessageInfo(mi)
  1049. }
  1050. func (x *Vector) String() string {
  1051. return protoimpl.X.MessageStringOf(x)
  1052. }
  1053. func (*Vector) ProtoMessage() {}
  1054. func (x *Vector) ProtoReflect() protoreflect.Message {
  1055. mi := &file_bep_bep_proto_msgTypes[9]
  1056. if x != nil {
  1057. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1058. if ms.LoadMessageInfo() == nil {
  1059. ms.StoreMessageInfo(mi)
  1060. }
  1061. return ms
  1062. }
  1063. return mi.MessageOf(x)
  1064. }
  1065. // Deprecated: Use Vector.ProtoReflect.Descriptor instead.
  1066. func (*Vector) Descriptor() ([]byte, []int) {
  1067. return file_bep_bep_proto_rawDescGZIP(), []int{9}
  1068. }
  1069. func (x *Vector) GetCounters() []*Counter {
  1070. if x != nil {
  1071. return x.Counters
  1072. }
  1073. return nil
  1074. }
  1075. type Counter struct {
  1076. state protoimpl.MessageState
  1077. sizeCache protoimpl.SizeCache
  1078. unknownFields protoimpl.UnknownFields
  1079. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  1080. Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
  1081. }
  1082. func (x *Counter) Reset() {
  1083. *x = Counter{}
  1084. mi := &file_bep_bep_proto_msgTypes[10]
  1085. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1086. ms.StoreMessageInfo(mi)
  1087. }
  1088. func (x *Counter) String() string {
  1089. return protoimpl.X.MessageStringOf(x)
  1090. }
  1091. func (*Counter) ProtoMessage() {}
  1092. func (x *Counter) ProtoReflect() protoreflect.Message {
  1093. mi := &file_bep_bep_proto_msgTypes[10]
  1094. if x != nil {
  1095. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1096. if ms.LoadMessageInfo() == nil {
  1097. ms.StoreMessageInfo(mi)
  1098. }
  1099. return ms
  1100. }
  1101. return mi.MessageOf(x)
  1102. }
  1103. // Deprecated: Use Counter.ProtoReflect.Descriptor instead.
  1104. func (*Counter) Descriptor() ([]byte, []int) {
  1105. return file_bep_bep_proto_rawDescGZIP(), []int{10}
  1106. }
  1107. func (x *Counter) GetId() uint64 {
  1108. if x != nil {
  1109. return x.Id
  1110. }
  1111. return 0
  1112. }
  1113. func (x *Counter) GetValue() uint64 {
  1114. if x != nil {
  1115. return x.Value
  1116. }
  1117. return 0
  1118. }
  1119. type PlatformData struct {
  1120. state protoimpl.MessageState
  1121. sizeCache protoimpl.SizeCache
  1122. unknownFields protoimpl.UnknownFields
  1123. Unix *UnixData `protobuf:"bytes,1,opt,name=unix,proto3" json:"unix,omitempty"`
  1124. Windows *WindowsData `protobuf:"bytes,2,opt,name=windows,proto3" json:"windows,omitempty"`
  1125. Linux *XattrData `protobuf:"bytes,3,opt,name=linux,proto3" json:"linux,omitempty"`
  1126. Darwin *XattrData `protobuf:"bytes,4,opt,name=darwin,proto3" json:"darwin,omitempty"`
  1127. Freebsd *XattrData `protobuf:"bytes,5,opt,name=freebsd,proto3" json:"freebsd,omitempty"`
  1128. Netbsd *XattrData `protobuf:"bytes,6,opt,name=netbsd,proto3" json:"netbsd,omitempty"`
  1129. }
  1130. func (x *PlatformData) Reset() {
  1131. *x = PlatformData{}
  1132. mi := &file_bep_bep_proto_msgTypes[11]
  1133. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1134. ms.StoreMessageInfo(mi)
  1135. }
  1136. func (x *PlatformData) String() string {
  1137. return protoimpl.X.MessageStringOf(x)
  1138. }
  1139. func (*PlatformData) ProtoMessage() {}
  1140. func (x *PlatformData) ProtoReflect() protoreflect.Message {
  1141. mi := &file_bep_bep_proto_msgTypes[11]
  1142. if x != nil {
  1143. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1144. if ms.LoadMessageInfo() == nil {
  1145. ms.StoreMessageInfo(mi)
  1146. }
  1147. return ms
  1148. }
  1149. return mi.MessageOf(x)
  1150. }
  1151. // Deprecated: Use PlatformData.ProtoReflect.Descriptor instead.
  1152. func (*PlatformData) Descriptor() ([]byte, []int) {
  1153. return file_bep_bep_proto_rawDescGZIP(), []int{11}
  1154. }
  1155. func (x *PlatformData) GetUnix() *UnixData {
  1156. if x != nil {
  1157. return x.Unix
  1158. }
  1159. return nil
  1160. }
  1161. func (x *PlatformData) GetWindows() *WindowsData {
  1162. if x != nil {
  1163. return x.Windows
  1164. }
  1165. return nil
  1166. }
  1167. func (x *PlatformData) GetLinux() *XattrData {
  1168. if x != nil {
  1169. return x.Linux
  1170. }
  1171. return nil
  1172. }
  1173. func (x *PlatformData) GetDarwin() *XattrData {
  1174. if x != nil {
  1175. return x.Darwin
  1176. }
  1177. return nil
  1178. }
  1179. func (x *PlatformData) GetFreebsd() *XattrData {
  1180. if x != nil {
  1181. return x.Freebsd
  1182. }
  1183. return nil
  1184. }
  1185. func (x *PlatformData) GetNetbsd() *XattrData {
  1186. if x != nil {
  1187. return x.Netbsd
  1188. }
  1189. return nil
  1190. }
  1191. type UnixData struct {
  1192. state protoimpl.MessageState
  1193. sizeCache protoimpl.SizeCache
  1194. unknownFields protoimpl.UnknownFields
  1195. // The owner name and group name are set when known (i.e., could be
  1196. // resolved on the source device), while the UID and GID are always set
  1197. // as they come directly from the stat() call.
  1198. OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
  1199. GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
  1200. Uid int32 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
  1201. Gid int32 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"`
  1202. }
  1203. func (x *UnixData) Reset() {
  1204. *x = UnixData{}
  1205. mi := &file_bep_bep_proto_msgTypes[12]
  1206. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1207. ms.StoreMessageInfo(mi)
  1208. }
  1209. func (x *UnixData) String() string {
  1210. return protoimpl.X.MessageStringOf(x)
  1211. }
  1212. func (*UnixData) ProtoMessage() {}
  1213. func (x *UnixData) ProtoReflect() protoreflect.Message {
  1214. mi := &file_bep_bep_proto_msgTypes[12]
  1215. if x != nil {
  1216. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1217. if ms.LoadMessageInfo() == nil {
  1218. ms.StoreMessageInfo(mi)
  1219. }
  1220. return ms
  1221. }
  1222. return mi.MessageOf(x)
  1223. }
  1224. // Deprecated: Use UnixData.ProtoReflect.Descriptor instead.
  1225. func (*UnixData) Descriptor() ([]byte, []int) {
  1226. return file_bep_bep_proto_rawDescGZIP(), []int{12}
  1227. }
  1228. func (x *UnixData) GetOwnerName() string {
  1229. if x != nil {
  1230. return x.OwnerName
  1231. }
  1232. return ""
  1233. }
  1234. func (x *UnixData) GetGroupName() string {
  1235. if x != nil {
  1236. return x.GroupName
  1237. }
  1238. return ""
  1239. }
  1240. func (x *UnixData) GetUid() int32 {
  1241. if x != nil {
  1242. return x.Uid
  1243. }
  1244. return 0
  1245. }
  1246. func (x *UnixData) GetGid() int32 {
  1247. if x != nil {
  1248. return x.Gid
  1249. }
  1250. return 0
  1251. }
  1252. type WindowsData struct {
  1253. state protoimpl.MessageState
  1254. sizeCache protoimpl.SizeCache
  1255. unknownFields protoimpl.UnknownFields
  1256. // Windows file objects have a single owner, which may be a user or a
  1257. // group. We keep the name of that account, and a flag to indicate what
  1258. // type it is.
  1259. OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
  1260. OwnerIsGroup bool `protobuf:"varint,2,opt,name=owner_is_group,json=ownerIsGroup,proto3" json:"owner_is_group,omitempty"`
  1261. }
  1262. func (x *WindowsData) Reset() {
  1263. *x = WindowsData{}
  1264. mi := &file_bep_bep_proto_msgTypes[13]
  1265. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1266. ms.StoreMessageInfo(mi)
  1267. }
  1268. func (x *WindowsData) String() string {
  1269. return protoimpl.X.MessageStringOf(x)
  1270. }
  1271. func (*WindowsData) ProtoMessage() {}
  1272. func (x *WindowsData) ProtoReflect() protoreflect.Message {
  1273. mi := &file_bep_bep_proto_msgTypes[13]
  1274. if x != nil {
  1275. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1276. if ms.LoadMessageInfo() == nil {
  1277. ms.StoreMessageInfo(mi)
  1278. }
  1279. return ms
  1280. }
  1281. return mi.MessageOf(x)
  1282. }
  1283. // Deprecated: Use WindowsData.ProtoReflect.Descriptor instead.
  1284. func (*WindowsData) Descriptor() ([]byte, []int) {
  1285. return file_bep_bep_proto_rawDescGZIP(), []int{13}
  1286. }
  1287. func (x *WindowsData) GetOwnerName() string {
  1288. if x != nil {
  1289. return x.OwnerName
  1290. }
  1291. return ""
  1292. }
  1293. func (x *WindowsData) GetOwnerIsGroup() bool {
  1294. if x != nil {
  1295. return x.OwnerIsGroup
  1296. }
  1297. return false
  1298. }
  1299. type XattrData struct {
  1300. state protoimpl.MessageState
  1301. sizeCache protoimpl.SizeCache
  1302. unknownFields protoimpl.UnknownFields
  1303. Xattrs []*Xattr `protobuf:"bytes,1,rep,name=xattrs,proto3" json:"xattrs,omitempty"`
  1304. }
  1305. func (x *XattrData) Reset() {
  1306. *x = XattrData{}
  1307. mi := &file_bep_bep_proto_msgTypes[14]
  1308. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1309. ms.StoreMessageInfo(mi)
  1310. }
  1311. func (x *XattrData) String() string {
  1312. return protoimpl.X.MessageStringOf(x)
  1313. }
  1314. func (*XattrData) ProtoMessage() {}
  1315. func (x *XattrData) ProtoReflect() protoreflect.Message {
  1316. mi := &file_bep_bep_proto_msgTypes[14]
  1317. if x != nil {
  1318. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1319. if ms.LoadMessageInfo() == nil {
  1320. ms.StoreMessageInfo(mi)
  1321. }
  1322. return ms
  1323. }
  1324. return mi.MessageOf(x)
  1325. }
  1326. // Deprecated: Use XattrData.ProtoReflect.Descriptor instead.
  1327. func (*XattrData) Descriptor() ([]byte, []int) {
  1328. return file_bep_bep_proto_rawDescGZIP(), []int{14}
  1329. }
  1330. func (x *XattrData) GetXattrs() []*Xattr {
  1331. if x != nil {
  1332. return x.Xattrs
  1333. }
  1334. return nil
  1335. }
  1336. type Xattr struct {
  1337. state protoimpl.MessageState
  1338. sizeCache protoimpl.SizeCache
  1339. unknownFields protoimpl.UnknownFields
  1340. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1341. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  1342. }
  1343. func (x *Xattr) Reset() {
  1344. *x = Xattr{}
  1345. mi := &file_bep_bep_proto_msgTypes[15]
  1346. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1347. ms.StoreMessageInfo(mi)
  1348. }
  1349. func (x *Xattr) String() string {
  1350. return protoimpl.X.MessageStringOf(x)
  1351. }
  1352. func (*Xattr) ProtoMessage() {}
  1353. func (x *Xattr) ProtoReflect() protoreflect.Message {
  1354. mi := &file_bep_bep_proto_msgTypes[15]
  1355. if x != nil {
  1356. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1357. if ms.LoadMessageInfo() == nil {
  1358. ms.StoreMessageInfo(mi)
  1359. }
  1360. return ms
  1361. }
  1362. return mi.MessageOf(x)
  1363. }
  1364. // Deprecated: Use Xattr.ProtoReflect.Descriptor instead.
  1365. func (*Xattr) Descriptor() ([]byte, []int) {
  1366. return file_bep_bep_proto_rawDescGZIP(), []int{15}
  1367. }
  1368. func (x *Xattr) GetName() string {
  1369. if x != nil {
  1370. return x.Name
  1371. }
  1372. return ""
  1373. }
  1374. func (x *Xattr) GetValue() []byte {
  1375. if x != nil {
  1376. return x.Value
  1377. }
  1378. return nil
  1379. }
  1380. type Request struct {
  1381. state protoimpl.MessageState
  1382. sizeCache protoimpl.SizeCache
  1383. unknownFields protoimpl.UnknownFields
  1384. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  1385. Folder string `protobuf:"bytes,2,opt,name=folder,proto3" json:"folder,omitempty"`
  1386. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  1387. Offset int64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
  1388. Size int32 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
  1389. Hash []byte `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"`
  1390. FromTemporary bool `protobuf:"varint,7,opt,name=from_temporary,json=fromTemporary,proto3" json:"from_temporary,omitempty"`
  1391. BlockNo int32 `protobuf:"varint,9,opt,name=block_no,json=blockNo,proto3" json:"block_no,omitempty"`
  1392. }
  1393. func (x *Request) Reset() {
  1394. *x = Request{}
  1395. mi := &file_bep_bep_proto_msgTypes[16]
  1396. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1397. ms.StoreMessageInfo(mi)
  1398. }
  1399. func (x *Request) String() string {
  1400. return protoimpl.X.MessageStringOf(x)
  1401. }
  1402. func (*Request) ProtoMessage() {}
  1403. func (x *Request) ProtoReflect() protoreflect.Message {
  1404. mi := &file_bep_bep_proto_msgTypes[16]
  1405. if x != nil {
  1406. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1407. if ms.LoadMessageInfo() == nil {
  1408. ms.StoreMessageInfo(mi)
  1409. }
  1410. return ms
  1411. }
  1412. return mi.MessageOf(x)
  1413. }
  1414. // Deprecated: Use Request.ProtoReflect.Descriptor instead.
  1415. func (*Request) Descriptor() ([]byte, []int) {
  1416. return file_bep_bep_proto_rawDescGZIP(), []int{16}
  1417. }
  1418. func (x *Request) GetId() int32 {
  1419. if x != nil {
  1420. return x.Id
  1421. }
  1422. return 0
  1423. }
  1424. func (x *Request) GetFolder() string {
  1425. if x != nil {
  1426. return x.Folder
  1427. }
  1428. return ""
  1429. }
  1430. func (x *Request) GetName() string {
  1431. if x != nil {
  1432. return x.Name
  1433. }
  1434. return ""
  1435. }
  1436. func (x *Request) GetOffset() int64 {
  1437. if x != nil {
  1438. return x.Offset
  1439. }
  1440. return 0
  1441. }
  1442. func (x *Request) GetSize() int32 {
  1443. if x != nil {
  1444. return x.Size
  1445. }
  1446. return 0
  1447. }
  1448. func (x *Request) GetHash() []byte {
  1449. if x != nil {
  1450. return x.Hash
  1451. }
  1452. return nil
  1453. }
  1454. func (x *Request) GetFromTemporary() bool {
  1455. if x != nil {
  1456. return x.FromTemporary
  1457. }
  1458. return false
  1459. }
  1460. func (x *Request) GetBlockNo() int32 {
  1461. if x != nil {
  1462. return x.BlockNo
  1463. }
  1464. return 0
  1465. }
  1466. type Response struct {
  1467. state protoimpl.MessageState
  1468. sizeCache protoimpl.SizeCache
  1469. unknownFields protoimpl.UnknownFields
  1470. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  1471. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  1472. Code ErrorCode `protobuf:"varint,3,opt,name=code,proto3,enum=bep.ErrorCode" json:"code,omitempty"`
  1473. }
  1474. func (x *Response) Reset() {
  1475. *x = Response{}
  1476. mi := &file_bep_bep_proto_msgTypes[17]
  1477. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1478. ms.StoreMessageInfo(mi)
  1479. }
  1480. func (x *Response) String() string {
  1481. return protoimpl.X.MessageStringOf(x)
  1482. }
  1483. func (*Response) ProtoMessage() {}
  1484. func (x *Response) ProtoReflect() protoreflect.Message {
  1485. mi := &file_bep_bep_proto_msgTypes[17]
  1486. if x != nil {
  1487. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1488. if ms.LoadMessageInfo() == nil {
  1489. ms.StoreMessageInfo(mi)
  1490. }
  1491. return ms
  1492. }
  1493. return mi.MessageOf(x)
  1494. }
  1495. // Deprecated: Use Response.ProtoReflect.Descriptor instead.
  1496. func (*Response) Descriptor() ([]byte, []int) {
  1497. return file_bep_bep_proto_rawDescGZIP(), []int{17}
  1498. }
  1499. func (x *Response) GetId() int32 {
  1500. if x != nil {
  1501. return x.Id
  1502. }
  1503. return 0
  1504. }
  1505. func (x *Response) GetData() []byte {
  1506. if x != nil {
  1507. return x.Data
  1508. }
  1509. return nil
  1510. }
  1511. func (x *Response) GetCode() ErrorCode {
  1512. if x != nil {
  1513. return x.Code
  1514. }
  1515. return ErrorCode_ERROR_CODE_NO_ERROR
  1516. }
  1517. type DownloadProgress struct {
  1518. state protoimpl.MessageState
  1519. sizeCache protoimpl.SizeCache
  1520. unknownFields protoimpl.UnknownFields
  1521. Folder string `protobuf:"bytes,1,opt,name=folder,proto3" json:"folder,omitempty"`
  1522. Updates []*FileDownloadProgressUpdate `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"`
  1523. }
  1524. func (x *DownloadProgress) Reset() {
  1525. *x = DownloadProgress{}
  1526. mi := &file_bep_bep_proto_msgTypes[18]
  1527. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1528. ms.StoreMessageInfo(mi)
  1529. }
  1530. func (x *DownloadProgress) String() string {
  1531. return protoimpl.X.MessageStringOf(x)
  1532. }
  1533. func (*DownloadProgress) ProtoMessage() {}
  1534. func (x *DownloadProgress) ProtoReflect() protoreflect.Message {
  1535. mi := &file_bep_bep_proto_msgTypes[18]
  1536. if x != nil {
  1537. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1538. if ms.LoadMessageInfo() == nil {
  1539. ms.StoreMessageInfo(mi)
  1540. }
  1541. return ms
  1542. }
  1543. return mi.MessageOf(x)
  1544. }
  1545. // Deprecated: Use DownloadProgress.ProtoReflect.Descriptor instead.
  1546. func (*DownloadProgress) Descriptor() ([]byte, []int) {
  1547. return file_bep_bep_proto_rawDescGZIP(), []int{18}
  1548. }
  1549. func (x *DownloadProgress) GetFolder() string {
  1550. if x != nil {
  1551. return x.Folder
  1552. }
  1553. return ""
  1554. }
  1555. func (x *DownloadProgress) GetUpdates() []*FileDownloadProgressUpdate {
  1556. if x != nil {
  1557. return x.Updates
  1558. }
  1559. return nil
  1560. }
  1561. type FileDownloadProgressUpdate struct {
  1562. state protoimpl.MessageState
  1563. sizeCache protoimpl.SizeCache
  1564. unknownFields protoimpl.UnknownFields
  1565. UpdateType FileDownloadProgressUpdateType `protobuf:"varint,1,opt,name=update_type,json=updateType,proto3,enum=bep.FileDownloadProgressUpdateType" json:"update_type,omitempty"`
  1566. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  1567. Version *Vector `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
  1568. BlockIndexes []int32 `protobuf:"varint,4,rep,name=block_indexes,json=blockIndexes,proto3" json:"block_indexes,omitempty"`
  1569. BlockSize int32 `protobuf:"varint,5,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
  1570. }
  1571. func (x *FileDownloadProgressUpdate) Reset() {
  1572. *x = FileDownloadProgressUpdate{}
  1573. mi := &file_bep_bep_proto_msgTypes[19]
  1574. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1575. ms.StoreMessageInfo(mi)
  1576. }
  1577. func (x *FileDownloadProgressUpdate) String() string {
  1578. return protoimpl.X.MessageStringOf(x)
  1579. }
  1580. func (*FileDownloadProgressUpdate) ProtoMessage() {}
  1581. func (x *FileDownloadProgressUpdate) ProtoReflect() protoreflect.Message {
  1582. mi := &file_bep_bep_proto_msgTypes[19]
  1583. if x != nil {
  1584. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1585. if ms.LoadMessageInfo() == nil {
  1586. ms.StoreMessageInfo(mi)
  1587. }
  1588. return ms
  1589. }
  1590. return mi.MessageOf(x)
  1591. }
  1592. // Deprecated: Use FileDownloadProgressUpdate.ProtoReflect.Descriptor instead.
  1593. func (*FileDownloadProgressUpdate) Descriptor() ([]byte, []int) {
  1594. return file_bep_bep_proto_rawDescGZIP(), []int{19}
  1595. }
  1596. func (x *FileDownloadProgressUpdate) GetUpdateType() FileDownloadProgressUpdateType {
  1597. if x != nil {
  1598. return x.UpdateType
  1599. }
  1600. return FileDownloadProgressUpdateType_FILE_DOWNLOAD_PROGRESS_UPDATE_TYPE_APPEND
  1601. }
  1602. func (x *FileDownloadProgressUpdate) GetName() string {
  1603. if x != nil {
  1604. return x.Name
  1605. }
  1606. return ""
  1607. }
  1608. func (x *FileDownloadProgressUpdate) GetVersion() *Vector {
  1609. if x != nil {
  1610. return x.Version
  1611. }
  1612. return nil
  1613. }
  1614. func (x *FileDownloadProgressUpdate) GetBlockIndexes() []int32 {
  1615. if x != nil {
  1616. return x.BlockIndexes
  1617. }
  1618. return nil
  1619. }
  1620. func (x *FileDownloadProgressUpdate) GetBlockSize() int32 {
  1621. if x != nil {
  1622. return x.BlockSize
  1623. }
  1624. return 0
  1625. }
  1626. type Ping struct {
  1627. state protoimpl.MessageState
  1628. sizeCache protoimpl.SizeCache
  1629. unknownFields protoimpl.UnknownFields
  1630. }
  1631. func (x *Ping) Reset() {
  1632. *x = Ping{}
  1633. mi := &file_bep_bep_proto_msgTypes[20]
  1634. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1635. ms.StoreMessageInfo(mi)
  1636. }
  1637. func (x *Ping) String() string {
  1638. return protoimpl.X.MessageStringOf(x)
  1639. }
  1640. func (*Ping) ProtoMessage() {}
  1641. func (x *Ping) ProtoReflect() protoreflect.Message {
  1642. mi := &file_bep_bep_proto_msgTypes[20]
  1643. if x != nil {
  1644. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1645. if ms.LoadMessageInfo() == nil {
  1646. ms.StoreMessageInfo(mi)
  1647. }
  1648. return ms
  1649. }
  1650. return mi.MessageOf(x)
  1651. }
  1652. // Deprecated: Use Ping.ProtoReflect.Descriptor instead.
  1653. func (*Ping) Descriptor() ([]byte, []int) {
  1654. return file_bep_bep_proto_rawDescGZIP(), []int{20}
  1655. }
  1656. type Close struct {
  1657. state protoimpl.MessageState
  1658. sizeCache protoimpl.SizeCache
  1659. unknownFields protoimpl.UnknownFields
  1660. Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
  1661. }
  1662. func (x *Close) Reset() {
  1663. *x = Close{}
  1664. mi := &file_bep_bep_proto_msgTypes[21]
  1665. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1666. ms.StoreMessageInfo(mi)
  1667. }
  1668. func (x *Close) String() string {
  1669. return protoimpl.X.MessageStringOf(x)
  1670. }
  1671. func (*Close) ProtoMessage() {}
  1672. func (x *Close) ProtoReflect() protoreflect.Message {
  1673. mi := &file_bep_bep_proto_msgTypes[21]
  1674. if x != nil {
  1675. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1676. if ms.LoadMessageInfo() == nil {
  1677. ms.StoreMessageInfo(mi)
  1678. }
  1679. return ms
  1680. }
  1681. return mi.MessageOf(x)
  1682. }
  1683. // Deprecated: Use Close.ProtoReflect.Descriptor instead.
  1684. func (*Close) Descriptor() ([]byte, []int) {
  1685. return file_bep_bep_proto_rawDescGZIP(), []int{21}
  1686. }
  1687. func (x *Close) GetReason() string {
  1688. if x != nil {
  1689. return x.Reason
  1690. }
  1691. return ""
  1692. }
  1693. var File_bep_bep_proto protoreflect.FileDescriptor
  1694. var file_bep_bep_proto_rawDesc = []byte{
  1695. 0x0a, 0x0d, 0x62, 0x65, 0x70, 0x2f, 0x62, 0x65, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  1696. 0x03, 0x62, 0x65, 0x70, 0x22, 0xb7, 0x01, 0x0a, 0x05, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x1f,
  1697. 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  1698. 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  1699. 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  1700. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65,
  1701. 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
  1702. 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
  1703. 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x6e, 0x75, 0x6d, 0x5f, 0x63,
  1704. 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05,
  1705. 0x52, 0x0e, 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  1706. 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x05, 0x20,
  1707. 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x69,
  1708. 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x24, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
  1709. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x4d, 0x65, 0x73,
  1710. 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x39,
  1711. 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
  1712. 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1713. 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x63, 0x6f,
  1714. 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x54, 0x0a, 0x0d, 0x43, 0x6c, 0x75,
  1715. 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x25, 0x0a, 0x07, 0x66, 0x6f,
  1716. 0x6c, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x62, 0x65,
  1717. 0x70, 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72,
  1718. 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x18, 0x02,
  1719. 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x22,
  1720. 0xb8, 0x01, 0x0a, 0x06, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  1721. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61,
  1722. 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c,
  1723. 0x12, 0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f,
  1724. 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52,
  1725. 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x36, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x72, 0x65,
  1726. 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x62, 0x65, 0x70,
  1727. 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f,
  1728. 0x6e, 0x52, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x25, 0x0a,
  1729. 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
  1730. 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x64, 0x65, 0x76,
  1731. 0x69, 0x63, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x07, 0x22, 0xf3, 0x02, 0x0a, 0x06, 0x44,
  1732. 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1733. 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
  1734. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64,
  1735. 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64,
  1736. 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x72,
  1737. 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x62,
  1738. 0x65, 0x70, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b,
  1739. 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63,
  1740. 0x65, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  1741. 0x63, 0x65, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f,
  1742. 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
  1743. 0x6d, 0x61, 0x78, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x69,
  1744. 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
  1745. 0x0a, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x69,
  1746. 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x69,
  1747. 0x6e, 0x64, 0x65, 0x78, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x1a, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x69,
  1748. 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x6d, 0x6f,
  1749. 0x76, 0x61, 0x6c, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x73, 0x6b, 0x69, 0x70,
  1750. 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x6d, 0x6f,
  1751. 0x76, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69,
  1752. 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
  1753. 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x17, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74,
  1754. 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
  1755. 0x22, 0x69, 0x0a, 0x05, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x6c,
  1756. 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65,
  1757. 0x72, 0x12, 0x23, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
  1758. 0x32, 0x0d, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52,
  1759. 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73,
  1760. 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6c,
  1761. 0x61, 0x73, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x94, 0x01, 0x0a, 0x0b,
  1762. 0x49, 0x6e, 0x64, 0x65, 0x78, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66,
  1763. 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x6c,
  1764. 0x64, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03,
  1765. 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66,
  1766. 0x6f, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74,
  1767. 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
  1768. 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a,
  1769. 0x0d, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04,
  1770. 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x76, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e,
  1771. 0x63, 0x65, 0x22, 0xb0, 0x06, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12,
  1772. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  1773. 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  1774. 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x69, 0x66,
  1775. 0x69, 0x65, 0x64, 0x5f, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x6d, 0x6f, 0x64,
  1776. 0x69, 0x66, 0x69, 0x65, 0x64, 0x53, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69,
  1777. 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x6d, 0x6f, 0x64,
  1778. 0x69, 0x66, 0x69, 0x65, 0x64, 0x42, 0x79, 0x12, 0x25, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
  1779. 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x56,
  1780. 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a,
  1781. 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03,
  1782. 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x62, 0x6c,
  1783. 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x65, 0x70,
  1784. 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x63,
  1785. 0x6b, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x74, 0x61,
  1786. 0x72, 0x67, 0x65, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x73, 0x79, 0x6d, 0x6c,
  1787. 0x69, 0x6e, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x6c, 0x6f,
  1788. 0x63, 0x6b, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a,
  1789. 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x30, 0x0a, 0x14, 0x70, 0x72,
  1790. 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x68, 0x61,
  1791. 0x73, 0x68, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x12, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f,
  1792. 0x75, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09,
  1793. 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0c, 0x52,
  1794. 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x74, 0x79,
  1795. 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x46,
  1796. 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70,
  1797. 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
  1798. 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
  1799. 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f,
  1800. 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69,
  1801. 0x65, 0x64, 0x4e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x69,
  1802. 0x7a, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53,
  1803. 0x69, 0x7a, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18,
  1804. 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x50, 0x6c, 0x61, 0x74,
  1805. 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f,
  1806. 0x72, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x66, 0x6c, 0x61, 0x67,
  1807. 0x73, 0x18, 0xe8, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x46,
  1808. 0x6c, 0x61, 0x67, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f,
  1809. 0x68, 0x61, 0x73, 0x68, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x65, 0x72,
  1810. 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x6f, 0x64,
  1811. 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x6e, 0x73, 0x18, 0xea, 0x07, 0x20, 0x01,
  1812. 0x28, 0x03, 0x52, 0x0d, 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e,
  1813. 0x73, 0x12, 0x37, 0x0a, 0x17, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
  1814. 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0xeb, 0x07, 0x20,
  1815. 0x01, 0x28, 0x05, 0x52, 0x15, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54,
  1816. 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65,
  1817. 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x6c,
  1818. 0x65, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18,
  1819. 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x25,
  1820. 0x0a, 0x0e, 0x6e, 0x6f, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
  1821. 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x6e, 0x6f, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
  1822. 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x51, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e,
  1823. 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
  1824. 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
  1825. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12,
  1826. 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69,
  1827. 0x7a, 0x65, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x22, 0x32, 0x0a, 0x06, 0x56, 0x65, 0x63, 0x74,
  1828. 0x6f, 0x72, 0x12, 0x28, 0x0a, 0x08, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01,
  1829. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  1830. 0x65, 0x72, 0x52, 0x08, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x22, 0x2f, 0x0a, 0x07,
  1831. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  1832. 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  1833. 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xfd, 0x01,
  1834. 0x0a, 0x0c, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x12, 0x21,
  1835. 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x62,
  1836. 0x65, 0x70, 0x2e, 0x55, 0x6e, 0x69, 0x78, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x75, 0x6e, 0x69,
  1837. 0x78, 0x12, 0x2a, 0x0a, 0x07, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01,
  1838. 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73,
  1839. 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x12, 0x24, 0x0a,
  1840. 0x05, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62,
  1841. 0x65, 0x70, 0x2e, 0x58, 0x61, 0x74, 0x74, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x6c, 0x69,
  1842. 0x6e, 0x75, 0x78, 0x12, 0x26, 0x0a, 0x06, 0x64, 0x61, 0x72, 0x77, 0x69, 0x6e, 0x18, 0x04, 0x20,
  1843. 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x58, 0x61, 0x74, 0x74, 0x72, 0x44,
  1844. 0x61, 0x74, 0x61, 0x52, 0x06, 0x64, 0x61, 0x72, 0x77, 0x69, 0x6e, 0x12, 0x28, 0x0a, 0x07, 0x66,
  1845. 0x72, 0x65, 0x65, 0x62, 0x73, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62,
  1846. 0x65, 0x70, 0x2e, 0x58, 0x61, 0x74, 0x74, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x66, 0x72,
  1847. 0x65, 0x65, 0x62, 0x73, 0x64, 0x12, 0x26, 0x0a, 0x06, 0x6e, 0x65, 0x74, 0x62, 0x73, 0x64, 0x18,
  1848. 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x58, 0x61, 0x74, 0x74,
  1849. 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x06, 0x6e, 0x65, 0x74, 0x62, 0x73, 0x64, 0x22, 0x6c, 0x0a,
  1850. 0x08, 0x55, 0x6e, 0x69, 0x78, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e,
  1851. 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
  1852. 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75,
  1853. 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72,
  1854. 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03,
  1855. 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64,
  1856. 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x67, 0x69, 0x64, 0x22, 0x52, 0x0a, 0x0b, 0x57,
  1857. 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77,
  1858. 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  1859. 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x77, 0x6e,
  1860. 0x65, 0x72, 0x5f, 0x69, 0x73, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28,
  1861. 0x08, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22,
  1862. 0x2f, 0x0a, 0x09, 0x58, 0x61, 0x74, 0x74, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x06,
  1863. 0x78, 0x61, 0x74, 0x74, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x62,
  1864. 0x65, 0x70, 0x2e, 0x58, 0x61, 0x74, 0x74, 0x72, 0x52, 0x06, 0x78, 0x61, 0x74, 0x74, 0x72, 0x73,
  1865. 0x22, 0x31, 0x0a, 0x05, 0x58, 0x61, 0x74, 0x74, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  1866. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a,
  1867. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61,
  1868. 0x6c, 0x75, 0x65, 0x22, 0xcd, 0x01, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  1869. 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12,
  1870. 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  1871. 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  1872. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f,
  1873. 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66,
  1874. 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
  1875. 0x05, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18,
  1876. 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x66,
  1877. 0x72, 0x6f, 0x6d, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x72, 0x79, 0x18, 0x07, 0x20,
  1878. 0x01, 0x28, 0x08, 0x52, 0x0d, 0x66, 0x72, 0x6f, 0x6d, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61,
  1879. 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x6f, 0x18, 0x09,
  1880. 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x6f, 0x4a, 0x04, 0x08,
  1881. 0x08, 0x10, 0x09, 0x22, 0x52, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  1882. 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12,
  1883. 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64,
  1884. 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  1885. 0x0e, 0x32, 0x0e, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64,
  1886. 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x65, 0x0a, 0x10, 0x44, 0x6f, 0x77, 0x6e, 0x6c,
  1887. 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66,
  1888. 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x6c,
  1889. 0x64, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02,
  1890. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44,
  1891. 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x55,
  1892. 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x22, 0xe5,
  1893. 0x01, 0x0a, 0x1a, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50,
  1894. 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x44, 0x0a,
  1895. 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
  1896. 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77,
  1897. 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64,
  1898. 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54,
  1899. 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  1900. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
  1901. 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x56,
  1902. 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27,
  1903. 0x0a, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18,
  1904. 0x04, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
  1905. 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
  1906. 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x6c, 0x6f,
  1907. 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x06, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x22, 0x1f,
  1908. 0x0a, 0x05, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f,
  1909. 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2a,
  1910. 0xed, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
  1911. 0x1f, 0x0a, 0x1b, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
  1912. 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x00,
  1913. 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45,
  1914. 0x5f, 0x49, 0x4e, 0x44, 0x45, 0x58, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x45, 0x53, 0x53,
  1915. 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x44, 0x45, 0x58, 0x5f, 0x55,
  1916. 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x45, 0x53, 0x53, 0x41,
  1917. 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10,
  1918. 0x03, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50,
  1919. 0x45, 0x5f, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x10, 0x04, 0x12, 0x22, 0x0a, 0x1e,
  1920. 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x57,
  1921. 0x4e, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x05,
  1922. 0x12, 0x15, 0x0a, 0x11, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45,
  1923. 0x5f, 0x50, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x45, 0x53, 0x53, 0x41,
  1924. 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0x07, 0x2a,
  1925. 0x4f, 0x0a, 0x12, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65,
  1926. 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45,
  1927. 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x4e,
  1928. 0x45, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x43,
  1929. 0x4f, 0x4d, 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4c, 0x5a, 0x34, 0x10, 0x01,
  1930. 0x2a, 0x56, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12,
  1931. 0x18, 0x0a, 0x14, 0x43, 0x4f, 0x4d, 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4d,
  1932. 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4d,
  1933. 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x45, 0x56, 0x45, 0x52, 0x10, 0x01,
  1934. 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4f, 0x4d, 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f,
  1935. 0x41, 0x4c, 0x57, 0x41, 0x59, 0x53, 0x10, 0x02, 0x2a, 0x86, 0x01, 0x0a, 0x0a, 0x46, 0x6f, 0x6c,
  1936. 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x46, 0x4f, 0x4c, 0x44, 0x45,
  1937. 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x4e, 0x44, 0x5f, 0x52, 0x45, 0x43, 0x45,
  1938. 0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x5f,
  1939. 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x4e, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x01,
  1940. 0x12, 0x1c, 0x0a, 0x18, 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
  1941. 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x21,
  1942. 0x0a, 0x1d, 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45,
  1943. 0x43, 0x45, 0x49, 0x56, 0x45, 0x5f, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x45, 0x44, 0x10,
  1944. 0x03, 0x2a, 0x51, 0x0a, 0x10, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x53, 0x74, 0x6f, 0x70, 0x52,
  1945. 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x5f,
  1946. 0x53, 0x54, 0x4f, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x52, 0x55, 0x4e, 0x4e,
  1947. 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x5f,
  1948. 0x53, 0x54, 0x4f, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x55, 0x53,
  1949. 0x45, 0x44, 0x10, 0x01, 0x2a, 0xb0, 0x01, 0x0a, 0x0c, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66,
  1950. 0x6f, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x49, 0x4e,
  1951. 0x46, 0x4f, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x1c,
  1952. 0x0a, 0x18, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x54, 0x59, 0x50, 0x45,
  1953. 0x5f, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x59, 0x10, 0x01, 0x12, 0x23, 0x0a, 0x1b,
  1954. 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53,
  1955. 0x59, 0x4d, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x02, 0x1a, 0x02, 0x08,
  1956. 0x01, 0x12, 0x28, 0x0a, 0x20, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x54,
  1957. 0x59, 0x50, 0x45, 0x5f, 0x53, 0x59, 0x4d, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x44, 0x49, 0x52, 0x45,
  1958. 0x43, 0x54, 0x4f, 0x52, 0x59, 0x10, 0x03, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x46,
  1959. 0x49, 0x4c, 0x45, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x59,
  1960. 0x4d, 0x4c, 0x49, 0x4e, 0x4b, 0x10, 0x04, 0x2a, 0x76, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72,
  1961. 0x43, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f,
  1962. 0x44, 0x45, 0x5f, 0x4e, 0x4f, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x00, 0x12, 0x16, 0x0a,
  1963. 0x12, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x47, 0x45, 0x4e, 0x45,
  1964. 0x52, 0x49, 0x43, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43,
  1965. 0x4f, 0x44, 0x45, 0x5f, 0x4e, 0x4f, 0x5f, 0x53, 0x55, 0x43, 0x48, 0x5f, 0x46, 0x49, 0x4c, 0x45,
  1966. 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45,
  1967. 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x03, 0x2a,
  1968. 0x7e, 0x0a, 0x1e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50,
  1969. 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70,
  1970. 0x65, 0x12, 0x2d, 0x0a, 0x29, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x4f,
  1971. 0x41, 0x44, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41,
  1972. 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x45, 0x4e, 0x44, 0x10, 0x00,
  1973. 0x12, 0x2d, 0x0a, 0x29, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x4f, 0x41,
  1974. 0x44, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54,
  1975. 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x47, 0x45, 0x54, 0x10, 0x01, 0x42,
  1976. 0x70, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x65, 0x70, 0x42, 0x08, 0x42, 0x65, 0x70, 0x50,
  1977. 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
  1978. 0x6f, 0x6d, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x74, 0x68, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x79, 0x6e,
  1979. 0x63, 0x74, 0x68, 0x69, 0x6e, 0x67, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f,
  1980. 0x67, 0x65, 0x6e, 0x2f, 0x62, 0x65, 0x70, 0xa2, 0x02, 0x03, 0x42, 0x58, 0x58, 0xaa, 0x02, 0x03,
  1981. 0x42, 0x65, 0x70, 0xca, 0x02, 0x03, 0x42, 0x65, 0x70, 0xe2, 0x02, 0x0f, 0x42, 0x65, 0x70, 0x5c,
  1982. 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x03, 0x42, 0x65,
  1983. 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1984. }
  1985. var (
  1986. file_bep_bep_proto_rawDescOnce sync.Once
  1987. file_bep_bep_proto_rawDescData = file_bep_bep_proto_rawDesc
  1988. )
  1989. func file_bep_bep_proto_rawDescGZIP() []byte {
  1990. file_bep_bep_proto_rawDescOnce.Do(func() {
  1991. file_bep_bep_proto_rawDescData = protoimpl.X.CompressGZIP(file_bep_bep_proto_rawDescData)
  1992. })
  1993. return file_bep_bep_proto_rawDescData
  1994. }
  1995. var file_bep_bep_proto_enumTypes = make([]protoimpl.EnumInfo, 8)
  1996. var file_bep_bep_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
  1997. var file_bep_bep_proto_goTypes = []any{
  1998. (MessageType)(0), // 0: bep.MessageType
  1999. (MessageCompression)(0), // 1: bep.MessageCompression
  2000. (Compression)(0), // 2: bep.Compression
  2001. (FolderType)(0), // 3: bep.FolderType
  2002. (FolderStopReason)(0), // 4: bep.FolderStopReason
  2003. (FileInfoType)(0), // 5: bep.FileInfoType
  2004. (ErrorCode)(0), // 6: bep.ErrorCode
  2005. (FileDownloadProgressUpdateType)(0), // 7: bep.FileDownloadProgressUpdateType
  2006. (*Hello)(nil), // 8: bep.Hello
  2007. (*Header)(nil), // 9: bep.Header
  2008. (*ClusterConfig)(nil), // 10: bep.ClusterConfig
  2009. (*Folder)(nil), // 11: bep.Folder
  2010. (*Device)(nil), // 12: bep.Device
  2011. (*Index)(nil), // 13: bep.Index
  2012. (*IndexUpdate)(nil), // 14: bep.IndexUpdate
  2013. (*FileInfo)(nil), // 15: bep.FileInfo
  2014. (*BlockInfo)(nil), // 16: bep.BlockInfo
  2015. (*Vector)(nil), // 17: bep.Vector
  2016. (*Counter)(nil), // 18: bep.Counter
  2017. (*PlatformData)(nil), // 19: bep.PlatformData
  2018. (*UnixData)(nil), // 20: bep.UnixData
  2019. (*WindowsData)(nil), // 21: bep.WindowsData
  2020. (*XattrData)(nil), // 22: bep.XattrData
  2021. (*Xattr)(nil), // 23: bep.Xattr
  2022. (*Request)(nil), // 24: bep.Request
  2023. (*Response)(nil), // 25: bep.Response
  2024. (*DownloadProgress)(nil), // 26: bep.DownloadProgress
  2025. (*FileDownloadProgressUpdate)(nil), // 27: bep.FileDownloadProgressUpdate
  2026. (*Ping)(nil), // 28: bep.Ping
  2027. (*Close)(nil), // 29: bep.Close
  2028. }
  2029. var file_bep_bep_proto_depIdxs = []int32{
  2030. 0, // 0: bep.Header.type:type_name -> bep.MessageType
  2031. 1, // 1: bep.Header.compression:type_name -> bep.MessageCompression
  2032. 11, // 2: bep.ClusterConfig.folders:type_name -> bep.Folder
  2033. 3, // 3: bep.Folder.type:type_name -> bep.FolderType
  2034. 4, // 4: bep.Folder.stop_reason:type_name -> bep.FolderStopReason
  2035. 12, // 5: bep.Folder.devices:type_name -> bep.Device
  2036. 2, // 6: bep.Device.compression:type_name -> bep.Compression
  2037. 15, // 7: bep.Index.files:type_name -> bep.FileInfo
  2038. 15, // 8: bep.IndexUpdate.files:type_name -> bep.FileInfo
  2039. 17, // 9: bep.FileInfo.version:type_name -> bep.Vector
  2040. 16, // 10: bep.FileInfo.blocks:type_name -> bep.BlockInfo
  2041. 5, // 11: bep.FileInfo.type:type_name -> bep.FileInfoType
  2042. 19, // 12: bep.FileInfo.platform:type_name -> bep.PlatformData
  2043. 18, // 13: bep.Vector.counters:type_name -> bep.Counter
  2044. 20, // 14: bep.PlatformData.unix:type_name -> bep.UnixData
  2045. 21, // 15: bep.PlatformData.windows:type_name -> bep.WindowsData
  2046. 22, // 16: bep.PlatformData.linux:type_name -> bep.XattrData
  2047. 22, // 17: bep.PlatformData.darwin:type_name -> bep.XattrData
  2048. 22, // 18: bep.PlatformData.freebsd:type_name -> bep.XattrData
  2049. 22, // 19: bep.PlatformData.netbsd:type_name -> bep.XattrData
  2050. 23, // 20: bep.XattrData.xattrs:type_name -> bep.Xattr
  2051. 6, // 21: bep.Response.code:type_name -> bep.ErrorCode
  2052. 27, // 22: bep.DownloadProgress.updates:type_name -> bep.FileDownloadProgressUpdate
  2053. 7, // 23: bep.FileDownloadProgressUpdate.update_type:type_name -> bep.FileDownloadProgressUpdateType
  2054. 17, // 24: bep.FileDownloadProgressUpdate.version:type_name -> bep.Vector
  2055. 25, // [25:25] is the sub-list for method output_type
  2056. 25, // [25:25] is the sub-list for method input_type
  2057. 25, // [25:25] is the sub-list for extension type_name
  2058. 25, // [25:25] is the sub-list for extension extendee
  2059. 0, // [0:25] is the sub-list for field type_name
  2060. }
  2061. func init() { file_bep_bep_proto_init() }
  2062. func file_bep_bep_proto_init() {
  2063. if File_bep_bep_proto != nil {
  2064. return
  2065. }
  2066. type x struct{}
  2067. out := protoimpl.TypeBuilder{
  2068. File: protoimpl.DescBuilder{
  2069. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2070. RawDescriptor: file_bep_bep_proto_rawDesc,
  2071. NumEnums: 8,
  2072. NumMessages: 22,
  2073. NumExtensions: 0,
  2074. NumServices: 0,
  2075. },
  2076. GoTypes: file_bep_bep_proto_goTypes,
  2077. DependencyIndexes: file_bep_bep_proto_depIdxs,
  2078. EnumInfos: file_bep_bep_proto_enumTypes,
  2079. MessageInfos: file_bep_bep_proto_msgTypes,
  2080. }.Build()
  2081. File_bep_bep_proto = out.File
  2082. file_bep_bep_proto_rawDesc = nil
  2083. file_bep_bep_proto_goTypes = nil
  2084. file_bep_bep_proto_depIdxs = nil
  2085. }