bep.pb.go 82 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402
  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. Encrypted []byte `protobuf:"bytes,19,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
  800. Type FileInfoType `protobuf:"varint,2,opt,name=type,proto3,enum=bep.FileInfoType" json:"type,omitempty"`
  801. Permissions uint32 `protobuf:"varint,4,opt,name=permissions,proto3" json:"permissions,omitempty"`
  802. ModifiedNs int32 `protobuf:"varint,11,opt,name=modified_ns,json=modifiedNs,proto3" json:"modified_ns,omitempty"`
  803. BlockSize int32 `protobuf:"varint,13,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
  804. Platform *PlatformData `protobuf:"bytes,14,opt,name=platform,proto3" json:"platform,omitempty"`
  805. // The local_flags fields stores flags that are relevant to the local
  806. // host only. It is not part of the protocol, doesn't get sent or
  807. // received (we make sure to zero it), nonetheless we need it on our
  808. // struct and to be able to serialize it to/from the database.
  809. LocalFlags uint32 `protobuf:"varint,1000,opt,name=local_flags,json=localFlags,proto3" json:"local_flags,omitempty"`
  810. // The version_hash is an implementation detail and not part of the wire
  811. // format.
  812. VersionHash []byte `protobuf:"bytes,1001,opt,name=version_hash,json=versionHash,proto3" json:"version_hash,omitempty"`
  813. // The time when the inode was last changed (i.e., permissions, xattrs
  814. // etc changed). This is host-local, not sent over the wire.
  815. InodeChangeNs int64 `protobuf:"varint,1002,opt,name=inode_change_ns,json=inodeChangeNs,proto3" json:"inode_change_ns,omitempty"`
  816. // The size of the data appended to the encrypted file on disk. This is
  817. // host-local, not sent over the wire.
  818. EncryptionTrailerSize int32 `protobuf:"varint,1003,opt,name=encryption_trailer_size,json=encryptionTrailerSize,proto3" json:"encryption_trailer_size,omitempty"`
  819. Deleted bool `protobuf:"varint,6,opt,name=deleted,proto3" json:"deleted,omitempty"`
  820. Invalid bool `protobuf:"varint,7,opt,name=invalid,proto3" json:"invalid,omitempty"`
  821. NoPermissions bool `protobuf:"varint,8,opt,name=no_permissions,json=noPermissions,proto3" json:"no_permissions,omitempty"`
  822. }
  823. func (x *FileInfo) Reset() {
  824. *x = FileInfo{}
  825. mi := &file_bep_bep_proto_msgTypes[7]
  826. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  827. ms.StoreMessageInfo(mi)
  828. }
  829. func (x *FileInfo) String() string {
  830. return protoimpl.X.MessageStringOf(x)
  831. }
  832. func (*FileInfo) ProtoMessage() {}
  833. func (x *FileInfo) ProtoReflect() protoreflect.Message {
  834. mi := &file_bep_bep_proto_msgTypes[7]
  835. if x != nil {
  836. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  837. if ms.LoadMessageInfo() == nil {
  838. ms.StoreMessageInfo(mi)
  839. }
  840. return ms
  841. }
  842. return mi.MessageOf(x)
  843. }
  844. // Deprecated: Use FileInfo.ProtoReflect.Descriptor instead.
  845. func (*FileInfo) Descriptor() ([]byte, []int) {
  846. return file_bep_bep_proto_rawDescGZIP(), []int{7}
  847. }
  848. func (x *FileInfo) GetName() string {
  849. if x != nil {
  850. return x.Name
  851. }
  852. return ""
  853. }
  854. func (x *FileInfo) GetSize() int64 {
  855. if x != nil {
  856. return x.Size
  857. }
  858. return 0
  859. }
  860. func (x *FileInfo) GetModifiedS() int64 {
  861. if x != nil {
  862. return x.ModifiedS
  863. }
  864. return 0
  865. }
  866. func (x *FileInfo) GetModifiedBy() uint64 {
  867. if x != nil {
  868. return x.ModifiedBy
  869. }
  870. return 0
  871. }
  872. func (x *FileInfo) GetVersion() *Vector {
  873. if x != nil {
  874. return x.Version
  875. }
  876. return nil
  877. }
  878. func (x *FileInfo) GetSequence() int64 {
  879. if x != nil {
  880. return x.Sequence
  881. }
  882. return 0
  883. }
  884. func (x *FileInfo) GetBlocks() []*BlockInfo {
  885. if x != nil {
  886. return x.Blocks
  887. }
  888. return nil
  889. }
  890. func (x *FileInfo) GetSymlinkTarget() []byte {
  891. if x != nil {
  892. return x.SymlinkTarget
  893. }
  894. return nil
  895. }
  896. func (x *FileInfo) GetBlocksHash() []byte {
  897. if x != nil {
  898. return x.BlocksHash
  899. }
  900. return nil
  901. }
  902. func (x *FileInfo) GetEncrypted() []byte {
  903. if x != nil {
  904. return x.Encrypted
  905. }
  906. return nil
  907. }
  908. func (x *FileInfo) GetType() FileInfoType {
  909. if x != nil {
  910. return x.Type
  911. }
  912. return FileInfoType_FILE_INFO_TYPE_FILE
  913. }
  914. func (x *FileInfo) GetPermissions() uint32 {
  915. if x != nil {
  916. return x.Permissions
  917. }
  918. return 0
  919. }
  920. func (x *FileInfo) GetModifiedNs() int32 {
  921. if x != nil {
  922. return x.ModifiedNs
  923. }
  924. return 0
  925. }
  926. func (x *FileInfo) GetBlockSize() int32 {
  927. if x != nil {
  928. return x.BlockSize
  929. }
  930. return 0
  931. }
  932. func (x *FileInfo) GetPlatform() *PlatformData {
  933. if x != nil {
  934. return x.Platform
  935. }
  936. return nil
  937. }
  938. func (x *FileInfo) GetLocalFlags() uint32 {
  939. if x != nil {
  940. return x.LocalFlags
  941. }
  942. return 0
  943. }
  944. func (x *FileInfo) GetVersionHash() []byte {
  945. if x != nil {
  946. return x.VersionHash
  947. }
  948. return nil
  949. }
  950. func (x *FileInfo) GetInodeChangeNs() int64 {
  951. if x != nil {
  952. return x.InodeChangeNs
  953. }
  954. return 0
  955. }
  956. func (x *FileInfo) GetEncryptionTrailerSize() int32 {
  957. if x != nil {
  958. return x.EncryptionTrailerSize
  959. }
  960. return 0
  961. }
  962. func (x *FileInfo) GetDeleted() bool {
  963. if x != nil {
  964. return x.Deleted
  965. }
  966. return false
  967. }
  968. func (x *FileInfo) GetInvalid() bool {
  969. if x != nil {
  970. return x.Invalid
  971. }
  972. return false
  973. }
  974. func (x *FileInfo) GetNoPermissions() bool {
  975. if x != nil {
  976. return x.NoPermissions
  977. }
  978. return false
  979. }
  980. type BlockInfo struct {
  981. state protoimpl.MessageState
  982. sizeCache protoimpl.SizeCache
  983. unknownFields protoimpl.UnknownFields
  984. Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
  985. Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
  986. Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
  987. }
  988. func (x *BlockInfo) Reset() {
  989. *x = BlockInfo{}
  990. mi := &file_bep_bep_proto_msgTypes[8]
  991. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  992. ms.StoreMessageInfo(mi)
  993. }
  994. func (x *BlockInfo) String() string {
  995. return protoimpl.X.MessageStringOf(x)
  996. }
  997. func (*BlockInfo) ProtoMessage() {}
  998. func (x *BlockInfo) ProtoReflect() protoreflect.Message {
  999. mi := &file_bep_bep_proto_msgTypes[8]
  1000. if x != nil {
  1001. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1002. if ms.LoadMessageInfo() == nil {
  1003. ms.StoreMessageInfo(mi)
  1004. }
  1005. return ms
  1006. }
  1007. return mi.MessageOf(x)
  1008. }
  1009. // Deprecated: Use BlockInfo.ProtoReflect.Descriptor instead.
  1010. func (*BlockInfo) Descriptor() ([]byte, []int) {
  1011. return file_bep_bep_proto_rawDescGZIP(), []int{8}
  1012. }
  1013. func (x *BlockInfo) GetHash() []byte {
  1014. if x != nil {
  1015. return x.Hash
  1016. }
  1017. return nil
  1018. }
  1019. func (x *BlockInfo) GetOffset() int64 {
  1020. if x != nil {
  1021. return x.Offset
  1022. }
  1023. return 0
  1024. }
  1025. func (x *BlockInfo) GetSize() int32 {
  1026. if x != nil {
  1027. return x.Size
  1028. }
  1029. return 0
  1030. }
  1031. type Vector struct {
  1032. state protoimpl.MessageState
  1033. sizeCache protoimpl.SizeCache
  1034. unknownFields protoimpl.UnknownFields
  1035. Counters []*Counter `protobuf:"bytes,1,rep,name=counters,proto3" json:"counters,omitempty"`
  1036. }
  1037. func (x *Vector) Reset() {
  1038. *x = Vector{}
  1039. mi := &file_bep_bep_proto_msgTypes[9]
  1040. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1041. ms.StoreMessageInfo(mi)
  1042. }
  1043. func (x *Vector) String() string {
  1044. return protoimpl.X.MessageStringOf(x)
  1045. }
  1046. func (*Vector) ProtoMessage() {}
  1047. func (x *Vector) ProtoReflect() protoreflect.Message {
  1048. mi := &file_bep_bep_proto_msgTypes[9]
  1049. if x != nil {
  1050. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1051. if ms.LoadMessageInfo() == nil {
  1052. ms.StoreMessageInfo(mi)
  1053. }
  1054. return ms
  1055. }
  1056. return mi.MessageOf(x)
  1057. }
  1058. // Deprecated: Use Vector.ProtoReflect.Descriptor instead.
  1059. func (*Vector) Descriptor() ([]byte, []int) {
  1060. return file_bep_bep_proto_rawDescGZIP(), []int{9}
  1061. }
  1062. func (x *Vector) GetCounters() []*Counter {
  1063. if x != nil {
  1064. return x.Counters
  1065. }
  1066. return nil
  1067. }
  1068. type Counter struct {
  1069. state protoimpl.MessageState
  1070. sizeCache protoimpl.SizeCache
  1071. unknownFields protoimpl.UnknownFields
  1072. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  1073. Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
  1074. }
  1075. func (x *Counter) Reset() {
  1076. *x = Counter{}
  1077. mi := &file_bep_bep_proto_msgTypes[10]
  1078. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1079. ms.StoreMessageInfo(mi)
  1080. }
  1081. func (x *Counter) String() string {
  1082. return protoimpl.X.MessageStringOf(x)
  1083. }
  1084. func (*Counter) ProtoMessage() {}
  1085. func (x *Counter) ProtoReflect() protoreflect.Message {
  1086. mi := &file_bep_bep_proto_msgTypes[10]
  1087. if x != nil {
  1088. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1089. if ms.LoadMessageInfo() == nil {
  1090. ms.StoreMessageInfo(mi)
  1091. }
  1092. return ms
  1093. }
  1094. return mi.MessageOf(x)
  1095. }
  1096. // Deprecated: Use Counter.ProtoReflect.Descriptor instead.
  1097. func (*Counter) Descriptor() ([]byte, []int) {
  1098. return file_bep_bep_proto_rawDescGZIP(), []int{10}
  1099. }
  1100. func (x *Counter) GetId() uint64 {
  1101. if x != nil {
  1102. return x.Id
  1103. }
  1104. return 0
  1105. }
  1106. func (x *Counter) GetValue() uint64 {
  1107. if x != nil {
  1108. return x.Value
  1109. }
  1110. return 0
  1111. }
  1112. type PlatformData struct {
  1113. state protoimpl.MessageState
  1114. sizeCache protoimpl.SizeCache
  1115. unknownFields protoimpl.UnknownFields
  1116. Unix *UnixData `protobuf:"bytes,1,opt,name=unix,proto3" json:"unix,omitempty"`
  1117. Windows *WindowsData `protobuf:"bytes,2,opt,name=windows,proto3" json:"windows,omitempty"`
  1118. Linux *XattrData `protobuf:"bytes,3,opt,name=linux,proto3" json:"linux,omitempty"`
  1119. Darwin *XattrData `protobuf:"bytes,4,opt,name=darwin,proto3" json:"darwin,omitempty"`
  1120. Freebsd *XattrData `protobuf:"bytes,5,opt,name=freebsd,proto3" json:"freebsd,omitempty"`
  1121. Netbsd *XattrData `protobuf:"bytes,6,opt,name=netbsd,proto3" json:"netbsd,omitempty"`
  1122. }
  1123. func (x *PlatformData) Reset() {
  1124. *x = PlatformData{}
  1125. mi := &file_bep_bep_proto_msgTypes[11]
  1126. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1127. ms.StoreMessageInfo(mi)
  1128. }
  1129. func (x *PlatformData) String() string {
  1130. return protoimpl.X.MessageStringOf(x)
  1131. }
  1132. func (*PlatformData) ProtoMessage() {}
  1133. func (x *PlatformData) ProtoReflect() protoreflect.Message {
  1134. mi := &file_bep_bep_proto_msgTypes[11]
  1135. if x != nil {
  1136. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1137. if ms.LoadMessageInfo() == nil {
  1138. ms.StoreMessageInfo(mi)
  1139. }
  1140. return ms
  1141. }
  1142. return mi.MessageOf(x)
  1143. }
  1144. // Deprecated: Use PlatformData.ProtoReflect.Descriptor instead.
  1145. func (*PlatformData) Descriptor() ([]byte, []int) {
  1146. return file_bep_bep_proto_rawDescGZIP(), []int{11}
  1147. }
  1148. func (x *PlatformData) GetUnix() *UnixData {
  1149. if x != nil {
  1150. return x.Unix
  1151. }
  1152. return nil
  1153. }
  1154. func (x *PlatformData) GetWindows() *WindowsData {
  1155. if x != nil {
  1156. return x.Windows
  1157. }
  1158. return nil
  1159. }
  1160. func (x *PlatformData) GetLinux() *XattrData {
  1161. if x != nil {
  1162. return x.Linux
  1163. }
  1164. return nil
  1165. }
  1166. func (x *PlatformData) GetDarwin() *XattrData {
  1167. if x != nil {
  1168. return x.Darwin
  1169. }
  1170. return nil
  1171. }
  1172. func (x *PlatformData) GetFreebsd() *XattrData {
  1173. if x != nil {
  1174. return x.Freebsd
  1175. }
  1176. return nil
  1177. }
  1178. func (x *PlatformData) GetNetbsd() *XattrData {
  1179. if x != nil {
  1180. return x.Netbsd
  1181. }
  1182. return nil
  1183. }
  1184. type UnixData struct {
  1185. state protoimpl.MessageState
  1186. sizeCache protoimpl.SizeCache
  1187. unknownFields protoimpl.UnknownFields
  1188. // The owner name and group name are set when known (i.e., could be
  1189. // resolved on the source device), while the UID and GID are always set
  1190. // as they come directly from the stat() call.
  1191. OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
  1192. GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
  1193. Uid int32 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
  1194. Gid int32 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"`
  1195. }
  1196. func (x *UnixData) Reset() {
  1197. *x = UnixData{}
  1198. mi := &file_bep_bep_proto_msgTypes[12]
  1199. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1200. ms.StoreMessageInfo(mi)
  1201. }
  1202. func (x *UnixData) String() string {
  1203. return protoimpl.X.MessageStringOf(x)
  1204. }
  1205. func (*UnixData) ProtoMessage() {}
  1206. func (x *UnixData) ProtoReflect() protoreflect.Message {
  1207. mi := &file_bep_bep_proto_msgTypes[12]
  1208. if x != nil {
  1209. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1210. if ms.LoadMessageInfo() == nil {
  1211. ms.StoreMessageInfo(mi)
  1212. }
  1213. return ms
  1214. }
  1215. return mi.MessageOf(x)
  1216. }
  1217. // Deprecated: Use UnixData.ProtoReflect.Descriptor instead.
  1218. func (*UnixData) Descriptor() ([]byte, []int) {
  1219. return file_bep_bep_proto_rawDescGZIP(), []int{12}
  1220. }
  1221. func (x *UnixData) GetOwnerName() string {
  1222. if x != nil {
  1223. return x.OwnerName
  1224. }
  1225. return ""
  1226. }
  1227. func (x *UnixData) GetGroupName() string {
  1228. if x != nil {
  1229. return x.GroupName
  1230. }
  1231. return ""
  1232. }
  1233. func (x *UnixData) GetUid() int32 {
  1234. if x != nil {
  1235. return x.Uid
  1236. }
  1237. return 0
  1238. }
  1239. func (x *UnixData) GetGid() int32 {
  1240. if x != nil {
  1241. return x.Gid
  1242. }
  1243. return 0
  1244. }
  1245. type WindowsData struct {
  1246. state protoimpl.MessageState
  1247. sizeCache protoimpl.SizeCache
  1248. unknownFields protoimpl.UnknownFields
  1249. // Windows file objects have a single owner, which may be a user or a
  1250. // group. We keep the name of that account, and a flag to indicate what
  1251. // type it is.
  1252. OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
  1253. OwnerIsGroup bool `protobuf:"varint,2,opt,name=owner_is_group,json=ownerIsGroup,proto3" json:"owner_is_group,omitempty"`
  1254. }
  1255. func (x *WindowsData) Reset() {
  1256. *x = WindowsData{}
  1257. mi := &file_bep_bep_proto_msgTypes[13]
  1258. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1259. ms.StoreMessageInfo(mi)
  1260. }
  1261. func (x *WindowsData) String() string {
  1262. return protoimpl.X.MessageStringOf(x)
  1263. }
  1264. func (*WindowsData) ProtoMessage() {}
  1265. func (x *WindowsData) ProtoReflect() protoreflect.Message {
  1266. mi := &file_bep_bep_proto_msgTypes[13]
  1267. if x != nil {
  1268. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1269. if ms.LoadMessageInfo() == nil {
  1270. ms.StoreMessageInfo(mi)
  1271. }
  1272. return ms
  1273. }
  1274. return mi.MessageOf(x)
  1275. }
  1276. // Deprecated: Use WindowsData.ProtoReflect.Descriptor instead.
  1277. func (*WindowsData) Descriptor() ([]byte, []int) {
  1278. return file_bep_bep_proto_rawDescGZIP(), []int{13}
  1279. }
  1280. func (x *WindowsData) GetOwnerName() string {
  1281. if x != nil {
  1282. return x.OwnerName
  1283. }
  1284. return ""
  1285. }
  1286. func (x *WindowsData) GetOwnerIsGroup() bool {
  1287. if x != nil {
  1288. return x.OwnerIsGroup
  1289. }
  1290. return false
  1291. }
  1292. type XattrData struct {
  1293. state protoimpl.MessageState
  1294. sizeCache protoimpl.SizeCache
  1295. unknownFields protoimpl.UnknownFields
  1296. Xattrs []*Xattr `protobuf:"bytes,1,rep,name=xattrs,proto3" json:"xattrs,omitempty"`
  1297. }
  1298. func (x *XattrData) Reset() {
  1299. *x = XattrData{}
  1300. mi := &file_bep_bep_proto_msgTypes[14]
  1301. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1302. ms.StoreMessageInfo(mi)
  1303. }
  1304. func (x *XattrData) String() string {
  1305. return protoimpl.X.MessageStringOf(x)
  1306. }
  1307. func (*XattrData) ProtoMessage() {}
  1308. func (x *XattrData) ProtoReflect() protoreflect.Message {
  1309. mi := &file_bep_bep_proto_msgTypes[14]
  1310. if x != nil {
  1311. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1312. if ms.LoadMessageInfo() == nil {
  1313. ms.StoreMessageInfo(mi)
  1314. }
  1315. return ms
  1316. }
  1317. return mi.MessageOf(x)
  1318. }
  1319. // Deprecated: Use XattrData.ProtoReflect.Descriptor instead.
  1320. func (*XattrData) Descriptor() ([]byte, []int) {
  1321. return file_bep_bep_proto_rawDescGZIP(), []int{14}
  1322. }
  1323. func (x *XattrData) GetXattrs() []*Xattr {
  1324. if x != nil {
  1325. return x.Xattrs
  1326. }
  1327. return nil
  1328. }
  1329. type Xattr struct {
  1330. state protoimpl.MessageState
  1331. sizeCache protoimpl.SizeCache
  1332. unknownFields protoimpl.UnknownFields
  1333. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1334. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  1335. }
  1336. func (x *Xattr) Reset() {
  1337. *x = Xattr{}
  1338. mi := &file_bep_bep_proto_msgTypes[15]
  1339. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1340. ms.StoreMessageInfo(mi)
  1341. }
  1342. func (x *Xattr) String() string {
  1343. return protoimpl.X.MessageStringOf(x)
  1344. }
  1345. func (*Xattr) ProtoMessage() {}
  1346. func (x *Xattr) ProtoReflect() protoreflect.Message {
  1347. mi := &file_bep_bep_proto_msgTypes[15]
  1348. if x != nil {
  1349. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1350. if ms.LoadMessageInfo() == nil {
  1351. ms.StoreMessageInfo(mi)
  1352. }
  1353. return ms
  1354. }
  1355. return mi.MessageOf(x)
  1356. }
  1357. // Deprecated: Use Xattr.ProtoReflect.Descriptor instead.
  1358. func (*Xattr) Descriptor() ([]byte, []int) {
  1359. return file_bep_bep_proto_rawDescGZIP(), []int{15}
  1360. }
  1361. func (x *Xattr) GetName() string {
  1362. if x != nil {
  1363. return x.Name
  1364. }
  1365. return ""
  1366. }
  1367. func (x *Xattr) GetValue() []byte {
  1368. if x != nil {
  1369. return x.Value
  1370. }
  1371. return nil
  1372. }
  1373. type Request struct {
  1374. state protoimpl.MessageState
  1375. sizeCache protoimpl.SizeCache
  1376. unknownFields protoimpl.UnknownFields
  1377. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  1378. Folder string `protobuf:"bytes,2,opt,name=folder,proto3" json:"folder,omitempty"`
  1379. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  1380. Offset int64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
  1381. Size int32 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
  1382. Hash []byte `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"`
  1383. FromTemporary bool `protobuf:"varint,7,opt,name=from_temporary,json=fromTemporary,proto3" json:"from_temporary,omitempty"`
  1384. BlockNo int32 `protobuf:"varint,9,opt,name=block_no,json=blockNo,proto3" json:"block_no,omitempty"`
  1385. }
  1386. func (x *Request) Reset() {
  1387. *x = Request{}
  1388. mi := &file_bep_bep_proto_msgTypes[16]
  1389. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1390. ms.StoreMessageInfo(mi)
  1391. }
  1392. func (x *Request) String() string {
  1393. return protoimpl.X.MessageStringOf(x)
  1394. }
  1395. func (*Request) ProtoMessage() {}
  1396. func (x *Request) ProtoReflect() protoreflect.Message {
  1397. mi := &file_bep_bep_proto_msgTypes[16]
  1398. if x != nil {
  1399. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1400. if ms.LoadMessageInfo() == nil {
  1401. ms.StoreMessageInfo(mi)
  1402. }
  1403. return ms
  1404. }
  1405. return mi.MessageOf(x)
  1406. }
  1407. // Deprecated: Use Request.ProtoReflect.Descriptor instead.
  1408. func (*Request) Descriptor() ([]byte, []int) {
  1409. return file_bep_bep_proto_rawDescGZIP(), []int{16}
  1410. }
  1411. func (x *Request) GetId() int32 {
  1412. if x != nil {
  1413. return x.Id
  1414. }
  1415. return 0
  1416. }
  1417. func (x *Request) GetFolder() string {
  1418. if x != nil {
  1419. return x.Folder
  1420. }
  1421. return ""
  1422. }
  1423. func (x *Request) GetName() string {
  1424. if x != nil {
  1425. return x.Name
  1426. }
  1427. return ""
  1428. }
  1429. func (x *Request) GetOffset() int64 {
  1430. if x != nil {
  1431. return x.Offset
  1432. }
  1433. return 0
  1434. }
  1435. func (x *Request) GetSize() int32 {
  1436. if x != nil {
  1437. return x.Size
  1438. }
  1439. return 0
  1440. }
  1441. func (x *Request) GetHash() []byte {
  1442. if x != nil {
  1443. return x.Hash
  1444. }
  1445. return nil
  1446. }
  1447. func (x *Request) GetFromTemporary() bool {
  1448. if x != nil {
  1449. return x.FromTemporary
  1450. }
  1451. return false
  1452. }
  1453. func (x *Request) GetBlockNo() int32 {
  1454. if x != nil {
  1455. return x.BlockNo
  1456. }
  1457. return 0
  1458. }
  1459. type Response struct {
  1460. state protoimpl.MessageState
  1461. sizeCache protoimpl.SizeCache
  1462. unknownFields protoimpl.UnknownFields
  1463. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  1464. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  1465. Code ErrorCode `protobuf:"varint,3,opt,name=code,proto3,enum=bep.ErrorCode" json:"code,omitempty"`
  1466. }
  1467. func (x *Response) Reset() {
  1468. *x = Response{}
  1469. mi := &file_bep_bep_proto_msgTypes[17]
  1470. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1471. ms.StoreMessageInfo(mi)
  1472. }
  1473. func (x *Response) String() string {
  1474. return protoimpl.X.MessageStringOf(x)
  1475. }
  1476. func (*Response) ProtoMessage() {}
  1477. func (x *Response) ProtoReflect() protoreflect.Message {
  1478. mi := &file_bep_bep_proto_msgTypes[17]
  1479. if x != nil {
  1480. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1481. if ms.LoadMessageInfo() == nil {
  1482. ms.StoreMessageInfo(mi)
  1483. }
  1484. return ms
  1485. }
  1486. return mi.MessageOf(x)
  1487. }
  1488. // Deprecated: Use Response.ProtoReflect.Descriptor instead.
  1489. func (*Response) Descriptor() ([]byte, []int) {
  1490. return file_bep_bep_proto_rawDescGZIP(), []int{17}
  1491. }
  1492. func (x *Response) GetId() int32 {
  1493. if x != nil {
  1494. return x.Id
  1495. }
  1496. return 0
  1497. }
  1498. func (x *Response) GetData() []byte {
  1499. if x != nil {
  1500. return x.Data
  1501. }
  1502. return nil
  1503. }
  1504. func (x *Response) GetCode() ErrorCode {
  1505. if x != nil {
  1506. return x.Code
  1507. }
  1508. return ErrorCode_ERROR_CODE_NO_ERROR
  1509. }
  1510. type DownloadProgress struct {
  1511. state protoimpl.MessageState
  1512. sizeCache protoimpl.SizeCache
  1513. unknownFields protoimpl.UnknownFields
  1514. Folder string `protobuf:"bytes,1,opt,name=folder,proto3" json:"folder,omitempty"`
  1515. Updates []*FileDownloadProgressUpdate `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"`
  1516. }
  1517. func (x *DownloadProgress) Reset() {
  1518. *x = DownloadProgress{}
  1519. mi := &file_bep_bep_proto_msgTypes[18]
  1520. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1521. ms.StoreMessageInfo(mi)
  1522. }
  1523. func (x *DownloadProgress) String() string {
  1524. return protoimpl.X.MessageStringOf(x)
  1525. }
  1526. func (*DownloadProgress) ProtoMessage() {}
  1527. func (x *DownloadProgress) ProtoReflect() protoreflect.Message {
  1528. mi := &file_bep_bep_proto_msgTypes[18]
  1529. if x != nil {
  1530. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1531. if ms.LoadMessageInfo() == nil {
  1532. ms.StoreMessageInfo(mi)
  1533. }
  1534. return ms
  1535. }
  1536. return mi.MessageOf(x)
  1537. }
  1538. // Deprecated: Use DownloadProgress.ProtoReflect.Descriptor instead.
  1539. func (*DownloadProgress) Descriptor() ([]byte, []int) {
  1540. return file_bep_bep_proto_rawDescGZIP(), []int{18}
  1541. }
  1542. func (x *DownloadProgress) GetFolder() string {
  1543. if x != nil {
  1544. return x.Folder
  1545. }
  1546. return ""
  1547. }
  1548. func (x *DownloadProgress) GetUpdates() []*FileDownloadProgressUpdate {
  1549. if x != nil {
  1550. return x.Updates
  1551. }
  1552. return nil
  1553. }
  1554. type FileDownloadProgressUpdate struct {
  1555. state protoimpl.MessageState
  1556. sizeCache protoimpl.SizeCache
  1557. unknownFields protoimpl.UnknownFields
  1558. UpdateType FileDownloadProgressUpdateType `protobuf:"varint,1,opt,name=update_type,json=updateType,proto3,enum=bep.FileDownloadProgressUpdateType" json:"update_type,omitempty"`
  1559. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  1560. Version *Vector `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
  1561. BlockIndexes []int32 `protobuf:"varint,4,rep,name=block_indexes,json=blockIndexes,proto3" json:"block_indexes,omitempty"`
  1562. BlockSize int32 `protobuf:"varint,5,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
  1563. }
  1564. func (x *FileDownloadProgressUpdate) Reset() {
  1565. *x = FileDownloadProgressUpdate{}
  1566. mi := &file_bep_bep_proto_msgTypes[19]
  1567. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1568. ms.StoreMessageInfo(mi)
  1569. }
  1570. func (x *FileDownloadProgressUpdate) String() string {
  1571. return protoimpl.X.MessageStringOf(x)
  1572. }
  1573. func (*FileDownloadProgressUpdate) ProtoMessage() {}
  1574. func (x *FileDownloadProgressUpdate) ProtoReflect() protoreflect.Message {
  1575. mi := &file_bep_bep_proto_msgTypes[19]
  1576. if x != nil {
  1577. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1578. if ms.LoadMessageInfo() == nil {
  1579. ms.StoreMessageInfo(mi)
  1580. }
  1581. return ms
  1582. }
  1583. return mi.MessageOf(x)
  1584. }
  1585. // Deprecated: Use FileDownloadProgressUpdate.ProtoReflect.Descriptor instead.
  1586. func (*FileDownloadProgressUpdate) Descriptor() ([]byte, []int) {
  1587. return file_bep_bep_proto_rawDescGZIP(), []int{19}
  1588. }
  1589. func (x *FileDownloadProgressUpdate) GetUpdateType() FileDownloadProgressUpdateType {
  1590. if x != nil {
  1591. return x.UpdateType
  1592. }
  1593. return FileDownloadProgressUpdateType_FILE_DOWNLOAD_PROGRESS_UPDATE_TYPE_APPEND
  1594. }
  1595. func (x *FileDownloadProgressUpdate) GetName() string {
  1596. if x != nil {
  1597. return x.Name
  1598. }
  1599. return ""
  1600. }
  1601. func (x *FileDownloadProgressUpdate) GetVersion() *Vector {
  1602. if x != nil {
  1603. return x.Version
  1604. }
  1605. return nil
  1606. }
  1607. func (x *FileDownloadProgressUpdate) GetBlockIndexes() []int32 {
  1608. if x != nil {
  1609. return x.BlockIndexes
  1610. }
  1611. return nil
  1612. }
  1613. func (x *FileDownloadProgressUpdate) GetBlockSize() int32 {
  1614. if x != nil {
  1615. return x.BlockSize
  1616. }
  1617. return 0
  1618. }
  1619. type Ping struct {
  1620. state protoimpl.MessageState
  1621. sizeCache protoimpl.SizeCache
  1622. unknownFields protoimpl.UnknownFields
  1623. }
  1624. func (x *Ping) Reset() {
  1625. *x = Ping{}
  1626. mi := &file_bep_bep_proto_msgTypes[20]
  1627. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1628. ms.StoreMessageInfo(mi)
  1629. }
  1630. func (x *Ping) String() string {
  1631. return protoimpl.X.MessageStringOf(x)
  1632. }
  1633. func (*Ping) ProtoMessage() {}
  1634. func (x *Ping) ProtoReflect() protoreflect.Message {
  1635. mi := &file_bep_bep_proto_msgTypes[20]
  1636. if x != nil {
  1637. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1638. if ms.LoadMessageInfo() == nil {
  1639. ms.StoreMessageInfo(mi)
  1640. }
  1641. return ms
  1642. }
  1643. return mi.MessageOf(x)
  1644. }
  1645. // Deprecated: Use Ping.ProtoReflect.Descriptor instead.
  1646. func (*Ping) Descriptor() ([]byte, []int) {
  1647. return file_bep_bep_proto_rawDescGZIP(), []int{20}
  1648. }
  1649. type Close struct {
  1650. state protoimpl.MessageState
  1651. sizeCache protoimpl.SizeCache
  1652. unknownFields protoimpl.UnknownFields
  1653. Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
  1654. }
  1655. func (x *Close) Reset() {
  1656. *x = Close{}
  1657. mi := &file_bep_bep_proto_msgTypes[21]
  1658. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1659. ms.StoreMessageInfo(mi)
  1660. }
  1661. func (x *Close) String() string {
  1662. return protoimpl.X.MessageStringOf(x)
  1663. }
  1664. func (*Close) ProtoMessage() {}
  1665. func (x *Close) ProtoReflect() protoreflect.Message {
  1666. mi := &file_bep_bep_proto_msgTypes[21]
  1667. if x != nil {
  1668. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1669. if ms.LoadMessageInfo() == nil {
  1670. ms.StoreMessageInfo(mi)
  1671. }
  1672. return ms
  1673. }
  1674. return mi.MessageOf(x)
  1675. }
  1676. // Deprecated: Use Close.ProtoReflect.Descriptor instead.
  1677. func (*Close) Descriptor() ([]byte, []int) {
  1678. return file_bep_bep_proto_rawDescGZIP(), []int{21}
  1679. }
  1680. func (x *Close) GetReason() string {
  1681. if x != nil {
  1682. return x.Reason
  1683. }
  1684. return ""
  1685. }
  1686. var File_bep_bep_proto protoreflect.FileDescriptor
  1687. var file_bep_bep_proto_rawDesc = []byte{
  1688. 0x0a, 0x0d, 0x62, 0x65, 0x70, 0x2f, 0x62, 0x65, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  1689. 0x03, 0x62, 0x65, 0x70, 0x22, 0xb7, 0x01, 0x0a, 0x05, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x1f,
  1690. 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  1691. 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  1692. 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  1693. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65,
  1694. 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
  1695. 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
  1696. 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x6e, 0x75, 0x6d, 0x5f, 0x63,
  1697. 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05,
  1698. 0x52, 0x0e, 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  1699. 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x05, 0x20,
  1700. 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x69,
  1701. 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x24, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
  1702. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x4d, 0x65, 0x73,
  1703. 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x39,
  1704. 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
  1705. 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1706. 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x63, 0x6f,
  1707. 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x54, 0x0a, 0x0d, 0x43, 0x6c, 0x75,
  1708. 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x25, 0x0a, 0x07, 0x66, 0x6f,
  1709. 0x6c, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x62, 0x65,
  1710. 0x70, 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72,
  1711. 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x18, 0x02,
  1712. 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x22,
  1713. 0xb8, 0x01, 0x0a, 0x06, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  1714. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61,
  1715. 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c,
  1716. 0x12, 0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f,
  1717. 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52,
  1718. 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x36, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x72, 0x65,
  1719. 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x62, 0x65, 0x70,
  1720. 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f,
  1721. 0x6e, 0x52, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x25, 0x0a,
  1722. 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
  1723. 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x64, 0x65, 0x76,
  1724. 0x69, 0x63, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x07, 0x22, 0xf3, 0x02, 0x0a, 0x06, 0x44,
  1725. 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1726. 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
  1727. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64,
  1728. 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64,
  1729. 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x72,
  1730. 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x62,
  1731. 0x65, 0x70, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b,
  1732. 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63,
  1733. 0x65, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  1734. 0x63, 0x65, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f,
  1735. 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
  1736. 0x6d, 0x61, 0x78, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x69,
  1737. 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
  1738. 0x0a, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x69,
  1739. 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x69,
  1740. 0x6e, 0x64, 0x65, 0x78, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x1a, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x69,
  1741. 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x6d, 0x6f,
  1742. 0x76, 0x61, 0x6c, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x73, 0x6b, 0x69, 0x70,
  1743. 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x6d, 0x6f,
  1744. 0x76, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69,
  1745. 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
  1746. 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x17, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74,
  1747. 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
  1748. 0x22, 0x69, 0x0a, 0x05, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x6c,
  1749. 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65,
  1750. 0x72, 0x12, 0x23, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
  1751. 0x32, 0x0d, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52,
  1752. 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73,
  1753. 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6c,
  1754. 0x61, 0x73, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x94, 0x01, 0x0a, 0x0b,
  1755. 0x49, 0x6e, 0x64, 0x65, 0x78, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66,
  1756. 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x6c,
  1757. 0x64, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03,
  1758. 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66,
  1759. 0x6f, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74,
  1760. 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
  1761. 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a,
  1762. 0x0d, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04,
  1763. 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x76, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e,
  1764. 0x63, 0x65, 0x22, 0xfe, 0x05, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12,
  1765. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  1766. 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  1767. 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x69, 0x66,
  1768. 0x69, 0x65, 0x64, 0x5f, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x6d, 0x6f, 0x64,
  1769. 0x69, 0x66, 0x69, 0x65, 0x64, 0x53, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69,
  1770. 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x6d, 0x6f, 0x64,
  1771. 0x69, 0x66, 0x69, 0x65, 0x64, 0x42, 0x79, 0x12, 0x25, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
  1772. 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x56,
  1773. 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a,
  1774. 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03,
  1775. 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x62, 0x6c,
  1776. 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x65, 0x70,
  1777. 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x63,
  1778. 0x6b, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x74, 0x61,
  1779. 0x72, 0x67, 0x65, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x73, 0x79, 0x6d, 0x6c,
  1780. 0x69, 0x6e, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x6c, 0x6f,
  1781. 0x63, 0x6b, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a,
  1782. 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e,
  1783. 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x65,
  1784. 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
  1785. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x46, 0x69, 0x6c,
  1786. 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
  1787. 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04,
  1788. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
  1789. 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x6e, 0x73,
  1790. 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64,
  1791. 0x4e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65,
  1792. 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x69, 0x7a,
  1793. 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x0e, 0x20,
  1794. 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f,
  1795. 0x72, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
  1796. 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18,
  1797. 0xe8, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x46, 0x6c, 0x61,
  1798. 0x67, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x61,
  1799. 0x73, 0x68, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69,
  1800. 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x5f,
  1801. 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x6e, 0x73, 0x18, 0xea, 0x07, 0x20, 0x01, 0x28, 0x03,
  1802. 0x52, 0x0d, 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x73, 0x12,
  1803. 0x37, 0x0a, 0x17, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x72,
  1804. 0x61, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0xeb, 0x07, 0x20, 0x01, 0x28,
  1805. 0x05, 0x52, 0x15, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61,
  1806. 0x69, 0x6c, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65,
  1807. 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74,
  1808. 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x07, 0x20,
  1809. 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x0e,
  1810. 0x6e, 0x6f, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08,
  1811. 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x6e, 0x6f, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
  1812. 0x6f, 0x6e, 0x73, 0x22, 0x51, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f,
  1813. 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04,
  1814. 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01,
  1815. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04,
  1816. 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65,
  1817. 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x22, 0x32, 0x0a, 0x06, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72,
  1818. 0x12, 0x28, 0x0a, 0x08, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03,
  1819. 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72,
  1820. 0x52, 0x08, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x22, 0x2f, 0x0a, 0x07, 0x43, 0x6f,
  1821. 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1822. 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
  1823. 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xfd, 0x01, 0x0a, 0x0c,
  1824. 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x04,
  1825. 0x75, 0x6e, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x62, 0x65, 0x70,
  1826. 0x2e, 0x55, 0x6e, 0x69, 0x78, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x78, 0x12,
  1827. 0x2a, 0x0a, 0x07, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
  1828. 0x32, 0x10, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x44, 0x61,
  1829. 0x74, 0x61, 0x52, 0x07, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x12, 0x24, 0x0a, 0x05, 0x6c,
  1830. 0x69, 0x6e, 0x75, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x65, 0x70,
  1831. 0x2e, 0x58, 0x61, 0x74, 0x74, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x75,
  1832. 0x78, 0x12, 0x26, 0x0a, 0x06, 0x64, 0x61, 0x72, 0x77, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
  1833. 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x58, 0x61, 0x74, 0x74, 0x72, 0x44, 0x61, 0x74,
  1834. 0x61, 0x52, 0x06, 0x64, 0x61, 0x72, 0x77, 0x69, 0x6e, 0x12, 0x28, 0x0a, 0x07, 0x66, 0x72, 0x65,
  1835. 0x65, 0x62, 0x73, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x65, 0x70,
  1836. 0x2e, 0x58, 0x61, 0x74, 0x74, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x66, 0x72, 0x65, 0x65,
  1837. 0x62, 0x73, 0x64, 0x12, 0x26, 0x0a, 0x06, 0x6e, 0x65, 0x74, 0x62, 0x73, 0x64, 0x18, 0x06, 0x20,
  1838. 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x58, 0x61, 0x74, 0x74, 0x72, 0x44,
  1839. 0x61, 0x74, 0x61, 0x52, 0x06, 0x6e, 0x65, 0x74, 0x62, 0x73, 0x64, 0x22, 0x6c, 0x0a, 0x08, 0x55,
  1840. 0x6e, 0x69, 0x78, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72,
  1841. 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e,
  1842. 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f,
  1843. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75,
  1844. 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
  1845. 0x28, 0x05, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x04,
  1846. 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x67, 0x69, 0x64, 0x22, 0x52, 0x0a, 0x0b, 0x57, 0x69, 0x6e,
  1847. 0x64, 0x6f, 0x77, 0x73, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65,
  1848. 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77,
  1849. 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x77, 0x6e, 0x65, 0x72,
  1850. 0x5f, 0x69, 0x73, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
  1851. 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x2f, 0x0a,
  1852. 0x09, 0x58, 0x61, 0x74, 0x74, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x06, 0x78, 0x61,
  1853. 0x74, 0x74, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x62, 0x65, 0x70,
  1854. 0x2e, 0x58, 0x61, 0x74, 0x74, 0x72, 0x52, 0x06, 0x78, 0x61, 0x74, 0x74, 0x72, 0x73, 0x22, 0x31,
  1855. 0x0a, 0x05, 0x58, 0x61, 0x74, 0x74, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  1856. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76,
  1857. 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
  1858. 0x65, 0x22, 0xcd, 0x01, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,
  1859. 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a,
  1860. 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66,
  1861. 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
  1862. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66,
  1863. 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65,
  1864. 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
  1865. 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x06, 0x20,
  1866. 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x72, 0x6f,
  1867. 0x6d, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28,
  1868. 0x08, 0x52, 0x0d, 0x66, 0x72, 0x6f, 0x6d, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x72, 0x79,
  1869. 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x6f, 0x18, 0x09, 0x20, 0x01,
  1870. 0x28, 0x05, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x6f, 0x4a, 0x04, 0x08, 0x08, 0x10,
  1871. 0x09, 0x22, 0x52, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a,
  1872. 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a,
  1873. 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74,
  1874. 0x61, 0x12, 0x22, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
  1875. 0x0e, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x52,
  1876. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x65, 0x0a, 0x10, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61,
  1877. 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x6c,
  1878. 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65,
  1879. 0x72, 0x12, 0x39, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03,
  1880. 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77,
  1881. 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64,
  1882. 0x61, 0x74, 0x65, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x22, 0xe5, 0x01, 0x0a,
  1883. 0x1a, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f,
  1884. 0x67, 0x72, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x75,
  1885. 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
  1886. 0x32, 0x23, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c,
  1887. 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74,
  1888. 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70,
  1889. 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  1890. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
  1891. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x56, 0x65, 0x63,
  1892. 0x74, 0x6f, 0x72, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0d,
  1893. 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x04, 0x20,
  1894. 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e,
  1895. 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73,
  1896. 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
  1897. 0x53, 0x69, 0x7a, 0x65, 0x22, 0x06, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x22, 0x1f, 0x0a, 0x05,
  1898. 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18,
  1899. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2a, 0xed, 0x01,
  1900. 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a,
  1901. 0x1b, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4c,
  1902. 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x00, 0x12, 0x16,
  1903. 0x0a, 0x12, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49,
  1904. 0x4e, 0x44, 0x45, 0x58, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47,
  1905. 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x44, 0x45, 0x58, 0x5f, 0x55, 0x50, 0x44,
  1906. 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45,
  1907. 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x03, 0x12,
  1908. 0x19, 0x0a, 0x15, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
  1909. 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x10, 0x04, 0x12, 0x22, 0x0a, 0x1e, 0x4d, 0x45,
  1910. 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x4c,
  1911. 0x4f, 0x41, 0x44, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x05, 0x12, 0x15,
  1912. 0x0a, 0x11, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50,
  1913. 0x49, 0x4e, 0x47, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45,
  1914. 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0x07, 0x2a, 0x4f, 0x0a,
  1915. 0x12, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73,
  1916. 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x43,
  1917. 0x4f, 0x4d, 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10,
  1918. 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x4d,
  1919. 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4c, 0x5a, 0x34, 0x10, 0x01, 0x2a, 0x56,
  1920. 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a,
  1921. 0x14, 0x43, 0x4f, 0x4d, 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x45, 0x54,
  1922. 0x41, 0x44, 0x41, 0x54, 0x41, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4d, 0x50, 0x52,
  1923. 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x45, 0x56, 0x45, 0x52, 0x10, 0x01, 0x12, 0x16,
  1924. 0x0a, 0x12, 0x43, 0x4f, 0x4d, 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x4c,
  1925. 0x57, 0x41, 0x59, 0x53, 0x10, 0x02, 0x2a, 0x86, 0x01, 0x0a, 0x0a, 0x46, 0x6f, 0x6c, 0x64, 0x65,
  1926. 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x5f,
  1927. 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x4e, 0x44, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56,
  1928. 0x45, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59,
  1929. 0x50, 0x45, 0x5f, 0x53, 0x45, 0x4e, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x01, 0x12, 0x1c,
  1930. 0x0a, 0x18, 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45,
  1931. 0x43, 0x45, 0x49, 0x56, 0x45, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d,
  1932. 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x43, 0x45,
  1933. 0x49, 0x56, 0x45, 0x5f, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x45, 0x44, 0x10, 0x03, 0x2a,
  1934. 0x51, 0x0a, 0x10, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x61,
  1935. 0x73, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x5f, 0x53, 0x54,
  1936. 0x4f, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e,
  1937. 0x47, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x5f, 0x53, 0x54,
  1938. 0x4f, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x55, 0x53, 0x45, 0x44,
  1939. 0x10, 0x01, 0x2a, 0xb0, 0x01, 0x0a, 0x0c, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x54,
  1940. 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x49, 0x4e, 0x46, 0x4f,
  1941. 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18,
  1942. 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44,
  1943. 0x49, 0x52, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x59, 0x10, 0x01, 0x12, 0x23, 0x0a, 0x1b, 0x46, 0x49,
  1944. 0x4c, 0x45, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x59, 0x4d,
  1945. 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x02, 0x1a, 0x02, 0x08, 0x01, 0x12,
  1946. 0x28, 0x0a, 0x20, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x54, 0x59, 0x50,
  1947. 0x45, 0x5f, 0x53, 0x59, 0x4d, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54,
  1948. 0x4f, 0x52, 0x59, 0x10, 0x03, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x49, 0x4c,
  1949. 0x45, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x59, 0x4d, 0x4c,
  1950. 0x49, 0x4e, 0x4b, 0x10, 0x04, 0x2a, 0x76, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f,
  1951. 0x64, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45,
  1952. 0x5f, 0x4e, 0x4f, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x45,
  1953. 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x49,
  1954. 0x43, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44,
  1955. 0x45, 0x5f, 0x4e, 0x4f, 0x5f, 0x53, 0x55, 0x43, 0x48, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x02,
  1956. 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x49,
  1957. 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x03, 0x2a, 0x7e, 0x0a,
  1958. 0x1e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f,
  1959. 0x67, 0x72, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
  1960. 0x2d, 0x0a, 0x29, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x4f, 0x41, 0x44,
  1961. 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45,
  1962. 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x45, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x2d,
  1963. 0x0a, 0x29, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x4f, 0x41, 0x44, 0x5f,
  1964. 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f,
  1965. 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x47, 0x45, 0x54, 0x10, 0x01, 0x42, 0x70, 0x0a,
  1966. 0x07, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x65, 0x70, 0x42, 0x08, 0x42, 0x65, 0x70, 0x50, 0x72, 0x6f,
  1967. 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
  1968. 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x74, 0x68, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x74,
  1969. 0x68, 0x69, 0x6e, 0x67, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x67, 0x65,
  1970. 0x6e, 0x2f, 0x62, 0x65, 0x70, 0xa2, 0x02, 0x03, 0x42, 0x58, 0x58, 0xaa, 0x02, 0x03, 0x42, 0x65,
  1971. 0x70, 0xca, 0x02, 0x03, 0x42, 0x65, 0x70, 0xe2, 0x02, 0x0f, 0x42, 0x65, 0x70, 0x5c, 0x47, 0x50,
  1972. 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x03, 0x42, 0x65, 0x70, 0x62,
  1973. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1974. }
  1975. var (
  1976. file_bep_bep_proto_rawDescOnce sync.Once
  1977. file_bep_bep_proto_rawDescData = file_bep_bep_proto_rawDesc
  1978. )
  1979. func file_bep_bep_proto_rawDescGZIP() []byte {
  1980. file_bep_bep_proto_rawDescOnce.Do(func() {
  1981. file_bep_bep_proto_rawDescData = protoimpl.X.CompressGZIP(file_bep_bep_proto_rawDescData)
  1982. })
  1983. return file_bep_bep_proto_rawDescData
  1984. }
  1985. var file_bep_bep_proto_enumTypes = make([]protoimpl.EnumInfo, 8)
  1986. var file_bep_bep_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
  1987. var file_bep_bep_proto_goTypes = []any{
  1988. (MessageType)(0), // 0: bep.MessageType
  1989. (MessageCompression)(0), // 1: bep.MessageCompression
  1990. (Compression)(0), // 2: bep.Compression
  1991. (FolderType)(0), // 3: bep.FolderType
  1992. (FolderStopReason)(0), // 4: bep.FolderStopReason
  1993. (FileInfoType)(0), // 5: bep.FileInfoType
  1994. (ErrorCode)(0), // 6: bep.ErrorCode
  1995. (FileDownloadProgressUpdateType)(0), // 7: bep.FileDownloadProgressUpdateType
  1996. (*Hello)(nil), // 8: bep.Hello
  1997. (*Header)(nil), // 9: bep.Header
  1998. (*ClusterConfig)(nil), // 10: bep.ClusterConfig
  1999. (*Folder)(nil), // 11: bep.Folder
  2000. (*Device)(nil), // 12: bep.Device
  2001. (*Index)(nil), // 13: bep.Index
  2002. (*IndexUpdate)(nil), // 14: bep.IndexUpdate
  2003. (*FileInfo)(nil), // 15: bep.FileInfo
  2004. (*BlockInfo)(nil), // 16: bep.BlockInfo
  2005. (*Vector)(nil), // 17: bep.Vector
  2006. (*Counter)(nil), // 18: bep.Counter
  2007. (*PlatformData)(nil), // 19: bep.PlatformData
  2008. (*UnixData)(nil), // 20: bep.UnixData
  2009. (*WindowsData)(nil), // 21: bep.WindowsData
  2010. (*XattrData)(nil), // 22: bep.XattrData
  2011. (*Xattr)(nil), // 23: bep.Xattr
  2012. (*Request)(nil), // 24: bep.Request
  2013. (*Response)(nil), // 25: bep.Response
  2014. (*DownloadProgress)(nil), // 26: bep.DownloadProgress
  2015. (*FileDownloadProgressUpdate)(nil), // 27: bep.FileDownloadProgressUpdate
  2016. (*Ping)(nil), // 28: bep.Ping
  2017. (*Close)(nil), // 29: bep.Close
  2018. }
  2019. var file_bep_bep_proto_depIdxs = []int32{
  2020. 0, // 0: bep.Header.type:type_name -> bep.MessageType
  2021. 1, // 1: bep.Header.compression:type_name -> bep.MessageCompression
  2022. 11, // 2: bep.ClusterConfig.folders:type_name -> bep.Folder
  2023. 3, // 3: bep.Folder.type:type_name -> bep.FolderType
  2024. 4, // 4: bep.Folder.stop_reason:type_name -> bep.FolderStopReason
  2025. 12, // 5: bep.Folder.devices:type_name -> bep.Device
  2026. 2, // 6: bep.Device.compression:type_name -> bep.Compression
  2027. 15, // 7: bep.Index.files:type_name -> bep.FileInfo
  2028. 15, // 8: bep.IndexUpdate.files:type_name -> bep.FileInfo
  2029. 17, // 9: bep.FileInfo.version:type_name -> bep.Vector
  2030. 16, // 10: bep.FileInfo.blocks:type_name -> bep.BlockInfo
  2031. 5, // 11: bep.FileInfo.type:type_name -> bep.FileInfoType
  2032. 19, // 12: bep.FileInfo.platform:type_name -> bep.PlatformData
  2033. 18, // 13: bep.Vector.counters:type_name -> bep.Counter
  2034. 20, // 14: bep.PlatformData.unix:type_name -> bep.UnixData
  2035. 21, // 15: bep.PlatformData.windows:type_name -> bep.WindowsData
  2036. 22, // 16: bep.PlatformData.linux:type_name -> bep.XattrData
  2037. 22, // 17: bep.PlatformData.darwin:type_name -> bep.XattrData
  2038. 22, // 18: bep.PlatformData.freebsd:type_name -> bep.XattrData
  2039. 22, // 19: bep.PlatformData.netbsd:type_name -> bep.XattrData
  2040. 23, // 20: bep.XattrData.xattrs:type_name -> bep.Xattr
  2041. 6, // 21: bep.Response.code:type_name -> bep.ErrorCode
  2042. 27, // 22: bep.DownloadProgress.updates:type_name -> bep.FileDownloadProgressUpdate
  2043. 7, // 23: bep.FileDownloadProgressUpdate.update_type:type_name -> bep.FileDownloadProgressUpdateType
  2044. 17, // 24: bep.FileDownloadProgressUpdate.version:type_name -> bep.Vector
  2045. 25, // [25:25] is the sub-list for method output_type
  2046. 25, // [25:25] is the sub-list for method input_type
  2047. 25, // [25:25] is the sub-list for extension type_name
  2048. 25, // [25:25] is the sub-list for extension extendee
  2049. 0, // [0:25] is the sub-list for field type_name
  2050. }
  2051. func init() { file_bep_bep_proto_init() }
  2052. func file_bep_bep_proto_init() {
  2053. if File_bep_bep_proto != nil {
  2054. return
  2055. }
  2056. type x struct{}
  2057. out := protoimpl.TypeBuilder{
  2058. File: protoimpl.DescBuilder{
  2059. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2060. RawDescriptor: file_bep_bep_proto_rawDesc,
  2061. NumEnums: 8,
  2062. NumMessages: 22,
  2063. NumExtensions: 0,
  2064. NumServices: 0,
  2065. },
  2066. GoTypes: file_bep_bep_proto_goTypes,
  2067. DependencyIndexes: file_bep_bep_proto_depIdxs,
  2068. EnumInfos: file_bep_bep_proto_enumTypes,
  2069. MessageInfos: file_bep_bep_proto_msgTypes,
  2070. }.Build()
  2071. File_bep_bep_proto = out.File
  2072. file_bep_bep_proto_rawDesc = nil
  2073. file_bep_bep_proto_goTypes = nil
  2074. file_bep_bep_proto_depIdxs = nil
  2075. }