bep.pb.go 80 KB

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