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.

1253 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. Auth string `protobuf:"bytes,5,opt,name=auth" json:"auth,omitempty"`
  491. }
  492. func (m *AssignVolumeResponse) Reset() { *m = AssignVolumeResponse{} }
  493. func (m *AssignVolumeResponse) String() string { return proto.CompactTextString(m) }
  494. func (*AssignVolumeResponse) ProtoMessage() {}
  495. func (*AssignVolumeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
  496. func (m *AssignVolumeResponse) GetFileId() string {
  497. if m != nil {
  498. return m.FileId
  499. }
  500. return ""
  501. }
  502. func (m *AssignVolumeResponse) GetUrl() string {
  503. if m != nil {
  504. return m.Url
  505. }
  506. return ""
  507. }
  508. func (m *AssignVolumeResponse) GetPublicUrl() string {
  509. if m != nil {
  510. return m.PublicUrl
  511. }
  512. return ""
  513. }
  514. func (m *AssignVolumeResponse) GetCount() int32 {
  515. if m != nil {
  516. return m.Count
  517. }
  518. return 0
  519. }
  520. func (m *AssignVolumeResponse) GetAuth() string {
  521. if m != nil {
  522. return m.Auth
  523. }
  524. return ""
  525. }
  526. type LookupVolumeRequest struct {
  527. VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds" json:"volume_ids,omitempty"`
  528. }
  529. func (m *LookupVolumeRequest) Reset() { *m = LookupVolumeRequest{} }
  530. func (m *LookupVolumeRequest) String() string { return proto.CompactTextString(m) }
  531. func (*LookupVolumeRequest) ProtoMessage() {}
  532. func (*LookupVolumeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
  533. func (m *LookupVolumeRequest) GetVolumeIds() []string {
  534. if m != nil {
  535. return m.VolumeIds
  536. }
  537. return nil
  538. }
  539. type Locations struct {
  540. Locations []*Location `protobuf:"bytes,1,rep,name=locations" json:"locations,omitempty"`
  541. }
  542. func (m *Locations) Reset() { *m = Locations{} }
  543. func (m *Locations) String() string { return proto.CompactTextString(m) }
  544. func (*Locations) ProtoMessage() {}
  545. func (*Locations) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
  546. func (m *Locations) GetLocations() []*Location {
  547. if m != nil {
  548. return m.Locations
  549. }
  550. return nil
  551. }
  552. type Location struct {
  553. Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
  554. PublicUrl string `protobuf:"bytes,2,opt,name=public_url,json=publicUrl" json:"public_url,omitempty"`
  555. }
  556. func (m *Location) Reset() { *m = Location{} }
  557. func (m *Location) String() string { return proto.CompactTextString(m) }
  558. func (*Location) ProtoMessage() {}
  559. func (*Location) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
  560. func (m *Location) GetUrl() string {
  561. if m != nil {
  562. return m.Url
  563. }
  564. return ""
  565. }
  566. func (m *Location) GetPublicUrl() string {
  567. if m != nil {
  568. return m.PublicUrl
  569. }
  570. return ""
  571. }
  572. type LookupVolumeResponse struct {
  573. 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"`
  574. }
  575. func (m *LookupVolumeResponse) Reset() { *m = LookupVolumeResponse{} }
  576. func (m *LookupVolumeResponse) String() string { return proto.CompactTextString(m) }
  577. func (*LookupVolumeResponse) ProtoMessage() {}
  578. func (*LookupVolumeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
  579. func (m *LookupVolumeResponse) GetLocationsMap() map[string]*Locations {
  580. if m != nil {
  581. return m.LocationsMap
  582. }
  583. return nil
  584. }
  585. type DeleteCollectionRequest struct {
  586. Collection string `protobuf:"bytes,1,opt,name=collection" json:"collection,omitempty"`
  587. }
  588. func (m *DeleteCollectionRequest) Reset() { *m = DeleteCollectionRequest{} }
  589. func (m *DeleteCollectionRequest) String() string { return proto.CompactTextString(m) }
  590. func (*DeleteCollectionRequest) ProtoMessage() {}
  591. func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
  592. func (m *DeleteCollectionRequest) GetCollection() string {
  593. if m != nil {
  594. return m.Collection
  595. }
  596. return ""
  597. }
  598. type DeleteCollectionResponse struct {
  599. }
  600. func (m *DeleteCollectionResponse) Reset() { *m = DeleteCollectionResponse{} }
  601. func (m *DeleteCollectionResponse) String() string { return proto.CompactTextString(m) }
  602. func (*DeleteCollectionResponse) ProtoMessage() {}
  603. func (*DeleteCollectionResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} }
  604. type StatisticsRequest struct {
  605. Replication string `protobuf:"bytes,1,opt,name=replication" json:"replication,omitempty"`
  606. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  607. Ttl string `protobuf:"bytes,3,opt,name=ttl" json:"ttl,omitempty"`
  608. }
  609. func (m *StatisticsRequest) Reset() { *m = StatisticsRequest{} }
  610. func (m *StatisticsRequest) String() string { return proto.CompactTextString(m) }
  611. func (*StatisticsRequest) ProtoMessage() {}
  612. func (*StatisticsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} }
  613. func (m *StatisticsRequest) GetReplication() string {
  614. if m != nil {
  615. return m.Replication
  616. }
  617. return ""
  618. }
  619. func (m *StatisticsRequest) GetCollection() string {
  620. if m != nil {
  621. return m.Collection
  622. }
  623. return ""
  624. }
  625. func (m *StatisticsRequest) GetTtl() string {
  626. if m != nil {
  627. return m.Ttl
  628. }
  629. return ""
  630. }
  631. type StatisticsResponse struct {
  632. Replication string `protobuf:"bytes,1,opt,name=replication" json:"replication,omitempty"`
  633. Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"`
  634. Ttl string `protobuf:"bytes,3,opt,name=ttl" json:"ttl,omitempty"`
  635. TotalSize uint64 `protobuf:"varint,4,opt,name=total_size,json=totalSize" json:"total_size,omitempty"`
  636. UsedSize uint64 `protobuf:"varint,5,opt,name=used_size,json=usedSize" json:"used_size,omitempty"`
  637. FileCount uint64 `protobuf:"varint,6,opt,name=file_count,json=fileCount" json:"file_count,omitempty"`
  638. }
  639. func (m *StatisticsResponse) Reset() { *m = StatisticsResponse{} }
  640. func (m *StatisticsResponse) String() string { return proto.CompactTextString(m) }
  641. func (*StatisticsResponse) ProtoMessage() {}
  642. func (*StatisticsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{23} }
  643. func (m *StatisticsResponse) GetReplication() string {
  644. if m != nil {
  645. return m.Replication
  646. }
  647. return ""
  648. }
  649. func (m *StatisticsResponse) GetCollection() string {
  650. if m != nil {
  651. return m.Collection
  652. }
  653. return ""
  654. }
  655. func (m *StatisticsResponse) GetTtl() string {
  656. if m != nil {
  657. return m.Ttl
  658. }
  659. return ""
  660. }
  661. func (m *StatisticsResponse) GetTotalSize() uint64 {
  662. if m != nil {
  663. return m.TotalSize
  664. }
  665. return 0
  666. }
  667. func (m *StatisticsResponse) GetUsedSize() uint64 {
  668. if m != nil {
  669. return m.UsedSize
  670. }
  671. return 0
  672. }
  673. func (m *StatisticsResponse) GetFileCount() uint64 {
  674. if m != nil {
  675. return m.FileCount
  676. }
  677. return 0
  678. }
  679. func init() {
  680. proto.RegisterType((*LookupDirectoryEntryRequest)(nil), "filer_pb.LookupDirectoryEntryRequest")
  681. proto.RegisterType((*LookupDirectoryEntryResponse)(nil), "filer_pb.LookupDirectoryEntryResponse")
  682. proto.RegisterType((*ListEntriesRequest)(nil), "filer_pb.ListEntriesRequest")
  683. proto.RegisterType((*ListEntriesResponse)(nil), "filer_pb.ListEntriesResponse")
  684. proto.RegisterType((*Entry)(nil), "filer_pb.Entry")
  685. proto.RegisterType((*EventNotification)(nil), "filer_pb.EventNotification")
  686. proto.RegisterType((*FileChunk)(nil), "filer_pb.FileChunk")
  687. proto.RegisterType((*FuseAttributes)(nil), "filer_pb.FuseAttributes")
  688. proto.RegisterType((*CreateEntryRequest)(nil), "filer_pb.CreateEntryRequest")
  689. proto.RegisterType((*CreateEntryResponse)(nil), "filer_pb.CreateEntryResponse")
  690. proto.RegisterType((*UpdateEntryRequest)(nil), "filer_pb.UpdateEntryRequest")
  691. proto.RegisterType((*UpdateEntryResponse)(nil), "filer_pb.UpdateEntryResponse")
  692. proto.RegisterType((*DeleteEntryRequest)(nil), "filer_pb.DeleteEntryRequest")
  693. proto.RegisterType((*DeleteEntryResponse)(nil), "filer_pb.DeleteEntryResponse")
  694. proto.RegisterType((*AssignVolumeRequest)(nil), "filer_pb.AssignVolumeRequest")
  695. proto.RegisterType((*AssignVolumeResponse)(nil), "filer_pb.AssignVolumeResponse")
  696. proto.RegisterType((*LookupVolumeRequest)(nil), "filer_pb.LookupVolumeRequest")
  697. proto.RegisterType((*Locations)(nil), "filer_pb.Locations")
  698. proto.RegisterType((*Location)(nil), "filer_pb.Location")
  699. proto.RegisterType((*LookupVolumeResponse)(nil), "filer_pb.LookupVolumeResponse")
  700. proto.RegisterType((*DeleteCollectionRequest)(nil), "filer_pb.DeleteCollectionRequest")
  701. proto.RegisterType((*DeleteCollectionResponse)(nil), "filer_pb.DeleteCollectionResponse")
  702. proto.RegisterType((*StatisticsRequest)(nil), "filer_pb.StatisticsRequest")
  703. proto.RegisterType((*StatisticsResponse)(nil), "filer_pb.StatisticsResponse")
  704. }
  705. // Reference imports to suppress errors if they are not otherwise used.
  706. var _ context.Context
  707. var _ grpc.ClientConn
  708. // This is a compile-time assertion to ensure that this generated file
  709. // is compatible with the grpc package it is being compiled against.
  710. const _ = grpc.SupportPackageIsVersion4
  711. // Client API for SeaweedFiler service
  712. type SeaweedFilerClient interface {
  713. LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error)
  714. ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (*ListEntriesResponse, error)
  715. CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error)
  716. UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error)
  717. DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error)
  718. AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error)
  719. LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error)
  720. DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error)
  721. Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error)
  722. }
  723. type seaweedFilerClient struct {
  724. cc *grpc.ClientConn
  725. }
  726. func NewSeaweedFilerClient(cc *grpc.ClientConn) SeaweedFilerClient {
  727. return &seaweedFilerClient{cc}
  728. }
  729. func (c *seaweedFilerClient) LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error) {
  730. out := new(LookupDirectoryEntryResponse)
  731. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupDirectoryEntry", in, out, c.cc, opts...)
  732. if err != nil {
  733. return nil, err
  734. }
  735. return out, nil
  736. }
  737. func (c *seaweedFilerClient) ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (*ListEntriesResponse, error) {
  738. out := new(ListEntriesResponse)
  739. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/ListEntries", in, out, c.cc, opts...)
  740. if err != nil {
  741. return nil, err
  742. }
  743. return out, nil
  744. }
  745. func (c *seaweedFilerClient) CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error) {
  746. out := new(CreateEntryResponse)
  747. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/CreateEntry", in, out, c.cc, opts...)
  748. if err != nil {
  749. return nil, err
  750. }
  751. return out, nil
  752. }
  753. func (c *seaweedFilerClient) UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error) {
  754. out := new(UpdateEntryResponse)
  755. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/UpdateEntry", in, out, c.cc, opts...)
  756. if err != nil {
  757. return nil, err
  758. }
  759. return out, nil
  760. }
  761. func (c *seaweedFilerClient) DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error) {
  762. out := new(DeleteEntryResponse)
  763. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteEntry", in, out, c.cc, opts...)
  764. if err != nil {
  765. return nil, err
  766. }
  767. return out, nil
  768. }
  769. func (c *seaweedFilerClient) AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error) {
  770. out := new(AssignVolumeResponse)
  771. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/AssignVolume", in, out, c.cc, opts...)
  772. if err != nil {
  773. return nil, err
  774. }
  775. return out, nil
  776. }
  777. func (c *seaweedFilerClient) LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error) {
  778. out := new(LookupVolumeResponse)
  779. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupVolume", in, out, c.cc, opts...)
  780. if err != nil {
  781. return nil, err
  782. }
  783. return out, nil
  784. }
  785. func (c *seaweedFilerClient) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) {
  786. out := new(DeleteCollectionResponse)
  787. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteCollection", in, out, c.cc, opts...)
  788. if err != nil {
  789. return nil, err
  790. }
  791. return out, nil
  792. }
  793. func (c *seaweedFilerClient) Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error) {
  794. out := new(StatisticsResponse)
  795. err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/Statistics", in, out, c.cc, opts...)
  796. if err != nil {
  797. return nil, err
  798. }
  799. return out, nil
  800. }
  801. // Server API for SeaweedFiler service
  802. type SeaweedFilerServer interface {
  803. LookupDirectoryEntry(context.Context, *LookupDirectoryEntryRequest) (*LookupDirectoryEntryResponse, error)
  804. ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error)
  805. CreateEntry(context.Context, *CreateEntryRequest) (*CreateEntryResponse, error)
  806. UpdateEntry(context.Context, *UpdateEntryRequest) (*UpdateEntryResponse, error)
  807. DeleteEntry(context.Context, *DeleteEntryRequest) (*DeleteEntryResponse, error)
  808. AssignVolume(context.Context, *AssignVolumeRequest) (*AssignVolumeResponse, error)
  809. LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error)
  810. DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
  811. Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error)
  812. }
  813. func RegisterSeaweedFilerServer(s *grpc.Server, srv SeaweedFilerServer) {
  814. s.RegisterService(&_SeaweedFiler_serviceDesc, srv)
  815. }
  816. func _SeaweedFiler_LookupDirectoryEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  817. in := new(LookupDirectoryEntryRequest)
  818. if err := dec(in); err != nil {
  819. return nil, err
  820. }
  821. if interceptor == nil {
  822. return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, in)
  823. }
  824. info := &grpc.UnaryServerInfo{
  825. Server: srv,
  826. FullMethod: "/filer_pb.SeaweedFiler/LookupDirectoryEntry",
  827. }
  828. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  829. return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, req.(*LookupDirectoryEntryRequest))
  830. }
  831. return interceptor(ctx, in, info, handler)
  832. }
  833. func _SeaweedFiler_ListEntries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  834. in := new(ListEntriesRequest)
  835. if err := dec(in); err != nil {
  836. return nil, err
  837. }
  838. if interceptor == nil {
  839. return srv.(SeaweedFilerServer).ListEntries(ctx, in)
  840. }
  841. info := &grpc.UnaryServerInfo{
  842. Server: srv,
  843. FullMethod: "/filer_pb.SeaweedFiler/ListEntries",
  844. }
  845. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  846. return srv.(SeaweedFilerServer).ListEntries(ctx, req.(*ListEntriesRequest))
  847. }
  848. return interceptor(ctx, in, info, handler)
  849. }
  850. func _SeaweedFiler_CreateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  851. in := new(CreateEntryRequest)
  852. if err := dec(in); err != nil {
  853. return nil, err
  854. }
  855. if interceptor == nil {
  856. return srv.(SeaweedFilerServer).CreateEntry(ctx, in)
  857. }
  858. info := &grpc.UnaryServerInfo{
  859. Server: srv,
  860. FullMethod: "/filer_pb.SeaweedFiler/CreateEntry",
  861. }
  862. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  863. return srv.(SeaweedFilerServer).CreateEntry(ctx, req.(*CreateEntryRequest))
  864. }
  865. return interceptor(ctx, in, info, handler)
  866. }
  867. func _SeaweedFiler_UpdateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  868. in := new(UpdateEntryRequest)
  869. if err := dec(in); err != nil {
  870. return nil, err
  871. }
  872. if interceptor == nil {
  873. return srv.(SeaweedFilerServer).UpdateEntry(ctx, in)
  874. }
  875. info := &grpc.UnaryServerInfo{
  876. Server: srv,
  877. FullMethod: "/filer_pb.SeaweedFiler/UpdateEntry",
  878. }
  879. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  880. return srv.(SeaweedFilerServer).UpdateEntry(ctx, req.(*UpdateEntryRequest))
  881. }
  882. return interceptor(ctx, in, info, handler)
  883. }
  884. func _SeaweedFiler_DeleteEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  885. in := new(DeleteEntryRequest)
  886. if err := dec(in); err != nil {
  887. return nil, err
  888. }
  889. if interceptor == nil {
  890. return srv.(SeaweedFilerServer).DeleteEntry(ctx, in)
  891. }
  892. info := &grpc.UnaryServerInfo{
  893. Server: srv,
  894. FullMethod: "/filer_pb.SeaweedFiler/DeleteEntry",
  895. }
  896. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  897. return srv.(SeaweedFilerServer).DeleteEntry(ctx, req.(*DeleteEntryRequest))
  898. }
  899. return interceptor(ctx, in, info, handler)
  900. }
  901. func _SeaweedFiler_AssignVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  902. in := new(AssignVolumeRequest)
  903. if err := dec(in); err != nil {
  904. return nil, err
  905. }
  906. if interceptor == nil {
  907. return srv.(SeaweedFilerServer).AssignVolume(ctx, in)
  908. }
  909. info := &grpc.UnaryServerInfo{
  910. Server: srv,
  911. FullMethod: "/filer_pb.SeaweedFiler/AssignVolume",
  912. }
  913. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  914. return srv.(SeaweedFilerServer).AssignVolume(ctx, req.(*AssignVolumeRequest))
  915. }
  916. return interceptor(ctx, in, info, handler)
  917. }
  918. func _SeaweedFiler_LookupVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  919. in := new(LookupVolumeRequest)
  920. if err := dec(in); err != nil {
  921. return nil, err
  922. }
  923. if interceptor == nil {
  924. return srv.(SeaweedFilerServer).LookupVolume(ctx, in)
  925. }
  926. info := &grpc.UnaryServerInfo{
  927. Server: srv,
  928. FullMethod: "/filer_pb.SeaweedFiler/LookupVolume",
  929. }
  930. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  931. return srv.(SeaweedFilerServer).LookupVolume(ctx, req.(*LookupVolumeRequest))
  932. }
  933. return interceptor(ctx, in, info, handler)
  934. }
  935. func _SeaweedFiler_DeleteCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  936. in := new(DeleteCollectionRequest)
  937. if err := dec(in); err != nil {
  938. return nil, err
  939. }
  940. if interceptor == nil {
  941. return srv.(SeaweedFilerServer).DeleteCollection(ctx, in)
  942. }
  943. info := &grpc.UnaryServerInfo{
  944. Server: srv,
  945. FullMethod: "/filer_pb.SeaweedFiler/DeleteCollection",
  946. }
  947. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  948. return srv.(SeaweedFilerServer).DeleteCollection(ctx, req.(*DeleteCollectionRequest))
  949. }
  950. return interceptor(ctx, in, info, handler)
  951. }
  952. func _SeaweedFiler_Statistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  953. in := new(StatisticsRequest)
  954. if err := dec(in); err != nil {
  955. return nil, err
  956. }
  957. if interceptor == nil {
  958. return srv.(SeaweedFilerServer).Statistics(ctx, in)
  959. }
  960. info := &grpc.UnaryServerInfo{
  961. Server: srv,
  962. FullMethod: "/filer_pb.SeaweedFiler/Statistics",
  963. }
  964. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  965. return srv.(SeaweedFilerServer).Statistics(ctx, req.(*StatisticsRequest))
  966. }
  967. return interceptor(ctx, in, info, handler)
  968. }
  969. var _SeaweedFiler_serviceDesc = grpc.ServiceDesc{
  970. ServiceName: "filer_pb.SeaweedFiler",
  971. HandlerType: (*SeaweedFilerServer)(nil),
  972. Methods: []grpc.MethodDesc{
  973. {
  974. MethodName: "LookupDirectoryEntry",
  975. Handler: _SeaweedFiler_LookupDirectoryEntry_Handler,
  976. },
  977. {
  978. MethodName: "ListEntries",
  979. Handler: _SeaweedFiler_ListEntries_Handler,
  980. },
  981. {
  982. MethodName: "CreateEntry",
  983. Handler: _SeaweedFiler_CreateEntry_Handler,
  984. },
  985. {
  986. MethodName: "UpdateEntry",
  987. Handler: _SeaweedFiler_UpdateEntry_Handler,
  988. },
  989. {
  990. MethodName: "DeleteEntry",
  991. Handler: _SeaweedFiler_DeleteEntry_Handler,
  992. },
  993. {
  994. MethodName: "AssignVolume",
  995. Handler: _SeaweedFiler_AssignVolume_Handler,
  996. },
  997. {
  998. MethodName: "LookupVolume",
  999. Handler: _SeaweedFiler_LookupVolume_Handler,
  1000. },
  1001. {
  1002. MethodName: "DeleteCollection",
  1003. Handler: _SeaweedFiler_DeleteCollection_Handler,
  1004. },
  1005. {
  1006. MethodName: "Statistics",
  1007. Handler: _SeaweedFiler_Statistics_Handler,
  1008. },
  1009. },
  1010. Streams: []grpc.StreamDesc{},
  1011. Metadata: "filer.proto",
  1012. }
  1013. func init() { proto.RegisterFile("filer.proto", fileDescriptor0) }
  1014. var fileDescriptor0 = []byte{
  1015. // 1301 bytes of a gzipped FileDescriptorProto
  1016. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x57, 0x4d, 0x8f, 0xd3, 0xc6,
  1017. 0x1b, 0xc7, 0x79, 0x23, 0x7e, 0x92, 0xf0, 0xdf, 0x9d, 0xec, 0xbf, 0x58, 0x61, 0x97, 0x06, 0xb7,
  1018. 0x54, 0x8b, 0x8a, 0x22, 0x44, 0x7b, 0x80, 0xa2, 0x4a, 0x85, 0x65, 0x91, 0x90, 0x16, 0xa8, 0xbc,
  1019. 0x50, 0xa9, 0xea, 0xc1, 0xf2, 0xda, 0x93, 0x30, 0x5a, 0xc7, 0x4e, 0x3d, 0xe3, 0x05, 0xfa, 0x11,
  1020. 0x7a, 0xe9, 0xa5, 0xd7, 0x1e, 0x7a, 0xea, 0xb7, 0xe8, 0xa5, 0xdf, 0xa7, 0xf7, 0xde, 0xaa, 0x79,
  1021. 0x66, 0xec, 0x8c, 0x63, 0x2f, 0xb4, 0xaa, 0xb8, 0xcd, 0xfc, 0x9e, 0xf7, 0x67, 0x9e, 0x17, 0x1b,
  1022. 0x06, 0x73, 0x16, 0xd3, 0x6c, 0xb6, 0xca, 0x52, 0x91, 0x92, 0x3e, 0x5e, 0xfc, 0xd5, 0x89, 0xfb,
  1023. 0x0c, 0xae, 0x1c, 0xa5, 0xe9, 0x69, 0xbe, 0x7a, 0xc8, 0x32, 0x1a, 0x8a, 0x34, 0x7b, 0x73, 0x98,
  1024. 0x88, 0xec, 0x8d, 0x47, 0xbf, 0xcf, 0x29, 0x17, 0x64, 0x17, 0xec, 0xa8, 0x20, 0x38, 0xd6, 0xd4,
  1025. 0xda, 0xb7, 0xbd, 0x35, 0x40, 0x08, 0x74, 0x92, 0x60, 0x49, 0x9d, 0x16, 0x12, 0xf0, 0xec, 0x1e,
  1026. 0xc2, 0x6e, 0xb3, 0x42, 0xbe, 0x4a, 0x13, 0x4e, 0xc9, 0x75, 0xe8, 0x52, 0x09, 0xa0, 0xb6, 0xc1,
  1027. 0xed, 0xff, 0xcd, 0x0a, 0x57, 0x66, 0x8a, 0x4f, 0x51, 0xdd, 0xdf, 0x2d, 0x20, 0x47, 0x8c, 0x0b,
  1028. 0x09, 0x32, 0xca, 0xff, 0x99, 0x3f, 0x1f, 0x40, 0x6f, 0x95, 0xd1, 0x39, 0x7b, 0xad, 0x3d, 0xd2,
  1029. 0x37, 0x72, 0x13, 0xb6, 0xb9, 0x08, 0x32, 0xf1, 0x28, 0x4b, 0x97, 0x8f, 0x58, 0x4c, 0x9f, 0x4a,
  1030. 0xa7, 0xdb, 0xc8, 0x52, 0x27, 0x90, 0x19, 0x10, 0x96, 0x84, 0x71, 0xce, 0xd9, 0x19, 0x3d, 0x2e,
  1031. 0xa8, 0x4e, 0x67, 0x6a, 0xed, 0xf7, 0xbd, 0x06, 0x0a, 0xd9, 0x81, 0x6e, 0xcc, 0x96, 0x4c, 0x38,
  1032. 0xdd, 0xa9, 0xb5, 0x3f, 0xf2, 0xd4, 0xc5, 0xfd, 0x0a, 0xc6, 0x15, 0xff, 0x75, 0xf8, 0x37, 0xe0,
  1033. 0x22, 0x55, 0x90, 0x63, 0x4d, 0xdb, 0x4d, 0x09, 0x28, 0xe8, 0xee, 0x2f, 0x2d, 0xe8, 0x22, 0x54,
  1034. 0xe6, 0xd9, 0x5a, 0xe7, 0x99, 0x5c, 0x83, 0x21, 0xe3, 0xfe, 0x3a, 0x19, 0x2d, 0xf4, 0x6f, 0xc0,
  1035. 0x78, 0x99, 0x77, 0xf2, 0x29, 0xf4, 0xc2, 0x97, 0x79, 0x72, 0xca, 0x9d, 0x36, 0x9a, 0x1a, 0xaf,
  1036. 0x4d, 0xc9, 0x60, 0x0f, 0x24, 0xcd, 0xd3, 0x2c, 0xe4, 0x0e, 0x40, 0x20, 0x44, 0xc6, 0x4e, 0x72,
  1037. 0x41, 0x39, 0x46, 0x3b, 0xb8, 0xed, 0x18, 0x02, 0x39, 0xa7, 0xf7, 0x4b, 0xba, 0x67, 0xf0, 0x92,
  1038. 0xbb, 0xd0, 0xa7, 0xaf, 0x05, 0x4d, 0x22, 0x1a, 0x39, 0x5d, 0x34, 0xb4, 0xb7, 0x11, 0xd3, 0xec,
  1039. 0x50, 0xd3, 0x55, 0x84, 0x25, 0xfb, 0xe4, 0x1e, 0x8c, 0x2a, 0x24, 0xb2, 0x05, 0xed, 0x53, 0x5a,
  1040. 0xbc, 0xac, 0x3c, 0xca, 0xec, 0x9e, 0x05, 0x71, 0xae, 0x8a, 0x6c, 0xe8, 0xa9, 0xcb, 0x17, 0xad,
  1041. 0x3b, 0x96, 0xfb, 0xb3, 0x05, 0xdb, 0x87, 0x67, 0x34, 0x11, 0x4f, 0x53, 0xc1, 0xe6, 0x2c, 0x0c,
  1042. 0x04, 0x4b, 0x13, 0x72, 0x13, 0xec, 0x34, 0x8e, 0xfc, 0xb7, 0xd6, 0x58, 0x3f, 0x8d, 0xb5, 0xbd,
  1043. 0x9b, 0x60, 0x27, 0xf4, 0x95, 0xe6, 0x6e, 0x9d, 0xc3, 0x9d, 0xd0, 0x57, 0x8a, 0xfb, 0x23, 0x18,
  1044. 0x45, 0x34, 0xa6, 0x82, 0xfa, 0x65, 0x5e, 0x65, 0xd2, 0x87, 0x0a, 0xc4, 0x7c, 0x72, 0xf7, 0x57,
  1045. 0x0b, 0xec, 0x32, 0xbd, 0xe4, 0x32, 0x5c, 0x94, 0xea, 0x7c, 0x16, 0xe9, 0xa0, 0x7a, 0xf2, 0xfa,
  1046. 0x38, 0x92, 0xb5, 0x9a, 0xce, 0xe7, 0x9c, 0x0a, 0x34, 0xdb, 0xf6, 0xf4, 0x4d, 0xbe, 0x35, 0x67,
  1047. 0x3f, 0xa8, 0xf2, 0xec, 0x78, 0x78, 0x96, 0x39, 0x58, 0x0a, 0xb6, 0xa4, 0xf8, 0x2c, 0x6d, 0x4f,
  1048. 0x5d, 0xc8, 0x18, 0xba, 0xd4, 0x17, 0xc1, 0x02, 0xeb, 0xce, 0xf6, 0x3a, 0xf4, 0x79, 0xb0, 0x20,
  1049. 0x1f, 0xc3, 0x25, 0x9e, 0xe6, 0x59, 0x48, 0xfd, 0xc2, 0x6c, 0x0f, 0xa9, 0x43, 0x85, 0x3e, 0x42,
  1050. 0xe3, 0xee, 0x9f, 0x2d, 0xb8, 0x54, 0x7d, 0x51, 0x72, 0x05, 0x6c, 0x94, 0x40, 0xe3, 0x16, 0x1a,
  1051. 0xc7, 0x29, 0x71, 0x5c, 0x71, 0xa0, 0x65, 0x3a, 0x50, 0x88, 0x2c, 0xd3, 0x48, 0xf9, 0x3b, 0x52,
  1052. 0x22, 0x4f, 0xd2, 0x88, 0xca, 0x97, 0xcc, 0x59, 0x84, 0x1e, 0x8f, 0x3c, 0x79, 0x94, 0xc8, 0x82,
  1053. 0x45, 0xba, 0x4b, 0xe4, 0x51, 0xe6, 0x20, 0xcc, 0x50, 0x6f, 0x4f, 0xe5, 0x40, 0xdd, 0x64, 0x0e,
  1054. 0x96, 0x12, 0xbd, 0xa8, 0x02, 0x93, 0x67, 0x32, 0x85, 0x41, 0x46, 0x57, 0xb1, 0x7e, 0x66, 0xa7,
  1055. 0x8f, 0x24, 0x13, 0x22, 0x57, 0x01, 0xc2, 0x34, 0x8e, 0x69, 0x88, 0x0c, 0x36, 0x32, 0x18, 0x88,
  1056. 0x7c, 0x0a, 0x21, 0x62, 0x9f, 0xd3, 0xd0, 0x81, 0xa9, 0xb5, 0xdf, 0xf5, 0x7a, 0x42, 0xc4, 0xc7,
  1057. 0x34, 0x94, 0x71, 0xe4, 0x9c, 0x66, 0x3e, 0xf6, 0xd8, 0x00, 0xe5, 0xfa, 0x12, 0xc0, 0x69, 0xb0,
  1058. 0x07, 0xb0, 0xc8, 0xd2, 0x7c, 0xa5, 0xa8, 0xc3, 0x69, 0x5b, 0x8e, 0x1c, 0x44, 0x90, 0x7c, 0x1d,
  1059. 0x2e, 0xf1, 0x37, 0xcb, 0x98, 0x25, 0xa7, 0xbe, 0x08, 0xb2, 0x05, 0x15, 0xce, 0x08, 0x15, 0x8c,
  1060. 0x34, 0xfa, 0x1c, 0x41, 0xf7, 0x5b, 0x20, 0x07, 0x19, 0x0d, 0x04, 0xfd, 0x17, 0xd3, 0xb5, 0x9c,
  1061. 0x94, 0xad, 0xb7, 0x4e, 0xca, 0xff, 0xc3, 0xb8, 0xa2, 0x5a, 0x0d, 0x1a, 0x69, 0xf1, 0xc5, 0x2a,
  1062. 0x7a, 0x5f, 0x16, 0x2b, 0xaa, 0xb5, 0xc5, 0x9f, 0x2c, 0x20, 0x0f, 0xb1, 0x13, 0xfe, 0xdb, 0x0a,
  1063. 0x91, 0x35, 0x2c, 0x47, 0x9b, 0xea, 0xb4, 0x28, 0x10, 0x81, 0x1e, 0xbe, 0x43, 0xc6, 0x95, 0xfe,
  1064. 0x87, 0x81, 0x08, 0xf4, 0x00, 0xcc, 0x68, 0x98, 0x67, 0x72, 0x1e, 0x63, 0x5d, 0xe1, 0x00, 0xf4,
  1065. 0x0a, 0x48, 0x3a, 0x5a, 0x71, 0x48, 0x3b, 0xfa, 0x9b, 0x05, 0xe3, 0xfb, 0x9c, 0xb3, 0x45, 0xf2,
  1066. 0x4d, 0x1a, 0xe7, 0x4b, 0x5a, 0x78, 0xba, 0x03, 0xdd, 0x30, 0xcd, 0x13, 0x81, 0x5e, 0x76, 0x3d,
  1067. 0x75, 0xd9, 0x28, 0xab, 0x56, 0xad, 0xac, 0x36, 0x0a, 0xb3, 0x5d, 0x2f, 0x4c, 0xa3, 0xf0, 0x3a,
  1068. 0x95, 0xc2, 0xfb, 0x10, 0x06, 0x32, 0x3c, 0x3f, 0xa4, 0x89, 0xa0, 0x99, 0xee, 0x63, 0x90, 0xd0,
  1069. 0x01, 0x22, 0xee, 0x8f, 0x16, 0xec, 0x54, 0x3d, 0xd5, 0x6b, 0xe4, 0xdc, 0xb1, 0x22, 0xdb, 0x2e,
  1070. 0x8b, 0xb5, 0x9b, 0xf2, 0x28, 0x0b, 0x78, 0x95, 0x9f, 0xc4, 0x2c, 0xf4, 0x25, 0x41, 0xb9, 0x67,
  1071. 0x2b, 0xe4, 0x45, 0x16, 0xaf, 0x83, 0xee, 0x98, 0x41, 0x13, 0xe8, 0x04, 0xb9, 0x78, 0x59, 0x8c,
  1072. 0x16, 0x79, 0x76, 0x3f, 0x87, 0xb1, 0xda, 0xec, 0xd5, 0xac, 0xed, 0x01, 0x9c, 0x21, 0xe0, 0xb3,
  1073. 0x48, 0x2d, 0x35, 0xdb, 0xb3, 0x15, 0xf2, 0x38, 0xe2, 0xee, 0x97, 0x60, 0x1f, 0xa5, 0x2a, 0x11,
  1074. 0x9c, 0xdc, 0x02, 0x3b, 0x2e, 0x2e, 0x7a, 0xff, 0x91, 0x75, 0x91, 0x15, 0x7c, 0xde, 0x9a, 0xc9,
  1075. 0xbd, 0x07, 0xfd, 0x02, 0x2e, 0x62, 0xb3, 0xce, 0x8b, 0xad, 0xb5, 0x11, 0x9b, 0xfb, 0x87, 0x05,
  1076. 0x3b, 0x55, 0x97, 0x75, 0xfa, 0x5e, 0xc0, 0xa8, 0x34, 0xe1, 0x2f, 0x83, 0x95, 0xf6, 0xe5, 0x96,
  1077. 0xe9, 0x4b, 0x5d, 0xac, 0x74, 0x90, 0x3f, 0x09, 0x56, 0xaa, 0xa4, 0x86, 0xb1, 0x01, 0x4d, 0x9e,
  1078. 0xc3, 0x76, 0x8d, 0xa5, 0x61, 0xa5, 0xdd, 0x30, 0x57, 0x5a, 0x65, 0x2d, 0x97, 0xd2, 0xe6, 0x9e,
  1079. 0xbb, 0x0b, 0x97, 0x55, 0x15, 0x1f, 0x94, 0x45, 0x57, 0xe4, 0xbe, 0x5a, 0x9b, 0xd6, 0x66, 0x6d,
  1080. 0xba, 0x13, 0x70, 0xea, 0xa2, 0xba, 0x0b, 0x16, 0xb0, 0x7d, 0x2c, 0x02, 0xc1, 0xb8, 0x60, 0x61,
  1081. 0xf9, 0x7d, 0xb5, 0x51, 0xcc, 0xd6, 0xbb, 0xa6, 0x6c, 0xbd, 0x1d, 0xb6, 0xa0, 0x2d, 0x44, 0x51,
  1082. 0x67, 0xf2, 0x28, 0x5f, 0x81, 0x98, 0x96, 0xf4, 0x1b, 0xbc, 0x07, 0x53, 0xb2, 0x1e, 0x44, 0x2a,
  1083. 0x82, 0x58, 0x6d, 0xb1, 0x0e, 0x6e, 0x31, 0x1b, 0x11, 0x5c, 0x63, 0x6a, 0xd0, 0x47, 0x8a, 0xda,
  1084. 0x55, 0x3b, 0x4e, 0x02, 0x48, 0xdc, 0x03, 0xc0, 0x96, 0x52, 0xdd, 0xd0, 0x53, 0xb2, 0x12, 0x39,
  1085. 0x90, 0xc0, 0xed, 0xbf, 0xba, 0x30, 0x3c, 0xa6, 0xc1, 0x2b, 0x4a, 0x23, 0xb9, 0x44, 0x33, 0xb2,
  1086. 0x28, 0x6a, 0xab, 0xfa, 0xa1, 0x4b, 0xae, 0x6f, 0x16, 0x51, 0xe3, 0x97, 0xf5, 0xe4, 0x93, 0x77,
  1087. 0xb1, 0xe9, 0x67, 0xba, 0x40, 0x8e, 0x60, 0x60, 0x7c, 0x49, 0x92, 0x5d, 0x43, 0xb0, 0xf6, 0x81,
  1088. 0x3c, 0xd9, 0x3b, 0x87, 0x6a, 0x6a, 0x33, 0xd6, 0x85, 0xa9, 0xad, 0xbe, 0xa0, 0x4c, 0x6d, 0x4d,
  1089. 0x3b, 0x06, 0xb5, 0x19, 0xab, 0xc0, 0xd4, 0x56, 0x5f, 0x3e, 0xa6, 0xb6, 0xa6, 0xfd, 0x81, 0xda,
  1090. 0x8c, 0x79, 0x6d, 0x6a, 0xab, 0xef, 0x15, 0x53, 0x5b, 0xd3, 0x90, 0xbf, 0x40, 0x9e, 0xc1, 0xd0,
  1091. 0x9c, 0x9d, 0xc4, 0x10, 0x68, 0x98, 0xfe, 0x93, 0xab, 0xe7, 0x91, 0x4d, 0x85, 0xe6, 0x58, 0x30,
  1092. 0x15, 0x36, 0x0c, 0x46, 0x53, 0x61, 0xd3, 0x34, 0x71, 0x2f, 0x90, 0xef, 0x60, 0x6b, 0xb3, 0x3d,
  1093. 0xc9, 0xb5, 0xcd, 0xb0, 0x6a, 0x5d, 0x3f, 0x71, 0xdf, 0xc6, 0x52, 0x2a, 0x7f, 0x0c, 0xb0, 0xee,
  1094. 0x3a, 0x72, 0x65, 0x2d, 0x53, 0xeb, 0xfa, 0xc9, 0x6e, 0x33, 0xb1, 0x50, 0xf5, 0xe0, 0x2a, 0x6c,
  1095. 0x71, 0x55, 0xfa, 0x73, 0x3e, 0x0b, 0x63, 0x46, 0x13, 0xf1, 0x00, 0xb0, 0x0b, 0xbe, 0x96, 0xbf,
  1096. 0x93, 0x27, 0x3d, 0xfc, 0xab, 0xfc, 0xec, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x6d, 0xf7,
  1097. 0x42, 0x64, 0x0e, 0x00, 0x00,
  1098. }