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.

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