You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1242 lines
45 KiB

  1. // Code generated by protoc-gen-go.
  2. // source: filer.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package filer_pb is a generated protocol buffer package.
  6. It is generated from these files:
  7. filer.proto
  8. It has these top-level messages:
  9. LookupDirectoryEntryRequest
  10. LookupDirectoryEntryResponse
  11. ListEntriesRequest
  12. ListEntriesResponse
  13. Entry
  14. EventNotification
  15. FileChunk
  16. FuseAttributes
  17. CreateEntryRequest
  18. CreateEntryResponse
  19. UpdateEntryRequest
  20. UpdateEntryResponse
  21. DeleteEntryRequest
  22. DeleteEntryResponse
  23. AssignVolumeRequest
  24. AssignVolumeResponse
  25. LookupVolumeRequest
  26. Locations
  27. Location
  28. LookupVolumeResponse
  29. DeleteCollectionRequest
  30. DeleteCollectionResponse
  31. StatisticsRequest
  32. StatisticsResponse
  33. */
  34. package filer_pb
  35. import proto "github.com/golang/protobuf/proto"
  36. import fmt "fmt"
  37. import math "math"
  38. import (
  39. context "golang.org/x/net/context"
  40. grpc "google.golang.org/grpc"
  41. )
  42. // Reference imports to suppress errors if they are not otherwise used.
  43. var _ = proto.Marshal
  44. var _ = fmt.Errorf
  45. var _ = math.Inf
  46. // This is a compile-time assertion to ensure that this generated file
  47. // is compatible with the proto package it is being compiled against.
  48. // A compilation error at this line likely means your copy of the
  49. // proto package needs to be updated.
  50. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  51. type LookupDirectoryEntryRequest struct {
  52. Directory string `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"`
  53. Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
  54. }
  55. func (m *LookupDirectoryEntryRequest) Reset() { *m = LookupDirectoryEntryRequest{} }
  56. func (m *LookupDirectoryEntryRequest) String() string { return proto.CompactTextString(m) }
  57. func (*LookupDirectoryEntryRequest) ProtoMessage() {}
  58. func (*LookupDirectoryEntryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  59. func (m *LookupDirectoryEntryRequest) GetDirectory() string {
  60. if m != nil {
  61. return m.Directory
  62. }
  63. return ""
  64. }
  65. func (m *LookupDirectoryEntryRequest) GetName() string {
  66. if m != nil {
  67. return m.Name
  68. }
  69. return ""
  70. }
  71. type LookupDirectoryEntryResponse struct {
  72. Entry *Entry `protobuf:"bytes,1,opt,name=entry" json:"entry,omitempty"`
  73. }
  74. func (m *LookupDirectoryEntryResponse) Reset() { *m = LookupDirectoryEntryResponse{} }
  75. func (m *LookupDirectoryEntryResponse) String() string { return proto.CompactTextString(m) }
  76. func (*LookupDirectoryEntryResponse) ProtoMessage() {}
  77. func (*LookupDirectoryEntryResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  78. func (m *LookupDirectoryEntryResponse) GetEntry() *Entry {
  79. if m != nil {
  80. return m.Entry
  81. }
  82. return nil
  83. }
  84. type ListEntriesRequest struct {
  85. Directory string `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"`
  86. Prefix string `protobuf:"bytes,2,opt,name=prefix" json:"prefix,omitempty"`
  87. StartFromFileName string `protobuf:"bytes,3,opt,name=startFromFileName" json:"startFromFileName,omitempty"`
  88. InclusiveStartFrom bool `protobuf:"varint,4,opt,name=inclusiveStartFrom" json:"inclusiveStartFrom,omitempty"`
  89. Limit uint32 `protobuf:"varint,5,opt,name=limit" json:"limit,omitempty"`
  90. }
  91. func (m *ListEntriesRequest) Reset() { *m = ListEntriesRequest{} }
  92. func (m *ListEntriesRequest) String() string { return proto.CompactTextString(m) }
  93. func (*ListEntriesRequest) ProtoMessage() {}
  94. func (*ListEntriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
  95. func (m *ListEntriesRequest) GetDirectory() string {
  96. if m != nil {
  97. return m.Directory
  98. }
  99. return ""
  100. }
  101. func (m *ListEntriesRequest) GetPrefix() string {
  102. if m != nil {
  103. return m.Prefix
  104. }
  105. return ""
  106. }
  107. func (m *ListEntriesRequest) GetStartFromFileName() string {
  108. if m != nil {
  109. return m.StartFromFileName
  110. }
  111. return ""
  112. }
  113. func (m *ListEntriesRequest) GetInclusiveStartFrom() bool {
  114. if m != nil {
  115. return m.InclusiveStartFrom
  116. }
  117. return false
  118. }
  119. func (m *ListEntriesRequest) GetLimit() uint32 {
  120. if m != nil {
  121. return m.Limit
  122. }
  123. return 0
  124. }
  125. type ListEntriesResponse struct {
  126. Entries []*Entry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
  127. }
  128. func (m *ListEntriesResponse) Reset() { *m = ListEntriesResponse{} }
  129. func (m *ListEntriesResponse) String() string { return proto.CompactTextString(m) }
  130. func (*ListEntriesResponse) ProtoMessage() {}
  131. func (*ListEntriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
  132. func (m *ListEntriesResponse) GetEntries() []*Entry {
  133. if m != nil {
  134. return m.Entries
  135. }
  136. return nil
  137. }
  138. type Entry struct {
  139. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  140. IsDirectory bool `protobuf:"varint,2,opt,name=is_directory,json=isDirectory" json:"is_directory,omitempty"`
  141. Chunks []*FileChunk `protobuf:"bytes,3,rep,name=chunks" json:"chunks,omitempty"`
  142. Attributes *FuseAttributes `protobuf:"bytes,4,opt,name=attributes" json:"attributes,omitempty"`
  143. Extended map[string][]byte `protobuf:"bytes,5,rep,name=extended" json:"extended,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"`
  144. }
  145. func (m *Entry) Reset() { *m = Entry{} }
  146. func (m *Entry) String() string { return proto.CompactTextString(m) }
  147. func (*Entry) ProtoMessage() {}
  148. func (*Entry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
  149. func (m *Entry) GetName() string {
  150. if m != nil {
  151. return m.Name
  152. }
  153. return ""
  154. }
  155. func (m *Entry) GetIsDirectory() bool {
  156. if m != nil {
  157. return m.IsDirectory
  158. }
  159. return false
  160. }
  161. func (m *Entry) GetChunks() []*FileChunk {
  162. if m != nil {
  163. return m.Chunks
  164. }
  165. return nil
  166. }
  167. func (m *Entry) GetAttributes() *FuseAttributes {
  168. if m != nil {
  169. return m.Attributes
  170. }
  171. return nil
  172. }
  173. func (m *Entry) GetExtended() map[string][]byte {
  174. if m != nil {
  175. return m.Extended
  176. }
  177. return nil
  178. }
  179. type EventNotification struct {
  180. OldEntry *Entry `protobuf:"bytes,1,opt,name=old_entry,json=oldEntry" json:"old_entry,omitempty"`
  181. NewEntry *Entry `protobuf:"bytes,2,opt,name=new_entry,json=newEntry" json:"new_entry,omitempty"`
  182. DeleteChunks bool `protobuf:"varint,3,opt,name=delete_chunks,json=deleteChunks" json:"delete_chunks,omitempty"`
  183. }
  184. func (m *EventNotification) Reset() { *m = EventNotification{} }
  185. func (m *EventNotification) String() string { return proto.CompactTextString(m) }
  186. func (*EventNotification) ProtoMessage() {}
  187. func (*EventNotification) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
  188. func (m *EventNotification) GetOldEntry() *Entry {
  189. if m != nil {
  190. return m.OldEntry
  191. }
  192. return nil
  193. }
  194. func (m *EventNotification) GetNewEntry() *Entry {
  195. if m != nil {
  196. return m.NewEntry
  197. }
  198. return nil
  199. }
  200. func (m *EventNotification) GetDeleteChunks() bool {
  201. if m != nil {
  202. return m.DeleteChunks
  203. }
  204. return false
  205. }
  206. type FileChunk struct {
  207. FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId" json:"file_id,omitempty"`
  208. Offset int64 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
  209. Size uint64 `protobuf:"varint,3,opt,name=size" json:"size,omitempty"`
  210. Mtime int64 `protobuf:"varint,4,opt,name=mtime" json:"mtime,omitempty"`
  211. ETag string `protobuf:"bytes,5,opt,name=e_tag,json=eTag" json:"e_tag,omitempty"`
  212. SourceFileId string `protobuf:"bytes,6,opt,name=source_file_id,json=sourceFileId" json:"source_file_id,omitempty"`
  213. }
  214. func (m *FileChunk) Reset() { *m = FileChunk{} }
  215. func (m *FileChunk) String() string { return proto.CompactTextString(m) }
  216. func (*FileChunk) ProtoMessage() {}
  217. func (*FileChunk) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
  218. func (m *FileChunk) GetFileId() string {
  219. if m != nil {
  220. return m.FileId
  221. }
  222. return ""
  223. }
  224. func (m *FileChunk) GetOffset() int64 {
  225. if m != nil {
  226. return m.Offset
  227. }
  228. return 0
  229. }
  230. func (m *FileChunk) GetSize() uint64 {
  231. if m != nil {
  232. return m.Size
  233. }
  234. return 0
  235. }
  236. func (m *FileChunk) GetMtime() int64 {
  237. if m != nil {
  238. return m.Mtime
  239. }
  240. return 0
  241. }
  242. func (m *FileChunk) GetETag() string {
  243. if m != nil {
  244. return m.ETag
  245. }
  246. return ""
  247. }
  248. func (m *FileChunk) GetSourceFileId() string {
  249. if m != nil {
  250. return m.SourceFileId
  251. }
  252. return ""
  253. }
  254. type FuseAttributes struct {
  255. FileSize uint64 `protobuf:"varint,1,opt,name=file_size,json=fileSize" json:"file_size,omitempty"`
  256. Mtime int64 `protobuf:"varint,2,opt,name=mtime" json:"mtime,omitempty"`
  257. FileMode uint32 `protobuf:"varint,3,opt,name=file_mode,json=fileMode" json:"file_mode,omitempty"`
  258. Uid uint32 `protobuf:"varint,4,opt,name=uid" json:"uid,omitempty"`
  259. Gid uint32 `protobuf:"varint,5,opt,name=gid" json:"gid,omitempty"`
  260. Crtime int64 `protobuf:"varint,6,opt,name=crtime" json:"crtime,omitempty"`
  261. Mime string `protobuf:"bytes,7,opt,name=mime" json:"mime,omitempty"`
  262. Replication string `protobuf:"bytes,8,opt,name=replication" json:"replication,omitempty"`
  263. Collection string `protobuf:"bytes,9,opt,name=collection" json:"collection,omitempty"`
  264. TtlSec int32 `protobuf:"varint,10,opt,name=ttl_sec,json=ttlSec" json:"ttl_sec,omitempty"`
  265. UserName string `protobuf:"bytes,11,opt,name=user_name,json=userName" json:"user_name,omitempty"`
  266. GroupName []string `protobuf:"bytes,12,rep,name=group_name,json=groupName" json:"group_name,omitempty"`
  267. }
  268. func (m *FuseAttributes) Reset() { *m = FuseAttributes{} }
  269. func (m *FuseAttributes) String() string { return proto.CompactTextString(m) }
  270. func (*FuseAttributes) ProtoMessage() {}
  271. func (*FuseAttributes) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
  272. func (m *FuseAttributes) GetFileSize() uint64 {
  273. if m != nil {
  274. return m.FileSize
  275. }
  276. return 0
  277. }
  278. func (m *FuseAttributes) GetMtime() int64 {
  279. if m != nil {
  280. return m.Mtime
  281. }
  282. return 0
  283. }
  284. func (m *FuseAttributes) GetFileMode() uint32 {
  285. if m != nil {
  286. return m.FileMode
  287. }
  288. return 0
  289. }
  290. func (m *FuseAttributes) GetUid() uint32 {
  291. if m != nil {
  292. return m.Uid
  293. }
  294. return 0
  295. }
  296. func (m *FuseAttributes) GetGid() uint32 {
  297. if m != nil {
  298. return m.Gid
  299. }
  300. return 0
  301. }
  302. func (m *FuseAttributes) GetCrtime() int64 {
  303. if m != nil {
  304. return m.Crtime
  305. }
  306. return 0
  307. }
  308. func (m *FuseAttributes) GetMime() string {
  309. if m != nil {
  310. return m.Mime
  311. }
  312. return ""
  313. }
  314. func (m *FuseAttributes) GetReplication() string {
  315. if m != nil {
  316. return m.Replication
  317. }
  318. return ""
  319. }
  320. func (m *FuseAttributes) GetCollection() string {
  321. if m != nil {
  322. return m.Collection
  323. }
  324. return ""
  325. }
  326. func (m *FuseAttributes) GetTtlSec() int32 {
  327. if m != nil {
  328. return m.TtlSec
  329. }
  330. return 0
  331. }
  332. func (m *FuseAttributes) GetUserName() string {
  333. if m != nil {
  334. return m.UserName
  335. }
  336. return ""
  337. }
  338. func (m *FuseAttributes) GetGroupName() []string {
  339. if m != nil {
  340. return m.GroupName
  341. }
  342. return nil
  343. }
  344. type CreateEntryRequest struct {
  345. Directory string `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"`
  346. Entry *Entry `protobuf:"bytes,2,opt,name=entry" json:"entry,omitempty"`
  347. }
  348. func (m *CreateEntryRequest) Reset() { *m = CreateEntryRequest{} }
  349. func (m *CreateEntryRequest) String() string { return proto.CompactTextString(m) }
  350. func (*CreateEntryRequest) ProtoMessage() {}
  351. func (*CreateEntryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
  352. func (m *CreateEntryRequest) GetDirectory() string {
  353. if m != nil {
  354. return m.Directory
  355. }
  356. return ""
  357. }
  358. func (m *CreateEntryRequest) GetEntry() *Entry {
  359. if m != nil {
  360. return m.Entry
  361. }
  362. return nil
  363. }
  364. type CreateEntryResponse struct {
  365. }
  366. func (m *CreateEntryResponse) Reset() { *m = CreateEntryResponse{} }
  367. func (m *CreateEntryResponse) String() string { return proto.CompactTextString(m) }
  368. func (*CreateEntryResponse) ProtoMessage() {}
  369. func (*CreateEntryResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
  370. type UpdateEntryRequest struct {
  371. Directory string `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"`
  372. Entry *Entry `protobuf:"bytes,2,opt,name=entry" json:"entry,omitempty"`
  373. }
  374. func (m *UpdateEntryRequest) Reset() { *m = UpdateEntryRequest{} }
  375. func (m *UpdateEntryRequest) String() string { return proto.CompactTextString(m) }
  376. func (*UpdateEntryRequest) ProtoMessage() {}
  377. func (*UpdateEntryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
  378. func (m *UpdateEntryRequest) GetDirectory() string {
  379. if m != nil {
  380. return m.Directory
  381. }
  382. return ""
  383. }
  384. func (m *UpdateEntryRequest) GetEntry() *Entry {
  385. if m != nil {
  386. return m.Entry
  387. }
  388. return nil
  389. }
  390. type UpdateEntryResponse struct {
  391. }
  392. func (m *UpdateEntryResponse) Reset() { *m = UpdateEntryResponse{} }
  393. func (m *UpdateEntryResponse) String() string { return proto.CompactTextString(m) }
  394. func (*UpdateEntryResponse) ProtoMessage() {}
  395. func (*UpdateEntryResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
  396. type DeleteEntryRequest struct {
  397. Directory string `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"`
  398. Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
  399. IsDirectory bool `protobuf:"varint,3,opt,name=is_directory,json=isDirectory" json:"is_directory,omitempty"`
  400. IsDeleteData bool `protobuf:"varint,4,opt,name=is_delete_data,json=isDeleteData" json:"is_delete_data,omitempty"`
  401. IsRecursive bool `protobuf:"varint,5,opt,name=is_recursive,json=isRecursive" json:"is_recursive,omitempty"`
  402. }
  403. func (m *DeleteEntryRequest) Reset() { *m = DeleteEntryRequest{} }
  404. func (m *DeleteEntryRequest) String() string { return proto.CompactTextString(m) }
  405. func (*DeleteEntryRequest) ProtoMessage() {}
  406. func (*DeleteEntryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
  407. func (m *DeleteEntryRequest) GetDirectory() string {
  408. if m != nil {
  409. return m.Directory
  410. }
  411. return ""
  412. }
  413. func (m *DeleteEntryRequest) GetName() string {
  414. if m != nil {
  415. return m.Name
  416. }
  417. return ""
  418. }
  419. func (m *DeleteEntryRequest) GetIsDirectory() bool {
  420. if m != nil {
  421. return m.IsDirectory
  422. }
  423. return false
  424. }
  425. func (m *DeleteEntryRequest) GetIsDeleteData() bool {
  426. if m != nil {
  427. return m.IsDeleteData
  428. }
  429. return false
  430. }
  431. func (m *DeleteEntryRequest) GetIsRecursive() bool {
  432. if m != nil {
  433. return m.IsRecursive
  434. }
  435. return false
  436. }
  437. type DeleteEntryResponse struct {
  438. }
  439. func (m *DeleteEntryResponse) Reset() { *m = DeleteEntryResponse{} }
  440. func (m *DeleteEntryResponse) String() string { return proto.CompactTextString(m) }
  441. func (*DeleteEntryResponse) ProtoMessage() {}
  442. func (*DeleteEntryResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
  443. type AssignVolumeRequest struct {
  444. Count int32 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
  445. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  446. Replication string `protobuf:"bytes,3,opt,name=replication" json:"replication,omitempty"`
  447. TtlSec int32 `protobuf:"varint,4,opt,name=ttl_sec,json=ttlSec" json:"ttl_sec,omitempty"`
  448. DataCenter string `protobuf:"bytes,5,opt,name=data_center,json=dataCenter" json:"data_center,omitempty"`
  449. }
  450. func (m *AssignVolumeRequest) Reset() { *m = AssignVolumeRequest{} }
  451. func (m *AssignVolumeRequest) String() string { return proto.CompactTextString(m) }
  452. func (*AssignVolumeRequest) ProtoMessage() {}
  453. func (*AssignVolumeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
  454. func (m *AssignVolumeRequest) GetCount() int32 {
  455. if m != nil {
  456. return m.Count
  457. }
  458. return 0
  459. }
  460. func (m *AssignVolumeRequest) GetCollection() string {
  461. if m != nil {
  462. return m.Collection
  463. }
  464. return ""
  465. }
  466. func (m *AssignVolumeRequest) GetReplication() string {
  467. if m != nil {
  468. return m.Replication
  469. }
  470. return ""
  471. }
  472. func (m *AssignVolumeRequest) GetTtlSec() int32 {
  473. if m != nil {
  474. return m.TtlSec
  475. }
  476. return 0
  477. }
  478. func (m *AssignVolumeRequest) GetDataCenter() string {
  479. if m != nil {
  480. return m.DataCenter
  481. }
  482. return ""
  483. }
  484. type AssignVolumeResponse struct {
  485. FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId" json:"file_id,omitempty"`
  486. Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
  487. PublicUrl string `protobuf:"bytes,3,opt,name=public_url,json=publicUrl" json:"public_url,omitempty"`
  488. Count int32 `protobuf:"varint,4,opt,name=count" json:"count,omitempty"`
  489. }
  490. func (m *AssignVolumeResponse) Reset() { *m = AssignVolumeResponse{} }
  491. func (m *AssignVolumeResponse) String() string { return proto.CompactTextString(m) }
  492. func (*AssignVolumeResponse) ProtoMessage() {}
  493. func (*AssignVolumeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
  494. func (m *AssignVolumeResponse) GetFileId() string {
  495. if m != nil {
  496. return m.FileId
  497. }
  498. return ""
  499. }
  500. func (m *AssignVolumeResponse) GetUrl() string {
  501. if m != nil {
  502. return m.Url
  503. }
  504. return ""
  505. }
  506. func (m *AssignVolumeResponse) GetPublicUrl() string {
  507. if m != nil {
  508. return m.PublicUrl
  509. }
  510. return ""
  511. }
  512. func (m *AssignVolumeResponse) GetCount() int32 {
  513. if m != nil {
  514. return m.Count
  515. }
  516. return 0
  517. }
  518. type LookupVolumeRequest struct {
  519. VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds" json:"volume_ids,omitempty"`
  520. }
  521. func (m *LookupVolumeRequest) Reset() { *m = LookupVolumeRequest{} }
  522. func (m *LookupVolumeRequest) String() string { return proto.CompactTextString(m) }
  523. func (*LookupVolumeRequest) ProtoMessage() {}
  524. func (*LookupVolumeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
  525. func (m *LookupVolumeRequest) GetVolumeIds() []string {
  526. if m != nil {
  527. return m.VolumeIds
  528. }
  529. return nil
  530. }
  531. type Locations struct {
  532. Locations []*Location `protobuf:"bytes,1,rep,name=locations" json:"locations,omitempty"`
  533. }
  534. func (m *Locations) Reset() { *m = Locations{} }
  535. func (m *Locations) String() string { return proto.CompactTextString(m) }
  536. func (*Locations) ProtoMessage() {}
  537. func (*Locations) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
  538. func (m *Locations) GetLocations() []*Location {
  539. if m != nil {
  540. return m.Locations
  541. }
  542. return nil
  543. }
  544. type Location struct {
  545. Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
  546. PublicUrl string `protobuf:"bytes,2,opt,name=public_url,json=publicUrl" json:"public_url,omitempty"`
  547. }
  548. func (m *Location) Reset() { *m = Location{} }
  549. func (m *Location) String() string { return proto.CompactTextString(m) }
  550. func (*Location) ProtoMessage() {}
  551. func (*Location) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
  552. func (m *Location) GetUrl() string {
  553. if m != nil {
  554. return m.Url
  555. }
  556. return ""
  557. }
  558. func (m *Location) GetPublicUrl() string {
  559. if m != nil {
  560. return m.PublicUrl
  561. }
  562. return ""
  563. }
  564. type LookupVolumeResponse struct {
  565. LocationsMap map[string]*Locations `protobuf:"bytes,1,rep,name=locations_map,json=locationsMap" json:"locations_map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  566. }
  567. func (m *LookupVolumeResponse) Reset() { *m = LookupVolumeResponse{} }
  568. func (m *LookupVolumeResponse) String() string { return proto.CompactTextString(m) }
  569. func (*LookupVolumeResponse) ProtoMessage() {}
  570. func (*LookupVolumeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
  571. func (m *LookupVolumeResponse) GetLocationsMap() map[string]*Locations {
  572. if m != nil {
  573. return m.LocationsMap
  574. }
  575. return nil
  576. }
  577. type DeleteCollectionRequest struct {
  578. Collection string `protobuf:"bytes,1,opt,name=collection" json:"collection,omitempty"`
  579. }
  580. func (m *DeleteCollectionRequest) Reset() { *m = DeleteCollectionRequest{} }
  581. func (m *DeleteCollectionRequest) String() string { return proto.CompactTextString(m) }
  582. func (*DeleteCollectionRequest) ProtoMessage() {}
  583. func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
  584. func (m *DeleteCollectionRequest) GetCollection() string {
  585. if m != nil {
  586. return m.Collection
  587. }
  588. return ""
  589. }
  590. type DeleteCollectionResponse struct {
  591. }
  592. func (m *DeleteCollectionResponse) Reset() { *m = DeleteCollectionResponse{} }
  593. func (m *DeleteCollectionResponse) String() string { return proto.CompactTextString(m) }
  594. func (*DeleteCollectionResponse) ProtoMessage() {}
  595. func (*DeleteCollectionResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} }
  596. type StatisticsRequest struct {
  597. Replication string `protobuf:"bytes,1,opt,name=replication" json:"replication,omitempty"`
  598. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  599. Ttl string `protobuf:"bytes,3,opt,name=ttl" json:"ttl,omitempty"`
  600. }
  601. func (m *StatisticsRequest) Reset() { *m = StatisticsRequest{} }
  602. func (m *StatisticsRequest) String() string { return proto.CompactTextString(m) }
  603. func (*StatisticsRequest) ProtoMessage() {}
  604. func (*StatisticsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} }
  605. func (m *StatisticsRequest) GetReplication() string {
  606. if m != nil {
  607. return m.Replication
  608. }
  609. return ""
  610. }
  611. func (m *StatisticsRequest) GetCollection() string {
  612. if m != nil {
  613. return m.Collection
  614. }
  615. return ""
  616. }
  617. func (m *StatisticsRequest) GetTtl() string {
  618. if m != nil {
  619. return m.Ttl
  620. }
  621. return ""
  622. }
  623. type StatisticsResponse struct {
  624. Replication string `protobuf:"bytes,1,opt,name=replication" json:"replication,omitempty"`
  625. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  626. Ttl string `protobuf:"bytes,3,opt,name=ttl" json:"ttl,omitempty"`
  627. TotalSize uint64 `protobuf:"varint,4,opt,name=total_size,json=totalSize" json:"total_size,omitempty"`
  628. UsedSize uint64 `protobuf:"varint,5,opt,name=used_size,json=usedSize" json:"used_size,omitempty"`
  629. FileCount uint64 `protobuf:"varint,6,opt,name=file_count,json=fileCount" json:"file_count,omitempty"`
  630. }
  631. func (m *StatisticsResponse) Reset() { *m = StatisticsResponse{} }
  632. func (m *StatisticsResponse) String() string { return proto.CompactTextString(m) }
  633. func (*StatisticsResponse) ProtoMessage() {}
  634. func (*StatisticsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{23} }
  635. func (m *StatisticsResponse) GetReplication() string {
  636. if m != nil {
  637. return m.Replication
  638. }
  639. return ""
  640. }
  641. func (m *StatisticsResponse) GetCollection() string {
  642. if m != nil {
  643. return m.Collection
  644. }
  645. return ""
  646. }
  647. func (m *StatisticsResponse) GetTtl() string {
  648. if m != nil {
  649. return m.Ttl
  650. }
  651. return ""
  652. }
  653. func (m *StatisticsResponse) GetTotalSize() uint64 {
  654. if m != nil {
  655. return m.TotalSize
  656. }
  657. return 0
  658. }
  659. func (m *StatisticsResponse) GetUsedSize() uint64 {
  660. if m != nil {
  661. return m.UsedSize
  662. }
  663. return 0
  664. }
  665. func (m *StatisticsResponse) GetFileCount() uint64 {
  666. if m != nil {
  667. return m.FileCount
  668. }
  669. return 0
  670. }
  671. func init() {
  672. proto.RegisterType((*LookupDirectoryEntryRequest)(nil), "filer_pb.LookupDirectoryEntryRequest")
  673. proto.RegisterType((*LookupDirectoryEntryResponse)(nil), "filer_pb.LookupDirectoryEntryResponse")
  674. proto.RegisterType((*ListEntriesRequest)(nil), "filer_pb.ListEntriesRequest")
  675. proto.RegisterType((*ListEntriesResponse)(nil), "filer_pb.ListEntriesResponse")
  676. proto.RegisterType((*Entry)(nil), "filer_pb.Entry")
  677. proto.RegisterType((*EventNotification)(nil), "filer_pb.EventNotification")
  678. proto.RegisterType((*FileChunk)(nil), "filer_pb.FileChunk")
  679. proto.RegisterType((*FuseAttributes)(nil), "filer_pb.FuseAttributes")
  680. proto.RegisterType((*CreateEntryRequest)(nil), "filer_pb.CreateEntryRequest")
  681. proto.RegisterType((*CreateEntryResponse)(nil), "filer_pb.CreateEntryResponse")
  682. proto.RegisterType((*UpdateEntryRequest)(nil), "filer_pb.UpdateEntryRequest")
  683. proto.RegisterType((*UpdateEntryResponse)(nil), "filer_pb.UpdateEntryResponse")
  684. proto.RegisterType((*DeleteEntryRequest)(nil), "filer_pb.DeleteEntryRequest")
  685. proto.RegisterType((*DeleteEntryResponse)(nil), "filer_pb.DeleteEntryResponse")
  686. proto.RegisterType((*AssignVolumeRequest)(nil), "filer_pb.AssignVolumeRequest")
  687. proto.RegisterType((*AssignVolumeResponse)(nil), "filer_pb.AssignVolumeResponse")
  688. proto.RegisterType((*LookupVolumeRequest)(nil), "filer_pb.LookupVolumeRequest")
  689. proto.RegisterType((*Locations)(nil), "filer_pb.Locations")
  690. proto.RegisterType((*Location)(nil), "filer_pb.Location")
  691. proto.RegisterType((*LookupVolumeResponse)(nil), "filer_pb.LookupVolumeResponse")
  692. proto.RegisterType((*DeleteCollectionRequest)(nil), "filer_pb.DeleteCollectionRequest")
  693. proto.RegisterType((*DeleteCollectionResponse)(nil), "filer_pb.DeleteCollectionResponse")
  694. proto.RegisterType((*StatisticsRequest)(nil), "filer_pb.StatisticsRequest")
  695. proto.RegisterType((*StatisticsResponse)(nil), "filer_pb.StatisticsResponse")
  696. }
  697. // Reference imports to suppress errors if they are not otherwise used.
  698. var _ context.Context
  699. var _ grpc.ClientConn
  700. // This is a compile-time assertion to ensure that this generated file
  701. // is compatible with the grpc package it is being compiled against.
  702. const _ = grpc.SupportPackageIsVersion4
  703. // Client API for SeaweedFiler service
  704. type SeaweedFilerClient interface {
  705. LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error)
  706. ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (*ListEntriesResponse, error)
  707. CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error)
  708. UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error)
  709. DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error)
  710. AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error)
  711. LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error)
  712. DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error)
  713. Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error)
  714. }
  715. type seaweedFilerClient struct {
  716. cc *grpc.ClientConn
  717. }
  718. func NewSeaweedFilerClient(cc *grpc.ClientConn) SeaweedFilerClient {
  719. return &seaweedFilerClient{cc}
  720. }
  721. func (c *seaweedFilerClient) LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error) {
  722. out := new(LookupDirectoryEntryResponse)
  723. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupDirectoryEntry", in, out, c.cc, opts...)
  724. if err != nil {
  725. return nil, err
  726. }
  727. return out, nil
  728. }
  729. func (c *seaweedFilerClient) ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (*ListEntriesResponse, error) {
  730. out := new(ListEntriesResponse)
  731. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/ListEntries", in, out, c.cc, opts...)
  732. if err != nil {
  733. return nil, err
  734. }
  735. return out, nil
  736. }
  737. func (c *seaweedFilerClient) CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error) {
  738. out := new(CreateEntryResponse)
  739. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/CreateEntry", in, out, c.cc, opts...)
  740. if err != nil {
  741. return nil, err
  742. }
  743. return out, nil
  744. }
  745. func (c *seaweedFilerClient) UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error) {
  746. out := new(UpdateEntryResponse)
  747. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/UpdateEntry", in, out, c.cc, opts...)
  748. if err != nil {
  749. return nil, err
  750. }
  751. return out, nil
  752. }
  753. func (c *seaweedFilerClient) DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error) {
  754. out := new(DeleteEntryResponse)
  755. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteEntry", in, out, c.cc, opts...)
  756. if err != nil {
  757. return nil, err
  758. }
  759. return out, nil
  760. }
  761. func (c *seaweedFilerClient) AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error) {
  762. out := new(AssignVolumeResponse)
  763. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/AssignVolume", in, out, c.cc, opts...)
  764. if err != nil {
  765. return nil, err
  766. }
  767. return out, nil
  768. }
  769. func (c *seaweedFilerClient) LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error) {
  770. out := new(LookupVolumeResponse)
  771. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupVolume", in, out, c.cc, opts...)
  772. if err != nil {
  773. return nil, err
  774. }
  775. return out, nil
  776. }
  777. func (c *seaweedFilerClient) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) {
  778. out := new(DeleteCollectionResponse)
  779. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteCollection", in, out, c.cc, opts...)
  780. if err != nil {
  781. return nil, err
  782. }
  783. return out, nil
  784. }
  785. func (c *seaweedFilerClient) Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error) {
  786. out := new(StatisticsResponse)
  787. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/Statistics", in, out, c.cc, opts...)
  788. if err != nil {
  789. return nil, err
  790. }
  791. return out, nil
  792. }
  793. // Server API for SeaweedFiler service
  794. type SeaweedFilerServer interface {
  795. LookupDirectoryEntry(context.Context, *LookupDirectoryEntryRequest) (*LookupDirectoryEntryResponse, error)
  796. ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error)
  797. CreateEntry(context.Context, *CreateEntryRequest) (*CreateEntryResponse, error)
  798. UpdateEntry(context.Context, *UpdateEntryRequest) (*UpdateEntryResponse, error)
  799. DeleteEntry(context.Context, *DeleteEntryRequest) (*DeleteEntryResponse, error)
  800. AssignVolume(context.Context, *AssignVolumeRequest) (*AssignVolumeResponse, error)
  801. LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error)
  802. DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
  803. Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error)
  804. }
  805. func RegisterSeaweedFilerServer(s *grpc.Server, srv SeaweedFilerServer) {
  806. s.RegisterService(&_SeaweedFiler_serviceDesc, srv)
  807. }
  808. func _SeaweedFiler_LookupDirectoryEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  809. in := new(LookupDirectoryEntryRequest)
  810. if err := dec(in); err != nil {
  811. return nil, err
  812. }
  813. if interceptor == nil {
  814. return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, in)
  815. }
  816. info := &grpc.UnaryServerInfo{
  817. Server: srv,
  818. FullMethod: "/filer_pb.SeaweedFiler/LookupDirectoryEntry",
  819. }
  820. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  821. return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, req.(*LookupDirectoryEntryRequest))
  822. }
  823. return interceptor(ctx, in, info, handler)
  824. }
  825. func _SeaweedFiler_ListEntries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  826. in := new(ListEntriesRequest)
  827. if err := dec(in); err != nil {
  828. return nil, err
  829. }
  830. if interceptor == nil {
  831. return srv.(SeaweedFilerServer).ListEntries(ctx, in)
  832. }
  833. info := &grpc.UnaryServerInfo{
  834. Server: srv,
  835. FullMethod: "/filer_pb.SeaweedFiler/ListEntries",
  836. }
  837. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  838. return srv.(SeaweedFilerServer).ListEntries(ctx, req.(*ListEntriesRequest))
  839. }
  840. return interceptor(ctx, in, info, handler)
  841. }
  842. func _SeaweedFiler_CreateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  843. in := new(CreateEntryRequest)
  844. if err := dec(in); err != nil {
  845. return nil, err
  846. }
  847. if interceptor == nil {
  848. return srv.(SeaweedFilerServer).CreateEntry(ctx, in)
  849. }
  850. info := &grpc.UnaryServerInfo{
  851. Server: srv,
  852. FullMethod: "/filer_pb.SeaweedFiler/CreateEntry",
  853. }
  854. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  855. return srv.(SeaweedFilerServer).CreateEntry(ctx, req.(*CreateEntryRequest))
  856. }
  857. return interceptor(ctx, in, info, handler)
  858. }
  859. func _SeaweedFiler_UpdateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  860. in := new(UpdateEntryRequest)
  861. if err := dec(in); err != nil {
  862. return nil, err
  863. }
  864. if interceptor == nil {
  865. return srv.(SeaweedFilerServer).UpdateEntry(ctx, in)
  866. }
  867. info := &grpc.UnaryServerInfo{
  868. Server: srv,
  869. FullMethod: "/filer_pb.SeaweedFiler/UpdateEntry",
  870. }
  871. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  872. return srv.(SeaweedFilerServer).UpdateEntry(ctx, req.(*UpdateEntryRequest))
  873. }
  874. return interceptor(ctx, in, info, handler)
  875. }
  876. func _SeaweedFiler_DeleteEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  877. in := new(DeleteEntryRequest)
  878. if err := dec(in); err != nil {
  879. return nil, err
  880. }
  881. if interceptor == nil {
  882. return srv.(SeaweedFilerServer).DeleteEntry(ctx, in)
  883. }
  884. info := &grpc.UnaryServerInfo{
  885. Server: srv,
  886. FullMethod: "/filer_pb.SeaweedFiler/DeleteEntry",
  887. }
  888. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  889. return srv.(SeaweedFilerServer).DeleteEntry(ctx, req.(*DeleteEntryRequest))
  890. }
  891. return interceptor(ctx, in, info, handler)
  892. }
  893. func _SeaweedFiler_AssignVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  894. in := new(AssignVolumeRequest)
  895. if err := dec(in); err != nil {
  896. return nil, err
  897. }
  898. if interceptor == nil {
  899. return srv.(SeaweedFilerServer).AssignVolume(ctx, in)
  900. }
  901. info := &grpc.UnaryServerInfo{
  902. Server: srv,
  903. FullMethod: "/filer_pb.SeaweedFiler/AssignVolume",
  904. }
  905. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  906. return srv.(SeaweedFilerServer).AssignVolume(ctx, req.(*AssignVolumeRequest))
  907. }
  908. return interceptor(ctx, in, info, handler)
  909. }
  910. func _SeaweedFiler_LookupVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  911. in := new(LookupVolumeRequest)
  912. if err := dec(in); err != nil {
  913. return nil, err
  914. }
  915. if interceptor == nil {
  916. return srv.(SeaweedFilerServer).LookupVolume(ctx, in)
  917. }
  918. info := &grpc.UnaryServerInfo{
  919. Server: srv,
  920. FullMethod: "/filer_pb.SeaweedFiler/LookupVolume",
  921. }
  922. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  923. return srv.(SeaweedFilerServer).LookupVolume(ctx, req.(*LookupVolumeRequest))
  924. }
  925. return interceptor(ctx, in, info, handler)
  926. }
  927. func _SeaweedFiler_DeleteCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  928. in := new(DeleteCollectionRequest)
  929. if err := dec(in); err != nil {
  930. return nil, err
  931. }
  932. if interceptor == nil {
  933. return srv.(SeaweedFilerServer).DeleteCollection(ctx, in)
  934. }
  935. info := &grpc.UnaryServerInfo{
  936. Server: srv,
  937. FullMethod: "/filer_pb.SeaweedFiler/DeleteCollection",
  938. }
  939. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  940. return srv.(SeaweedFilerServer).DeleteCollection(ctx, req.(*DeleteCollectionRequest))
  941. }
  942. return interceptor(ctx, in, info, handler)
  943. }
  944. func _SeaweedFiler_Statistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  945. in := new(StatisticsRequest)
  946. if err := dec(in); err != nil {
  947. return nil, err
  948. }
  949. if interceptor == nil {
  950. return srv.(SeaweedFilerServer).Statistics(ctx, in)
  951. }
  952. info := &grpc.UnaryServerInfo{
  953. Server: srv,
  954. FullMethod: "/filer_pb.SeaweedFiler/Statistics",
  955. }
  956. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  957. return srv.(SeaweedFilerServer).Statistics(ctx, req.(*StatisticsRequest))
  958. }
  959. return interceptor(ctx, in, info, handler)
  960. }
  961. var _SeaweedFiler_serviceDesc = grpc.ServiceDesc{
  962. ServiceName: "filer_pb.SeaweedFiler",
  963. HandlerType: (*SeaweedFilerServer)(nil),
  964. Methods: []grpc.MethodDesc{
  965. {
  966. MethodName: "LookupDirectoryEntry",
  967. Handler: _SeaweedFiler_LookupDirectoryEntry_Handler,
  968. },
  969. {
  970. MethodName: "ListEntries",
  971. Handler: _SeaweedFiler_ListEntries_Handler,
  972. },
  973. {
  974. MethodName: "CreateEntry",
  975. Handler: _SeaweedFiler_CreateEntry_Handler,
  976. },
  977. {
  978. MethodName: "UpdateEntry",
  979. Handler: _SeaweedFiler_UpdateEntry_Handler,
  980. },
  981. {
  982. MethodName: "DeleteEntry",
  983. Handler: _SeaweedFiler_DeleteEntry_Handler,
  984. },
  985. {
  986. MethodName: "AssignVolume",
  987. Handler: _SeaweedFiler_AssignVolume_Handler,
  988. },
  989. {
  990. MethodName: "LookupVolume",
  991. Handler: _SeaweedFiler_LookupVolume_Handler,
  992. },
  993. {
  994. MethodName: "DeleteCollection",
  995. Handler: _SeaweedFiler_DeleteCollection_Handler,
  996. },
  997. {
  998. MethodName: "Statistics",
  999. Handler: _SeaweedFiler_Statistics_Handler,
  1000. },
  1001. },
  1002. Streams: []grpc.StreamDesc{},
  1003. Metadata: "filer.proto",
  1004. }
  1005. func init() { proto.RegisterFile("filer.proto", fileDescriptor0) }
  1006. var fileDescriptor0 = []byte{
  1007. // 1272 bytes of a gzipped FileDescriptorProto
  1008. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x57, 0xcd, 0x6f, 0xdc, 0x44,
  1009. 0x14, 0xaf, 0xf7, 0x2b, 0xeb, 0xb7, 0xbb, 0x21, 0x99, 0x0d, 0xd4, 0xda, 0x7c, 0xb0, 0x35, 0x2d,
  1010. 0x4a, 0x45, 0xb4, 0xaa, 0x02, 0x87, 0x96, 0x0a, 0x89, 0x36, 0x1f, 0x52, 0xa4, 0xb4, 0x45, 0x4e,
  1011. 0x83, 0x84, 0x38, 0x58, 0x8e, 0x3d, 0xbb, 0x8c, 0xe2, 0xb5, 0x8d, 0x67, 0x9c, 0xb4, 0xfc, 0x1d,
  1012. 0x5c, 0x39, 0x70, 0xe2, 0xce, 0x1f, 0xc0, 0x85, 0x03, 0x7f, 0x13, 0x37, 0x34, 0x1f, 0xf6, 0x8e,
  1013. 0xd7, 0x4e, 0x0a, 0x42, 0xbd, 0xcd, 0xfc, 0xde, 0x9b, 0xf7, 0x35, 0xbf, 0x79, 0xcf, 0x86, 0xde,
  1014. 0x94, 0x84, 0x38, 0x9d, 0x24, 0x69, 0xcc, 0x62, 0xd4, 0x15, 0x1b, 0x37, 0xb9, 0xb0, 0x5f, 0xc1,
  1015. 0xe6, 0x69, 0x1c, 0x5f, 0x66, 0xc9, 0x21, 0x49, 0xb1, 0xcf, 0xe2, 0xf4, 0xed, 0x51, 0xc4, 0xd2,
  1016. 0xb7, 0x0e, 0xfe, 0x31, 0xc3, 0x94, 0xa1, 0x2d, 0x30, 0x83, 0x5c, 0x60, 0x19, 0x63, 0x63, 0xd7,
  1017. 0x74, 0x16, 0x00, 0x42, 0xd0, 0x8a, 0xbc, 0x39, 0xb6, 0x1a, 0x42, 0x20, 0xd6, 0xf6, 0x11, 0x6c,
  1018. 0xd5, 0x1b, 0xa4, 0x49, 0x1c, 0x51, 0x8c, 0x1e, 0x40, 0x1b, 0x73, 0x40, 0x58, 0xeb, 0xed, 0x7f,
  1019. 0x30, 0xc9, 0x43, 0x99, 0x48, 0x3d, 0x29, 0xb5, 0xff, 0x30, 0x00, 0x9d, 0x12, 0xca, 0x38, 0x48,
  1020. 0x30, 0xfd, 0x77, 0xf1, 0x7c, 0x04, 0x9d, 0x24, 0xc5, 0x53, 0xf2, 0x46, 0x45, 0xa4, 0x76, 0x68,
  1021. 0x0f, 0xd6, 0x29, 0xf3, 0x52, 0x76, 0x9c, 0xc6, 0xf3, 0x63, 0x12, 0xe2, 0x97, 0x3c, 0xe8, 0xa6,
  1022. 0x50, 0xa9, 0x0a, 0xd0, 0x04, 0x10, 0x89, 0xfc, 0x30, 0xa3, 0xe4, 0x0a, 0x9f, 0xe5, 0x52, 0xab,
  1023. 0x35, 0x36, 0x76, 0xbb, 0x4e, 0x8d, 0x04, 0x6d, 0x40, 0x3b, 0x24, 0x73, 0xc2, 0xac, 0xf6, 0xd8,
  1024. 0xd8, 0x1d, 0x38, 0x72, 0x63, 0x7f, 0x0d, 0xc3, 0x52, 0xfc, 0x2a, 0xfd, 0x87, 0xb0, 0x82, 0x25,
  1025. 0x64, 0x19, 0xe3, 0x66, 0x5d, 0x01, 0x72, 0xb9, 0xfd, 0x4b, 0x03, 0xda, 0x02, 0x2a, 0xea, 0x6c,
  1026. 0x2c, 0xea, 0x8c, 0xee, 0x41, 0x9f, 0x50, 0x77, 0x51, 0x8c, 0x86, 0x88, 0xaf, 0x47, 0x68, 0x51,
  1027. 0x77, 0xf4, 0x19, 0x74, 0xfc, 0x1f, 0xb2, 0xe8, 0x92, 0x5a, 0x4d, 0xe1, 0x6a, 0xb8, 0x70, 0xc5,
  1028. 0x93, 0x3d, 0xe0, 0x32, 0x47, 0xa9, 0xa0, 0xc7, 0x00, 0x1e, 0x63, 0x29, 0xb9, 0xc8, 0x18, 0xa6,
  1029. 0x22, 0xdb, 0xde, 0xbe, 0xa5, 0x1d, 0xc8, 0x28, 0x7e, 0x56, 0xc8, 0x1d, 0x4d, 0x17, 0x3d, 0x81,
  1030. 0x2e, 0x7e, 0xc3, 0x70, 0x14, 0xe0, 0xc0, 0x6a, 0x0b, 0x47, 0xdb, 0x4b, 0x39, 0x4d, 0x8e, 0x94,
  1031. 0x5c, 0x66, 0x58, 0xa8, 0x8f, 0x9e, 0xc2, 0xa0, 0x24, 0x42, 0x6b, 0xd0, 0xbc, 0xc4, 0xf9, 0xcd,
  1032. 0xf2, 0x25, 0xaf, 0xee, 0x95, 0x17, 0x66, 0x92, 0x64, 0x7d, 0x47, 0x6e, 0xbe, 0x6c, 0x3c, 0x36,
  1033. 0xec, 0x9f, 0x0d, 0x58, 0x3f, 0xba, 0xc2, 0x11, 0x7b, 0x19, 0x33, 0x32, 0x25, 0xbe, 0xc7, 0x48,
  1034. 0x1c, 0xa1, 0x3d, 0x30, 0xe3, 0x30, 0x70, 0x6f, 0xe5, 0x58, 0x37, 0x0e, 0x95, 0xbf, 0x3d, 0x30,
  1035. 0x23, 0x7c, 0xad, 0xb4, 0x1b, 0x37, 0x68, 0x47, 0xf8, 0x5a, 0x6a, 0x7f, 0x02, 0x83, 0x00, 0x87,
  1036. 0x98, 0x61, 0xb7, 0xa8, 0x2b, 0x2f, 0x7a, 0x5f, 0x82, 0xa2, 0x9e, 0xd4, 0xfe, 0xd5, 0x00, 0xb3,
  1037. 0x28, 0x2f, 0xba, 0x0b, 0x2b, 0xdc, 0x9c, 0x4b, 0x02, 0x95, 0x54, 0x87, 0x6f, 0x4f, 0x02, 0xce,
  1038. 0xd5, 0x78, 0x3a, 0xa5, 0x98, 0x09, 0xb7, 0x4d, 0x47, 0xed, 0xf8, 0x5d, 0x53, 0xf2, 0x93, 0xa4,
  1039. 0x67, 0xcb, 0x11, 0x6b, 0x5e, 0x83, 0x39, 0x23, 0x73, 0x2c, 0xae, 0xa5, 0xe9, 0xc8, 0x0d, 0x1a,
  1040. 0x42, 0x1b, 0xbb, 0xcc, 0x9b, 0x09, 0xde, 0x99, 0x4e, 0x0b, 0xbf, 0xf6, 0x66, 0xe8, 0x3e, 0xac,
  1041. 0xd2, 0x38, 0x4b, 0x7d, 0xec, 0xe6, 0x6e, 0x3b, 0x42, 0xda, 0x97, 0xe8, 0xb1, 0x70, 0x6e, 0xff,
  1042. 0xd5, 0x80, 0xd5, 0xf2, 0x8d, 0xa2, 0x4d, 0x30, 0xc5, 0x09, 0xe1, 0xdc, 0x10, 0xce, 0x45, 0x97,
  1043. 0x38, 0x2b, 0x05, 0xd0, 0xd0, 0x03, 0xc8, 0x8f, 0xcc, 0xe3, 0x40, 0xc6, 0x3b, 0x90, 0x47, 0x5e,
  1044. 0xc4, 0x01, 0xe6, 0x37, 0x99, 0x91, 0x40, 0x44, 0x3c, 0x70, 0xf8, 0x92, 0x23, 0x33, 0x12, 0xa8,
  1045. 0x57, 0xc2, 0x97, 0xbc, 0x06, 0x7e, 0x2a, 0xec, 0x76, 0x64, 0x0d, 0xe4, 0x8e, 0xd7, 0x60, 0xce,
  1046. 0xd1, 0x15, 0x99, 0x18, 0x5f, 0xa3, 0x31, 0xf4, 0x52, 0x9c, 0x84, 0xea, 0x9a, 0xad, 0xae, 0x10,
  1047. 0xe9, 0x10, 0xda, 0x01, 0xf0, 0xe3, 0x30, 0xc4, 0xbe, 0x50, 0x30, 0x85, 0x82, 0x86, 0xf0, 0xab,
  1048. 0x60, 0x2c, 0x74, 0x29, 0xf6, 0x2d, 0x18, 0x1b, 0xbb, 0x6d, 0xa7, 0xc3, 0x58, 0x78, 0x86, 0x7d,
  1049. 0x9e, 0x47, 0x46, 0x71, 0xea, 0x8a, 0x37, 0xd6, 0x13, 0xe7, 0xba, 0x1c, 0x10, 0xdd, 0x60, 0x1b,
  1050. 0x60, 0x96, 0xc6, 0x59, 0x22, 0xa5, 0xfd, 0x71, 0x93, 0xb7, 0x1c, 0x81, 0x70, 0xb1, 0xfd, 0x1d,
  1051. 0xa0, 0x83, 0x14, 0x7b, 0x0c, 0xff, 0x87, 0xb6, 0x59, 0xb4, 0xc0, 0xc6, 0xad, 0x2d, 0xf0, 0x43,
  1052. 0x18, 0x96, 0x4c, 0xcb, 0x0e, 0xc2, 0x3d, 0x9e, 0x27, 0xc1, 0xfb, 0xf2, 0x58, 0x32, 0xad, 0x3c,
  1053. 0xfe, 0x6e, 0x00, 0x3a, 0x14, 0x14, 0xff, 0x7f, 0xb3, 0xa1, 0xd2, 0xb3, 0x9a, 0xd5, 0x9e, 0x75,
  1054. 0x1f, 0x56, 0xb9, 0x8a, 0x7c, 0x65, 0x81, 0xc7, 0x3c, 0xd5, 0x78, 0xfb, 0x84, 0xca, 0x10, 0x0e,
  1055. 0x3d, 0xe6, 0x29, 0x43, 0x29, 0xf6, 0xb3, 0x94, 0xf7, 0x62, 0xc1, 0x29, 0x61, 0xc8, 0xc9, 0x21,
  1056. 0x9e, 0x4b, 0x29, 0x66, 0x95, 0xcb, 0x6f, 0x06, 0x0c, 0x9f, 0x51, 0x4a, 0x66, 0xd1, 0xb7, 0x71,
  1057. 0x98, 0xcd, 0x71, 0x9e, 0xcc, 0x06, 0xb4, 0xfd, 0x38, 0x8b, 0x98, 0x48, 0xa4, 0xed, 0xc8, 0xcd,
  1058. 0x12, 0xa5, 0x1a, 0x15, 0x4a, 0x2d, 0x91, 0xb2, 0x59, 0x25, 0xa5, 0x46, 0xba, 0x56, 0x89, 0x74,
  1059. 0x1f, 0x43, 0x8f, 0xa7, 0xe7, 0xfa, 0x38, 0x62, 0x38, 0x55, 0x6f, 0x18, 0x38, 0x74, 0x20, 0x10,
  1060. 0xfb, 0x0a, 0x36, 0xca, 0x81, 0xaa, 0x09, 0x72, 0x63, 0x47, 0xe1, 0x2f, 0x2e, 0x0d, 0x55, 0x94,
  1061. 0x7c, 0xc9, 0xb9, 0x9b, 0x64, 0x17, 0x21, 0xf1, 0x5d, 0x2e, 0x90, 0xd1, 0x99, 0x12, 0x39, 0x4f,
  1062. 0xc3, 0x45, 0xce, 0x2d, 0x2d, 0x67, 0xfb, 0x0b, 0x18, 0xca, 0x01, 0x5e, 0x2e, 0xd0, 0x36, 0xc0,
  1063. 0x95, 0x00, 0x5c, 0x12, 0xc8, 0xd9, 0x65, 0x3a, 0xa6, 0x44, 0x4e, 0x02, 0x6a, 0x7f, 0x05, 0xe6,
  1064. 0x69, 0x2c, 0x73, 0xa6, 0xe8, 0x11, 0x98, 0x61, 0xbe, 0x51, 0x63, 0x0e, 0x2d, 0x28, 0x97, 0xeb,
  1065. 0x39, 0x0b, 0x25, 0xfb, 0x29, 0x74, 0x73, 0x38, 0xcf, 0xc3, 0xb8, 0x29, 0x8f, 0xc6, 0x52, 0x1e,
  1066. 0xf6, 0x9f, 0x06, 0x6c, 0x94, 0x43, 0x56, 0xa5, 0x3a, 0x87, 0x41, 0xe1, 0xc2, 0x9d, 0x7b, 0x89,
  1067. 0x8a, 0xe5, 0x91, 0x1e, 0x4b, 0xf5, 0x58, 0x11, 0x20, 0x7d, 0xe1, 0x25, 0x92, 0x3d, 0xfd, 0x50,
  1068. 0x83, 0x46, 0xaf, 0x61, 0xbd, 0xa2, 0x52, 0x33, 0xb9, 0x1e, 0xea, 0x93, 0xab, 0x34, 0x7d, 0x8b,
  1069. 0xd3, 0xfa, 0x38, 0x7b, 0x02, 0x77, 0x25, 0x61, 0x0f, 0x0a, 0x7e, 0xe5, 0xb5, 0x2f, 0xd3, 0xd0,
  1070. 0x58, 0xa6, 0xa1, 0x3d, 0x02, 0xab, 0x7a, 0x54, 0x11, 0x7e, 0x06, 0xeb, 0x67, 0xcc, 0x63, 0x84,
  1071. 0x32, 0xe2, 0x17, 0x9f, 0x51, 0x4b, 0xbc, 0x35, 0xde, 0xd5, 0x4c, 0xab, 0xcc, 0x5f, 0x83, 0x26,
  1072. 0x63, 0x39, 0xa7, 0xf8, 0x92, 0xdf, 0x02, 0xd2, 0x3d, 0xa9, 0x3b, 0x78, 0x0f, 0xae, 0x38, 0x1f,
  1073. 0x58, 0xcc, 0xbc, 0x50, 0x0e, 0xab, 0x96, 0x18, 0x56, 0xa6, 0x40, 0xc4, 0xb4, 0x92, 0xfd, 0x3c,
  1074. 0x90, 0xd2, 0xb6, 0x1c, 0x65, 0x1c, 0x10, 0xc2, 0x6d, 0x00, 0xf1, 0x7c, 0x24, 0xf3, 0x3b, 0xf2,
  1075. 0x2c, 0x47, 0x0e, 0x38, 0xb0, 0xff, 0x77, 0x1b, 0xfa, 0x67, 0xd8, 0xbb, 0xc6, 0x38, 0xe0, 0xb3,
  1076. 0x32, 0x45, 0xb3, 0x9c, 0x5b, 0xe5, 0xef, 0x59, 0xf4, 0x60, 0x99, 0x44, 0xb5, 0x1f, 0xd0, 0xa3,
  1077. 0x4f, 0xdf, 0xa5, 0xa6, 0xae, 0xe9, 0x0e, 0x3a, 0x85, 0x9e, 0xf6, 0xc1, 0x88, 0xb6, 0xb4, 0x83,
  1078. 0x95, 0xef, 0xe0, 0xd1, 0xf6, 0x0d, 0x52, 0xdd, 0x9a, 0x36, 0x3c, 0x74, 0x6b, 0xd5, 0x71, 0xa5,
  1079. 0x5b, 0xab, 0x9b, 0x38, 0xc2, 0x9a, 0x36, 0x18, 0x74, 0x6b, 0xd5, 0x51, 0xa4, 0x5b, 0xab, 0x9b,
  1080. 0x26, 0xc2, 0x9a, 0xd6, 0x9a, 0x75, 0x6b, 0xd5, 0x29, 0xa3, 0x5b, 0xab, 0xeb, 0xe7, 0x77, 0xd0,
  1081. 0x2b, 0xe8, 0xeb, 0x7d, 0x12, 0x69, 0x07, 0x6a, 0x1a, 0xfd, 0x68, 0xe7, 0x26, 0xb1, 0x6e, 0x50,
  1082. 0x6f, 0x0b, 0xba, 0xc1, 0x9a, 0xc6, 0xa8, 0x1b, 0xac, 0xeb, 0x26, 0xf6, 0x1d, 0xf4, 0x3d, 0xac,
  1083. 0x2d, 0x3f, 0x4f, 0x74, 0x6f, 0x39, 0xad, 0xca, 0xab, 0x1f, 0xd9, 0xb7, 0xa9, 0x14, 0xc6, 0x4f,
  1084. 0x00, 0x16, 0xaf, 0x0e, 0x6d, 0x2e, 0xce, 0x54, 0x5e, 0xfd, 0x68, 0xab, 0x5e, 0x98, 0x9b, 0x7a,
  1085. 0xbe, 0x03, 0x6b, 0x54, 0x52, 0x7f, 0x4a, 0x27, 0x7e, 0x48, 0x70, 0xc4, 0x9e, 0x83, 0x78, 0x05,
  1086. 0xdf, 0xf0, 0xbf, 0xc6, 0x8b, 0x8e, 0xf8, 0x79, 0xfc, 0xfc, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff,
  1087. 0x58, 0x55, 0x30, 0x36, 0x4b, 0x0e, 0x00, 0x00,
  1088. }