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.

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