structs.pb.go 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.1
  4. // protoc (unknown)
  5. // source: dbproto/structs.proto
  6. package dbproto
  7. import (
  8. bep "github.com/syncthing/syncthing/internal/gen/bep"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. timestamppb "google.golang.org/protobuf/types/known/timestamppb"
  12. reflect "reflect"
  13. sync "sync"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. // Same as bep.FileInfo, but without blocks
  22. type FileInfoTruncated struct {
  23. state protoimpl.MessageState
  24. sizeCache protoimpl.SizeCache
  25. unknownFields protoimpl.UnknownFields
  26. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  27. Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
  28. ModifiedS int64 `protobuf:"varint,5,opt,name=modified_s,json=modifiedS,proto3" json:"modified_s,omitempty"`
  29. ModifiedBy uint64 `protobuf:"varint,12,opt,name=modified_by,json=modifiedBy,proto3" json:"modified_by,omitempty"`
  30. Version *bep.Vector `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"`
  31. Sequence int64 `protobuf:"varint,10,opt,name=sequence,proto3" json:"sequence,omitempty"`
  32. SymlinkTarget []byte `protobuf:"bytes,17,opt,name=symlink_target,json=symlinkTarget,proto3" json:"symlink_target,omitempty"`
  33. BlocksHash []byte `protobuf:"bytes,18,opt,name=blocks_hash,json=blocksHash,proto3" json:"blocks_hash,omitempty"`
  34. PreviousBlocksHash []byte `protobuf:"bytes,20,opt,name=previous_blocks_hash,json=previousBlocksHash,proto3" json:"previous_blocks_hash,omitempty"`
  35. Encrypted []byte `protobuf:"bytes,19,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
  36. Type bep.FileInfoType `protobuf:"varint,2,opt,name=type,proto3,enum=bep.FileInfoType" json:"type,omitempty"`
  37. Permissions uint32 `protobuf:"varint,4,opt,name=permissions,proto3" json:"permissions,omitempty"`
  38. ModifiedNs int32 `protobuf:"varint,11,opt,name=modified_ns,json=modifiedNs,proto3" json:"modified_ns,omitempty"`
  39. BlockSize int32 `protobuf:"varint,13,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
  40. Platform *bep.PlatformData `protobuf:"bytes,14,opt,name=platform,proto3" json:"platform,omitempty"`
  41. // The local_flags fields stores flags that are relevant to the local
  42. // host only. It is not part of the protocol, doesn't get sent or
  43. // received (we make sure to zero it), nonetheless we need it on our
  44. // struct and to be able to serialize it to/from the database.
  45. LocalFlags uint32 `protobuf:"varint,1000,opt,name=local_flags,json=localFlags,proto3" json:"local_flags,omitempty"`
  46. // The version_hash is an implementation detail and not part of the wire
  47. // format.
  48. VersionHash []byte `protobuf:"bytes,1001,opt,name=version_hash,json=versionHash,proto3" json:"version_hash,omitempty"`
  49. // The time when the inode was last changed (i.e., permissions, xattrs
  50. // etc changed). This is host-local, not sent over the wire.
  51. InodeChangeNs int64 `protobuf:"varint,1002,opt,name=inode_change_ns,json=inodeChangeNs,proto3" json:"inode_change_ns,omitempty"`
  52. // The size of the data appended to the encrypted file on disk. This is
  53. // host-local, not sent over the wire.
  54. EncryptionTrailerSize int32 `protobuf:"varint,1003,opt,name=encryption_trailer_size,json=encryptionTrailerSize,proto3" json:"encryption_trailer_size,omitempty"`
  55. Deleted bool `protobuf:"varint,6,opt,name=deleted,proto3" json:"deleted,omitempty"`
  56. Invalid bool `protobuf:"varint,7,opt,name=invalid,proto3" json:"invalid,omitempty"`
  57. NoPermissions bool `protobuf:"varint,8,opt,name=no_permissions,json=noPermissions,proto3" json:"no_permissions,omitempty"`
  58. }
  59. func (x *FileInfoTruncated) Reset() {
  60. *x = FileInfoTruncated{}
  61. mi := &file_dbproto_structs_proto_msgTypes[0]
  62. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  63. ms.StoreMessageInfo(mi)
  64. }
  65. func (x *FileInfoTruncated) String() string {
  66. return protoimpl.X.MessageStringOf(x)
  67. }
  68. func (*FileInfoTruncated) ProtoMessage() {}
  69. func (x *FileInfoTruncated) ProtoReflect() protoreflect.Message {
  70. mi := &file_dbproto_structs_proto_msgTypes[0]
  71. if x != nil {
  72. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  73. if ms.LoadMessageInfo() == nil {
  74. ms.StoreMessageInfo(mi)
  75. }
  76. return ms
  77. }
  78. return mi.MessageOf(x)
  79. }
  80. // Deprecated: Use FileInfoTruncated.ProtoReflect.Descriptor instead.
  81. func (*FileInfoTruncated) Descriptor() ([]byte, []int) {
  82. return file_dbproto_structs_proto_rawDescGZIP(), []int{0}
  83. }
  84. func (x *FileInfoTruncated) GetName() string {
  85. if x != nil {
  86. return x.Name
  87. }
  88. return ""
  89. }
  90. func (x *FileInfoTruncated) GetSize() int64 {
  91. if x != nil {
  92. return x.Size
  93. }
  94. return 0
  95. }
  96. func (x *FileInfoTruncated) GetModifiedS() int64 {
  97. if x != nil {
  98. return x.ModifiedS
  99. }
  100. return 0
  101. }
  102. func (x *FileInfoTruncated) GetModifiedBy() uint64 {
  103. if x != nil {
  104. return x.ModifiedBy
  105. }
  106. return 0
  107. }
  108. func (x *FileInfoTruncated) GetVersion() *bep.Vector {
  109. if x != nil {
  110. return x.Version
  111. }
  112. return nil
  113. }
  114. func (x *FileInfoTruncated) GetSequence() int64 {
  115. if x != nil {
  116. return x.Sequence
  117. }
  118. return 0
  119. }
  120. func (x *FileInfoTruncated) GetSymlinkTarget() []byte {
  121. if x != nil {
  122. return x.SymlinkTarget
  123. }
  124. return nil
  125. }
  126. func (x *FileInfoTruncated) GetBlocksHash() []byte {
  127. if x != nil {
  128. return x.BlocksHash
  129. }
  130. return nil
  131. }
  132. func (x *FileInfoTruncated) GetPreviousBlocksHash() []byte {
  133. if x != nil {
  134. return x.PreviousBlocksHash
  135. }
  136. return nil
  137. }
  138. func (x *FileInfoTruncated) GetEncrypted() []byte {
  139. if x != nil {
  140. return x.Encrypted
  141. }
  142. return nil
  143. }
  144. func (x *FileInfoTruncated) GetType() bep.FileInfoType {
  145. if x != nil {
  146. return x.Type
  147. }
  148. return bep.FileInfoType(0)
  149. }
  150. func (x *FileInfoTruncated) GetPermissions() uint32 {
  151. if x != nil {
  152. return x.Permissions
  153. }
  154. return 0
  155. }
  156. func (x *FileInfoTruncated) GetModifiedNs() int32 {
  157. if x != nil {
  158. return x.ModifiedNs
  159. }
  160. return 0
  161. }
  162. func (x *FileInfoTruncated) GetBlockSize() int32 {
  163. if x != nil {
  164. return x.BlockSize
  165. }
  166. return 0
  167. }
  168. func (x *FileInfoTruncated) GetPlatform() *bep.PlatformData {
  169. if x != nil {
  170. return x.Platform
  171. }
  172. return nil
  173. }
  174. func (x *FileInfoTruncated) GetLocalFlags() uint32 {
  175. if x != nil {
  176. return x.LocalFlags
  177. }
  178. return 0
  179. }
  180. func (x *FileInfoTruncated) GetVersionHash() []byte {
  181. if x != nil {
  182. return x.VersionHash
  183. }
  184. return nil
  185. }
  186. func (x *FileInfoTruncated) GetInodeChangeNs() int64 {
  187. if x != nil {
  188. return x.InodeChangeNs
  189. }
  190. return 0
  191. }
  192. func (x *FileInfoTruncated) GetEncryptionTrailerSize() int32 {
  193. if x != nil {
  194. return x.EncryptionTrailerSize
  195. }
  196. return 0
  197. }
  198. func (x *FileInfoTruncated) GetDeleted() bool {
  199. if x != nil {
  200. return x.Deleted
  201. }
  202. return false
  203. }
  204. func (x *FileInfoTruncated) GetInvalid() bool {
  205. if x != nil {
  206. return x.Invalid
  207. }
  208. return false
  209. }
  210. func (x *FileInfoTruncated) GetNoPermissions() bool {
  211. if x != nil {
  212. return x.NoPermissions
  213. }
  214. return false
  215. }
  216. type FileVersion struct {
  217. state protoimpl.MessageState
  218. sizeCache protoimpl.SizeCache
  219. unknownFields protoimpl.UnknownFields
  220. Version *bep.Vector `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
  221. Deleted bool `protobuf:"varint,2,opt,name=deleted,proto3" json:"deleted,omitempty"`
  222. Devices [][]byte `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
  223. InvalidDevices [][]byte `protobuf:"bytes,4,rep,name=invalid_devices,json=invalidDevices,proto3" json:"invalid_devices,omitempty"`
  224. }
  225. func (x *FileVersion) Reset() {
  226. *x = FileVersion{}
  227. mi := &file_dbproto_structs_proto_msgTypes[1]
  228. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  229. ms.StoreMessageInfo(mi)
  230. }
  231. func (x *FileVersion) String() string {
  232. return protoimpl.X.MessageStringOf(x)
  233. }
  234. func (*FileVersion) ProtoMessage() {}
  235. func (x *FileVersion) ProtoReflect() protoreflect.Message {
  236. mi := &file_dbproto_structs_proto_msgTypes[1]
  237. if x != nil {
  238. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  239. if ms.LoadMessageInfo() == nil {
  240. ms.StoreMessageInfo(mi)
  241. }
  242. return ms
  243. }
  244. return mi.MessageOf(x)
  245. }
  246. // Deprecated: Use FileVersion.ProtoReflect.Descriptor instead.
  247. func (*FileVersion) Descriptor() ([]byte, []int) {
  248. return file_dbproto_structs_proto_rawDescGZIP(), []int{1}
  249. }
  250. func (x *FileVersion) GetVersion() *bep.Vector {
  251. if x != nil {
  252. return x.Version
  253. }
  254. return nil
  255. }
  256. func (x *FileVersion) GetDeleted() bool {
  257. if x != nil {
  258. return x.Deleted
  259. }
  260. return false
  261. }
  262. func (x *FileVersion) GetDevices() [][]byte {
  263. if x != nil {
  264. return x.Devices
  265. }
  266. return nil
  267. }
  268. func (x *FileVersion) GetInvalidDevices() [][]byte {
  269. if x != nil {
  270. return x.InvalidDevices
  271. }
  272. return nil
  273. }
  274. type VersionList struct {
  275. state protoimpl.MessageState
  276. sizeCache protoimpl.SizeCache
  277. unknownFields protoimpl.UnknownFields
  278. Versions []*FileVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
  279. }
  280. func (x *VersionList) Reset() {
  281. *x = VersionList{}
  282. mi := &file_dbproto_structs_proto_msgTypes[2]
  283. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  284. ms.StoreMessageInfo(mi)
  285. }
  286. func (x *VersionList) String() string {
  287. return protoimpl.X.MessageStringOf(x)
  288. }
  289. func (*VersionList) ProtoMessage() {}
  290. func (x *VersionList) ProtoReflect() protoreflect.Message {
  291. mi := &file_dbproto_structs_proto_msgTypes[2]
  292. if x != nil {
  293. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  294. if ms.LoadMessageInfo() == nil {
  295. ms.StoreMessageInfo(mi)
  296. }
  297. return ms
  298. }
  299. return mi.MessageOf(x)
  300. }
  301. // Deprecated: Use VersionList.ProtoReflect.Descriptor instead.
  302. func (*VersionList) Descriptor() ([]byte, []int) {
  303. return file_dbproto_structs_proto_rawDescGZIP(), []int{2}
  304. }
  305. func (x *VersionList) GetVersions() []*FileVersion {
  306. if x != nil {
  307. return x.Versions
  308. }
  309. return nil
  310. }
  311. // BlockList is the structure used to store block lists
  312. type BlockList struct {
  313. state protoimpl.MessageState
  314. sizeCache protoimpl.SizeCache
  315. unknownFields protoimpl.UnknownFields
  316. Blocks []*bep.BlockInfo `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"`
  317. }
  318. func (x *BlockList) Reset() {
  319. *x = BlockList{}
  320. mi := &file_dbproto_structs_proto_msgTypes[3]
  321. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  322. ms.StoreMessageInfo(mi)
  323. }
  324. func (x *BlockList) String() string {
  325. return protoimpl.X.MessageStringOf(x)
  326. }
  327. func (*BlockList) ProtoMessage() {}
  328. func (x *BlockList) ProtoReflect() protoreflect.Message {
  329. mi := &file_dbproto_structs_proto_msgTypes[3]
  330. if x != nil {
  331. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  332. if ms.LoadMessageInfo() == nil {
  333. ms.StoreMessageInfo(mi)
  334. }
  335. return ms
  336. }
  337. return mi.MessageOf(x)
  338. }
  339. // Deprecated: Use BlockList.ProtoReflect.Descriptor instead.
  340. func (*BlockList) Descriptor() ([]byte, []int) {
  341. return file_dbproto_structs_proto_rawDescGZIP(), []int{3}
  342. }
  343. func (x *BlockList) GetBlocks() []*bep.BlockInfo {
  344. if x != nil {
  345. return x.Blocks
  346. }
  347. return nil
  348. }
  349. // IndirectionHashesOnly is used to only unmarshal the indirection hashes
  350. // from a FileInfo
  351. type IndirectionHashesOnly struct {
  352. state protoimpl.MessageState
  353. sizeCache protoimpl.SizeCache
  354. unknownFields protoimpl.UnknownFields
  355. BlocksHash []byte `protobuf:"bytes,18,opt,name=blocks_hash,json=blocksHash,proto3" json:"blocks_hash,omitempty"`
  356. VersionHash []byte `protobuf:"bytes,1001,opt,name=version_hash,json=versionHash,proto3" json:"version_hash,omitempty"`
  357. }
  358. func (x *IndirectionHashesOnly) Reset() {
  359. *x = IndirectionHashesOnly{}
  360. mi := &file_dbproto_structs_proto_msgTypes[4]
  361. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  362. ms.StoreMessageInfo(mi)
  363. }
  364. func (x *IndirectionHashesOnly) String() string {
  365. return protoimpl.X.MessageStringOf(x)
  366. }
  367. func (*IndirectionHashesOnly) ProtoMessage() {}
  368. func (x *IndirectionHashesOnly) ProtoReflect() protoreflect.Message {
  369. mi := &file_dbproto_structs_proto_msgTypes[4]
  370. if x != nil {
  371. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  372. if ms.LoadMessageInfo() == nil {
  373. ms.StoreMessageInfo(mi)
  374. }
  375. return ms
  376. }
  377. return mi.MessageOf(x)
  378. }
  379. // Deprecated: Use IndirectionHashesOnly.ProtoReflect.Descriptor instead.
  380. func (*IndirectionHashesOnly) Descriptor() ([]byte, []int) {
  381. return file_dbproto_structs_proto_rawDescGZIP(), []int{4}
  382. }
  383. func (x *IndirectionHashesOnly) GetBlocksHash() []byte {
  384. if x != nil {
  385. return x.BlocksHash
  386. }
  387. return nil
  388. }
  389. func (x *IndirectionHashesOnly) GetVersionHash() []byte {
  390. if x != nil {
  391. return x.VersionHash
  392. }
  393. return nil
  394. }
  395. // For each folder and device we keep one of these to track the current
  396. // counts and sequence. We also keep one for the global state of the folder.
  397. type Counts struct {
  398. state protoimpl.MessageState
  399. sizeCache protoimpl.SizeCache
  400. unknownFields protoimpl.UnknownFields
  401. Files int32 `protobuf:"varint,1,opt,name=files,proto3" json:"files,omitempty"`
  402. Directories int32 `protobuf:"varint,2,opt,name=directories,proto3" json:"directories,omitempty"`
  403. Symlinks int32 `protobuf:"varint,3,opt,name=symlinks,proto3" json:"symlinks,omitempty"`
  404. Deleted int32 `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"`
  405. Bytes int64 `protobuf:"varint,5,opt,name=bytes,proto3" json:"bytes,omitempty"`
  406. Sequence int64 `protobuf:"varint,6,opt,name=sequence,proto3" json:"sequence,omitempty"` // zero for the global state
  407. DeviceId []byte `protobuf:"bytes,17,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // device ID for remote devices, or special values for local/global
  408. LocalFlags uint32 `protobuf:"varint,18,opt,name=local_flags,json=localFlags,proto3" json:"local_flags,omitempty"` // the local flag for this count bucket
  409. }
  410. func (x *Counts) Reset() {
  411. *x = Counts{}
  412. mi := &file_dbproto_structs_proto_msgTypes[5]
  413. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  414. ms.StoreMessageInfo(mi)
  415. }
  416. func (x *Counts) String() string {
  417. return protoimpl.X.MessageStringOf(x)
  418. }
  419. func (*Counts) ProtoMessage() {}
  420. func (x *Counts) ProtoReflect() protoreflect.Message {
  421. mi := &file_dbproto_structs_proto_msgTypes[5]
  422. if x != nil {
  423. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  424. if ms.LoadMessageInfo() == nil {
  425. ms.StoreMessageInfo(mi)
  426. }
  427. return ms
  428. }
  429. return mi.MessageOf(x)
  430. }
  431. // Deprecated: Use Counts.ProtoReflect.Descriptor instead.
  432. func (*Counts) Descriptor() ([]byte, []int) {
  433. return file_dbproto_structs_proto_rawDescGZIP(), []int{5}
  434. }
  435. func (x *Counts) GetFiles() int32 {
  436. if x != nil {
  437. return x.Files
  438. }
  439. return 0
  440. }
  441. func (x *Counts) GetDirectories() int32 {
  442. if x != nil {
  443. return x.Directories
  444. }
  445. return 0
  446. }
  447. func (x *Counts) GetSymlinks() int32 {
  448. if x != nil {
  449. return x.Symlinks
  450. }
  451. return 0
  452. }
  453. func (x *Counts) GetDeleted() int32 {
  454. if x != nil {
  455. return x.Deleted
  456. }
  457. return 0
  458. }
  459. func (x *Counts) GetBytes() int64 {
  460. if x != nil {
  461. return x.Bytes
  462. }
  463. return 0
  464. }
  465. func (x *Counts) GetSequence() int64 {
  466. if x != nil {
  467. return x.Sequence
  468. }
  469. return 0
  470. }
  471. func (x *Counts) GetDeviceId() []byte {
  472. if x != nil {
  473. return x.DeviceId
  474. }
  475. return nil
  476. }
  477. func (x *Counts) GetLocalFlags() uint32 {
  478. if x != nil {
  479. return x.LocalFlags
  480. }
  481. return 0
  482. }
  483. type CountsSet struct {
  484. state protoimpl.MessageState
  485. sizeCache protoimpl.SizeCache
  486. unknownFields protoimpl.UnknownFields
  487. Counts []*Counts `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty"`
  488. Created int64 `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"` // unix nanos
  489. }
  490. func (x *CountsSet) Reset() {
  491. *x = CountsSet{}
  492. mi := &file_dbproto_structs_proto_msgTypes[6]
  493. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  494. ms.StoreMessageInfo(mi)
  495. }
  496. func (x *CountsSet) String() string {
  497. return protoimpl.X.MessageStringOf(x)
  498. }
  499. func (*CountsSet) ProtoMessage() {}
  500. func (x *CountsSet) ProtoReflect() protoreflect.Message {
  501. mi := &file_dbproto_structs_proto_msgTypes[6]
  502. if x != nil {
  503. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  504. if ms.LoadMessageInfo() == nil {
  505. ms.StoreMessageInfo(mi)
  506. }
  507. return ms
  508. }
  509. return mi.MessageOf(x)
  510. }
  511. // Deprecated: Use CountsSet.ProtoReflect.Descriptor instead.
  512. func (*CountsSet) Descriptor() ([]byte, []int) {
  513. return file_dbproto_structs_proto_rawDescGZIP(), []int{6}
  514. }
  515. func (x *CountsSet) GetCounts() []*Counts {
  516. if x != nil {
  517. return x.Counts
  518. }
  519. return nil
  520. }
  521. func (x *CountsSet) GetCreated() int64 {
  522. if x != nil {
  523. return x.Created
  524. }
  525. return 0
  526. }
  527. type ObservedFolder struct {
  528. state protoimpl.MessageState
  529. sizeCache protoimpl.SizeCache
  530. unknownFields protoimpl.UnknownFields
  531. Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
  532. Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
  533. ReceiveEncrypted bool `protobuf:"varint,3,opt,name=receive_encrypted,json=receiveEncrypted,proto3" json:"receive_encrypted,omitempty"`
  534. RemoteEncrypted bool `protobuf:"varint,4,opt,name=remote_encrypted,json=remoteEncrypted,proto3" json:"remote_encrypted,omitempty"`
  535. }
  536. func (x *ObservedFolder) Reset() {
  537. *x = ObservedFolder{}
  538. mi := &file_dbproto_structs_proto_msgTypes[7]
  539. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  540. ms.StoreMessageInfo(mi)
  541. }
  542. func (x *ObservedFolder) String() string {
  543. return protoimpl.X.MessageStringOf(x)
  544. }
  545. func (*ObservedFolder) ProtoMessage() {}
  546. func (x *ObservedFolder) ProtoReflect() protoreflect.Message {
  547. mi := &file_dbproto_structs_proto_msgTypes[7]
  548. if x != nil {
  549. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  550. if ms.LoadMessageInfo() == nil {
  551. ms.StoreMessageInfo(mi)
  552. }
  553. return ms
  554. }
  555. return mi.MessageOf(x)
  556. }
  557. // Deprecated: Use ObservedFolder.ProtoReflect.Descriptor instead.
  558. func (*ObservedFolder) Descriptor() ([]byte, []int) {
  559. return file_dbproto_structs_proto_rawDescGZIP(), []int{7}
  560. }
  561. func (x *ObservedFolder) GetTime() *timestamppb.Timestamp {
  562. if x != nil {
  563. return x.Time
  564. }
  565. return nil
  566. }
  567. func (x *ObservedFolder) GetLabel() string {
  568. if x != nil {
  569. return x.Label
  570. }
  571. return ""
  572. }
  573. func (x *ObservedFolder) GetReceiveEncrypted() bool {
  574. if x != nil {
  575. return x.ReceiveEncrypted
  576. }
  577. return false
  578. }
  579. func (x *ObservedFolder) GetRemoteEncrypted() bool {
  580. if x != nil {
  581. return x.RemoteEncrypted
  582. }
  583. return false
  584. }
  585. type ObservedDevice struct {
  586. state protoimpl.MessageState
  587. sizeCache protoimpl.SizeCache
  588. unknownFields protoimpl.UnknownFields
  589. Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
  590. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  591. Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
  592. }
  593. func (x *ObservedDevice) Reset() {
  594. *x = ObservedDevice{}
  595. mi := &file_dbproto_structs_proto_msgTypes[8]
  596. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  597. ms.StoreMessageInfo(mi)
  598. }
  599. func (x *ObservedDevice) String() string {
  600. return protoimpl.X.MessageStringOf(x)
  601. }
  602. func (*ObservedDevice) ProtoMessage() {}
  603. func (x *ObservedDevice) ProtoReflect() protoreflect.Message {
  604. mi := &file_dbproto_structs_proto_msgTypes[8]
  605. if x != nil {
  606. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  607. if ms.LoadMessageInfo() == nil {
  608. ms.StoreMessageInfo(mi)
  609. }
  610. return ms
  611. }
  612. return mi.MessageOf(x)
  613. }
  614. // Deprecated: Use ObservedDevice.ProtoReflect.Descriptor instead.
  615. func (*ObservedDevice) Descriptor() ([]byte, []int) {
  616. return file_dbproto_structs_proto_rawDescGZIP(), []int{8}
  617. }
  618. func (x *ObservedDevice) GetTime() *timestamppb.Timestamp {
  619. if x != nil {
  620. return x.Time
  621. }
  622. return nil
  623. }
  624. func (x *ObservedDevice) GetName() string {
  625. if x != nil {
  626. return x.Name
  627. }
  628. return ""
  629. }
  630. func (x *ObservedDevice) GetAddress() string {
  631. if x != nil {
  632. return x.Address
  633. }
  634. return ""
  635. }
  636. var File_dbproto_structs_proto protoreflect.FileDescriptor
  637. var file_dbproto_structs_proto_rawDesc = []byte{
  638. 0x0a, 0x15, 0x64, 0x62, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74,
  639. 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x64, 0x62, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  640. 0x1a, 0x0d, 0x62, 0x65, 0x70, 0x2f, 0x62, 0x65, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
  641. 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  642. 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  643. 0x22, 0x97, 0x06, 0x0a, 0x11, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x54, 0x72, 0x75,
  644. 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
  645. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69,
  646. 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1d,
  647. 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x73, 0x18, 0x05, 0x20, 0x01,
  648. 0x28, 0x03, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x53, 0x12, 0x1f, 0x0a,
  649. 0x0b, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x0c, 0x20, 0x01,
  650. 0x28, 0x04, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x42, 0x79, 0x12, 0x25,
  651. 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32,
  652. 0x0b, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x76, 0x65,
  653. 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63,
  654. 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63,
  655. 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x74, 0x61, 0x72,
  656. 0x67, 0x65, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x73, 0x79, 0x6d, 0x6c, 0x69,
  657. 0x6e, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63,
  658. 0x6b, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62,
  659. 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x30, 0x0a, 0x14, 0x70, 0x72, 0x65,
  660. 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x68, 0x61, 0x73,
  661. 0x68, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x12, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75,
  662. 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x65,
  663. 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09,
  664. 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x74, 0x79, 0x70,
  665. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x46, 0x69,
  666. 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
  667. 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
  668. 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
  669. 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x6e,
  670. 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65,
  671. 0x64, 0x4e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a,
  672. 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x69,
  673. 0x7a, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x0e,
  674. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x65, 0x70, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66,
  675. 0x6f, 0x72, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
  676. 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73,
  677. 0x18, 0xe8, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x46, 0x6c,
  678. 0x61, 0x67, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x68,
  679. 0x61, 0x73, 0x68, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73,
  680. 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x6f, 0x64, 0x65,
  681. 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x6e, 0x73, 0x18, 0xea, 0x07, 0x20, 0x01, 0x28,
  682. 0x03, 0x52, 0x0d, 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x73,
  683. 0x12, 0x37, 0x0a, 0x17, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74,
  684. 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0xeb, 0x07, 0x20, 0x01,
  685. 0x28, 0x05, 0x52, 0x15, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x72,
  686. 0x61, 0x69, 0x6c, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c,
  687. 0x65, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65,
  688. 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x07,
  689. 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x25, 0x0a,
  690. 0x0e, 0x6e, 0x6f, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
  691. 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x6e, 0x6f, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
  692. 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x04, 0x08, 0x10, 0x10, 0x11, 0x22, 0x91, 0x01, 0x0a, 0x0b, 0x46,
  693. 0x69, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x07, 0x76, 0x65,
  694. 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x62, 0x65,
  695. 0x70, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
  696. 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01,
  697. 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x64,
  698. 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x07, 0x64, 0x65,
  699. 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64,
  700. 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e,
  701. 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 0x3f,
  702. 0x0a, 0x0b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a,
  703. 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
  704. 0x14, 0x2e, 0x64, 0x62, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x56, 0x65,
  705. 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22,
  706. 0x33, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x06,
  707. 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62,
  708. 0x65, 0x70, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x62, 0x6c,
  709. 0x6f, 0x63, 0x6b, 0x73, 0x22, 0x5c, 0x0a, 0x15, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
  710. 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1f, 0x0a,
  711. 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x12, 0x20, 0x01,
  712. 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x22,
  713. 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0xe9,
  714. 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x61,
  715. 0x73, 0x68, 0x22, 0xe6, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x14, 0x0a,
  716. 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x66, 0x69,
  717. 0x6c, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x69,
  718. 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
  719. 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b,
  720. 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x73, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b,
  721. 0x73, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01,
  722. 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x62,
  723. 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65,
  724. 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20,
  725. 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x0a,
  726. 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0c,
  727. 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f,
  728. 0x63, 0x61, 0x6c, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0d, 0x52,
  729. 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x4e, 0x0a, 0x09, 0x43,
  730. 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x53, 0x65, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x63, 0x6f, 0x75, 0x6e,
  731. 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x64, 0x62, 0x70, 0x72, 0x6f,
  732. 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x06, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  733. 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01,
  734. 0x28, 0x03, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0xae, 0x01, 0x0a, 0x0e,
  735. 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x2e,
  736. 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
  737. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
  738. 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14,
  739. 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c,
  740. 0x61, 0x62, 0x65, 0x6c, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f,
  741. 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
  742. 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65,
  743. 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x65, 0x6e, 0x63, 0x72,
  744. 0x79, 0x70, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x72, 0x65, 0x6d,
  745. 0x6f, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x22, 0x6e, 0x0a, 0x0e,
  746. 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2e,
  747. 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
  748. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
  749. 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12,
  750. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  751. 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20,
  752. 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x8c, 0x01, 0x0a,
  753. 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x62, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x0c, 0x53, 0x74,
  754. 0x72, 0x75, 0x63, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69,
  755. 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x74, 0x68, 0x69,
  756. 0x6e, 0x67, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x74, 0x68, 0x69, 0x6e, 0x67, 0x2f, 0x69, 0x6e, 0x74,
  757. 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x64, 0x62, 0x70, 0x72, 0x6f, 0x74,
  758. 0x6f, 0xa2, 0x02, 0x03, 0x44, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x44, 0x62, 0x70, 0x72, 0x6f, 0x74,
  759. 0x6f, 0xca, 0x02, 0x07, 0x44, 0x62, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0xe2, 0x02, 0x13, 0x44, 0x62,
  760. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
  761. 0x61, 0xea, 0x02, 0x07, 0x44, 0x62, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f,
  762. 0x74, 0x6f, 0x33,
  763. }
  764. var (
  765. file_dbproto_structs_proto_rawDescOnce sync.Once
  766. file_dbproto_structs_proto_rawDescData = file_dbproto_structs_proto_rawDesc
  767. )
  768. func file_dbproto_structs_proto_rawDescGZIP() []byte {
  769. file_dbproto_structs_proto_rawDescOnce.Do(func() {
  770. file_dbproto_structs_proto_rawDescData = protoimpl.X.CompressGZIP(file_dbproto_structs_proto_rawDescData)
  771. })
  772. return file_dbproto_structs_proto_rawDescData
  773. }
  774. var file_dbproto_structs_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
  775. var file_dbproto_structs_proto_goTypes = []any{
  776. (*FileInfoTruncated)(nil), // 0: dbproto.FileInfoTruncated
  777. (*FileVersion)(nil), // 1: dbproto.FileVersion
  778. (*VersionList)(nil), // 2: dbproto.VersionList
  779. (*BlockList)(nil), // 3: dbproto.BlockList
  780. (*IndirectionHashesOnly)(nil), // 4: dbproto.IndirectionHashesOnly
  781. (*Counts)(nil), // 5: dbproto.Counts
  782. (*CountsSet)(nil), // 6: dbproto.CountsSet
  783. (*ObservedFolder)(nil), // 7: dbproto.ObservedFolder
  784. (*ObservedDevice)(nil), // 8: dbproto.ObservedDevice
  785. (*bep.Vector)(nil), // 9: bep.Vector
  786. (bep.FileInfoType)(0), // 10: bep.FileInfoType
  787. (*bep.PlatformData)(nil), // 11: bep.PlatformData
  788. (*bep.BlockInfo)(nil), // 12: bep.BlockInfo
  789. (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp
  790. }
  791. var file_dbproto_structs_proto_depIdxs = []int32{
  792. 9, // 0: dbproto.FileInfoTruncated.version:type_name -> bep.Vector
  793. 10, // 1: dbproto.FileInfoTruncated.type:type_name -> bep.FileInfoType
  794. 11, // 2: dbproto.FileInfoTruncated.platform:type_name -> bep.PlatformData
  795. 9, // 3: dbproto.FileVersion.version:type_name -> bep.Vector
  796. 1, // 4: dbproto.VersionList.versions:type_name -> dbproto.FileVersion
  797. 12, // 5: dbproto.BlockList.blocks:type_name -> bep.BlockInfo
  798. 5, // 6: dbproto.CountsSet.counts:type_name -> dbproto.Counts
  799. 13, // 7: dbproto.ObservedFolder.time:type_name -> google.protobuf.Timestamp
  800. 13, // 8: dbproto.ObservedDevice.time:type_name -> google.protobuf.Timestamp
  801. 9, // [9:9] is the sub-list for method output_type
  802. 9, // [9:9] is the sub-list for method input_type
  803. 9, // [9:9] is the sub-list for extension type_name
  804. 9, // [9:9] is the sub-list for extension extendee
  805. 0, // [0:9] is the sub-list for field type_name
  806. }
  807. func init() { file_dbproto_structs_proto_init() }
  808. func file_dbproto_structs_proto_init() {
  809. if File_dbproto_structs_proto != nil {
  810. return
  811. }
  812. type x struct{}
  813. out := protoimpl.TypeBuilder{
  814. File: protoimpl.DescBuilder{
  815. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  816. RawDescriptor: file_dbproto_structs_proto_rawDesc,
  817. NumEnums: 0,
  818. NumMessages: 9,
  819. NumExtensions: 0,
  820. NumServices: 0,
  821. },
  822. GoTypes: file_dbproto_structs_proto_goTypes,
  823. DependencyIndexes: file_dbproto_structs_proto_depIdxs,
  824. MessageInfos: file_dbproto_structs_proto_msgTypes,
  825. }.Build()
  826. File_dbproto_structs_proto = out.File
  827. file_dbproto_structs_proto_rawDesc = nil
  828. file_dbproto_structs_proto_goTypes = nil
  829. file_dbproto_structs_proto_depIdxs = nil
  830. }