structs.pb.go 34 KB

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