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.

1244 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. SymlinkTarget string `protobuf:"bytes,13,opt,name=symlink_target,json=symlinkTarget" json:"symlink_target,omitempty"`
  268. }
  269. func (m *FuseAttributes) Reset() { *m = FuseAttributes{} }
  270. func (m *FuseAttributes) String() string { return proto.CompactTextString(m) }
  271. func (*FuseAttributes) ProtoMessage() {}
  272. func (*FuseAttributes) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
  273. func (m *FuseAttributes) GetFileSize() uint64 {
  274. if m != nil {
  275. return m.FileSize
  276. }
  277. return 0
  278. }
  279. func (m *FuseAttributes) GetMtime() int64 {
  280. if m != nil {
  281. return m.Mtime
  282. }
  283. return 0
  284. }
  285. func (m *FuseAttributes) GetFileMode() uint32 {
  286. if m != nil {
  287. return m.FileMode
  288. }
  289. return 0
  290. }
  291. func (m *FuseAttributes) GetUid() uint32 {
  292. if m != nil {
  293. return m.Uid
  294. }
  295. return 0
  296. }
  297. func (m *FuseAttributes) GetGid() uint32 {
  298. if m != nil {
  299. return m.Gid
  300. }
  301. return 0
  302. }
  303. func (m *FuseAttributes) GetCrtime() int64 {
  304. if m != nil {
  305. return m.Crtime
  306. }
  307. return 0
  308. }
  309. func (m *FuseAttributes) GetMime() string {
  310. if m != nil {
  311. return m.Mime
  312. }
  313. return ""
  314. }
  315. func (m *FuseAttributes) GetReplication() string {
  316. if m != nil {
  317. return m.Replication
  318. }
  319. return ""
  320. }
  321. func (m *FuseAttributes) GetCollection() string {
  322. if m != nil {
  323. return m.Collection
  324. }
  325. return ""
  326. }
  327. func (m *FuseAttributes) GetTtlSec() int32 {
  328. if m != nil {
  329. return m.TtlSec
  330. }
  331. return 0
  332. }
  333. func (m *FuseAttributes) GetUserName() string {
  334. if m != nil {
  335. return m.UserName
  336. }
  337. return ""
  338. }
  339. func (m *FuseAttributes) GetGroupName() []string {
  340. if m != nil {
  341. return m.GroupName
  342. }
  343. return nil
  344. }
  345. func (m *FuseAttributes) GetSymlinkTarget() string {
  346. if m != nil {
  347. return m.SymlinkTarget
  348. }
  349. return ""
  350. }
  351. type CreateEntryRequest struct {
  352. Directory string `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"`
  353. Entry *Entry `protobuf:"bytes,2,opt,name=entry" json:"entry,omitempty"`
  354. }
  355. func (m *CreateEntryRequest) Reset() { *m = CreateEntryRequest{} }
  356. func (m *CreateEntryRequest) String() string { return proto.CompactTextString(m) }
  357. func (*CreateEntryRequest) ProtoMessage() {}
  358. func (*CreateEntryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
  359. func (m *CreateEntryRequest) GetDirectory() string {
  360. if m != nil {
  361. return m.Directory
  362. }
  363. return ""
  364. }
  365. func (m *CreateEntryRequest) GetEntry() *Entry {
  366. if m != nil {
  367. return m.Entry
  368. }
  369. return nil
  370. }
  371. type CreateEntryResponse struct {
  372. }
  373. func (m *CreateEntryResponse) Reset() { *m = CreateEntryResponse{} }
  374. func (m *CreateEntryResponse) String() string { return proto.CompactTextString(m) }
  375. func (*CreateEntryResponse) ProtoMessage() {}
  376. func (*CreateEntryResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
  377. type UpdateEntryRequest struct {
  378. Directory string `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"`
  379. Entry *Entry `protobuf:"bytes,2,opt,name=entry" json:"entry,omitempty"`
  380. }
  381. func (m *UpdateEntryRequest) Reset() { *m = UpdateEntryRequest{} }
  382. func (m *UpdateEntryRequest) String() string { return proto.CompactTextString(m) }
  383. func (*UpdateEntryRequest) ProtoMessage() {}
  384. func (*UpdateEntryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
  385. func (m *UpdateEntryRequest) GetDirectory() string {
  386. if m != nil {
  387. return m.Directory
  388. }
  389. return ""
  390. }
  391. func (m *UpdateEntryRequest) GetEntry() *Entry {
  392. if m != nil {
  393. return m.Entry
  394. }
  395. return nil
  396. }
  397. type UpdateEntryResponse struct {
  398. }
  399. func (m *UpdateEntryResponse) Reset() { *m = UpdateEntryResponse{} }
  400. func (m *UpdateEntryResponse) String() string { return proto.CompactTextString(m) }
  401. func (*UpdateEntryResponse) ProtoMessage() {}
  402. func (*UpdateEntryResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
  403. type DeleteEntryRequest struct {
  404. Directory string `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"`
  405. Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
  406. // bool is_directory = 3;
  407. IsDeleteData bool `protobuf:"varint,4,opt,name=is_delete_data,json=isDeleteData" json:"is_delete_data,omitempty"`
  408. IsRecursive bool `protobuf:"varint,5,opt,name=is_recursive,json=isRecursive" json:"is_recursive,omitempty"`
  409. }
  410. func (m *DeleteEntryRequest) Reset() { *m = DeleteEntryRequest{} }
  411. func (m *DeleteEntryRequest) String() string { return proto.CompactTextString(m) }
  412. func (*DeleteEntryRequest) ProtoMessage() {}
  413. func (*DeleteEntryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
  414. func (m *DeleteEntryRequest) GetDirectory() string {
  415. if m != nil {
  416. return m.Directory
  417. }
  418. return ""
  419. }
  420. func (m *DeleteEntryRequest) GetName() string {
  421. if m != nil {
  422. return m.Name
  423. }
  424. return ""
  425. }
  426. func (m *DeleteEntryRequest) GetIsDeleteData() bool {
  427. if m != nil {
  428. return m.IsDeleteData
  429. }
  430. return false
  431. }
  432. func (m *DeleteEntryRequest) GetIsRecursive() bool {
  433. if m != nil {
  434. return m.IsRecursive
  435. }
  436. return false
  437. }
  438. type DeleteEntryResponse struct {
  439. }
  440. func (m *DeleteEntryResponse) Reset() { *m = DeleteEntryResponse{} }
  441. func (m *DeleteEntryResponse) String() string { return proto.CompactTextString(m) }
  442. func (*DeleteEntryResponse) ProtoMessage() {}
  443. func (*DeleteEntryResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
  444. type AssignVolumeRequest struct {
  445. Count int32 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
  446. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  447. Replication string `protobuf:"bytes,3,opt,name=replication" json:"replication,omitempty"`
  448. TtlSec int32 `protobuf:"varint,4,opt,name=ttl_sec,json=ttlSec" json:"ttl_sec,omitempty"`
  449. DataCenter string `protobuf:"bytes,5,opt,name=data_center,json=dataCenter" json:"data_center,omitempty"`
  450. }
  451. func (m *AssignVolumeRequest) Reset() { *m = AssignVolumeRequest{} }
  452. func (m *AssignVolumeRequest) String() string { return proto.CompactTextString(m) }
  453. func (*AssignVolumeRequest) ProtoMessage() {}
  454. func (*AssignVolumeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
  455. func (m *AssignVolumeRequest) GetCount() int32 {
  456. if m != nil {
  457. return m.Count
  458. }
  459. return 0
  460. }
  461. func (m *AssignVolumeRequest) GetCollection() string {
  462. if m != nil {
  463. return m.Collection
  464. }
  465. return ""
  466. }
  467. func (m *AssignVolumeRequest) GetReplication() string {
  468. if m != nil {
  469. return m.Replication
  470. }
  471. return ""
  472. }
  473. func (m *AssignVolumeRequest) GetTtlSec() int32 {
  474. if m != nil {
  475. return m.TtlSec
  476. }
  477. return 0
  478. }
  479. func (m *AssignVolumeRequest) GetDataCenter() string {
  480. if m != nil {
  481. return m.DataCenter
  482. }
  483. return ""
  484. }
  485. type AssignVolumeResponse struct {
  486. FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId" json:"file_id,omitempty"`
  487. Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
  488. PublicUrl string `protobuf:"bytes,3,opt,name=public_url,json=publicUrl" json:"public_url,omitempty"`
  489. Count int32 `protobuf:"varint,4,opt,name=count" json:"count,omitempty"`
  490. }
  491. func (m *AssignVolumeResponse) Reset() { *m = AssignVolumeResponse{} }
  492. func (m *AssignVolumeResponse) String() string { return proto.CompactTextString(m) }
  493. func (*AssignVolumeResponse) ProtoMessage() {}
  494. func (*AssignVolumeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
  495. func (m *AssignVolumeResponse) GetFileId() string {
  496. if m != nil {
  497. return m.FileId
  498. }
  499. return ""
  500. }
  501. func (m *AssignVolumeResponse) GetUrl() string {
  502. if m != nil {
  503. return m.Url
  504. }
  505. return ""
  506. }
  507. func (m *AssignVolumeResponse) GetPublicUrl() string {
  508. if m != nil {
  509. return m.PublicUrl
  510. }
  511. return ""
  512. }
  513. func (m *AssignVolumeResponse) GetCount() int32 {
  514. if m != nil {
  515. return m.Count
  516. }
  517. return 0
  518. }
  519. type LookupVolumeRequest struct {
  520. VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds" json:"volume_ids,omitempty"`
  521. }
  522. func (m *LookupVolumeRequest) Reset() { *m = LookupVolumeRequest{} }
  523. func (m *LookupVolumeRequest) String() string { return proto.CompactTextString(m) }
  524. func (*LookupVolumeRequest) ProtoMessage() {}
  525. func (*LookupVolumeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
  526. func (m *LookupVolumeRequest) GetVolumeIds() []string {
  527. if m != nil {
  528. return m.VolumeIds
  529. }
  530. return nil
  531. }
  532. type Locations struct {
  533. Locations []*Location `protobuf:"bytes,1,rep,name=locations" json:"locations,omitempty"`
  534. }
  535. func (m *Locations) Reset() { *m = Locations{} }
  536. func (m *Locations) String() string { return proto.CompactTextString(m) }
  537. func (*Locations) ProtoMessage() {}
  538. func (*Locations) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
  539. func (m *Locations) GetLocations() []*Location {
  540. if m != nil {
  541. return m.Locations
  542. }
  543. return nil
  544. }
  545. type Location struct {
  546. Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
  547. PublicUrl string `protobuf:"bytes,2,opt,name=public_url,json=publicUrl" json:"public_url,omitempty"`
  548. }
  549. func (m *Location) Reset() { *m = Location{} }
  550. func (m *Location) String() string { return proto.CompactTextString(m) }
  551. func (*Location) ProtoMessage() {}
  552. func (*Location) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
  553. func (m *Location) GetUrl() string {
  554. if m != nil {
  555. return m.Url
  556. }
  557. return ""
  558. }
  559. func (m *Location) GetPublicUrl() string {
  560. if m != nil {
  561. return m.PublicUrl
  562. }
  563. return ""
  564. }
  565. type LookupVolumeResponse struct {
  566. 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"`
  567. }
  568. func (m *LookupVolumeResponse) Reset() { *m = LookupVolumeResponse{} }
  569. func (m *LookupVolumeResponse) String() string { return proto.CompactTextString(m) }
  570. func (*LookupVolumeResponse) ProtoMessage() {}
  571. func (*LookupVolumeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
  572. func (m *LookupVolumeResponse) GetLocationsMap() map[string]*Locations {
  573. if m != nil {
  574. return m.LocationsMap
  575. }
  576. return nil
  577. }
  578. type DeleteCollectionRequest struct {
  579. Collection string `protobuf:"bytes,1,opt,name=collection" json:"collection,omitempty"`
  580. }
  581. func (m *DeleteCollectionRequest) Reset() { *m = DeleteCollectionRequest{} }
  582. func (m *DeleteCollectionRequest) String() string { return proto.CompactTextString(m) }
  583. func (*DeleteCollectionRequest) ProtoMessage() {}
  584. func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
  585. func (m *DeleteCollectionRequest) GetCollection() string {
  586. if m != nil {
  587. return m.Collection
  588. }
  589. return ""
  590. }
  591. type DeleteCollectionResponse struct {
  592. }
  593. func (m *DeleteCollectionResponse) Reset() { *m = DeleteCollectionResponse{} }
  594. func (m *DeleteCollectionResponse) String() string { return proto.CompactTextString(m) }
  595. func (*DeleteCollectionResponse) ProtoMessage() {}
  596. func (*DeleteCollectionResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} }
  597. type StatisticsRequest struct {
  598. Replication string `protobuf:"bytes,1,opt,name=replication" json:"replication,omitempty"`
  599. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  600. Ttl string `protobuf:"bytes,3,opt,name=ttl" json:"ttl,omitempty"`
  601. }
  602. func (m *StatisticsRequest) Reset() { *m = StatisticsRequest{} }
  603. func (m *StatisticsRequest) String() string { return proto.CompactTextString(m) }
  604. func (*StatisticsRequest) ProtoMessage() {}
  605. func (*StatisticsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} }
  606. func (m *StatisticsRequest) GetReplication() string {
  607. if m != nil {
  608. return m.Replication
  609. }
  610. return ""
  611. }
  612. func (m *StatisticsRequest) GetCollection() string {
  613. if m != nil {
  614. return m.Collection
  615. }
  616. return ""
  617. }
  618. func (m *StatisticsRequest) GetTtl() string {
  619. if m != nil {
  620. return m.Ttl
  621. }
  622. return ""
  623. }
  624. type StatisticsResponse struct {
  625. Replication string `protobuf:"bytes,1,opt,name=replication" json:"replication,omitempty"`
  626. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  627. Ttl string `protobuf:"bytes,3,opt,name=ttl" json:"ttl,omitempty"`
  628. TotalSize uint64 `protobuf:"varint,4,opt,name=total_size,json=totalSize" json:"total_size,omitempty"`
  629. UsedSize uint64 `protobuf:"varint,5,opt,name=used_size,json=usedSize" json:"used_size,omitempty"`
  630. FileCount uint64 `protobuf:"varint,6,opt,name=file_count,json=fileCount" json:"file_count,omitempty"`
  631. }
  632. func (m *StatisticsResponse) Reset() { *m = StatisticsResponse{} }
  633. func (m *StatisticsResponse) String() string { return proto.CompactTextString(m) }
  634. func (*StatisticsResponse) ProtoMessage() {}
  635. func (*StatisticsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{23} }
  636. func (m *StatisticsResponse) GetReplication() string {
  637. if m != nil {
  638. return m.Replication
  639. }
  640. return ""
  641. }
  642. func (m *StatisticsResponse) GetCollection() string {
  643. if m != nil {
  644. return m.Collection
  645. }
  646. return ""
  647. }
  648. func (m *StatisticsResponse) GetTtl() string {
  649. if m != nil {
  650. return m.Ttl
  651. }
  652. return ""
  653. }
  654. func (m *StatisticsResponse) GetTotalSize() uint64 {
  655. if m != nil {
  656. return m.TotalSize
  657. }
  658. return 0
  659. }
  660. func (m *StatisticsResponse) GetUsedSize() uint64 {
  661. if m != nil {
  662. return m.UsedSize
  663. }
  664. return 0
  665. }
  666. func (m *StatisticsResponse) GetFileCount() uint64 {
  667. if m != nil {
  668. return m.FileCount
  669. }
  670. return 0
  671. }
  672. func init() {
  673. proto.RegisterType((*LookupDirectoryEntryRequest)(nil), "filer_pb.LookupDirectoryEntryRequest")
  674. proto.RegisterType((*LookupDirectoryEntryResponse)(nil), "filer_pb.LookupDirectoryEntryResponse")
  675. proto.RegisterType((*ListEntriesRequest)(nil), "filer_pb.ListEntriesRequest")
  676. proto.RegisterType((*ListEntriesResponse)(nil), "filer_pb.ListEntriesResponse")
  677. proto.RegisterType((*Entry)(nil), "filer_pb.Entry")
  678. proto.RegisterType((*EventNotification)(nil), "filer_pb.EventNotification")
  679. proto.RegisterType((*FileChunk)(nil), "filer_pb.FileChunk")
  680. proto.RegisterType((*FuseAttributes)(nil), "filer_pb.FuseAttributes")
  681. proto.RegisterType((*CreateEntryRequest)(nil), "filer_pb.CreateEntryRequest")
  682. proto.RegisterType((*CreateEntryResponse)(nil), "filer_pb.CreateEntryResponse")
  683. proto.RegisterType((*UpdateEntryRequest)(nil), "filer_pb.UpdateEntryRequest")
  684. proto.RegisterType((*UpdateEntryResponse)(nil), "filer_pb.UpdateEntryResponse")
  685. proto.RegisterType((*DeleteEntryRequest)(nil), "filer_pb.DeleteEntryRequest")
  686. proto.RegisterType((*DeleteEntryResponse)(nil), "filer_pb.DeleteEntryResponse")
  687. proto.RegisterType((*AssignVolumeRequest)(nil), "filer_pb.AssignVolumeRequest")
  688. proto.RegisterType((*AssignVolumeResponse)(nil), "filer_pb.AssignVolumeResponse")
  689. proto.RegisterType((*LookupVolumeRequest)(nil), "filer_pb.LookupVolumeRequest")
  690. proto.RegisterType((*Locations)(nil), "filer_pb.Locations")
  691. proto.RegisterType((*Location)(nil), "filer_pb.Location")
  692. proto.RegisterType((*LookupVolumeResponse)(nil), "filer_pb.LookupVolumeResponse")
  693. proto.RegisterType((*DeleteCollectionRequest)(nil), "filer_pb.DeleteCollectionRequest")
  694. proto.RegisterType((*DeleteCollectionResponse)(nil), "filer_pb.DeleteCollectionResponse")
  695. proto.RegisterType((*StatisticsRequest)(nil), "filer_pb.StatisticsRequest")
  696. proto.RegisterType((*StatisticsResponse)(nil), "filer_pb.StatisticsResponse")
  697. }
  698. // Reference imports to suppress errors if they are not otherwise used.
  699. var _ context.Context
  700. var _ grpc.ClientConn
  701. // This is a compile-time assertion to ensure that this generated file
  702. // is compatible with the grpc package it is being compiled against.
  703. const _ = grpc.SupportPackageIsVersion4
  704. // Client API for SeaweedFiler service
  705. type SeaweedFilerClient interface {
  706. LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error)
  707. ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (*ListEntriesResponse, error)
  708. CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error)
  709. UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error)
  710. DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error)
  711. AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error)
  712. LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error)
  713. DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error)
  714. Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error)
  715. }
  716. type seaweedFilerClient struct {
  717. cc *grpc.ClientConn
  718. }
  719. func NewSeaweedFilerClient(cc *grpc.ClientConn) SeaweedFilerClient {
  720. return &seaweedFilerClient{cc}
  721. }
  722. func (c *seaweedFilerClient) LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error) {
  723. out := new(LookupDirectoryEntryResponse)
  724. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupDirectoryEntry", in, out, c.cc, opts...)
  725. if err != nil {
  726. return nil, err
  727. }
  728. return out, nil
  729. }
  730. func (c *seaweedFilerClient) ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (*ListEntriesResponse, error) {
  731. out := new(ListEntriesResponse)
  732. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/ListEntries", in, out, c.cc, opts...)
  733. if err != nil {
  734. return nil, err
  735. }
  736. return out, nil
  737. }
  738. func (c *seaweedFilerClient) CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error) {
  739. out := new(CreateEntryResponse)
  740. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/CreateEntry", in, out, c.cc, opts...)
  741. if err != nil {
  742. return nil, err
  743. }
  744. return out, nil
  745. }
  746. func (c *seaweedFilerClient) UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error) {
  747. out := new(UpdateEntryResponse)
  748. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/UpdateEntry", in, out, c.cc, opts...)
  749. if err != nil {
  750. return nil, err
  751. }
  752. return out, nil
  753. }
  754. func (c *seaweedFilerClient) DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error) {
  755. out := new(DeleteEntryResponse)
  756. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteEntry", in, out, c.cc, opts...)
  757. if err != nil {
  758. return nil, err
  759. }
  760. return out, nil
  761. }
  762. func (c *seaweedFilerClient) AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error) {
  763. out := new(AssignVolumeResponse)
  764. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/AssignVolume", in, out, c.cc, opts...)
  765. if err != nil {
  766. return nil, err
  767. }
  768. return out, nil
  769. }
  770. func (c *seaweedFilerClient) LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error) {
  771. out := new(LookupVolumeResponse)
  772. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupVolume", in, out, c.cc, opts...)
  773. if err != nil {
  774. return nil, err
  775. }
  776. return out, nil
  777. }
  778. func (c *seaweedFilerClient) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) {
  779. out := new(DeleteCollectionResponse)
  780. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteCollection", in, out, c.cc, opts...)
  781. if err != nil {
  782. return nil, err
  783. }
  784. return out, nil
  785. }
  786. func (c *seaweedFilerClient) Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error) {
  787. out := new(StatisticsResponse)
  788. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/Statistics", in, out, c.cc, opts...)
  789. if err != nil {
  790. return nil, err
  791. }
  792. return out, nil
  793. }
  794. // Server API for SeaweedFiler service
  795. type SeaweedFilerServer interface {
  796. LookupDirectoryEntry(context.Context, *LookupDirectoryEntryRequest) (*LookupDirectoryEntryResponse, error)
  797. ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error)
  798. CreateEntry(context.Context, *CreateEntryRequest) (*CreateEntryResponse, error)
  799. UpdateEntry(context.Context, *UpdateEntryRequest) (*UpdateEntryResponse, error)
  800. DeleteEntry(context.Context, *DeleteEntryRequest) (*DeleteEntryResponse, error)
  801. AssignVolume(context.Context, *AssignVolumeRequest) (*AssignVolumeResponse, error)
  802. LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error)
  803. DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
  804. Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error)
  805. }
  806. func RegisterSeaweedFilerServer(s *grpc.Server, srv SeaweedFilerServer) {
  807. s.RegisterService(&_SeaweedFiler_serviceDesc, srv)
  808. }
  809. func _SeaweedFiler_LookupDirectoryEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  810. in := new(LookupDirectoryEntryRequest)
  811. if err := dec(in); err != nil {
  812. return nil, err
  813. }
  814. if interceptor == nil {
  815. return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, in)
  816. }
  817. info := &grpc.UnaryServerInfo{
  818. Server: srv,
  819. FullMethod: "/filer_pb.SeaweedFiler/LookupDirectoryEntry",
  820. }
  821. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  822. return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, req.(*LookupDirectoryEntryRequest))
  823. }
  824. return interceptor(ctx, in, info, handler)
  825. }
  826. func _SeaweedFiler_ListEntries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  827. in := new(ListEntriesRequest)
  828. if err := dec(in); err != nil {
  829. return nil, err
  830. }
  831. if interceptor == nil {
  832. return srv.(SeaweedFilerServer).ListEntries(ctx, in)
  833. }
  834. info := &grpc.UnaryServerInfo{
  835. Server: srv,
  836. FullMethod: "/filer_pb.SeaweedFiler/ListEntries",
  837. }
  838. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  839. return srv.(SeaweedFilerServer).ListEntries(ctx, req.(*ListEntriesRequest))
  840. }
  841. return interceptor(ctx, in, info, handler)
  842. }
  843. func _SeaweedFiler_CreateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  844. in := new(CreateEntryRequest)
  845. if err := dec(in); err != nil {
  846. return nil, err
  847. }
  848. if interceptor == nil {
  849. return srv.(SeaweedFilerServer).CreateEntry(ctx, in)
  850. }
  851. info := &grpc.UnaryServerInfo{
  852. Server: srv,
  853. FullMethod: "/filer_pb.SeaweedFiler/CreateEntry",
  854. }
  855. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  856. return srv.(SeaweedFilerServer).CreateEntry(ctx, req.(*CreateEntryRequest))
  857. }
  858. return interceptor(ctx, in, info, handler)
  859. }
  860. func _SeaweedFiler_UpdateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  861. in := new(UpdateEntryRequest)
  862. if err := dec(in); err != nil {
  863. return nil, err
  864. }
  865. if interceptor == nil {
  866. return srv.(SeaweedFilerServer).UpdateEntry(ctx, in)
  867. }
  868. info := &grpc.UnaryServerInfo{
  869. Server: srv,
  870. FullMethod: "/filer_pb.SeaweedFiler/UpdateEntry",
  871. }
  872. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  873. return srv.(SeaweedFilerServer).UpdateEntry(ctx, req.(*UpdateEntryRequest))
  874. }
  875. return interceptor(ctx, in, info, handler)
  876. }
  877. func _SeaweedFiler_DeleteEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  878. in := new(DeleteEntryRequest)
  879. if err := dec(in); err != nil {
  880. return nil, err
  881. }
  882. if interceptor == nil {
  883. return srv.(SeaweedFilerServer).DeleteEntry(ctx, in)
  884. }
  885. info := &grpc.UnaryServerInfo{
  886. Server: srv,
  887. FullMethod: "/filer_pb.SeaweedFiler/DeleteEntry",
  888. }
  889. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  890. return srv.(SeaweedFilerServer).DeleteEntry(ctx, req.(*DeleteEntryRequest))
  891. }
  892. return interceptor(ctx, in, info, handler)
  893. }
  894. func _SeaweedFiler_AssignVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  895. in := new(AssignVolumeRequest)
  896. if err := dec(in); err != nil {
  897. return nil, err
  898. }
  899. if interceptor == nil {
  900. return srv.(SeaweedFilerServer).AssignVolume(ctx, in)
  901. }
  902. info := &grpc.UnaryServerInfo{
  903. Server: srv,
  904. FullMethod: "/filer_pb.SeaweedFiler/AssignVolume",
  905. }
  906. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  907. return srv.(SeaweedFilerServer).AssignVolume(ctx, req.(*AssignVolumeRequest))
  908. }
  909. return interceptor(ctx, in, info, handler)
  910. }
  911. func _SeaweedFiler_LookupVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  912. in := new(LookupVolumeRequest)
  913. if err := dec(in); err != nil {
  914. return nil, err
  915. }
  916. if interceptor == nil {
  917. return srv.(SeaweedFilerServer).LookupVolume(ctx, in)
  918. }
  919. info := &grpc.UnaryServerInfo{
  920. Server: srv,
  921. FullMethod: "/filer_pb.SeaweedFiler/LookupVolume",
  922. }
  923. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  924. return srv.(SeaweedFilerServer).LookupVolume(ctx, req.(*LookupVolumeRequest))
  925. }
  926. return interceptor(ctx, in, info, handler)
  927. }
  928. func _SeaweedFiler_DeleteCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  929. in := new(DeleteCollectionRequest)
  930. if err := dec(in); err != nil {
  931. return nil, err
  932. }
  933. if interceptor == nil {
  934. return srv.(SeaweedFilerServer).DeleteCollection(ctx, in)
  935. }
  936. info := &grpc.UnaryServerInfo{
  937. Server: srv,
  938. FullMethod: "/filer_pb.SeaweedFiler/DeleteCollection",
  939. }
  940. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  941. return srv.(SeaweedFilerServer).DeleteCollection(ctx, req.(*DeleteCollectionRequest))
  942. }
  943. return interceptor(ctx, in, info, handler)
  944. }
  945. func _SeaweedFiler_Statistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  946. in := new(StatisticsRequest)
  947. if err := dec(in); err != nil {
  948. return nil, err
  949. }
  950. if interceptor == nil {
  951. return srv.(SeaweedFilerServer).Statistics(ctx, in)
  952. }
  953. info := &grpc.UnaryServerInfo{
  954. Server: srv,
  955. FullMethod: "/filer_pb.SeaweedFiler/Statistics",
  956. }
  957. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  958. return srv.(SeaweedFilerServer).Statistics(ctx, req.(*StatisticsRequest))
  959. }
  960. return interceptor(ctx, in, info, handler)
  961. }
  962. var _SeaweedFiler_serviceDesc = grpc.ServiceDesc{
  963. ServiceName: "filer_pb.SeaweedFiler",
  964. HandlerType: (*SeaweedFilerServer)(nil),
  965. Methods: []grpc.MethodDesc{
  966. {
  967. MethodName: "LookupDirectoryEntry",
  968. Handler: _SeaweedFiler_LookupDirectoryEntry_Handler,
  969. },
  970. {
  971. MethodName: "ListEntries",
  972. Handler: _SeaweedFiler_ListEntries_Handler,
  973. },
  974. {
  975. MethodName: "CreateEntry",
  976. Handler: _SeaweedFiler_CreateEntry_Handler,
  977. },
  978. {
  979. MethodName: "UpdateEntry",
  980. Handler: _SeaweedFiler_UpdateEntry_Handler,
  981. },
  982. {
  983. MethodName: "DeleteEntry",
  984. Handler: _SeaweedFiler_DeleteEntry_Handler,
  985. },
  986. {
  987. MethodName: "AssignVolume",
  988. Handler: _SeaweedFiler_AssignVolume_Handler,
  989. },
  990. {
  991. MethodName: "LookupVolume",
  992. Handler: _SeaweedFiler_LookupVolume_Handler,
  993. },
  994. {
  995. MethodName: "DeleteCollection",
  996. Handler: _SeaweedFiler_DeleteCollection_Handler,
  997. },
  998. {
  999. MethodName: "Statistics",
  1000. Handler: _SeaweedFiler_Statistics_Handler,
  1001. },
  1002. },
  1003. Streams: []grpc.StreamDesc{},
  1004. Metadata: "filer.proto",
  1005. }
  1006. func init() { proto.RegisterFile("filer.proto", fileDescriptor0) }
  1007. var fileDescriptor0 = []byte{
  1008. // 1291 bytes of a gzipped FileDescriptorProto
  1009. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x57, 0x4d, 0x8f, 0xdc, 0x44,
  1010. 0x13, 0x8e, 0xe7, 0x2b, 0xe3, 0x9a, 0x99, 0xbc, 0xbb, 0x3d, 0xfb, 0x12, 0x6b, 0xb2, 0x1b, 0x26,
  1011. 0x86, 0xa0, 0x8d, 0x88, 0x46, 0x51, 0xe0, 0x90, 0x10, 0x21, 0x91, 0x6c, 0x36, 0x52, 0xa4, 0x4d,
  1012. 0x82, 0xbc, 0x09, 0x12, 0xe2, 0x60, 0x79, 0xed, 0x9e, 0xa1, 0xb5, 0x1e, 0x7b, 0x70, 0xb7, 0x37,
  1013. 0x09, 0x7f, 0x82, 0x0b, 0x57, 0x0e, 0x9c, 0xf8, 0x17, 0x5c, 0xf8, 0x3f, 0xdc, 0xb9, 0xa1, 0xae,
  1014. 0x6e, 0x7b, 0xda, 0x63, 0xef, 0x06, 0x84, 0x72, 0xeb, 0x7e, 0xaa, 0xba, 0xbe, 0xfa, 0xe9, 0x2a,
  1015. 0x1b, 0x06, 0x73, 0x16, 0xd3, 0x6c, 0xb6, 0xca, 0x52, 0x91, 0x92, 0x3e, 0x6e, 0xfc, 0xd5, 0x89,
  1016. 0xfb, 0x02, 0xae, 0x1d, 0xa5, 0xe9, 0x69, 0xbe, 0x7a, 0xcc, 0x32, 0x1a, 0x8a, 0x34, 0x7b, 0x7b,
  1017. 0x98, 0x88, 0xec, 0xad, 0x47, 0x7f, 0xc8, 0x29, 0x17, 0x64, 0x17, 0xec, 0xa8, 0x10, 0x38, 0xd6,
  1018. 0xd4, 0xda, 0xb7, 0xbd, 0x35, 0x40, 0x08, 0x74, 0x92, 0x60, 0x49, 0x9d, 0x16, 0x0a, 0x70, 0xed,
  1019. 0x1e, 0xc2, 0x6e, 0xb3, 0x41, 0xbe, 0x4a, 0x13, 0x4e, 0xc9, 0x4d, 0xe8, 0x52, 0x09, 0xa0, 0xb5,
  1020. 0xc1, 0xdd, 0xff, 0xcd, 0x8a, 0x50, 0x66, 0x4a, 0x4f, 0x49, 0xdd, 0xdf, 0x2d, 0x20, 0x47, 0x8c,
  1021. 0x0b, 0x09, 0x32, 0xca, 0xff, 0x59, 0x3c, 0x1f, 0x40, 0x6f, 0x95, 0xd1, 0x39, 0x7b, 0xa3, 0x23,
  1022. 0xd2, 0x3b, 0x72, 0x1b, 0xb6, 0xb9, 0x08, 0x32, 0xf1, 0x24, 0x4b, 0x97, 0x4f, 0x58, 0x4c, 0x9f,
  1023. 0xcb, 0xa0, 0xdb, 0xa8, 0x52, 0x17, 0x90, 0x19, 0x10, 0x96, 0x84, 0x71, 0xce, 0xd9, 0x19, 0x3d,
  1024. 0x2e, 0xa4, 0x4e, 0x67, 0x6a, 0xed, 0xf7, 0xbd, 0x06, 0x09, 0xd9, 0x81, 0x6e, 0xcc, 0x96, 0x4c,
  1025. 0x38, 0xdd, 0xa9, 0xb5, 0x3f, 0xf2, 0xd4, 0xc6, 0xfd, 0x0a, 0xc6, 0x95, 0xf8, 0x75, 0xfa, 0xb7,
  1026. 0xe0, 0x32, 0x55, 0x90, 0x63, 0x4d, 0xdb, 0x4d, 0x05, 0x28, 0xe4, 0xee, 0x2f, 0x2d, 0xe8, 0x22,
  1027. 0x54, 0xd6, 0xd9, 0x5a, 0xd7, 0x99, 0xdc, 0x80, 0x21, 0xe3, 0xfe, 0xba, 0x18, 0x2d, 0x8c, 0x6f,
  1028. 0xc0, 0x78, 0x59, 0x77, 0xf2, 0x29, 0xf4, 0xc2, 0xef, 0xf3, 0xe4, 0x94, 0x3b, 0x6d, 0x74, 0x35,
  1029. 0x5e, 0xbb, 0x92, 0xc9, 0x1e, 0x48, 0x99, 0xa7, 0x55, 0xc8, 0x3d, 0x80, 0x40, 0x88, 0x8c, 0x9d,
  1030. 0xe4, 0x82, 0x72, 0xcc, 0x76, 0x70, 0xd7, 0x31, 0x0e, 0xe4, 0x9c, 0x3e, 0x2c, 0xe5, 0x9e, 0xa1,
  1031. 0x4b, 0xee, 0x43, 0x9f, 0xbe, 0x11, 0x34, 0x89, 0x68, 0xe4, 0x74, 0xd1, 0xd1, 0xde, 0x46, 0x4e,
  1032. 0xb3, 0x43, 0x2d, 0x57, 0x19, 0x96, 0xea, 0x93, 0x07, 0x30, 0xaa, 0x88, 0xc8, 0x16, 0xb4, 0x4f,
  1033. 0x69, 0x71, 0xb3, 0x72, 0x29, 0xab, 0x7b, 0x16, 0xc4, 0xb9, 0x22, 0xd9, 0xd0, 0x53, 0x9b, 0x2f,
  1034. 0x5a, 0xf7, 0x2c, 0xf7, 0x67, 0x0b, 0xb6, 0x0f, 0xcf, 0x68, 0x22, 0x9e, 0xa7, 0x82, 0xcd, 0x59,
  1035. 0x18, 0x08, 0x96, 0x26, 0xe4, 0x36, 0xd8, 0x69, 0x1c, 0xf9, 0x17, 0x72, 0xac, 0x9f, 0xc6, 0xda,
  1036. 0xdf, 0x6d, 0xb0, 0x13, 0xfa, 0x5a, 0x6b, 0xb7, 0xce, 0xd1, 0x4e, 0xe8, 0x6b, 0xa5, 0xfd, 0x11,
  1037. 0x8c, 0x22, 0x1a, 0x53, 0x41, 0xfd, 0xb2, 0xae, 0xb2, 0xe8, 0x43, 0x05, 0x62, 0x3d, 0xb9, 0xfb,
  1038. 0xab, 0x05, 0x76, 0x59, 0x5e, 0x72, 0x15, 0x2e, 0x4b, 0x73, 0x3e, 0x8b, 0x74, 0x52, 0x3d, 0xb9,
  1039. 0x7d, 0x1a, 0x49, 0xae, 0xa6, 0xf3, 0x39, 0xa7, 0x02, 0xdd, 0xb6, 0x3d, 0xbd, 0x93, 0x77, 0xcd,
  1040. 0xd9, 0x8f, 0x8a, 0x9e, 0x1d, 0x0f, 0xd7, 0xb2, 0x06, 0x4b, 0xc1, 0x96, 0x14, 0xaf, 0xa5, 0xed,
  1041. 0xa9, 0x0d, 0x19, 0x43, 0x97, 0xfa, 0x22, 0x58, 0x20, 0xef, 0x6c, 0xaf, 0x43, 0x5f, 0x06, 0x0b,
  1042. 0xf2, 0x31, 0x5c, 0xe1, 0x69, 0x9e, 0x85, 0xd4, 0x2f, 0xdc, 0xf6, 0x50, 0x3a, 0x54, 0xe8, 0x13,
  1043. 0x74, 0xee, 0xfe, 0xd9, 0x82, 0x2b, 0xd5, 0x1b, 0x25, 0xd7, 0xc0, 0xc6, 0x13, 0xe8, 0xdc, 0x42,
  1044. 0xe7, 0xd8, 0x25, 0x8e, 0x2b, 0x01, 0xb4, 0xcc, 0x00, 0x8a, 0x23, 0xcb, 0x34, 0x52, 0xf1, 0x8e,
  1045. 0xd4, 0x91, 0x67, 0x69, 0x44, 0xe5, 0x4d, 0xe6, 0x2c, 0xc2, 0x88, 0x47, 0x9e, 0x5c, 0x4a, 0x64,
  1046. 0xc1, 0x22, 0xfd, 0x4a, 0xe4, 0x52, 0xd6, 0x20, 0xcc, 0xd0, 0x6e, 0x4f, 0xd5, 0x40, 0xed, 0x64,
  1047. 0x0d, 0x96, 0x12, 0xbd, 0xac, 0x12, 0x93, 0x6b, 0x32, 0x85, 0x41, 0x46, 0x57, 0xb1, 0xbe, 0x66,
  1048. 0xa7, 0x8f, 0x22, 0x13, 0x22, 0xd7, 0x01, 0xc2, 0x34, 0x8e, 0x69, 0x88, 0x0a, 0x36, 0x2a, 0x18,
  1049. 0x88, 0xbc, 0x0a, 0x21, 0x62, 0x9f, 0xd3, 0xd0, 0x81, 0xa9, 0xb5, 0xdf, 0xf5, 0x7a, 0x42, 0xc4,
  1050. 0xc7, 0x34, 0x94, 0x79, 0xe4, 0x9c, 0x66, 0x3e, 0xbe, 0xb1, 0x01, 0x9e, 0xeb, 0x4b, 0x00, 0xbb,
  1051. 0xc1, 0x1e, 0xc0, 0x22, 0x4b, 0xf3, 0x95, 0x92, 0x0e, 0xa7, 0x6d, 0xd9, 0x72, 0x10, 0x41, 0xf1,
  1052. 0x4d, 0xb8, 0xc2, 0xdf, 0x2e, 0x63, 0x96, 0x9c, 0xfa, 0x22, 0xc8, 0x16, 0x54, 0x38, 0x23, 0x34,
  1053. 0x30, 0xd2, 0xe8, 0x4b, 0x04, 0xdd, 0x6f, 0x81, 0x1c, 0x64, 0x34, 0x10, 0xf4, 0x5f, 0x74, 0xd7,
  1054. 0xb2, 0x53, 0xb6, 0x2e, 0xec, 0x94, 0xff, 0x87, 0x71, 0xc5, 0xb4, 0x6a, 0x34, 0xd2, 0xe3, 0xab,
  1055. 0x55, 0xf4, 0xbe, 0x3c, 0x56, 0x4c, 0x6b, 0x8f, 0x3f, 0x59, 0x40, 0x1e, 0xe3, 0x4b, 0xf8, 0x6f,
  1056. 0x23, 0x44, 0x72, 0x58, 0xb6, 0x36, 0xf5, 0xd2, 0xa2, 0x40, 0x04, 0xba, 0xf9, 0x0e, 0x19, 0x57,
  1057. 0xf6, 0x1f, 0x07, 0x22, 0xd0, 0x0d, 0x30, 0xa3, 0x61, 0x9e, 0xc9, 0x7e, 0x8c, 0xbc, 0xc2, 0x06,
  1058. 0xe8, 0x15, 0x90, 0x0c, 0xb4, 0x12, 0x90, 0x0e, 0xf4, 0x37, 0x0b, 0xc6, 0x0f, 0x39, 0x67, 0x8b,
  1059. 0xe4, 0x9b, 0x34, 0xce, 0x97, 0xb4, 0x88, 0x74, 0x07, 0xba, 0x61, 0x9a, 0x27, 0x02, 0xa3, 0xec,
  1060. 0x7a, 0x6a, 0xb3, 0x41, 0xab, 0x56, 0x8d, 0x56, 0x1b, 0xc4, 0x6c, 0xd7, 0x89, 0x69, 0x10, 0xaf,
  1061. 0x53, 0x21, 0xde, 0x87, 0x30, 0x90, 0xe9, 0xf9, 0x21, 0x4d, 0x04, 0xcd, 0xf4, 0x3b, 0x06, 0x09,
  1062. 0x1d, 0x20, 0xe2, 0x9e, 0xc1, 0x4e, 0x35, 0x50, 0x3d, 0x45, 0xce, 0xed, 0x2a, 0xf2, 0xd5, 0x65,
  1063. 0xb1, 0x8e, 0x52, 0x2e, 0x25, 0x7f, 0x57, 0xf9, 0x49, 0xcc, 0x42, 0x5f, 0x0a, 0x54, 0x74, 0xb6,
  1064. 0x42, 0x5e, 0x65, 0xf1, 0x3a, 0xe7, 0x8e, 0x91, 0xb3, 0xfb, 0x39, 0x8c, 0xd5, 0x10, 0xaf, 0x16,
  1065. 0x68, 0x0f, 0xe0, 0x0c, 0x01, 0x9f, 0x45, 0x6a, 0x7e, 0xd9, 0x9e, 0xad, 0x90, 0xa7, 0x11, 0x77,
  1066. 0xbf, 0x04, 0xfb, 0x28, 0x55, 0x39, 0x73, 0x72, 0x07, 0xec, 0xb8, 0xd8, 0xe8, 0x51, 0x47, 0xd6,
  1067. 0x7c, 0x2a, 0xf4, 0xbc, 0xb5, 0x92, 0xfb, 0x00, 0xfa, 0x05, 0x5c, 0xe4, 0x61, 0x9d, 0x97, 0x47,
  1068. 0x6b, 0x23, 0x0f, 0xf7, 0x0f, 0x0b, 0x76, 0xaa, 0x21, 0xeb, 0x52, 0xbd, 0x82, 0x51, 0xe9, 0xc2,
  1069. 0x5f, 0x06, 0x2b, 0x1d, 0xcb, 0x1d, 0x33, 0x96, 0xfa, 0xb1, 0x32, 0x40, 0xfe, 0x2c, 0x58, 0x29,
  1070. 0xf6, 0x0c, 0x63, 0x03, 0x9a, 0xbc, 0x84, 0xed, 0x9a, 0x4a, 0xc3, 0xf4, 0xba, 0x65, 0x4e, 0xaf,
  1071. 0xca, 0x04, 0x2e, 0x4f, 0x9b, 0x23, 0xed, 0x3e, 0x5c, 0x55, 0x84, 0x3d, 0x28, 0xf9, 0x55, 0xd4,
  1072. 0xbe, 0x4a, 0x43, 0x6b, 0x93, 0x86, 0xee, 0x04, 0x9c, 0xfa, 0x51, 0x4d, 0xf8, 0x05, 0x6c, 0x1f,
  1073. 0x8b, 0x40, 0x30, 0x2e, 0x58, 0x58, 0x7e, 0x4a, 0x6d, 0xf0, 0xd6, 0x7a, 0x57, 0x43, 0xad, 0x33,
  1074. 0x7f, 0x0b, 0xda, 0x42, 0x14, 0x9c, 0x92, 0x4b, 0x79, 0x0b, 0xc4, 0xf4, 0xa4, 0xef, 0xe0, 0x3d,
  1075. 0xb8, 0x92, 0x7c, 0x10, 0xa9, 0x08, 0x62, 0x35, 0xb0, 0x3a, 0x38, 0xb0, 0x6c, 0x44, 0x70, 0x62,
  1076. 0xa9, 0x9e, 0x1e, 0x29, 0x69, 0x57, 0x8d, 0x33, 0x09, 0xa0, 0x70, 0x0f, 0x00, 0x9f, 0x8f, 0x62,
  1077. 0x7e, 0x4f, 0x9d, 0x95, 0xc8, 0x81, 0x04, 0xee, 0xfe, 0xd5, 0x85, 0xe1, 0x31, 0x0d, 0x5e, 0x53,
  1078. 0x1a, 0xc9, 0x79, 0x99, 0x91, 0x45, 0xc1, 0xad, 0xea, 0x37, 0x2d, 0xb9, 0xb9, 0x49, 0xa2, 0xc6,
  1079. 0x8f, 0xe8, 0xc9, 0x27, 0xef, 0x52, 0xd3, 0xd7, 0x74, 0x89, 0x1c, 0xc1, 0xc0, 0xf8, 0x68, 0x24,
  1080. 0xbb, 0xc6, 0xc1, 0xda, 0xb7, 0xf0, 0x64, 0xef, 0x1c, 0xa9, 0x69, 0xcd, 0x98, 0x0c, 0xa6, 0xb5,
  1081. 0xfa, 0x2c, 0x32, 0xad, 0x35, 0x8d, 0x13, 0xb4, 0x66, 0x74, 0x7d, 0xd3, 0x5a, 0x7d, 0xce, 0x98,
  1082. 0xd6, 0x9a, 0x46, 0x05, 0x5a, 0x33, 0x5a, 0xb3, 0x69, 0xad, 0x3e, 0x42, 0x4c, 0x6b, 0x4d, 0xfd,
  1083. 0xfc, 0x12, 0x79, 0x01, 0x43, 0xb3, 0x4f, 0x12, 0xe3, 0x40, 0x43, 0xa3, 0x9f, 0x5c, 0x3f, 0x4f,
  1084. 0x6c, 0x1a, 0x34, 0xdb, 0x82, 0x69, 0xb0, 0xa1, 0x31, 0x9a, 0x06, 0x9b, 0xba, 0x89, 0x7b, 0x89,
  1085. 0x7c, 0x07, 0x5b, 0x9b, 0xcf, 0x93, 0xdc, 0xd8, 0x4c, 0xab, 0xf6, 0xea, 0x27, 0xee, 0x45, 0x2a,
  1086. 0xa5, 0xf1, 0xa7, 0x00, 0xeb, 0x57, 0x47, 0xae, 0xad, 0xcf, 0xd4, 0x5e, 0xfd, 0x64, 0xb7, 0x59,
  1087. 0x58, 0x98, 0x7a, 0x74, 0x1d, 0xb6, 0xb8, 0xa2, 0xfe, 0x9c, 0xcf, 0xc2, 0x98, 0xd1, 0x44, 0x3c,
  1088. 0x02, 0x7c, 0x05, 0x5f, 0xcb, 0x3f, 0xc7, 0x93, 0x1e, 0xfe, 0x40, 0x7e, 0xf6, 0x77, 0x00, 0x00,
  1089. 0x00, 0xff, 0xff, 0x8d, 0x38, 0xa9, 0x9f, 0x4f, 0x0e, 0x00, 0x00,
  1090. }