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.

4263 lines
148 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.24.0
  4. // protoc v3.12.3
  5. // source: filer.proto
  6. package filer_pb
  7. import (
  8. context "context"
  9. proto "github.com/golang/protobuf/proto"
  10. grpc "google.golang.org/grpc"
  11. codes "google.golang.org/grpc/codes"
  12. status "google.golang.org/grpc/status"
  13. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  14. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  15. reflect "reflect"
  16. sync "sync"
  17. )
  18. const (
  19. // Verify that this generated code is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  21. // Verify that runtime/protoimpl is sufficiently up-to-date.
  22. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  23. )
  24. // This is a compile-time assertion that a sufficiently up-to-date version
  25. // of the legacy proto package is being used.
  26. const _ = proto.ProtoPackageIsVersion4
  27. type LookupDirectoryEntryRequest struct {
  28. state protoimpl.MessageState
  29. sizeCache protoimpl.SizeCache
  30. unknownFields protoimpl.UnknownFields
  31. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  32. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  33. }
  34. func (x *LookupDirectoryEntryRequest) Reset() {
  35. *x = LookupDirectoryEntryRequest{}
  36. if protoimpl.UnsafeEnabled {
  37. mi := &file_filer_proto_msgTypes[0]
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. ms.StoreMessageInfo(mi)
  40. }
  41. }
  42. func (x *LookupDirectoryEntryRequest) String() string {
  43. return protoimpl.X.MessageStringOf(x)
  44. }
  45. func (*LookupDirectoryEntryRequest) ProtoMessage() {}
  46. func (x *LookupDirectoryEntryRequest) ProtoReflect() protoreflect.Message {
  47. mi := &file_filer_proto_msgTypes[0]
  48. if protoimpl.UnsafeEnabled && x != nil {
  49. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  50. if ms.LoadMessageInfo() == nil {
  51. ms.StoreMessageInfo(mi)
  52. }
  53. return ms
  54. }
  55. return mi.MessageOf(x)
  56. }
  57. // Deprecated: Use LookupDirectoryEntryRequest.ProtoReflect.Descriptor instead.
  58. func (*LookupDirectoryEntryRequest) Descriptor() ([]byte, []int) {
  59. return file_filer_proto_rawDescGZIP(), []int{0}
  60. }
  61. func (x *LookupDirectoryEntryRequest) GetDirectory() string {
  62. if x != nil {
  63. return x.Directory
  64. }
  65. return ""
  66. }
  67. func (x *LookupDirectoryEntryRequest) GetName() string {
  68. if x != nil {
  69. return x.Name
  70. }
  71. return ""
  72. }
  73. type LookupDirectoryEntryResponse struct {
  74. state protoimpl.MessageState
  75. sizeCache protoimpl.SizeCache
  76. unknownFields protoimpl.UnknownFields
  77. Entry *Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
  78. }
  79. func (x *LookupDirectoryEntryResponse) Reset() {
  80. *x = LookupDirectoryEntryResponse{}
  81. if protoimpl.UnsafeEnabled {
  82. mi := &file_filer_proto_msgTypes[1]
  83. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  84. ms.StoreMessageInfo(mi)
  85. }
  86. }
  87. func (x *LookupDirectoryEntryResponse) String() string {
  88. return protoimpl.X.MessageStringOf(x)
  89. }
  90. func (*LookupDirectoryEntryResponse) ProtoMessage() {}
  91. func (x *LookupDirectoryEntryResponse) ProtoReflect() protoreflect.Message {
  92. mi := &file_filer_proto_msgTypes[1]
  93. if protoimpl.UnsafeEnabled && x != nil {
  94. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  95. if ms.LoadMessageInfo() == nil {
  96. ms.StoreMessageInfo(mi)
  97. }
  98. return ms
  99. }
  100. return mi.MessageOf(x)
  101. }
  102. // Deprecated: Use LookupDirectoryEntryResponse.ProtoReflect.Descriptor instead.
  103. func (*LookupDirectoryEntryResponse) Descriptor() ([]byte, []int) {
  104. return file_filer_proto_rawDescGZIP(), []int{1}
  105. }
  106. func (x *LookupDirectoryEntryResponse) GetEntry() *Entry {
  107. if x != nil {
  108. return x.Entry
  109. }
  110. return nil
  111. }
  112. type ListEntriesRequest struct {
  113. state protoimpl.MessageState
  114. sizeCache protoimpl.SizeCache
  115. unknownFields protoimpl.UnknownFields
  116. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  117. Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
  118. StartFromFileName string `protobuf:"bytes,3,opt,name=startFromFileName,proto3" json:"startFromFileName,omitempty"`
  119. InclusiveStartFrom bool `protobuf:"varint,4,opt,name=inclusiveStartFrom,proto3" json:"inclusiveStartFrom,omitempty"`
  120. Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
  121. }
  122. func (x *ListEntriesRequest) Reset() {
  123. *x = ListEntriesRequest{}
  124. if protoimpl.UnsafeEnabled {
  125. mi := &file_filer_proto_msgTypes[2]
  126. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  127. ms.StoreMessageInfo(mi)
  128. }
  129. }
  130. func (x *ListEntriesRequest) String() string {
  131. return protoimpl.X.MessageStringOf(x)
  132. }
  133. func (*ListEntriesRequest) ProtoMessage() {}
  134. func (x *ListEntriesRequest) ProtoReflect() protoreflect.Message {
  135. mi := &file_filer_proto_msgTypes[2]
  136. if protoimpl.UnsafeEnabled && x != nil {
  137. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  138. if ms.LoadMessageInfo() == nil {
  139. ms.StoreMessageInfo(mi)
  140. }
  141. return ms
  142. }
  143. return mi.MessageOf(x)
  144. }
  145. // Deprecated: Use ListEntriesRequest.ProtoReflect.Descriptor instead.
  146. func (*ListEntriesRequest) Descriptor() ([]byte, []int) {
  147. return file_filer_proto_rawDescGZIP(), []int{2}
  148. }
  149. func (x *ListEntriesRequest) GetDirectory() string {
  150. if x != nil {
  151. return x.Directory
  152. }
  153. return ""
  154. }
  155. func (x *ListEntriesRequest) GetPrefix() string {
  156. if x != nil {
  157. return x.Prefix
  158. }
  159. return ""
  160. }
  161. func (x *ListEntriesRequest) GetStartFromFileName() string {
  162. if x != nil {
  163. return x.StartFromFileName
  164. }
  165. return ""
  166. }
  167. func (x *ListEntriesRequest) GetInclusiveStartFrom() bool {
  168. if x != nil {
  169. return x.InclusiveStartFrom
  170. }
  171. return false
  172. }
  173. func (x *ListEntriesRequest) GetLimit() uint32 {
  174. if x != nil {
  175. return x.Limit
  176. }
  177. return 0
  178. }
  179. type ListEntriesResponse struct {
  180. state protoimpl.MessageState
  181. sizeCache protoimpl.SizeCache
  182. unknownFields protoimpl.UnknownFields
  183. Entry *Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
  184. }
  185. func (x *ListEntriesResponse) Reset() {
  186. *x = ListEntriesResponse{}
  187. if protoimpl.UnsafeEnabled {
  188. mi := &file_filer_proto_msgTypes[3]
  189. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  190. ms.StoreMessageInfo(mi)
  191. }
  192. }
  193. func (x *ListEntriesResponse) String() string {
  194. return protoimpl.X.MessageStringOf(x)
  195. }
  196. func (*ListEntriesResponse) ProtoMessage() {}
  197. func (x *ListEntriesResponse) ProtoReflect() protoreflect.Message {
  198. mi := &file_filer_proto_msgTypes[3]
  199. if protoimpl.UnsafeEnabled && x != nil {
  200. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  201. if ms.LoadMessageInfo() == nil {
  202. ms.StoreMessageInfo(mi)
  203. }
  204. return ms
  205. }
  206. return mi.MessageOf(x)
  207. }
  208. // Deprecated: Use ListEntriesResponse.ProtoReflect.Descriptor instead.
  209. func (*ListEntriesResponse) Descriptor() ([]byte, []int) {
  210. return file_filer_proto_rawDescGZIP(), []int{3}
  211. }
  212. func (x *ListEntriesResponse) GetEntry() *Entry {
  213. if x != nil {
  214. return x.Entry
  215. }
  216. return nil
  217. }
  218. type Entry struct {
  219. state protoimpl.MessageState
  220. sizeCache protoimpl.SizeCache
  221. unknownFields protoimpl.UnknownFields
  222. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  223. IsDirectory bool `protobuf:"varint,2,opt,name=is_directory,json=isDirectory,proto3" json:"is_directory,omitempty"`
  224. Chunks []*FileChunk `protobuf:"bytes,3,rep,name=chunks,proto3" json:"chunks,omitempty"`
  225. Attributes *FuseAttributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
  226. Extended map[string][]byte `protobuf:"bytes,5,rep,name=extended,proto3" json:"extended,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  227. }
  228. func (x *Entry) Reset() {
  229. *x = Entry{}
  230. if protoimpl.UnsafeEnabled {
  231. mi := &file_filer_proto_msgTypes[4]
  232. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  233. ms.StoreMessageInfo(mi)
  234. }
  235. }
  236. func (x *Entry) String() string {
  237. return protoimpl.X.MessageStringOf(x)
  238. }
  239. func (*Entry) ProtoMessage() {}
  240. func (x *Entry) ProtoReflect() protoreflect.Message {
  241. mi := &file_filer_proto_msgTypes[4]
  242. if protoimpl.UnsafeEnabled && x != nil {
  243. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  244. if ms.LoadMessageInfo() == nil {
  245. ms.StoreMessageInfo(mi)
  246. }
  247. return ms
  248. }
  249. return mi.MessageOf(x)
  250. }
  251. // Deprecated: Use Entry.ProtoReflect.Descriptor instead.
  252. func (*Entry) Descriptor() ([]byte, []int) {
  253. return file_filer_proto_rawDescGZIP(), []int{4}
  254. }
  255. func (x *Entry) GetName() string {
  256. if x != nil {
  257. return x.Name
  258. }
  259. return ""
  260. }
  261. func (x *Entry) GetIsDirectory() bool {
  262. if x != nil {
  263. return x.IsDirectory
  264. }
  265. return false
  266. }
  267. func (x *Entry) GetChunks() []*FileChunk {
  268. if x != nil {
  269. return x.Chunks
  270. }
  271. return nil
  272. }
  273. func (x *Entry) GetAttributes() *FuseAttributes {
  274. if x != nil {
  275. return x.Attributes
  276. }
  277. return nil
  278. }
  279. func (x *Entry) GetExtended() map[string][]byte {
  280. if x != nil {
  281. return x.Extended
  282. }
  283. return nil
  284. }
  285. type FullEntry struct {
  286. state protoimpl.MessageState
  287. sizeCache protoimpl.SizeCache
  288. unknownFields protoimpl.UnknownFields
  289. Dir string `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"`
  290. Entry *Entry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
  291. }
  292. func (x *FullEntry) Reset() {
  293. *x = FullEntry{}
  294. if protoimpl.UnsafeEnabled {
  295. mi := &file_filer_proto_msgTypes[5]
  296. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  297. ms.StoreMessageInfo(mi)
  298. }
  299. }
  300. func (x *FullEntry) String() string {
  301. return protoimpl.X.MessageStringOf(x)
  302. }
  303. func (*FullEntry) ProtoMessage() {}
  304. func (x *FullEntry) ProtoReflect() protoreflect.Message {
  305. mi := &file_filer_proto_msgTypes[5]
  306. if protoimpl.UnsafeEnabled && x != nil {
  307. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  308. if ms.LoadMessageInfo() == nil {
  309. ms.StoreMessageInfo(mi)
  310. }
  311. return ms
  312. }
  313. return mi.MessageOf(x)
  314. }
  315. // Deprecated: Use FullEntry.ProtoReflect.Descriptor instead.
  316. func (*FullEntry) Descriptor() ([]byte, []int) {
  317. return file_filer_proto_rawDescGZIP(), []int{5}
  318. }
  319. func (x *FullEntry) GetDir() string {
  320. if x != nil {
  321. return x.Dir
  322. }
  323. return ""
  324. }
  325. func (x *FullEntry) GetEntry() *Entry {
  326. if x != nil {
  327. return x.Entry
  328. }
  329. return nil
  330. }
  331. type EventNotification struct {
  332. state protoimpl.MessageState
  333. sizeCache protoimpl.SizeCache
  334. unknownFields protoimpl.UnknownFields
  335. OldEntry *Entry `protobuf:"bytes,1,opt,name=old_entry,json=oldEntry,proto3" json:"old_entry,omitempty"`
  336. NewEntry *Entry `protobuf:"bytes,2,opt,name=new_entry,json=newEntry,proto3" json:"new_entry,omitempty"`
  337. DeleteChunks bool `protobuf:"varint,3,opt,name=delete_chunks,json=deleteChunks,proto3" json:"delete_chunks,omitempty"`
  338. NewParentPath string `protobuf:"bytes,4,opt,name=new_parent_path,json=newParentPath,proto3" json:"new_parent_path,omitempty"`
  339. IsFromOtherCluster bool `protobuf:"varint,5,opt,name=is_from_other_cluster,json=isFromOtherCluster,proto3" json:"is_from_other_cluster,omitempty"`
  340. }
  341. func (x *EventNotification) Reset() {
  342. *x = EventNotification{}
  343. if protoimpl.UnsafeEnabled {
  344. mi := &file_filer_proto_msgTypes[6]
  345. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  346. ms.StoreMessageInfo(mi)
  347. }
  348. }
  349. func (x *EventNotification) String() string {
  350. return protoimpl.X.MessageStringOf(x)
  351. }
  352. func (*EventNotification) ProtoMessage() {}
  353. func (x *EventNotification) ProtoReflect() protoreflect.Message {
  354. mi := &file_filer_proto_msgTypes[6]
  355. if protoimpl.UnsafeEnabled && x != nil {
  356. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  357. if ms.LoadMessageInfo() == nil {
  358. ms.StoreMessageInfo(mi)
  359. }
  360. return ms
  361. }
  362. return mi.MessageOf(x)
  363. }
  364. // Deprecated: Use EventNotification.ProtoReflect.Descriptor instead.
  365. func (*EventNotification) Descriptor() ([]byte, []int) {
  366. return file_filer_proto_rawDescGZIP(), []int{6}
  367. }
  368. func (x *EventNotification) GetOldEntry() *Entry {
  369. if x != nil {
  370. return x.OldEntry
  371. }
  372. return nil
  373. }
  374. func (x *EventNotification) GetNewEntry() *Entry {
  375. if x != nil {
  376. return x.NewEntry
  377. }
  378. return nil
  379. }
  380. func (x *EventNotification) GetDeleteChunks() bool {
  381. if x != nil {
  382. return x.DeleteChunks
  383. }
  384. return false
  385. }
  386. func (x *EventNotification) GetNewParentPath() string {
  387. if x != nil {
  388. return x.NewParentPath
  389. }
  390. return ""
  391. }
  392. func (x *EventNotification) GetIsFromOtherCluster() bool {
  393. if x != nil {
  394. return x.IsFromOtherCluster
  395. }
  396. return false
  397. }
  398. type FileChunk struct {
  399. state protoimpl.MessageState
  400. sizeCache protoimpl.SizeCache
  401. unknownFields protoimpl.UnknownFields
  402. FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // to be deprecated
  403. Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
  404. Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
  405. Mtime int64 `protobuf:"varint,4,opt,name=mtime,proto3" json:"mtime,omitempty"`
  406. ETag string `protobuf:"bytes,5,opt,name=e_tag,json=eTag,proto3" json:"e_tag,omitempty"`
  407. SourceFileId string `protobuf:"bytes,6,opt,name=source_file_id,json=sourceFileId,proto3" json:"source_file_id,omitempty"` // to be deprecated
  408. Fid *FileId `protobuf:"bytes,7,opt,name=fid,proto3" json:"fid,omitempty"`
  409. SourceFid *FileId `protobuf:"bytes,8,opt,name=source_fid,json=sourceFid,proto3" json:"source_fid,omitempty"`
  410. CipherKey []byte `protobuf:"bytes,9,opt,name=cipher_key,json=cipherKey,proto3" json:"cipher_key,omitempty"`
  411. IsCompressed bool `protobuf:"varint,10,opt,name=is_compressed,json=isCompressed,proto3" json:"is_compressed,omitempty"`
  412. }
  413. func (x *FileChunk) Reset() {
  414. *x = FileChunk{}
  415. if protoimpl.UnsafeEnabled {
  416. mi := &file_filer_proto_msgTypes[7]
  417. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  418. ms.StoreMessageInfo(mi)
  419. }
  420. }
  421. func (x *FileChunk) String() string {
  422. return protoimpl.X.MessageStringOf(x)
  423. }
  424. func (*FileChunk) ProtoMessage() {}
  425. func (x *FileChunk) ProtoReflect() protoreflect.Message {
  426. mi := &file_filer_proto_msgTypes[7]
  427. if protoimpl.UnsafeEnabled && x != nil {
  428. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  429. if ms.LoadMessageInfo() == nil {
  430. ms.StoreMessageInfo(mi)
  431. }
  432. return ms
  433. }
  434. return mi.MessageOf(x)
  435. }
  436. // Deprecated: Use FileChunk.ProtoReflect.Descriptor instead.
  437. func (*FileChunk) Descriptor() ([]byte, []int) {
  438. return file_filer_proto_rawDescGZIP(), []int{7}
  439. }
  440. func (x *FileChunk) GetFileId() string {
  441. if x != nil {
  442. return x.FileId
  443. }
  444. return ""
  445. }
  446. func (x *FileChunk) GetOffset() int64 {
  447. if x != nil {
  448. return x.Offset
  449. }
  450. return 0
  451. }
  452. func (x *FileChunk) GetSize() uint64 {
  453. if x != nil {
  454. return x.Size
  455. }
  456. return 0
  457. }
  458. func (x *FileChunk) GetMtime() int64 {
  459. if x != nil {
  460. return x.Mtime
  461. }
  462. return 0
  463. }
  464. func (x *FileChunk) GetETag() string {
  465. if x != nil {
  466. return x.ETag
  467. }
  468. return ""
  469. }
  470. func (x *FileChunk) GetSourceFileId() string {
  471. if x != nil {
  472. return x.SourceFileId
  473. }
  474. return ""
  475. }
  476. func (x *FileChunk) GetFid() *FileId {
  477. if x != nil {
  478. return x.Fid
  479. }
  480. return nil
  481. }
  482. func (x *FileChunk) GetSourceFid() *FileId {
  483. if x != nil {
  484. return x.SourceFid
  485. }
  486. return nil
  487. }
  488. func (x *FileChunk) GetCipherKey() []byte {
  489. if x != nil {
  490. return x.CipherKey
  491. }
  492. return nil
  493. }
  494. func (x *FileChunk) GetIsCompressed() bool {
  495. if x != nil {
  496. return x.IsCompressed
  497. }
  498. return false
  499. }
  500. type FileId struct {
  501. state protoimpl.MessageState
  502. sizeCache protoimpl.SizeCache
  503. unknownFields protoimpl.UnknownFields
  504. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
  505. FileKey uint64 `protobuf:"varint,2,opt,name=file_key,json=fileKey,proto3" json:"file_key,omitempty"`
  506. Cookie uint32 `protobuf:"fixed32,3,opt,name=cookie,proto3" json:"cookie,omitempty"`
  507. }
  508. func (x *FileId) Reset() {
  509. *x = FileId{}
  510. if protoimpl.UnsafeEnabled {
  511. mi := &file_filer_proto_msgTypes[8]
  512. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  513. ms.StoreMessageInfo(mi)
  514. }
  515. }
  516. func (x *FileId) String() string {
  517. return protoimpl.X.MessageStringOf(x)
  518. }
  519. func (*FileId) ProtoMessage() {}
  520. func (x *FileId) ProtoReflect() protoreflect.Message {
  521. mi := &file_filer_proto_msgTypes[8]
  522. if protoimpl.UnsafeEnabled && x != nil {
  523. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  524. if ms.LoadMessageInfo() == nil {
  525. ms.StoreMessageInfo(mi)
  526. }
  527. return ms
  528. }
  529. return mi.MessageOf(x)
  530. }
  531. // Deprecated: Use FileId.ProtoReflect.Descriptor instead.
  532. func (*FileId) Descriptor() ([]byte, []int) {
  533. return file_filer_proto_rawDescGZIP(), []int{8}
  534. }
  535. func (x *FileId) GetVolumeId() uint32 {
  536. if x != nil {
  537. return x.VolumeId
  538. }
  539. return 0
  540. }
  541. func (x *FileId) GetFileKey() uint64 {
  542. if x != nil {
  543. return x.FileKey
  544. }
  545. return 0
  546. }
  547. func (x *FileId) GetCookie() uint32 {
  548. if x != nil {
  549. return x.Cookie
  550. }
  551. return 0
  552. }
  553. type FuseAttributes struct {
  554. state protoimpl.MessageState
  555. sizeCache protoimpl.SizeCache
  556. unknownFields protoimpl.UnknownFields
  557. FileSize uint64 `protobuf:"varint,1,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
  558. Mtime int64 `protobuf:"varint,2,opt,name=mtime,proto3" json:"mtime,omitempty"` // unix time in seconds
  559. FileMode uint32 `protobuf:"varint,3,opt,name=file_mode,json=fileMode,proto3" json:"file_mode,omitempty"`
  560. Uid uint32 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid,omitempty"`
  561. Gid uint32 `protobuf:"varint,5,opt,name=gid,proto3" json:"gid,omitempty"`
  562. Crtime int64 `protobuf:"varint,6,opt,name=crtime,proto3" json:"crtime,omitempty"` // unix time in seconds
  563. Mime string `protobuf:"bytes,7,opt,name=mime,proto3" json:"mime,omitempty"`
  564. Replication string `protobuf:"bytes,8,opt,name=replication,proto3" json:"replication,omitempty"`
  565. Collection string `protobuf:"bytes,9,opt,name=collection,proto3" json:"collection,omitempty"`
  566. TtlSec int32 `protobuf:"varint,10,opt,name=ttl_sec,json=ttlSec,proto3" json:"ttl_sec,omitempty"`
  567. UserName string `protobuf:"bytes,11,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // for hdfs
  568. GroupName []string `protobuf:"bytes,12,rep,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // for hdfs
  569. SymlinkTarget string `protobuf:"bytes,13,opt,name=symlink_target,json=symlinkTarget,proto3" json:"symlink_target,omitempty"`
  570. Md5 []byte `protobuf:"bytes,14,opt,name=md5,proto3" json:"md5,omitempty"`
  571. }
  572. func (x *FuseAttributes) Reset() {
  573. *x = FuseAttributes{}
  574. if protoimpl.UnsafeEnabled {
  575. mi := &file_filer_proto_msgTypes[9]
  576. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  577. ms.StoreMessageInfo(mi)
  578. }
  579. }
  580. func (x *FuseAttributes) String() string {
  581. return protoimpl.X.MessageStringOf(x)
  582. }
  583. func (*FuseAttributes) ProtoMessage() {}
  584. func (x *FuseAttributes) ProtoReflect() protoreflect.Message {
  585. mi := &file_filer_proto_msgTypes[9]
  586. if protoimpl.UnsafeEnabled && x != nil {
  587. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  588. if ms.LoadMessageInfo() == nil {
  589. ms.StoreMessageInfo(mi)
  590. }
  591. return ms
  592. }
  593. return mi.MessageOf(x)
  594. }
  595. // Deprecated: Use FuseAttributes.ProtoReflect.Descriptor instead.
  596. func (*FuseAttributes) Descriptor() ([]byte, []int) {
  597. return file_filer_proto_rawDescGZIP(), []int{9}
  598. }
  599. func (x *FuseAttributes) GetFileSize() uint64 {
  600. if x != nil {
  601. return x.FileSize
  602. }
  603. return 0
  604. }
  605. func (x *FuseAttributes) GetMtime() int64 {
  606. if x != nil {
  607. return x.Mtime
  608. }
  609. return 0
  610. }
  611. func (x *FuseAttributes) GetFileMode() uint32 {
  612. if x != nil {
  613. return x.FileMode
  614. }
  615. return 0
  616. }
  617. func (x *FuseAttributes) GetUid() uint32 {
  618. if x != nil {
  619. return x.Uid
  620. }
  621. return 0
  622. }
  623. func (x *FuseAttributes) GetGid() uint32 {
  624. if x != nil {
  625. return x.Gid
  626. }
  627. return 0
  628. }
  629. func (x *FuseAttributes) GetCrtime() int64 {
  630. if x != nil {
  631. return x.Crtime
  632. }
  633. return 0
  634. }
  635. func (x *FuseAttributes) GetMime() string {
  636. if x != nil {
  637. return x.Mime
  638. }
  639. return ""
  640. }
  641. func (x *FuseAttributes) GetReplication() string {
  642. if x != nil {
  643. return x.Replication
  644. }
  645. return ""
  646. }
  647. func (x *FuseAttributes) GetCollection() string {
  648. if x != nil {
  649. return x.Collection
  650. }
  651. return ""
  652. }
  653. func (x *FuseAttributes) GetTtlSec() int32 {
  654. if x != nil {
  655. return x.TtlSec
  656. }
  657. return 0
  658. }
  659. func (x *FuseAttributes) GetUserName() string {
  660. if x != nil {
  661. return x.UserName
  662. }
  663. return ""
  664. }
  665. func (x *FuseAttributes) GetGroupName() []string {
  666. if x != nil {
  667. return x.GroupName
  668. }
  669. return nil
  670. }
  671. func (x *FuseAttributes) GetSymlinkTarget() string {
  672. if x != nil {
  673. return x.SymlinkTarget
  674. }
  675. return ""
  676. }
  677. func (x *FuseAttributes) GetMd5() []byte {
  678. if x != nil {
  679. return x.Md5
  680. }
  681. return nil
  682. }
  683. type CreateEntryRequest struct {
  684. state protoimpl.MessageState
  685. sizeCache protoimpl.SizeCache
  686. unknownFields protoimpl.UnknownFields
  687. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  688. Entry *Entry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
  689. OExcl bool `protobuf:"varint,3,opt,name=o_excl,json=oExcl,proto3" json:"o_excl,omitempty"`
  690. IsFromOtherCluster bool `protobuf:"varint,4,opt,name=is_from_other_cluster,json=isFromOtherCluster,proto3" json:"is_from_other_cluster,omitempty"`
  691. }
  692. func (x *CreateEntryRequest) Reset() {
  693. *x = CreateEntryRequest{}
  694. if protoimpl.UnsafeEnabled {
  695. mi := &file_filer_proto_msgTypes[10]
  696. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  697. ms.StoreMessageInfo(mi)
  698. }
  699. }
  700. func (x *CreateEntryRequest) String() string {
  701. return protoimpl.X.MessageStringOf(x)
  702. }
  703. func (*CreateEntryRequest) ProtoMessage() {}
  704. func (x *CreateEntryRequest) ProtoReflect() protoreflect.Message {
  705. mi := &file_filer_proto_msgTypes[10]
  706. if protoimpl.UnsafeEnabled && x != nil {
  707. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  708. if ms.LoadMessageInfo() == nil {
  709. ms.StoreMessageInfo(mi)
  710. }
  711. return ms
  712. }
  713. return mi.MessageOf(x)
  714. }
  715. // Deprecated: Use CreateEntryRequest.ProtoReflect.Descriptor instead.
  716. func (*CreateEntryRequest) Descriptor() ([]byte, []int) {
  717. return file_filer_proto_rawDescGZIP(), []int{10}
  718. }
  719. func (x *CreateEntryRequest) GetDirectory() string {
  720. if x != nil {
  721. return x.Directory
  722. }
  723. return ""
  724. }
  725. func (x *CreateEntryRequest) GetEntry() *Entry {
  726. if x != nil {
  727. return x.Entry
  728. }
  729. return nil
  730. }
  731. func (x *CreateEntryRequest) GetOExcl() bool {
  732. if x != nil {
  733. return x.OExcl
  734. }
  735. return false
  736. }
  737. func (x *CreateEntryRequest) GetIsFromOtherCluster() bool {
  738. if x != nil {
  739. return x.IsFromOtherCluster
  740. }
  741. return false
  742. }
  743. type CreateEntryResponse struct {
  744. state protoimpl.MessageState
  745. sizeCache protoimpl.SizeCache
  746. unknownFields protoimpl.UnknownFields
  747. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  748. }
  749. func (x *CreateEntryResponse) Reset() {
  750. *x = CreateEntryResponse{}
  751. if protoimpl.UnsafeEnabled {
  752. mi := &file_filer_proto_msgTypes[11]
  753. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  754. ms.StoreMessageInfo(mi)
  755. }
  756. }
  757. func (x *CreateEntryResponse) String() string {
  758. return protoimpl.X.MessageStringOf(x)
  759. }
  760. func (*CreateEntryResponse) ProtoMessage() {}
  761. func (x *CreateEntryResponse) ProtoReflect() protoreflect.Message {
  762. mi := &file_filer_proto_msgTypes[11]
  763. if protoimpl.UnsafeEnabled && x != nil {
  764. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  765. if ms.LoadMessageInfo() == nil {
  766. ms.StoreMessageInfo(mi)
  767. }
  768. return ms
  769. }
  770. return mi.MessageOf(x)
  771. }
  772. // Deprecated: Use CreateEntryResponse.ProtoReflect.Descriptor instead.
  773. func (*CreateEntryResponse) Descriptor() ([]byte, []int) {
  774. return file_filer_proto_rawDescGZIP(), []int{11}
  775. }
  776. func (x *CreateEntryResponse) GetError() string {
  777. if x != nil {
  778. return x.Error
  779. }
  780. return ""
  781. }
  782. type UpdateEntryRequest struct {
  783. state protoimpl.MessageState
  784. sizeCache protoimpl.SizeCache
  785. unknownFields protoimpl.UnknownFields
  786. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  787. Entry *Entry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
  788. IsFromOtherCluster bool `protobuf:"varint,3,opt,name=is_from_other_cluster,json=isFromOtherCluster,proto3" json:"is_from_other_cluster,omitempty"`
  789. }
  790. func (x *UpdateEntryRequest) Reset() {
  791. *x = UpdateEntryRequest{}
  792. if protoimpl.UnsafeEnabled {
  793. mi := &file_filer_proto_msgTypes[12]
  794. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  795. ms.StoreMessageInfo(mi)
  796. }
  797. }
  798. func (x *UpdateEntryRequest) String() string {
  799. return protoimpl.X.MessageStringOf(x)
  800. }
  801. func (*UpdateEntryRequest) ProtoMessage() {}
  802. func (x *UpdateEntryRequest) ProtoReflect() protoreflect.Message {
  803. mi := &file_filer_proto_msgTypes[12]
  804. if protoimpl.UnsafeEnabled && x != nil {
  805. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  806. if ms.LoadMessageInfo() == nil {
  807. ms.StoreMessageInfo(mi)
  808. }
  809. return ms
  810. }
  811. return mi.MessageOf(x)
  812. }
  813. // Deprecated: Use UpdateEntryRequest.ProtoReflect.Descriptor instead.
  814. func (*UpdateEntryRequest) Descriptor() ([]byte, []int) {
  815. return file_filer_proto_rawDescGZIP(), []int{12}
  816. }
  817. func (x *UpdateEntryRequest) GetDirectory() string {
  818. if x != nil {
  819. return x.Directory
  820. }
  821. return ""
  822. }
  823. func (x *UpdateEntryRequest) GetEntry() *Entry {
  824. if x != nil {
  825. return x.Entry
  826. }
  827. return nil
  828. }
  829. func (x *UpdateEntryRequest) GetIsFromOtherCluster() bool {
  830. if x != nil {
  831. return x.IsFromOtherCluster
  832. }
  833. return false
  834. }
  835. type UpdateEntryResponse struct {
  836. state protoimpl.MessageState
  837. sizeCache protoimpl.SizeCache
  838. unknownFields protoimpl.UnknownFields
  839. }
  840. func (x *UpdateEntryResponse) Reset() {
  841. *x = UpdateEntryResponse{}
  842. if protoimpl.UnsafeEnabled {
  843. mi := &file_filer_proto_msgTypes[13]
  844. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  845. ms.StoreMessageInfo(mi)
  846. }
  847. }
  848. func (x *UpdateEntryResponse) String() string {
  849. return protoimpl.X.MessageStringOf(x)
  850. }
  851. func (*UpdateEntryResponse) ProtoMessage() {}
  852. func (x *UpdateEntryResponse) ProtoReflect() protoreflect.Message {
  853. mi := &file_filer_proto_msgTypes[13]
  854. if protoimpl.UnsafeEnabled && x != nil {
  855. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  856. if ms.LoadMessageInfo() == nil {
  857. ms.StoreMessageInfo(mi)
  858. }
  859. return ms
  860. }
  861. return mi.MessageOf(x)
  862. }
  863. // Deprecated: Use UpdateEntryResponse.ProtoReflect.Descriptor instead.
  864. func (*UpdateEntryResponse) Descriptor() ([]byte, []int) {
  865. return file_filer_proto_rawDescGZIP(), []int{13}
  866. }
  867. type AppendToEntryRequest struct {
  868. state protoimpl.MessageState
  869. sizeCache protoimpl.SizeCache
  870. unknownFields protoimpl.UnknownFields
  871. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  872. EntryName string `protobuf:"bytes,2,opt,name=entry_name,json=entryName,proto3" json:"entry_name,omitempty"`
  873. Chunks []*FileChunk `protobuf:"bytes,3,rep,name=chunks,proto3" json:"chunks,omitempty"`
  874. }
  875. func (x *AppendToEntryRequest) Reset() {
  876. *x = AppendToEntryRequest{}
  877. if protoimpl.UnsafeEnabled {
  878. mi := &file_filer_proto_msgTypes[14]
  879. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  880. ms.StoreMessageInfo(mi)
  881. }
  882. }
  883. func (x *AppendToEntryRequest) String() string {
  884. return protoimpl.X.MessageStringOf(x)
  885. }
  886. func (*AppendToEntryRequest) ProtoMessage() {}
  887. func (x *AppendToEntryRequest) ProtoReflect() protoreflect.Message {
  888. mi := &file_filer_proto_msgTypes[14]
  889. if protoimpl.UnsafeEnabled && x != nil {
  890. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  891. if ms.LoadMessageInfo() == nil {
  892. ms.StoreMessageInfo(mi)
  893. }
  894. return ms
  895. }
  896. return mi.MessageOf(x)
  897. }
  898. // Deprecated: Use AppendToEntryRequest.ProtoReflect.Descriptor instead.
  899. func (*AppendToEntryRequest) Descriptor() ([]byte, []int) {
  900. return file_filer_proto_rawDescGZIP(), []int{14}
  901. }
  902. func (x *AppendToEntryRequest) GetDirectory() string {
  903. if x != nil {
  904. return x.Directory
  905. }
  906. return ""
  907. }
  908. func (x *AppendToEntryRequest) GetEntryName() string {
  909. if x != nil {
  910. return x.EntryName
  911. }
  912. return ""
  913. }
  914. func (x *AppendToEntryRequest) GetChunks() []*FileChunk {
  915. if x != nil {
  916. return x.Chunks
  917. }
  918. return nil
  919. }
  920. type AppendToEntryResponse struct {
  921. state protoimpl.MessageState
  922. sizeCache protoimpl.SizeCache
  923. unknownFields protoimpl.UnknownFields
  924. }
  925. func (x *AppendToEntryResponse) Reset() {
  926. *x = AppendToEntryResponse{}
  927. if protoimpl.UnsafeEnabled {
  928. mi := &file_filer_proto_msgTypes[15]
  929. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  930. ms.StoreMessageInfo(mi)
  931. }
  932. }
  933. func (x *AppendToEntryResponse) String() string {
  934. return protoimpl.X.MessageStringOf(x)
  935. }
  936. func (*AppendToEntryResponse) ProtoMessage() {}
  937. func (x *AppendToEntryResponse) ProtoReflect() protoreflect.Message {
  938. mi := &file_filer_proto_msgTypes[15]
  939. if protoimpl.UnsafeEnabled && x != nil {
  940. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  941. if ms.LoadMessageInfo() == nil {
  942. ms.StoreMessageInfo(mi)
  943. }
  944. return ms
  945. }
  946. return mi.MessageOf(x)
  947. }
  948. // Deprecated: Use AppendToEntryResponse.ProtoReflect.Descriptor instead.
  949. func (*AppendToEntryResponse) Descriptor() ([]byte, []int) {
  950. return file_filer_proto_rawDescGZIP(), []int{15}
  951. }
  952. type DeleteEntryRequest struct {
  953. state protoimpl.MessageState
  954. sizeCache protoimpl.SizeCache
  955. unknownFields protoimpl.UnknownFields
  956. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  957. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  958. // bool is_directory = 3;
  959. IsDeleteData bool `protobuf:"varint,4,opt,name=is_delete_data,json=isDeleteData,proto3" json:"is_delete_data,omitempty"`
  960. IsRecursive bool `protobuf:"varint,5,opt,name=is_recursive,json=isRecursive,proto3" json:"is_recursive,omitempty"`
  961. IgnoreRecursiveError bool `protobuf:"varint,6,opt,name=ignore_recursive_error,json=ignoreRecursiveError,proto3" json:"ignore_recursive_error,omitempty"`
  962. IsFromOtherCluster bool `protobuf:"varint,7,opt,name=is_from_other_cluster,json=isFromOtherCluster,proto3" json:"is_from_other_cluster,omitempty"`
  963. }
  964. func (x *DeleteEntryRequest) Reset() {
  965. *x = DeleteEntryRequest{}
  966. if protoimpl.UnsafeEnabled {
  967. mi := &file_filer_proto_msgTypes[16]
  968. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  969. ms.StoreMessageInfo(mi)
  970. }
  971. }
  972. func (x *DeleteEntryRequest) String() string {
  973. return protoimpl.X.MessageStringOf(x)
  974. }
  975. func (*DeleteEntryRequest) ProtoMessage() {}
  976. func (x *DeleteEntryRequest) ProtoReflect() protoreflect.Message {
  977. mi := &file_filer_proto_msgTypes[16]
  978. if protoimpl.UnsafeEnabled && x != nil {
  979. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  980. if ms.LoadMessageInfo() == nil {
  981. ms.StoreMessageInfo(mi)
  982. }
  983. return ms
  984. }
  985. return mi.MessageOf(x)
  986. }
  987. // Deprecated: Use DeleteEntryRequest.ProtoReflect.Descriptor instead.
  988. func (*DeleteEntryRequest) Descriptor() ([]byte, []int) {
  989. return file_filer_proto_rawDescGZIP(), []int{16}
  990. }
  991. func (x *DeleteEntryRequest) GetDirectory() string {
  992. if x != nil {
  993. return x.Directory
  994. }
  995. return ""
  996. }
  997. func (x *DeleteEntryRequest) GetName() string {
  998. if x != nil {
  999. return x.Name
  1000. }
  1001. return ""
  1002. }
  1003. func (x *DeleteEntryRequest) GetIsDeleteData() bool {
  1004. if x != nil {
  1005. return x.IsDeleteData
  1006. }
  1007. return false
  1008. }
  1009. func (x *DeleteEntryRequest) GetIsRecursive() bool {
  1010. if x != nil {
  1011. return x.IsRecursive
  1012. }
  1013. return false
  1014. }
  1015. func (x *DeleteEntryRequest) GetIgnoreRecursiveError() bool {
  1016. if x != nil {
  1017. return x.IgnoreRecursiveError
  1018. }
  1019. return false
  1020. }
  1021. func (x *DeleteEntryRequest) GetIsFromOtherCluster() bool {
  1022. if x != nil {
  1023. return x.IsFromOtherCluster
  1024. }
  1025. return false
  1026. }
  1027. type DeleteEntryResponse struct {
  1028. state protoimpl.MessageState
  1029. sizeCache protoimpl.SizeCache
  1030. unknownFields protoimpl.UnknownFields
  1031. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  1032. }
  1033. func (x *DeleteEntryResponse) Reset() {
  1034. *x = DeleteEntryResponse{}
  1035. if protoimpl.UnsafeEnabled {
  1036. mi := &file_filer_proto_msgTypes[17]
  1037. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1038. ms.StoreMessageInfo(mi)
  1039. }
  1040. }
  1041. func (x *DeleteEntryResponse) String() string {
  1042. return protoimpl.X.MessageStringOf(x)
  1043. }
  1044. func (*DeleteEntryResponse) ProtoMessage() {}
  1045. func (x *DeleteEntryResponse) ProtoReflect() protoreflect.Message {
  1046. mi := &file_filer_proto_msgTypes[17]
  1047. if protoimpl.UnsafeEnabled && x != nil {
  1048. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1049. if ms.LoadMessageInfo() == nil {
  1050. ms.StoreMessageInfo(mi)
  1051. }
  1052. return ms
  1053. }
  1054. return mi.MessageOf(x)
  1055. }
  1056. // Deprecated: Use DeleteEntryResponse.ProtoReflect.Descriptor instead.
  1057. func (*DeleteEntryResponse) Descriptor() ([]byte, []int) {
  1058. return file_filer_proto_rawDescGZIP(), []int{17}
  1059. }
  1060. func (x *DeleteEntryResponse) GetError() string {
  1061. if x != nil {
  1062. return x.Error
  1063. }
  1064. return ""
  1065. }
  1066. type AtomicRenameEntryRequest struct {
  1067. state protoimpl.MessageState
  1068. sizeCache protoimpl.SizeCache
  1069. unknownFields protoimpl.UnknownFields
  1070. OldDirectory string `protobuf:"bytes,1,opt,name=old_directory,json=oldDirectory,proto3" json:"old_directory,omitempty"`
  1071. OldName string `protobuf:"bytes,2,opt,name=old_name,json=oldName,proto3" json:"old_name,omitempty"`
  1072. NewDirectory string `protobuf:"bytes,3,opt,name=new_directory,json=newDirectory,proto3" json:"new_directory,omitempty"`
  1073. NewName string `protobuf:"bytes,4,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
  1074. }
  1075. func (x *AtomicRenameEntryRequest) Reset() {
  1076. *x = AtomicRenameEntryRequest{}
  1077. if protoimpl.UnsafeEnabled {
  1078. mi := &file_filer_proto_msgTypes[18]
  1079. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1080. ms.StoreMessageInfo(mi)
  1081. }
  1082. }
  1083. func (x *AtomicRenameEntryRequest) String() string {
  1084. return protoimpl.X.MessageStringOf(x)
  1085. }
  1086. func (*AtomicRenameEntryRequest) ProtoMessage() {}
  1087. func (x *AtomicRenameEntryRequest) ProtoReflect() protoreflect.Message {
  1088. mi := &file_filer_proto_msgTypes[18]
  1089. if protoimpl.UnsafeEnabled && x != nil {
  1090. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1091. if ms.LoadMessageInfo() == nil {
  1092. ms.StoreMessageInfo(mi)
  1093. }
  1094. return ms
  1095. }
  1096. return mi.MessageOf(x)
  1097. }
  1098. // Deprecated: Use AtomicRenameEntryRequest.ProtoReflect.Descriptor instead.
  1099. func (*AtomicRenameEntryRequest) Descriptor() ([]byte, []int) {
  1100. return file_filer_proto_rawDescGZIP(), []int{18}
  1101. }
  1102. func (x *AtomicRenameEntryRequest) GetOldDirectory() string {
  1103. if x != nil {
  1104. return x.OldDirectory
  1105. }
  1106. return ""
  1107. }
  1108. func (x *AtomicRenameEntryRequest) GetOldName() string {
  1109. if x != nil {
  1110. return x.OldName
  1111. }
  1112. return ""
  1113. }
  1114. func (x *AtomicRenameEntryRequest) GetNewDirectory() string {
  1115. if x != nil {
  1116. return x.NewDirectory
  1117. }
  1118. return ""
  1119. }
  1120. func (x *AtomicRenameEntryRequest) GetNewName() string {
  1121. if x != nil {
  1122. return x.NewName
  1123. }
  1124. return ""
  1125. }
  1126. type AtomicRenameEntryResponse struct {
  1127. state protoimpl.MessageState
  1128. sizeCache protoimpl.SizeCache
  1129. unknownFields protoimpl.UnknownFields
  1130. }
  1131. func (x *AtomicRenameEntryResponse) Reset() {
  1132. *x = AtomicRenameEntryResponse{}
  1133. if protoimpl.UnsafeEnabled {
  1134. mi := &file_filer_proto_msgTypes[19]
  1135. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1136. ms.StoreMessageInfo(mi)
  1137. }
  1138. }
  1139. func (x *AtomicRenameEntryResponse) String() string {
  1140. return protoimpl.X.MessageStringOf(x)
  1141. }
  1142. func (*AtomicRenameEntryResponse) ProtoMessage() {}
  1143. func (x *AtomicRenameEntryResponse) ProtoReflect() protoreflect.Message {
  1144. mi := &file_filer_proto_msgTypes[19]
  1145. if protoimpl.UnsafeEnabled && x != nil {
  1146. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1147. if ms.LoadMessageInfo() == nil {
  1148. ms.StoreMessageInfo(mi)
  1149. }
  1150. return ms
  1151. }
  1152. return mi.MessageOf(x)
  1153. }
  1154. // Deprecated: Use AtomicRenameEntryResponse.ProtoReflect.Descriptor instead.
  1155. func (*AtomicRenameEntryResponse) Descriptor() ([]byte, []int) {
  1156. return file_filer_proto_rawDescGZIP(), []int{19}
  1157. }
  1158. type AssignVolumeRequest struct {
  1159. state protoimpl.MessageState
  1160. sizeCache protoimpl.SizeCache
  1161. unknownFields protoimpl.UnknownFields
  1162. Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
  1163. Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
  1164. Replication string `protobuf:"bytes,3,opt,name=replication,proto3" json:"replication,omitempty"`
  1165. TtlSec int32 `protobuf:"varint,4,opt,name=ttl_sec,json=ttlSec,proto3" json:"ttl_sec,omitempty"`
  1166. DataCenter string `protobuf:"bytes,5,opt,name=data_center,json=dataCenter,proto3" json:"data_center,omitempty"`
  1167. ParentPath string `protobuf:"bytes,6,opt,name=parent_path,json=parentPath,proto3" json:"parent_path,omitempty"`
  1168. }
  1169. func (x *AssignVolumeRequest) Reset() {
  1170. *x = AssignVolumeRequest{}
  1171. if protoimpl.UnsafeEnabled {
  1172. mi := &file_filer_proto_msgTypes[20]
  1173. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1174. ms.StoreMessageInfo(mi)
  1175. }
  1176. }
  1177. func (x *AssignVolumeRequest) String() string {
  1178. return protoimpl.X.MessageStringOf(x)
  1179. }
  1180. func (*AssignVolumeRequest) ProtoMessage() {}
  1181. func (x *AssignVolumeRequest) ProtoReflect() protoreflect.Message {
  1182. mi := &file_filer_proto_msgTypes[20]
  1183. if protoimpl.UnsafeEnabled && x != nil {
  1184. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1185. if ms.LoadMessageInfo() == nil {
  1186. ms.StoreMessageInfo(mi)
  1187. }
  1188. return ms
  1189. }
  1190. return mi.MessageOf(x)
  1191. }
  1192. // Deprecated: Use AssignVolumeRequest.ProtoReflect.Descriptor instead.
  1193. func (*AssignVolumeRequest) Descriptor() ([]byte, []int) {
  1194. return file_filer_proto_rawDescGZIP(), []int{20}
  1195. }
  1196. func (x *AssignVolumeRequest) GetCount() int32 {
  1197. if x != nil {
  1198. return x.Count
  1199. }
  1200. return 0
  1201. }
  1202. func (x *AssignVolumeRequest) GetCollection() string {
  1203. if x != nil {
  1204. return x.Collection
  1205. }
  1206. return ""
  1207. }
  1208. func (x *AssignVolumeRequest) GetReplication() string {
  1209. if x != nil {
  1210. return x.Replication
  1211. }
  1212. return ""
  1213. }
  1214. func (x *AssignVolumeRequest) GetTtlSec() int32 {
  1215. if x != nil {
  1216. return x.TtlSec
  1217. }
  1218. return 0
  1219. }
  1220. func (x *AssignVolumeRequest) GetDataCenter() string {
  1221. if x != nil {
  1222. return x.DataCenter
  1223. }
  1224. return ""
  1225. }
  1226. func (x *AssignVolumeRequest) GetParentPath() string {
  1227. if x != nil {
  1228. return x.ParentPath
  1229. }
  1230. return ""
  1231. }
  1232. type AssignVolumeResponse struct {
  1233. state protoimpl.MessageState
  1234. sizeCache protoimpl.SizeCache
  1235. unknownFields protoimpl.UnknownFields
  1236. FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
  1237. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
  1238. PublicUrl string `protobuf:"bytes,3,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
  1239. Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
  1240. Auth string `protobuf:"bytes,5,opt,name=auth,proto3" json:"auth,omitempty"`
  1241. Collection string `protobuf:"bytes,6,opt,name=collection,proto3" json:"collection,omitempty"`
  1242. Replication string `protobuf:"bytes,7,opt,name=replication,proto3" json:"replication,omitempty"`
  1243. Error string `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"`
  1244. }
  1245. func (x *AssignVolumeResponse) Reset() {
  1246. *x = AssignVolumeResponse{}
  1247. if protoimpl.UnsafeEnabled {
  1248. mi := &file_filer_proto_msgTypes[21]
  1249. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1250. ms.StoreMessageInfo(mi)
  1251. }
  1252. }
  1253. func (x *AssignVolumeResponse) String() string {
  1254. return protoimpl.X.MessageStringOf(x)
  1255. }
  1256. func (*AssignVolumeResponse) ProtoMessage() {}
  1257. func (x *AssignVolumeResponse) ProtoReflect() protoreflect.Message {
  1258. mi := &file_filer_proto_msgTypes[21]
  1259. if protoimpl.UnsafeEnabled && x != nil {
  1260. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1261. if ms.LoadMessageInfo() == nil {
  1262. ms.StoreMessageInfo(mi)
  1263. }
  1264. return ms
  1265. }
  1266. return mi.MessageOf(x)
  1267. }
  1268. // Deprecated: Use AssignVolumeResponse.ProtoReflect.Descriptor instead.
  1269. func (*AssignVolumeResponse) Descriptor() ([]byte, []int) {
  1270. return file_filer_proto_rawDescGZIP(), []int{21}
  1271. }
  1272. func (x *AssignVolumeResponse) GetFileId() string {
  1273. if x != nil {
  1274. return x.FileId
  1275. }
  1276. return ""
  1277. }
  1278. func (x *AssignVolumeResponse) GetUrl() string {
  1279. if x != nil {
  1280. return x.Url
  1281. }
  1282. return ""
  1283. }
  1284. func (x *AssignVolumeResponse) GetPublicUrl() string {
  1285. if x != nil {
  1286. return x.PublicUrl
  1287. }
  1288. return ""
  1289. }
  1290. func (x *AssignVolumeResponse) GetCount() int32 {
  1291. if x != nil {
  1292. return x.Count
  1293. }
  1294. return 0
  1295. }
  1296. func (x *AssignVolumeResponse) GetAuth() string {
  1297. if x != nil {
  1298. return x.Auth
  1299. }
  1300. return ""
  1301. }
  1302. func (x *AssignVolumeResponse) GetCollection() string {
  1303. if x != nil {
  1304. return x.Collection
  1305. }
  1306. return ""
  1307. }
  1308. func (x *AssignVolumeResponse) GetReplication() string {
  1309. if x != nil {
  1310. return x.Replication
  1311. }
  1312. return ""
  1313. }
  1314. func (x *AssignVolumeResponse) GetError() string {
  1315. if x != nil {
  1316. return x.Error
  1317. }
  1318. return ""
  1319. }
  1320. type LookupVolumeRequest struct {
  1321. state protoimpl.MessageState
  1322. sizeCache protoimpl.SizeCache
  1323. unknownFields protoimpl.UnknownFields
  1324. VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
  1325. }
  1326. func (x *LookupVolumeRequest) Reset() {
  1327. *x = LookupVolumeRequest{}
  1328. if protoimpl.UnsafeEnabled {
  1329. mi := &file_filer_proto_msgTypes[22]
  1330. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1331. ms.StoreMessageInfo(mi)
  1332. }
  1333. }
  1334. func (x *LookupVolumeRequest) String() string {
  1335. return protoimpl.X.MessageStringOf(x)
  1336. }
  1337. func (*LookupVolumeRequest) ProtoMessage() {}
  1338. func (x *LookupVolumeRequest) ProtoReflect() protoreflect.Message {
  1339. mi := &file_filer_proto_msgTypes[22]
  1340. if protoimpl.UnsafeEnabled && x != nil {
  1341. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1342. if ms.LoadMessageInfo() == nil {
  1343. ms.StoreMessageInfo(mi)
  1344. }
  1345. return ms
  1346. }
  1347. return mi.MessageOf(x)
  1348. }
  1349. // Deprecated: Use LookupVolumeRequest.ProtoReflect.Descriptor instead.
  1350. func (*LookupVolumeRequest) Descriptor() ([]byte, []int) {
  1351. return file_filer_proto_rawDescGZIP(), []int{22}
  1352. }
  1353. func (x *LookupVolumeRequest) GetVolumeIds() []string {
  1354. if x != nil {
  1355. return x.VolumeIds
  1356. }
  1357. return nil
  1358. }
  1359. type Locations struct {
  1360. state protoimpl.MessageState
  1361. sizeCache protoimpl.SizeCache
  1362. unknownFields protoimpl.UnknownFields
  1363. Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
  1364. }
  1365. func (x *Locations) Reset() {
  1366. *x = Locations{}
  1367. if protoimpl.UnsafeEnabled {
  1368. mi := &file_filer_proto_msgTypes[23]
  1369. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1370. ms.StoreMessageInfo(mi)
  1371. }
  1372. }
  1373. func (x *Locations) String() string {
  1374. return protoimpl.X.MessageStringOf(x)
  1375. }
  1376. func (*Locations) ProtoMessage() {}
  1377. func (x *Locations) ProtoReflect() protoreflect.Message {
  1378. mi := &file_filer_proto_msgTypes[23]
  1379. if protoimpl.UnsafeEnabled && x != nil {
  1380. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1381. if ms.LoadMessageInfo() == nil {
  1382. ms.StoreMessageInfo(mi)
  1383. }
  1384. return ms
  1385. }
  1386. return mi.MessageOf(x)
  1387. }
  1388. // Deprecated: Use Locations.ProtoReflect.Descriptor instead.
  1389. func (*Locations) Descriptor() ([]byte, []int) {
  1390. return file_filer_proto_rawDescGZIP(), []int{23}
  1391. }
  1392. func (x *Locations) GetLocations() []*Location {
  1393. if x != nil {
  1394. return x.Locations
  1395. }
  1396. return nil
  1397. }
  1398. type Location struct {
  1399. state protoimpl.MessageState
  1400. sizeCache protoimpl.SizeCache
  1401. unknownFields protoimpl.UnknownFields
  1402. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
  1403. PublicUrl string `protobuf:"bytes,2,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
  1404. }
  1405. func (x *Location) Reset() {
  1406. *x = Location{}
  1407. if protoimpl.UnsafeEnabled {
  1408. mi := &file_filer_proto_msgTypes[24]
  1409. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1410. ms.StoreMessageInfo(mi)
  1411. }
  1412. }
  1413. func (x *Location) String() string {
  1414. return protoimpl.X.MessageStringOf(x)
  1415. }
  1416. func (*Location) ProtoMessage() {}
  1417. func (x *Location) ProtoReflect() protoreflect.Message {
  1418. mi := &file_filer_proto_msgTypes[24]
  1419. if protoimpl.UnsafeEnabled && x != nil {
  1420. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1421. if ms.LoadMessageInfo() == nil {
  1422. ms.StoreMessageInfo(mi)
  1423. }
  1424. return ms
  1425. }
  1426. return mi.MessageOf(x)
  1427. }
  1428. // Deprecated: Use Location.ProtoReflect.Descriptor instead.
  1429. func (*Location) Descriptor() ([]byte, []int) {
  1430. return file_filer_proto_rawDescGZIP(), []int{24}
  1431. }
  1432. func (x *Location) GetUrl() string {
  1433. if x != nil {
  1434. return x.Url
  1435. }
  1436. return ""
  1437. }
  1438. func (x *Location) GetPublicUrl() string {
  1439. if x != nil {
  1440. return x.PublicUrl
  1441. }
  1442. return ""
  1443. }
  1444. type LookupVolumeResponse struct {
  1445. state protoimpl.MessageState
  1446. sizeCache protoimpl.SizeCache
  1447. unknownFields protoimpl.UnknownFields
  1448. LocationsMap map[string]*Locations `protobuf:"bytes,1,rep,name=locations_map,json=locationsMap,proto3" json:"locations_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1449. }
  1450. func (x *LookupVolumeResponse) Reset() {
  1451. *x = LookupVolumeResponse{}
  1452. if protoimpl.UnsafeEnabled {
  1453. mi := &file_filer_proto_msgTypes[25]
  1454. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1455. ms.StoreMessageInfo(mi)
  1456. }
  1457. }
  1458. func (x *LookupVolumeResponse) String() string {
  1459. return protoimpl.X.MessageStringOf(x)
  1460. }
  1461. func (*LookupVolumeResponse) ProtoMessage() {}
  1462. func (x *LookupVolumeResponse) ProtoReflect() protoreflect.Message {
  1463. mi := &file_filer_proto_msgTypes[25]
  1464. if protoimpl.UnsafeEnabled && x != nil {
  1465. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1466. if ms.LoadMessageInfo() == nil {
  1467. ms.StoreMessageInfo(mi)
  1468. }
  1469. return ms
  1470. }
  1471. return mi.MessageOf(x)
  1472. }
  1473. // Deprecated: Use LookupVolumeResponse.ProtoReflect.Descriptor instead.
  1474. func (*LookupVolumeResponse) Descriptor() ([]byte, []int) {
  1475. return file_filer_proto_rawDescGZIP(), []int{25}
  1476. }
  1477. func (x *LookupVolumeResponse) GetLocationsMap() map[string]*Locations {
  1478. if x != nil {
  1479. return x.LocationsMap
  1480. }
  1481. return nil
  1482. }
  1483. type DeleteCollectionRequest struct {
  1484. state protoimpl.MessageState
  1485. sizeCache protoimpl.SizeCache
  1486. unknownFields protoimpl.UnknownFields
  1487. Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
  1488. }
  1489. func (x *DeleteCollectionRequest) Reset() {
  1490. *x = DeleteCollectionRequest{}
  1491. if protoimpl.UnsafeEnabled {
  1492. mi := &file_filer_proto_msgTypes[26]
  1493. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1494. ms.StoreMessageInfo(mi)
  1495. }
  1496. }
  1497. func (x *DeleteCollectionRequest) String() string {
  1498. return protoimpl.X.MessageStringOf(x)
  1499. }
  1500. func (*DeleteCollectionRequest) ProtoMessage() {}
  1501. func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message {
  1502. mi := &file_filer_proto_msgTypes[26]
  1503. if protoimpl.UnsafeEnabled && x != nil {
  1504. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1505. if ms.LoadMessageInfo() == nil {
  1506. ms.StoreMessageInfo(mi)
  1507. }
  1508. return ms
  1509. }
  1510. return mi.MessageOf(x)
  1511. }
  1512. // Deprecated: Use DeleteCollectionRequest.ProtoReflect.Descriptor instead.
  1513. func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) {
  1514. return file_filer_proto_rawDescGZIP(), []int{26}
  1515. }
  1516. func (x *DeleteCollectionRequest) GetCollection() string {
  1517. if x != nil {
  1518. return x.Collection
  1519. }
  1520. return ""
  1521. }
  1522. type DeleteCollectionResponse struct {
  1523. state protoimpl.MessageState
  1524. sizeCache protoimpl.SizeCache
  1525. unknownFields protoimpl.UnknownFields
  1526. }
  1527. func (x *DeleteCollectionResponse) Reset() {
  1528. *x = DeleteCollectionResponse{}
  1529. if protoimpl.UnsafeEnabled {
  1530. mi := &file_filer_proto_msgTypes[27]
  1531. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1532. ms.StoreMessageInfo(mi)
  1533. }
  1534. }
  1535. func (x *DeleteCollectionResponse) String() string {
  1536. return protoimpl.X.MessageStringOf(x)
  1537. }
  1538. func (*DeleteCollectionResponse) ProtoMessage() {}
  1539. func (x *DeleteCollectionResponse) ProtoReflect() protoreflect.Message {
  1540. mi := &file_filer_proto_msgTypes[27]
  1541. if protoimpl.UnsafeEnabled && x != nil {
  1542. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1543. if ms.LoadMessageInfo() == nil {
  1544. ms.StoreMessageInfo(mi)
  1545. }
  1546. return ms
  1547. }
  1548. return mi.MessageOf(x)
  1549. }
  1550. // Deprecated: Use DeleteCollectionResponse.ProtoReflect.Descriptor instead.
  1551. func (*DeleteCollectionResponse) Descriptor() ([]byte, []int) {
  1552. return file_filer_proto_rawDescGZIP(), []int{27}
  1553. }
  1554. type StatisticsRequest struct {
  1555. state protoimpl.MessageState
  1556. sizeCache protoimpl.SizeCache
  1557. unknownFields protoimpl.UnknownFields
  1558. Replication string `protobuf:"bytes,1,opt,name=replication,proto3" json:"replication,omitempty"`
  1559. Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
  1560. Ttl string `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
  1561. }
  1562. func (x *StatisticsRequest) Reset() {
  1563. *x = StatisticsRequest{}
  1564. if protoimpl.UnsafeEnabled {
  1565. mi := &file_filer_proto_msgTypes[28]
  1566. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1567. ms.StoreMessageInfo(mi)
  1568. }
  1569. }
  1570. func (x *StatisticsRequest) String() string {
  1571. return protoimpl.X.MessageStringOf(x)
  1572. }
  1573. func (*StatisticsRequest) ProtoMessage() {}
  1574. func (x *StatisticsRequest) ProtoReflect() protoreflect.Message {
  1575. mi := &file_filer_proto_msgTypes[28]
  1576. if protoimpl.UnsafeEnabled && x != nil {
  1577. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1578. if ms.LoadMessageInfo() == nil {
  1579. ms.StoreMessageInfo(mi)
  1580. }
  1581. return ms
  1582. }
  1583. return mi.MessageOf(x)
  1584. }
  1585. // Deprecated: Use StatisticsRequest.ProtoReflect.Descriptor instead.
  1586. func (*StatisticsRequest) Descriptor() ([]byte, []int) {
  1587. return file_filer_proto_rawDescGZIP(), []int{28}
  1588. }
  1589. func (x *StatisticsRequest) GetReplication() string {
  1590. if x != nil {
  1591. return x.Replication
  1592. }
  1593. return ""
  1594. }
  1595. func (x *StatisticsRequest) GetCollection() string {
  1596. if x != nil {
  1597. return x.Collection
  1598. }
  1599. return ""
  1600. }
  1601. func (x *StatisticsRequest) GetTtl() string {
  1602. if x != nil {
  1603. return x.Ttl
  1604. }
  1605. return ""
  1606. }
  1607. type StatisticsResponse struct {
  1608. state protoimpl.MessageState
  1609. sizeCache protoimpl.SizeCache
  1610. unknownFields protoimpl.UnknownFields
  1611. Replication string `protobuf:"bytes,1,opt,name=replication,proto3" json:"replication,omitempty"`
  1612. Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
  1613. Ttl string `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
  1614. TotalSize uint64 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
  1615. UsedSize uint64 `protobuf:"varint,5,opt,name=used_size,json=usedSize,proto3" json:"used_size,omitempty"`
  1616. FileCount uint64 `protobuf:"varint,6,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"`
  1617. }
  1618. func (x *StatisticsResponse) Reset() {
  1619. *x = StatisticsResponse{}
  1620. if protoimpl.UnsafeEnabled {
  1621. mi := &file_filer_proto_msgTypes[29]
  1622. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1623. ms.StoreMessageInfo(mi)
  1624. }
  1625. }
  1626. func (x *StatisticsResponse) String() string {
  1627. return protoimpl.X.MessageStringOf(x)
  1628. }
  1629. func (*StatisticsResponse) ProtoMessage() {}
  1630. func (x *StatisticsResponse) ProtoReflect() protoreflect.Message {
  1631. mi := &file_filer_proto_msgTypes[29]
  1632. if protoimpl.UnsafeEnabled && x != nil {
  1633. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1634. if ms.LoadMessageInfo() == nil {
  1635. ms.StoreMessageInfo(mi)
  1636. }
  1637. return ms
  1638. }
  1639. return mi.MessageOf(x)
  1640. }
  1641. // Deprecated: Use StatisticsResponse.ProtoReflect.Descriptor instead.
  1642. func (*StatisticsResponse) Descriptor() ([]byte, []int) {
  1643. return file_filer_proto_rawDescGZIP(), []int{29}
  1644. }
  1645. func (x *StatisticsResponse) GetReplication() string {
  1646. if x != nil {
  1647. return x.Replication
  1648. }
  1649. return ""
  1650. }
  1651. func (x *StatisticsResponse) GetCollection() string {
  1652. if x != nil {
  1653. return x.Collection
  1654. }
  1655. return ""
  1656. }
  1657. func (x *StatisticsResponse) GetTtl() string {
  1658. if x != nil {
  1659. return x.Ttl
  1660. }
  1661. return ""
  1662. }
  1663. func (x *StatisticsResponse) GetTotalSize() uint64 {
  1664. if x != nil {
  1665. return x.TotalSize
  1666. }
  1667. return 0
  1668. }
  1669. func (x *StatisticsResponse) GetUsedSize() uint64 {
  1670. if x != nil {
  1671. return x.UsedSize
  1672. }
  1673. return 0
  1674. }
  1675. func (x *StatisticsResponse) GetFileCount() uint64 {
  1676. if x != nil {
  1677. return x.FileCount
  1678. }
  1679. return 0
  1680. }
  1681. type GetFilerConfigurationRequest struct {
  1682. state protoimpl.MessageState
  1683. sizeCache protoimpl.SizeCache
  1684. unknownFields protoimpl.UnknownFields
  1685. }
  1686. func (x *GetFilerConfigurationRequest) Reset() {
  1687. *x = GetFilerConfigurationRequest{}
  1688. if protoimpl.UnsafeEnabled {
  1689. mi := &file_filer_proto_msgTypes[30]
  1690. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1691. ms.StoreMessageInfo(mi)
  1692. }
  1693. }
  1694. func (x *GetFilerConfigurationRequest) String() string {
  1695. return protoimpl.X.MessageStringOf(x)
  1696. }
  1697. func (*GetFilerConfigurationRequest) ProtoMessage() {}
  1698. func (x *GetFilerConfigurationRequest) ProtoReflect() protoreflect.Message {
  1699. mi := &file_filer_proto_msgTypes[30]
  1700. if protoimpl.UnsafeEnabled && x != nil {
  1701. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1702. if ms.LoadMessageInfo() == nil {
  1703. ms.StoreMessageInfo(mi)
  1704. }
  1705. return ms
  1706. }
  1707. return mi.MessageOf(x)
  1708. }
  1709. // Deprecated: Use GetFilerConfigurationRequest.ProtoReflect.Descriptor instead.
  1710. func (*GetFilerConfigurationRequest) Descriptor() ([]byte, []int) {
  1711. return file_filer_proto_rawDescGZIP(), []int{30}
  1712. }
  1713. type GetFilerConfigurationResponse struct {
  1714. state protoimpl.MessageState
  1715. sizeCache protoimpl.SizeCache
  1716. unknownFields protoimpl.UnknownFields
  1717. Masters []string `protobuf:"bytes,1,rep,name=masters,proto3" json:"masters,omitempty"`
  1718. Replication string `protobuf:"bytes,2,opt,name=replication,proto3" json:"replication,omitempty"`
  1719. Collection string `protobuf:"bytes,3,opt,name=collection,proto3" json:"collection,omitempty"`
  1720. MaxMb uint32 `protobuf:"varint,4,opt,name=max_mb,json=maxMb,proto3" json:"max_mb,omitempty"`
  1721. DirBuckets string `protobuf:"bytes,5,opt,name=dir_buckets,json=dirBuckets,proto3" json:"dir_buckets,omitempty"`
  1722. Cipher bool `protobuf:"varint,7,opt,name=cipher,proto3" json:"cipher,omitempty"`
  1723. }
  1724. func (x *GetFilerConfigurationResponse) Reset() {
  1725. *x = GetFilerConfigurationResponse{}
  1726. if protoimpl.UnsafeEnabled {
  1727. mi := &file_filer_proto_msgTypes[31]
  1728. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1729. ms.StoreMessageInfo(mi)
  1730. }
  1731. }
  1732. func (x *GetFilerConfigurationResponse) String() string {
  1733. return protoimpl.X.MessageStringOf(x)
  1734. }
  1735. func (*GetFilerConfigurationResponse) ProtoMessage() {}
  1736. func (x *GetFilerConfigurationResponse) ProtoReflect() protoreflect.Message {
  1737. mi := &file_filer_proto_msgTypes[31]
  1738. if protoimpl.UnsafeEnabled && x != nil {
  1739. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1740. if ms.LoadMessageInfo() == nil {
  1741. ms.StoreMessageInfo(mi)
  1742. }
  1743. return ms
  1744. }
  1745. return mi.MessageOf(x)
  1746. }
  1747. // Deprecated: Use GetFilerConfigurationResponse.ProtoReflect.Descriptor instead.
  1748. func (*GetFilerConfigurationResponse) Descriptor() ([]byte, []int) {
  1749. return file_filer_proto_rawDescGZIP(), []int{31}
  1750. }
  1751. func (x *GetFilerConfigurationResponse) GetMasters() []string {
  1752. if x != nil {
  1753. return x.Masters
  1754. }
  1755. return nil
  1756. }
  1757. func (x *GetFilerConfigurationResponse) GetReplication() string {
  1758. if x != nil {
  1759. return x.Replication
  1760. }
  1761. return ""
  1762. }
  1763. func (x *GetFilerConfigurationResponse) GetCollection() string {
  1764. if x != nil {
  1765. return x.Collection
  1766. }
  1767. return ""
  1768. }
  1769. func (x *GetFilerConfigurationResponse) GetMaxMb() uint32 {
  1770. if x != nil {
  1771. return x.MaxMb
  1772. }
  1773. return 0
  1774. }
  1775. func (x *GetFilerConfigurationResponse) GetDirBuckets() string {
  1776. if x != nil {
  1777. return x.DirBuckets
  1778. }
  1779. return ""
  1780. }
  1781. func (x *GetFilerConfigurationResponse) GetCipher() bool {
  1782. if x != nil {
  1783. return x.Cipher
  1784. }
  1785. return false
  1786. }
  1787. type SubscribeMetadataRequest struct {
  1788. state protoimpl.MessageState
  1789. sizeCache protoimpl.SizeCache
  1790. unknownFields protoimpl.UnknownFields
  1791. ClientName string `protobuf:"bytes,1,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"`
  1792. PathPrefix string `protobuf:"bytes,2,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"`
  1793. SinceNs int64 `protobuf:"varint,3,opt,name=since_ns,json=sinceNs,proto3" json:"since_ns,omitempty"`
  1794. }
  1795. func (x *SubscribeMetadataRequest) Reset() {
  1796. *x = SubscribeMetadataRequest{}
  1797. if protoimpl.UnsafeEnabled {
  1798. mi := &file_filer_proto_msgTypes[32]
  1799. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1800. ms.StoreMessageInfo(mi)
  1801. }
  1802. }
  1803. func (x *SubscribeMetadataRequest) String() string {
  1804. return protoimpl.X.MessageStringOf(x)
  1805. }
  1806. func (*SubscribeMetadataRequest) ProtoMessage() {}
  1807. func (x *SubscribeMetadataRequest) ProtoReflect() protoreflect.Message {
  1808. mi := &file_filer_proto_msgTypes[32]
  1809. if protoimpl.UnsafeEnabled && x != nil {
  1810. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1811. if ms.LoadMessageInfo() == nil {
  1812. ms.StoreMessageInfo(mi)
  1813. }
  1814. return ms
  1815. }
  1816. return mi.MessageOf(x)
  1817. }
  1818. // Deprecated: Use SubscribeMetadataRequest.ProtoReflect.Descriptor instead.
  1819. func (*SubscribeMetadataRequest) Descriptor() ([]byte, []int) {
  1820. return file_filer_proto_rawDescGZIP(), []int{32}
  1821. }
  1822. func (x *SubscribeMetadataRequest) GetClientName() string {
  1823. if x != nil {
  1824. return x.ClientName
  1825. }
  1826. return ""
  1827. }
  1828. func (x *SubscribeMetadataRequest) GetPathPrefix() string {
  1829. if x != nil {
  1830. return x.PathPrefix
  1831. }
  1832. return ""
  1833. }
  1834. func (x *SubscribeMetadataRequest) GetSinceNs() int64 {
  1835. if x != nil {
  1836. return x.SinceNs
  1837. }
  1838. return 0
  1839. }
  1840. type SubscribeMetadataResponse struct {
  1841. state protoimpl.MessageState
  1842. sizeCache protoimpl.SizeCache
  1843. unknownFields protoimpl.UnknownFields
  1844. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  1845. EventNotification *EventNotification `protobuf:"bytes,2,opt,name=event_notification,json=eventNotification,proto3" json:"event_notification,omitempty"`
  1846. TsNs int64 `protobuf:"varint,3,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
  1847. }
  1848. func (x *SubscribeMetadataResponse) Reset() {
  1849. *x = SubscribeMetadataResponse{}
  1850. if protoimpl.UnsafeEnabled {
  1851. mi := &file_filer_proto_msgTypes[33]
  1852. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1853. ms.StoreMessageInfo(mi)
  1854. }
  1855. }
  1856. func (x *SubscribeMetadataResponse) String() string {
  1857. return protoimpl.X.MessageStringOf(x)
  1858. }
  1859. func (*SubscribeMetadataResponse) ProtoMessage() {}
  1860. func (x *SubscribeMetadataResponse) ProtoReflect() protoreflect.Message {
  1861. mi := &file_filer_proto_msgTypes[33]
  1862. if protoimpl.UnsafeEnabled && x != nil {
  1863. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1864. if ms.LoadMessageInfo() == nil {
  1865. ms.StoreMessageInfo(mi)
  1866. }
  1867. return ms
  1868. }
  1869. return mi.MessageOf(x)
  1870. }
  1871. // Deprecated: Use SubscribeMetadataResponse.ProtoReflect.Descriptor instead.
  1872. func (*SubscribeMetadataResponse) Descriptor() ([]byte, []int) {
  1873. return file_filer_proto_rawDescGZIP(), []int{33}
  1874. }
  1875. func (x *SubscribeMetadataResponse) GetDirectory() string {
  1876. if x != nil {
  1877. return x.Directory
  1878. }
  1879. return ""
  1880. }
  1881. func (x *SubscribeMetadataResponse) GetEventNotification() *EventNotification {
  1882. if x != nil {
  1883. return x.EventNotification
  1884. }
  1885. return nil
  1886. }
  1887. func (x *SubscribeMetadataResponse) GetTsNs() int64 {
  1888. if x != nil {
  1889. return x.TsNs
  1890. }
  1891. return 0
  1892. }
  1893. type LogEntry struct {
  1894. state protoimpl.MessageState
  1895. sizeCache protoimpl.SizeCache
  1896. unknownFields protoimpl.UnknownFields
  1897. TsNs int64 `protobuf:"varint,1,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
  1898. PartitionKeyHash int32 `protobuf:"varint,2,opt,name=partition_key_hash,json=partitionKeyHash,proto3" json:"partition_key_hash,omitempty"`
  1899. Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  1900. }
  1901. func (x *LogEntry) Reset() {
  1902. *x = LogEntry{}
  1903. if protoimpl.UnsafeEnabled {
  1904. mi := &file_filer_proto_msgTypes[34]
  1905. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1906. ms.StoreMessageInfo(mi)
  1907. }
  1908. }
  1909. func (x *LogEntry) String() string {
  1910. return protoimpl.X.MessageStringOf(x)
  1911. }
  1912. func (*LogEntry) ProtoMessage() {}
  1913. func (x *LogEntry) ProtoReflect() protoreflect.Message {
  1914. mi := &file_filer_proto_msgTypes[34]
  1915. if protoimpl.UnsafeEnabled && x != nil {
  1916. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1917. if ms.LoadMessageInfo() == nil {
  1918. ms.StoreMessageInfo(mi)
  1919. }
  1920. return ms
  1921. }
  1922. return mi.MessageOf(x)
  1923. }
  1924. // Deprecated: Use LogEntry.ProtoReflect.Descriptor instead.
  1925. func (*LogEntry) Descriptor() ([]byte, []int) {
  1926. return file_filer_proto_rawDescGZIP(), []int{34}
  1927. }
  1928. func (x *LogEntry) GetTsNs() int64 {
  1929. if x != nil {
  1930. return x.TsNs
  1931. }
  1932. return 0
  1933. }
  1934. func (x *LogEntry) GetPartitionKeyHash() int32 {
  1935. if x != nil {
  1936. return x.PartitionKeyHash
  1937. }
  1938. return 0
  1939. }
  1940. func (x *LogEntry) GetData() []byte {
  1941. if x != nil {
  1942. return x.Data
  1943. }
  1944. return nil
  1945. }
  1946. type KeepConnectedRequest struct {
  1947. state protoimpl.MessageState
  1948. sizeCache protoimpl.SizeCache
  1949. unknownFields protoimpl.UnknownFields
  1950. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1951. GrpcPort uint32 `protobuf:"varint,2,opt,name=grpc_port,json=grpcPort,proto3" json:"grpc_port,omitempty"`
  1952. Resources []string `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"`
  1953. }
  1954. func (x *KeepConnectedRequest) Reset() {
  1955. *x = KeepConnectedRequest{}
  1956. if protoimpl.UnsafeEnabled {
  1957. mi := &file_filer_proto_msgTypes[35]
  1958. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1959. ms.StoreMessageInfo(mi)
  1960. }
  1961. }
  1962. func (x *KeepConnectedRequest) String() string {
  1963. return protoimpl.X.MessageStringOf(x)
  1964. }
  1965. func (*KeepConnectedRequest) ProtoMessage() {}
  1966. func (x *KeepConnectedRequest) ProtoReflect() protoreflect.Message {
  1967. mi := &file_filer_proto_msgTypes[35]
  1968. if protoimpl.UnsafeEnabled && x != nil {
  1969. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1970. if ms.LoadMessageInfo() == nil {
  1971. ms.StoreMessageInfo(mi)
  1972. }
  1973. return ms
  1974. }
  1975. return mi.MessageOf(x)
  1976. }
  1977. // Deprecated: Use KeepConnectedRequest.ProtoReflect.Descriptor instead.
  1978. func (*KeepConnectedRequest) Descriptor() ([]byte, []int) {
  1979. return file_filer_proto_rawDescGZIP(), []int{35}
  1980. }
  1981. func (x *KeepConnectedRequest) GetName() string {
  1982. if x != nil {
  1983. return x.Name
  1984. }
  1985. return ""
  1986. }
  1987. func (x *KeepConnectedRequest) GetGrpcPort() uint32 {
  1988. if x != nil {
  1989. return x.GrpcPort
  1990. }
  1991. return 0
  1992. }
  1993. func (x *KeepConnectedRequest) GetResources() []string {
  1994. if x != nil {
  1995. return x.Resources
  1996. }
  1997. return nil
  1998. }
  1999. type KeepConnectedResponse struct {
  2000. state protoimpl.MessageState
  2001. sizeCache protoimpl.SizeCache
  2002. unknownFields protoimpl.UnknownFields
  2003. }
  2004. func (x *KeepConnectedResponse) Reset() {
  2005. *x = KeepConnectedResponse{}
  2006. if protoimpl.UnsafeEnabled {
  2007. mi := &file_filer_proto_msgTypes[36]
  2008. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2009. ms.StoreMessageInfo(mi)
  2010. }
  2011. }
  2012. func (x *KeepConnectedResponse) String() string {
  2013. return protoimpl.X.MessageStringOf(x)
  2014. }
  2015. func (*KeepConnectedResponse) ProtoMessage() {}
  2016. func (x *KeepConnectedResponse) ProtoReflect() protoreflect.Message {
  2017. mi := &file_filer_proto_msgTypes[36]
  2018. if protoimpl.UnsafeEnabled && x != nil {
  2019. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2020. if ms.LoadMessageInfo() == nil {
  2021. ms.StoreMessageInfo(mi)
  2022. }
  2023. return ms
  2024. }
  2025. return mi.MessageOf(x)
  2026. }
  2027. // Deprecated: Use KeepConnectedResponse.ProtoReflect.Descriptor instead.
  2028. func (*KeepConnectedResponse) Descriptor() ([]byte, []int) {
  2029. return file_filer_proto_rawDescGZIP(), []int{36}
  2030. }
  2031. type LocateBrokerRequest struct {
  2032. state protoimpl.MessageState
  2033. sizeCache protoimpl.SizeCache
  2034. unknownFields protoimpl.UnknownFields
  2035. Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
  2036. }
  2037. func (x *LocateBrokerRequest) Reset() {
  2038. *x = LocateBrokerRequest{}
  2039. if protoimpl.UnsafeEnabled {
  2040. mi := &file_filer_proto_msgTypes[37]
  2041. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2042. ms.StoreMessageInfo(mi)
  2043. }
  2044. }
  2045. func (x *LocateBrokerRequest) String() string {
  2046. return protoimpl.X.MessageStringOf(x)
  2047. }
  2048. func (*LocateBrokerRequest) ProtoMessage() {}
  2049. func (x *LocateBrokerRequest) ProtoReflect() protoreflect.Message {
  2050. mi := &file_filer_proto_msgTypes[37]
  2051. if protoimpl.UnsafeEnabled && x != nil {
  2052. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2053. if ms.LoadMessageInfo() == nil {
  2054. ms.StoreMessageInfo(mi)
  2055. }
  2056. return ms
  2057. }
  2058. return mi.MessageOf(x)
  2059. }
  2060. // Deprecated: Use LocateBrokerRequest.ProtoReflect.Descriptor instead.
  2061. func (*LocateBrokerRequest) Descriptor() ([]byte, []int) {
  2062. return file_filer_proto_rawDescGZIP(), []int{37}
  2063. }
  2064. func (x *LocateBrokerRequest) GetResource() string {
  2065. if x != nil {
  2066. return x.Resource
  2067. }
  2068. return ""
  2069. }
  2070. type LocateBrokerResponse struct {
  2071. state protoimpl.MessageState
  2072. sizeCache protoimpl.SizeCache
  2073. unknownFields protoimpl.UnknownFields
  2074. Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
  2075. Resources []*LocateBrokerResponse_Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
  2076. }
  2077. func (x *LocateBrokerResponse) Reset() {
  2078. *x = LocateBrokerResponse{}
  2079. if protoimpl.UnsafeEnabled {
  2080. mi := &file_filer_proto_msgTypes[38]
  2081. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2082. ms.StoreMessageInfo(mi)
  2083. }
  2084. }
  2085. func (x *LocateBrokerResponse) String() string {
  2086. return protoimpl.X.MessageStringOf(x)
  2087. }
  2088. func (*LocateBrokerResponse) ProtoMessage() {}
  2089. func (x *LocateBrokerResponse) ProtoReflect() protoreflect.Message {
  2090. mi := &file_filer_proto_msgTypes[38]
  2091. if protoimpl.UnsafeEnabled && x != nil {
  2092. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2093. if ms.LoadMessageInfo() == nil {
  2094. ms.StoreMessageInfo(mi)
  2095. }
  2096. return ms
  2097. }
  2098. return mi.MessageOf(x)
  2099. }
  2100. // Deprecated: Use LocateBrokerResponse.ProtoReflect.Descriptor instead.
  2101. func (*LocateBrokerResponse) Descriptor() ([]byte, []int) {
  2102. return file_filer_proto_rawDescGZIP(), []int{38}
  2103. }
  2104. func (x *LocateBrokerResponse) GetFound() bool {
  2105. if x != nil {
  2106. return x.Found
  2107. }
  2108. return false
  2109. }
  2110. func (x *LocateBrokerResponse) GetResources() []*LocateBrokerResponse_Resource {
  2111. if x != nil {
  2112. return x.Resources
  2113. }
  2114. return nil
  2115. }
  2116. // if found, send the exact address
  2117. // if not found, send the full list of existing brokers
  2118. type LocateBrokerResponse_Resource struct {
  2119. state protoimpl.MessageState
  2120. sizeCache protoimpl.SizeCache
  2121. unknownFields protoimpl.UnknownFields
  2122. GrpcAddresses string `protobuf:"bytes,1,opt,name=grpc_addresses,json=grpcAddresses,proto3" json:"grpc_addresses,omitempty"`
  2123. ResourceCount int32 `protobuf:"varint,2,opt,name=resource_count,json=resourceCount,proto3" json:"resource_count,omitempty"`
  2124. }
  2125. func (x *LocateBrokerResponse_Resource) Reset() {
  2126. *x = LocateBrokerResponse_Resource{}
  2127. if protoimpl.UnsafeEnabled {
  2128. mi := &file_filer_proto_msgTypes[41]
  2129. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2130. ms.StoreMessageInfo(mi)
  2131. }
  2132. }
  2133. func (x *LocateBrokerResponse_Resource) String() string {
  2134. return protoimpl.X.MessageStringOf(x)
  2135. }
  2136. func (*LocateBrokerResponse_Resource) ProtoMessage() {}
  2137. func (x *LocateBrokerResponse_Resource) ProtoReflect() protoreflect.Message {
  2138. mi := &file_filer_proto_msgTypes[41]
  2139. if protoimpl.UnsafeEnabled && x != nil {
  2140. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2141. if ms.LoadMessageInfo() == nil {
  2142. ms.StoreMessageInfo(mi)
  2143. }
  2144. return ms
  2145. }
  2146. return mi.MessageOf(x)
  2147. }
  2148. // Deprecated: Use LocateBrokerResponse_Resource.ProtoReflect.Descriptor instead.
  2149. func (*LocateBrokerResponse_Resource) Descriptor() ([]byte, []int) {
  2150. return file_filer_proto_rawDescGZIP(), []int{38, 0}
  2151. }
  2152. func (x *LocateBrokerResponse_Resource) GetGrpcAddresses() string {
  2153. if x != nil {
  2154. return x.GrpcAddresses
  2155. }
  2156. return ""
  2157. }
  2158. func (x *LocateBrokerResponse_Resource) GetResourceCount() int32 {
  2159. if x != nil {
  2160. return x.ResourceCount
  2161. }
  2162. return 0
  2163. }
  2164. var File_filer_proto protoreflect.FileDescriptor
  2165. var file_filer_proto_rawDesc = []byte{
  2166. 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x66,
  2167. 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x22, 0x4f, 0x0a, 0x1b, 0x4c, 0x6f, 0x6f, 0x6b, 0x75,
  2168. 0x70, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
  2169. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
  2170. 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63,
  2171. 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  2172. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x45, 0x0a, 0x1c, 0x4c, 0x6f, 0x6f, 0x6b,
  2173. 0x75, 0x70, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79,
  2174. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72,
  2175. 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f,
  2176. 0x70, 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x22,
  2177. 0xbe, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52,
  2178. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
  2179. 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63,
  2180. 0x74, 0x6f, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x02,
  2181. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x2c, 0x0a, 0x11,
  2182. 0x73, 0x74, 0x61, 0x72, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d,
  2183. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x46, 0x72,
  2184. 0x6f, 0x6d, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x69, 0x6e,
  2185. 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x46, 0x72, 0x6f, 0x6d,
  2186. 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76,
  2187. 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69,
  2188. 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
  2189. 0x22, 0x3c, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52,
  2190. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79,
  2191. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70,
  2192. 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x22, 0x9d,
  2193. 0x02, 0x0a, 0x05, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  2194. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c,
  2195. 0x69, 0x73, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01,
  2196. 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12,
  2197. 0x2b, 0x0a, 0x06, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
  2198. 0x13, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x43,
  2199. 0x68, 0x75, 0x6e, 0x6b, 0x52, 0x06, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x12, 0x38, 0x0a, 0x0a,
  2200. 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
  2201. 0x32, 0x18, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x75, 0x73, 0x65,
  2202. 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72,
  2203. 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64,
  2204. 0x65, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72,
  2205. 0x5f, 0x70, 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64,
  2206. 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65,
  2207. 0x64, 0x1a, 0x3b, 0x0a, 0x0d, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x45, 0x6e, 0x74,
  2208. 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  2209. 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
  2210. 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x44,
  2211. 0x0a, 0x09, 0x46, 0x75, 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x64,
  2212. 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x72, 0x12, 0x25, 0x0a,
  2213. 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66,
  2214. 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x65,
  2215. 0x6e, 0x74, 0x72, 0x79, 0x22, 0xef, 0x01, 0x0a, 0x11, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f,
  2216. 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x09, 0x6f, 0x6c,
  2217. 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e,
  2218. 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08,
  2219. 0x6f, 0x6c, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f,
  2220. 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66, 0x69,
  2221. 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6e, 0x65,
  2222. 0x77, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,
  2223. 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64,
  2224. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e,
  2225. 0x65, 0x77, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04,
  2226. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x77, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x50,
  2227. 0x61, 0x74, 0x68, 0x12, 0x31, 0x0a, 0x15, 0x69, 0x73, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6f,
  2228. 0x74, 0x68, 0x65, 0x72, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01,
  2229. 0x28, 0x08, 0x52, 0x12, 0x69, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x43,
  2230. 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0xba, 0x02, 0x0a, 0x09, 0x46, 0x69, 0x6c, 0x65, 0x43,
  2231. 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18,
  2232. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a,
  2233. 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f,
  2234. 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20,
  2235. 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69,
  2236. 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12,
  2237. 0x13, 0x0a, 0x05, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  2238. 0x65, 0x54, 0x61, 0x67, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66,
  2239. 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6f,
  2240. 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x03, 0x66, 0x69,
  2241. 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f,
  2242. 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x03, 0x66, 0x69, 0x64, 0x12, 0x2f,
  2243. 0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01,
  2244. 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69,
  2245. 0x6c, 0x65, 0x49, 0x64, 0x52, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x64, 0x12,
  2246. 0x1d, 0x0a, 0x0a, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x09, 0x20,
  2247. 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x12, 0x23,
  2248. 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x18,
  2249. 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73,
  2250. 0x73, 0x65, 0x64, 0x22, 0x58, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a,
  2251. 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
  2252. 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x69,
  2253. 0x6c, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x66, 0x69,
  2254. 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18,
  2255. 0x03, 0x20, 0x01, 0x28, 0x07, 0x52, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x22, 0x80, 0x03,
  2256. 0x0a, 0x0e, 0x46, 0x75, 0x73, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73,
  2257. 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20,
  2258. 0x01, 0x28, 0x04, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a,
  2259. 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6d, 0x74,
  2260. 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65,
  2261. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65,
  2262. 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75,
  2263. 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52,
  2264. 0x03, 0x67, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06,
  2265. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04,
  2266. 0x6d, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x69, 0x6d, 0x65,
  2267. 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
  2268. 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69,
  2269. 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  2270. 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
  2271. 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x74, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x0a, 0x20,
  2272. 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x74, 0x6c, 0x53, 0x65, 0x63, 0x12, 0x1b, 0x0a, 0x09, 0x75,
  2273. 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  2274. 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75,
  2275. 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72,
  2276. 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x79, 0x6d, 0x6c, 0x69,
  2277. 0x6e, 0x6b, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52,
  2278. 0x0d, 0x73, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x10,
  2279. 0x0a, 0x03, 0x6d, 0x64, 0x35, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6d, 0x64, 0x35,
  2280. 0x22, 0xa3, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79,
  2281. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63,
  2282. 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65,
  2283. 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x02,
  2284. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e,
  2285. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x15, 0x0a, 0x06,
  2286. 0x6f, 0x5f, 0x65, 0x78, 0x63, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x6f, 0x45,
  2287. 0x78, 0x63, 0x6c, 0x12, 0x31, 0x0a, 0x15, 0x69, 0x73, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6f,
  2288. 0x74, 0x68, 0x65, 0x72, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01,
  2289. 0x28, 0x08, 0x52, 0x12, 0x69, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x43,
  2290. 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x2b, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
  2291. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a,
  2292. 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72,
  2293. 0x72, 0x6f, 0x72, 0x22, 0x8c, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e,
  2294. 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69,
  2295. 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64,
  2296. 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72,
  2297. 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f,
  2298. 0x70, 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12,
  2299. 0x31, 0x0a, 0x15, 0x69, 0x73, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6f, 0x74, 0x68, 0x65, 0x72,
  2300. 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12,
  2301. 0x69, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74,
  2302. 0x65, 0x72, 0x22, 0x15, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72,
  2303. 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x14, 0x41, 0x70,
  2304. 0x70, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
  2305. 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18,
  2306. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79,
  2307. 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  2308. 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  2309. 0x2b, 0x0a, 0x06, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
  2310. 0x13, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x43,
  2311. 0x68, 0x75, 0x6e, 0x6b, 0x52, 0x06, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x22, 0x17, 0x0a, 0x15,
  2312. 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73,
  2313. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf8, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
  2314. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09,
  2315. 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  2316. 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
  2317. 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24,
  2318. 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61,
  2319. 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
  2320. 0x44, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x63, 0x75, 0x72,
  2321. 0x73, 0x69, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x52, 0x65,
  2322. 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x67, 0x6e, 0x6f, 0x72,
  2323. 0x65, 0x5f, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f,
  2324. 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x52,
  2325. 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x31, 0x0a,
  2326. 0x15, 0x69, 0x73, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x63,
  2327. 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x69, 0x73,
  2328. 0x46, 0x72, 0x6f, 0x6d, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
  2329. 0x22, 0x2b, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
  2330. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
  2331. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x9a, 0x01,
  2332. 0x0a, 0x18, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x45, 0x6e,
  2333. 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x6c,
  2334. 0x64, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
  2335. 0x09, 0x52, 0x0c, 0x6f, 0x6c, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12,
  2336. 0x19, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  2337. 0x09, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6e, 0x65,
  2338. 0x77, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
  2339. 0x09, 0x52, 0x0c, 0x6e, 0x65, 0x77, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12,
  2340. 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
  2341. 0x09, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x41, 0x74,
  2342. 0x6f, 0x6d, 0x69, 0x63, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
  2343. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x13, 0x41, 0x73, 0x73, 0x69,
  2344. 0x67, 0x6e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  2345. 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
  2346. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74,
  2347. 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65,
  2348. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61,
  2349. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c,
  2350. 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x74, 0x6c, 0x5f, 0x73,
  2351. 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x74, 0x6c, 0x53, 0x65, 0x63,
  2352. 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18,
  2353. 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74, 0x65,
  2354. 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68,
  2355. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x61,
  2356. 0x74, 0x68, 0x22, 0xe2, 0x01, 0x0a, 0x14, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x56, 0x6f, 0x6c,
  2357. 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x66,
  2358. 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69,
  2359. 0x6c, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
  2360. 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
  2361. 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c,
  2362. 0x69, 0x63, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04,
  2363. 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x61,
  2364. 0x75, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x12,
  2365. 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20,
  2366. 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12,
  2367. 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07,
  2368. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
  2369. 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
  2370. 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x34, 0x0a, 0x13, 0x4c, 0x6f, 0x6f, 0x6b, 0x75,
  2371. 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d,
  2372. 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03,
  2373. 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x73, 0x22, 0x3d, 0x0a,
  2374. 0x09, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x09, 0x6c, 0x6f,
  2375. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e,
  2376. 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
  2377. 0x6e, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3b, 0x0a, 0x08,
  2378. 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18,
  2379. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75,
  2380. 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  2381. 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x55, 0x72, 0x6c, 0x22, 0xc3, 0x01, 0x0a, 0x14, 0x4c, 0x6f,
  2382. 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  2383. 0x73, 0x65, 0x12, 0x55, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f,
  2384. 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x66, 0x69, 0x6c, 0x65,
  2385. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  2386. 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  2387. 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x6c, 0x6f, 0x63,
  2388. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x70, 0x1a, 0x54, 0x0a, 0x11, 0x4c, 0x6f, 0x63,
  2389. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
  2390. 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
  2391. 0x12, 0x29, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
  2392. 0x13, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74,
  2393. 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
  2394. 0x39, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74,
  2395. 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f,
  2396. 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
  2397. 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x65,
  2398. 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
  2399. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x0a, 0x11, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73,
  2400. 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x72,
  2401. 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  2402. 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a,
  2403. 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
  2404. 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a,
  2405. 0x03, 0x74, 0x74, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x22,
  2406. 0xc3, 0x01, 0x0a, 0x12, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65,
  2407. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63,
  2408. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70,
  2409. 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c,
  2410. 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f,
  2411. 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18,
  2412. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f,
  2413. 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09,
  2414. 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65,
  2415. 0x64, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x75, 0x73,
  2416. 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63,
  2417. 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65,
  2418. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x1e, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65,
  2419. 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
  2420. 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xcb, 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c,
  2421. 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
  2422. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x73, 0x74, 0x65,
  2423. 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72,
  2424. 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2425. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
  2426. 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
  2427. 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74,
  2428. 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x62, 0x18, 0x04, 0x20,
  2429. 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6d, 0x61, 0x78, 0x4d, 0x62, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x69,
  2430. 0x72, 0x5f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
  2431. 0x0a, 0x64, 0x69, 0x72, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x63,
  2432. 0x69, 0x70, 0x68, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x63, 0x69, 0x70,
  2433. 0x68, 0x65, 0x72, 0x22, 0x77, 0x0a, 0x18, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
  2434. 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  2435. 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
  2436. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65,
  2437. 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18,
  2438. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x74, 0x68, 0x50, 0x72, 0x65, 0x66, 0x69,
  2439. 0x78, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x6e, 0x73, 0x18, 0x03, 0x20,
  2440. 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x4e, 0x73, 0x22, 0x9a, 0x01, 0x0a,
  2441. 0x19, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
  2442. 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69,
  2443. 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64,
  2444. 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x4a, 0x0a, 0x12, 0x65, 0x76, 0x65, 0x6e,
  2445. 0x74, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,
  2446. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e,
  2447. 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
  2448. 0x6e, 0x52, 0x11, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
  2449. 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x73, 0x5f, 0x6e, 0x73, 0x18, 0x03, 0x20,
  2450. 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x73, 0x4e, 0x73, 0x22, 0x61, 0x0a, 0x08, 0x4c, 0x6f, 0x67,
  2451. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x73, 0x5f, 0x6e, 0x73, 0x18, 0x01,
  2452. 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x73, 0x4e, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x61,
  2453. 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x68, 0x61, 0x73, 0x68,
  2454. 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
  2455. 0x6e, 0x4b, 0x65, 0x79, 0x48, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
  2456. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x65, 0x0a, 0x14,
  2457. 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71,
  2458. 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  2459. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x72, 0x70, 0x63,
  2460. 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x72, 0x70,
  2461. 0x63, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
  2462. 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
  2463. 0x63, 0x65, 0x73, 0x22, 0x17, 0x0a, 0x15, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x6e, 0x65,
  2464. 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x13,
  2465. 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
  2466. 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18,
  2467. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22,
  2468. 0xcd, 0x01, 0x0a, 0x14, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72,
  2469. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x75, 0x6e,
  2470. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x45,
  2471. 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
  2472. 0x0b, 0x32, 0x27, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63,
  2473. 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  2474. 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f,
  2475. 0x75, 0x72, 0x63, 0x65, 0x73, 0x1a, 0x58, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
  2476. 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
  2477. 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x67, 0x72, 0x70, 0x63, 0x41,
  2478. 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f,
  2479. 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
  2480. 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x32,
  2481. 0xa6, 0x0a, 0x0a, 0x0c, 0x53, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x72,
  2482. 0x12, 0x67, 0x0a, 0x14, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74,
  2483. 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x25, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72,
  2484. 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74,
  2485. 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  2486. 0x26, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75,
  2487. 0x70, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
  2488. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0b, 0x4c, 0x69, 0x73,
  2489. 0x74, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72,
  2490. 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52,
  2491. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70,
  2492. 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73,
  2493. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x4c, 0x0a, 0x0b, 0x43, 0x72, 0x65,
  2494. 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1c, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72,
  2495. 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
  2496. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70,
  2497. 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73,
  2498. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74,
  2499. 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1c, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70,
  2500. 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71,
  2501. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e,
  2502. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
  2503. 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0d, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x54,
  2504. 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1e, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70,
  2505. 0x62, 0x2e, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
  2506. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70,
  2507. 0x62, 0x2e, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
  2508. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0b, 0x44, 0x65, 0x6c,
  2509. 0x65, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1c, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72,
  2510. 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
  2511. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70,
  2512. 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73,
  2513. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x11, 0x41, 0x74, 0x6f, 0x6d, 0x69,
  2514. 0x63, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x22, 0x2e, 0x66,
  2515. 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x52, 0x65,
  2516. 0x6e, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  2517. 0x1a, 0x23, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x74, 0x6f, 0x6d,
  2518. 0x69, 0x63, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73,
  2519. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x41, 0x73, 0x73, 0x69, 0x67,
  2520. 0x6e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1d, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f,
  2521. 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52,
  2522. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70,
  2523. 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65,
  2524. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x4c, 0x6f, 0x6f, 0x6b,
  2525. 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1d, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72,
  2526. 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2527. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f,
  2528. 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52,
  2529. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x10, 0x44, 0x65, 0x6c,
  2530. 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e,
  2531. 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43,
  2532. 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  2533. 0x1a, 0x22, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65,
  2534. 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
  2535. 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73,
  2536. 0x74, 0x69, 0x63, 0x73, 0x12, 0x1b, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e,
  2537. 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  2538. 0x74, 0x1a, 0x1c, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61,
  2539. 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  2540. 0x00, 0x12, 0x6a, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e,
  2541. 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x66, 0x69, 0x6c,
  2542. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x72, 0x43, 0x6f,
  2543. 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
  2544. 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x47, 0x65,
  2545. 0x74, 0x46, 0x69, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74,
  2546. 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a,
  2547. 0x11, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
  2548. 0x74, 0x61, 0x12, 0x22, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75,
  2549. 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52,
  2550. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70,
  2551. 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64,
  2552. 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12,
  2553. 0x56, 0x0a, 0x0d, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64,
  2554. 0x12, 0x1e, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4b, 0x65, 0x65, 0x70,
  2555. 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  2556. 0x1a, 0x1f, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4b, 0x65, 0x65, 0x70,
  2557. 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  2558. 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x4f, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74,
  2559. 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f,
  2560. 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x52,
  2561. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70,
  2562. 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x52, 0x65,
  2563. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x4f, 0x0a, 0x10, 0x73, 0x65, 0x61, 0x77,
  2564. 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x0a, 0x46, 0x69,
  2565. 0x6c, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
  2566. 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x72, 0x69, 0x73, 0x6c, 0x75, 0x73, 0x66, 0x2f, 0x73,
  2567. 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x77, 0x65, 0x65, 0x64, 0x2f, 0x70, 0x62,
  2568. 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  2569. 0x33,
  2570. }
  2571. var (
  2572. file_filer_proto_rawDescOnce sync.Once
  2573. file_filer_proto_rawDescData = file_filer_proto_rawDesc
  2574. )
  2575. func file_filer_proto_rawDescGZIP() []byte {
  2576. file_filer_proto_rawDescOnce.Do(func() {
  2577. file_filer_proto_rawDescData = protoimpl.X.CompressGZIP(file_filer_proto_rawDescData)
  2578. })
  2579. return file_filer_proto_rawDescData
  2580. }
  2581. var file_filer_proto_msgTypes = make([]protoimpl.MessageInfo, 42)
  2582. var file_filer_proto_goTypes = []interface{}{
  2583. (*LookupDirectoryEntryRequest)(nil), // 0: filer_pb.LookupDirectoryEntryRequest
  2584. (*LookupDirectoryEntryResponse)(nil), // 1: filer_pb.LookupDirectoryEntryResponse
  2585. (*ListEntriesRequest)(nil), // 2: filer_pb.ListEntriesRequest
  2586. (*ListEntriesResponse)(nil), // 3: filer_pb.ListEntriesResponse
  2587. (*Entry)(nil), // 4: filer_pb.Entry
  2588. (*FullEntry)(nil), // 5: filer_pb.FullEntry
  2589. (*EventNotification)(nil), // 6: filer_pb.EventNotification
  2590. (*FileChunk)(nil), // 7: filer_pb.FileChunk
  2591. (*FileId)(nil), // 8: filer_pb.FileId
  2592. (*FuseAttributes)(nil), // 9: filer_pb.FuseAttributes
  2593. (*CreateEntryRequest)(nil), // 10: filer_pb.CreateEntryRequest
  2594. (*CreateEntryResponse)(nil), // 11: filer_pb.CreateEntryResponse
  2595. (*UpdateEntryRequest)(nil), // 12: filer_pb.UpdateEntryRequest
  2596. (*UpdateEntryResponse)(nil), // 13: filer_pb.UpdateEntryResponse
  2597. (*AppendToEntryRequest)(nil), // 14: filer_pb.AppendToEntryRequest
  2598. (*AppendToEntryResponse)(nil), // 15: filer_pb.AppendToEntryResponse
  2599. (*DeleteEntryRequest)(nil), // 16: filer_pb.DeleteEntryRequest
  2600. (*DeleteEntryResponse)(nil), // 17: filer_pb.DeleteEntryResponse
  2601. (*AtomicRenameEntryRequest)(nil), // 18: filer_pb.AtomicRenameEntryRequest
  2602. (*AtomicRenameEntryResponse)(nil), // 19: filer_pb.AtomicRenameEntryResponse
  2603. (*AssignVolumeRequest)(nil), // 20: filer_pb.AssignVolumeRequest
  2604. (*AssignVolumeResponse)(nil), // 21: filer_pb.AssignVolumeResponse
  2605. (*LookupVolumeRequest)(nil), // 22: filer_pb.LookupVolumeRequest
  2606. (*Locations)(nil), // 23: filer_pb.Locations
  2607. (*Location)(nil), // 24: filer_pb.Location
  2608. (*LookupVolumeResponse)(nil), // 25: filer_pb.LookupVolumeResponse
  2609. (*DeleteCollectionRequest)(nil), // 26: filer_pb.DeleteCollectionRequest
  2610. (*DeleteCollectionResponse)(nil), // 27: filer_pb.DeleteCollectionResponse
  2611. (*StatisticsRequest)(nil), // 28: filer_pb.StatisticsRequest
  2612. (*StatisticsResponse)(nil), // 29: filer_pb.StatisticsResponse
  2613. (*GetFilerConfigurationRequest)(nil), // 30: filer_pb.GetFilerConfigurationRequest
  2614. (*GetFilerConfigurationResponse)(nil), // 31: filer_pb.GetFilerConfigurationResponse
  2615. (*SubscribeMetadataRequest)(nil), // 32: filer_pb.SubscribeMetadataRequest
  2616. (*SubscribeMetadataResponse)(nil), // 33: filer_pb.SubscribeMetadataResponse
  2617. (*LogEntry)(nil), // 34: filer_pb.LogEntry
  2618. (*KeepConnectedRequest)(nil), // 35: filer_pb.KeepConnectedRequest
  2619. (*KeepConnectedResponse)(nil), // 36: filer_pb.KeepConnectedResponse
  2620. (*LocateBrokerRequest)(nil), // 37: filer_pb.LocateBrokerRequest
  2621. (*LocateBrokerResponse)(nil), // 38: filer_pb.LocateBrokerResponse
  2622. nil, // 39: filer_pb.Entry.ExtendedEntry
  2623. nil, // 40: filer_pb.LookupVolumeResponse.LocationsMapEntry
  2624. (*LocateBrokerResponse_Resource)(nil), // 41: filer_pb.LocateBrokerResponse.Resource
  2625. }
  2626. var file_filer_proto_depIdxs = []int32{
  2627. 4, // 0: filer_pb.LookupDirectoryEntryResponse.entry:type_name -> filer_pb.Entry
  2628. 4, // 1: filer_pb.ListEntriesResponse.entry:type_name -> filer_pb.Entry
  2629. 7, // 2: filer_pb.Entry.chunks:type_name -> filer_pb.FileChunk
  2630. 9, // 3: filer_pb.Entry.attributes:type_name -> filer_pb.FuseAttributes
  2631. 39, // 4: filer_pb.Entry.extended:type_name -> filer_pb.Entry.ExtendedEntry
  2632. 4, // 5: filer_pb.FullEntry.entry:type_name -> filer_pb.Entry
  2633. 4, // 6: filer_pb.EventNotification.old_entry:type_name -> filer_pb.Entry
  2634. 4, // 7: filer_pb.EventNotification.new_entry:type_name -> filer_pb.Entry
  2635. 8, // 8: filer_pb.FileChunk.fid:type_name -> filer_pb.FileId
  2636. 8, // 9: filer_pb.FileChunk.source_fid:type_name -> filer_pb.FileId
  2637. 4, // 10: filer_pb.CreateEntryRequest.entry:type_name -> filer_pb.Entry
  2638. 4, // 11: filer_pb.UpdateEntryRequest.entry:type_name -> filer_pb.Entry
  2639. 7, // 12: filer_pb.AppendToEntryRequest.chunks:type_name -> filer_pb.FileChunk
  2640. 24, // 13: filer_pb.Locations.locations:type_name -> filer_pb.Location
  2641. 40, // 14: filer_pb.LookupVolumeResponse.locations_map:type_name -> filer_pb.LookupVolumeResponse.LocationsMapEntry
  2642. 6, // 15: filer_pb.SubscribeMetadataResponse.event_notification:type_name -> filer_pb.EventNotification
  2643. 41, // 16: filer_pb.LocateBrokerResponse.resources:type_name -> filer_pb.LocateBrokerResponse.Resource
  2644. 23, // 17: filer_pb.LookupVolumeResponse.LocationsMapEntry.value:type_name -> filer_pb.Locations
  2645. 0, // 18: filer_pb.SeaweedFiler.LookupDirectoryEntry:input_type -> filer_pb.LookupDirectoryEntryRequest
  2646. 2, // 19: filer_pb.SeaweedFiler.ListEntries:input_type -> filer_pb.ListEntriesRequest
  2647. 10, // 20: filer_pb.SeaweedFiler.CreateEntry:input_type -> filer_pb.CreateEntryRequest
  2648. 12, // 21: filer_pb.SeaweedFiler.UpdateEntry:input_type -> filer_pb.UpdateEntryRequest
  2649. 14, // 22: filer_pb.SeaweedFiler.AppendToEntry:input_type -> filer_pb.AppendToEntryRequest
  2650. 16, // 23: filer_pb.SeaweedFiler.DeleteEntry:input_type -> filer_pb.DeleteEntryRequest
  2651. 18, // 24: filer_pb.SeaweedFiler.AtomicRenameEntry:input_type -> filer_pb.AtomicRenameEntryRequest
  2652. 20, // 25: filer_pb.SeaweedFiler.AssignVolume:input_type -> filer_pb.AssignVolumeRequest
  2653. 22, // 26: filer_pb.SeaweedFiler.LookupVolume:input_type -> filer_pb.LookupVolumeRequest
  2654. 26, // 27: filer_pb.SeaweedFiler.DeleteCollection:input_type -> filer_pb.DeleteCollectionRequest
  2655. 28, // 28: filer_pb.SeaweedFiler.Statistics:input_type -> filer_pb.StatisticsRequest
  2656. 30, // 29: filer_pb.SeaweedFiler.GetFilerConfiguration:input_type -> filer_pb.GetFilerConfigurationRequest
  2657. 32, // 30: filer_pb.SeaweedFiler.SubscribeMetadata:input_type -> filer_pb.SubscribeMetadataRequest
  2658. 35, // 31: filer_pb.SeaweedFiler.KeepConnected:input_type -> filer_pb.KeepConnectedRequest
  2659. 37, // 32: filer_pb.SeaweedFiler.LocateBroker:input_type -> filer_pb.LocateBrokerRequest
  2660. 1, // 33: filer_pb.SeaweedFiler.LookupDirectoryEntry:output_type -> filer_pb.LookupDirectoryEntryResponse
  2661. 3, // 34: filer_pb.SeaweedFiler.ListEntries:output_type -> filer_pb.ListEntriesResponse
  2662. 11, // 35: filer_pb.SeaweedFiler.CreateEntry:output_type -> filer_pb.CreateEntryResponse
  2663. 13, // 36: filer_pb.SeaweedFiler.UpdateEntry:output_type -> filer_pb.UpdateEntryResponse
  2664. 15, // 37: filer_pb.SeaweedFiler.AppendToEntry:output_type -> filer_pb.AppendToEntryResponse
  2665. 17, // 38: filer_pb.SeaweedFiler.DeleteEntry:output_type -> filer_pb.DeleteEntryResponse
  2666. 19, // 39: filer_pb.SeaweedFiler.AtomicRenameEntry:output_type -> filer_pb.AtomicRenameEntryResponse
  2667. 21, // 40: filer_pb.SeaweedFiler.AssignVolume:output_type -> filer_pb.AssignVolumeResponse
  2668. 25, // 41: filer_pb.SeaweedFiler.LookupVolume:output_type -> filer_pb.LookupVolumeResponse
  2669. 27, // 42: filer_pb.SeaweedFiler.DeleteCollection:output_type -> filer_pb.DeleteCollectionResponse
  2670. 29, // 43: filer_pb.SeaweedFiler.Statistics:output_type -> filer_pb.StatisticsResponse
  2671. 31, // 44: filer_pb.SeaweedFiler.GetFilerConfiguration:output_type -> filer_pb.GetFilerConfigurationResponse
  2672. 33, // 45: filer_pb.SeaweedFiler.SubscribeMetadata:output_type -> filer_pb.SubscribeMetadataResponse
  2673. 36, // 46: filer_pb.SeaweedFiler.KeepConnected:output_type -> filer_pb.KeepConnectedResponse
  2674. 38, // 47: filer_pb.SeaweedFiler.LocateBroker:output_type -> filer_pb.LocateBrokerResponse
  2675. 33, // [33:48] is the sub-list for method output_type
  2676. 18, // [18:33] is the sub-list for method input_type
  2677. 18, // [18:18] is the sub-list for extension type_name
  2678. 18, // [18:18] is the sub-list for extension extendee
  2679. 0, // [0:18] is the sub-list for field type_name
  2680. }
  2681. func init() { file_filer_proto_init() }
  2682. func file_filer_proto_init() {
  2683. if File_filer_proto != nil {
  2684. return
  2685. }
  2686. if !protoimpl.UnsafeEnabled {
  2687. file_filer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2688. switch v := v.(*LookupDirectoryEntryRequest); i {
  2689. case 0:
  2690. return &v.state
  2691. case 1:
  2692. return &v.sizeCache
  2693. case 2:
  2694. return &v.unknownFields
  2695. default:
  2696. return nil
  2697. }
  2698. }
  2699. file_filer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2700. switch v := v.(*LookupDirectoryEntryResponse); i {
  2701. case 0:
  2702. return &v.state
  2703. case 1:
  2704. return &v.sizeCache
  2705. case 2:
  2706. return &v.unknownFields
  2707. default:
  2708. return nil
  2709. }
  2710. }
  2711. file_filer_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2712. switch v := v.(*ListEntriesRequest); i {
  2713. case 0:
  2714. return &v.state
  2715. case 1:
  2716. return &v.sizeCache
  2717. case 2:
  2718. return &v.unknownFields
  2719. default:
  2720. return nil
  2721. }
  2722. }
  2723. file_filer_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2724. switch v := v.(*ListEntriesResponse); i {
  2725. case 0:
  2726. return &v.state
  2727. case 1:
  2728. return &v.sizeCache
  2729. case 2:
  2730. return &v.unknownFields
  2731. default:
  2732. return nil
  2733. }
  2734. }
  2735. file_filer_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2736. switch v := v.(*Entry); i {
  2737. case 0:
  2738. return &v.state
  2739. case 1:
  2740. return &v.sizeCache
  2741. case 2:
  2742. return &v.unknownFields
  2743. default:
  2744. return nil
  2745. }
  2746. }
  2747. file_filer_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2748. switch v := v.(*FullEntry); i {
  2749. case 0:
  2750. return &v.state
  2751. case 1:
  2752. return &v.sizeCache
  2753. case 2:
  2754. return &v.unknownFields
  2755. default:
  2756. return nil
  2757. }
  2758. }
  2759. file_filer_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2760. switch v := v.(*EventNotification); i {
  2761. case 0:
  2762. return &v.state
  2763. case 1:
  2764. return &v.sizeCache
  2765. case 2:
  2766. return &v.unknownFields
  2767. default:
  2768. return nil
  2769. }
  2770. }
  2771. file_filer_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2772. switch v := v.(*FileChunk); i {
  2773. case 0:
  2774. return &v.state
  2775. case 1:
  2776. return &v.sizeCache
  2777. case 2:
  2778. return &v.unknownFields
  2779. default:
  2780. return nil
  2781. }
  2782. }
  2783. file_filer_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2784. switch v := v.(*FileId); i {
  2785. case 0:
  2786. return &v.state
  2787. case 1:
  2788. return &v.sizeCache
  2789. case 2:
  2790. return &v.unknownFields
  2791. default:
  2792. return nil
  2793. }
  2794. }
  2795. file_filer_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2796. switch v := v.(*FuseAttributes); i {
  2797. case 0:
  2798. return &v.state
  2799. case 1:
  2800. return &v.sizeCache
  2801. case 2:
  2802. return &v.unknownFields
  2803. default:
  2804. return nil
  2805. }
  2806. }
  2807. file_filer_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2808. switch v := v.(*CreateEntryRequest); i {
  2809. case 0:
  2810. return &v.state
  2811. case 1:
  2812. return &v.sizeCache
  2813. case 2:
  2814. return &v.unknownFields
  2815. default:
  2816. return nil
  2817. }
  2818. }
  2819. file_filer_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2820. switch v := v.(*CreateEntryResponse); i {
  2821. case 0:
  2822. return &v.state
  2823. case 1:
  2824. return &v.sizeCache
  2825. case 2:
  2826. return &v.unknownFields
  2827. default:
  2828. return nil
  2829. }
  2830. }
  2831. file_filer_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2832. switch v := v.(*UpdateEntryRequest); i {
  2833. case 0:
  2834. return &v.state
  2835. case 1:
  2836. return &v.sizeCache
  2837. case 2:
  2838. return &v.unknownFields
  2839. default:
  2840. return nil
  2841. }
  2842. }
  2843. file_filer_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2844. switch v := v.(*UpdateEntryResponse); i {
  2845. case 0:
  2846. return &v.state
  2847. case 1:
  2848. return &v.sizeCache
  2849. case 2:
  2850. return &v.unknownFields
  2851. default:
  2852. return nil
  2853. }
  2854. }
  2855. file_filer_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2856. switch v := v.(*AppendToEntryRequest); i {
  2857. case 0:
  2858. return &v.state
  2859. case 1:
  2860. return &v.sizeCache
  2861. case 2:
  2862. return &v.unknownFields
  2863. default:
  2864. return nil
  2865. }
  2866. }
  2867. file_filer_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2868. switch v := v.(*AppendToEntryResponse); i {
  2869. case 0:
  2870. return &v.state
  2871. case 1:
  2872. return &v.sizeCache
  2873. case 2:
  2874. return &v.unknownFields
  2875. default:
  2876. return nil
  2877. }
  2878. }
  2879. file_filer_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2880. switch v := v.(*DeleteEntryRequest); i {
  2881. case 0:
  2882. return &v.state
  2883. case 1:
  2884. return &v.sizeCache
  2885. case 2:
  2886. return &v.unknownFields
  2887. default:
  2888. return nil
  2889. }
  2890. }
  2891. file_filer_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2892. switch v := v.(*DeleteEntryResponse); i {
  2893. case 0:
  2894. return &v.state
  2895. case 1:
  2896. return &v.sizeCache
  2897. case 2:
  2898. return &v.unknownFields
  2899. default:
  2900. return nil
  2901. }
  2902. }
  2903. file_filer_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2904. switch v := v.(*AtomicRenameEntryRequest); i {
  2905. case 0:
  2906. return &v.state
  2907. case 1:
  2908. return &v.sizeCache
  2909. case 2:
  2910. return &v.unknownFields
  2911. default:
  2912. return nil
  2913. }
  2914. }
  2915. file_filer_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2916. switch v := v.(*AtomicRenameEntryResponse); i {
  2917. case 0:
  2918. return &v.state
  2919. case 1:
  2920. return &v.sizeCache
  2921. case 2:
  2922. return &v.unknownFields
  2923. default:
  2924. return nil
  2925. }
  2926. }
  2927. file_filer_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2928. switch v := v.(*AssignVolumeRequest); i {
  2929. case 0:
  2930. return &v.state
  2931. case 1:
  2932. return &v.sizeCache
  2933. case 2:
  2934. return &v.unknownFields
  2935. default:
  2936. return nil
  2937. }
  2938. }
  2939. file_filer_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2940. switch v := v.(*AssignVolumeResponse); i {
  2941. case 0:
  2942. return &v.state
  2943. case 1:
  2944. return &v.sizeCache
  2945. case 2:
  2946. return &v.unknownFields
  2947. default:
  2948. return nil
  2949. }
  2950. }
  2951. file_filer_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2952. switch v := v.(*LookupVolumeRequest); i {
  2953. case 0:
  2954. return &v.state
  2955. case 1:
  2956. return &v.sizeCache
  2957. case 2:
  2958. return &v.unknownFields
  2959. default:
  2960. return nil
  2961. }
  2962. }
  2963. file_filer_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2964. switch v := v.(*Locations); i {
  2965. case 0:
  2966. return &v.state
  2967. case 1:
  2968. return &v.sizeCache
  2969. case 2:
  2970. return &v.unknownFields
  2971. default:
  2972. return nil
  2973. }
  2974. }
  2975. file_filer_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2976. switch v := v.(*Location); i {
  2977. case 0:
  2978. return &v.state
  2979. case 1:
  2980. return &v.sizeCache
  2981. case 2:
  2982. return &v.unknownFields
  2983. default:
  2984. return nil
  2985. }
  2986. }
  2987. file_filer_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  2988. switch v := v.(*LookupVolumeResponse); i {
  2989. case 0:
  2990. return &v.state
  2991. case 1:
  2992. return &v.sizeCache
  2993. case 2:
  2994. return &v.unknownFields
  2995. default:
  2996. return nil
  2997. }
  2998. }
  2999. file_filer_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  3000. switch v := v.(*DeleteCollectionRequest); i {
  3001. case 0:
  3002. return &v.state
  3003. case 1:
  3004. return &v.sizeCache
  3005. case 2:
  3006. return &v.unknownFields
  3007. default:
  3008. return nil
  3009. }
  3010. }
  3011. file_filer_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  3012. switch v := v.(*DeleteCollectionResponse); i {
  3013. case 0:
  3014. return &v.state
  3015. case 1:
  3016. return &v.sizeCache
  3017. case 2:
  3018. return &v.unknownFields
  3019. default:
  3020. return nil
  3021. }
  3022. }
  3023. file_filer_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
  3024. switch v := v.(*StatisticsRequest); i {
  3025. case 0:
  3026. return &v.state
  3027. case 1:
  3028. return &v.sizeCache
  3029. case 2:
  3030. return &v.unknownFields
  3031. default:
  3032. return nil
  3033. }
  3034. }
  3035. file_filer_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
  3036. switch v := v.(*StatisticsResponse); i {
  3037. case 0:
  3038. return &v.state
  3039. case 1:
  3040. return &v.sizeCache
  3041. case 2:
  3042. return &v.unknownFields
  3043. default:
  3044. return nil
  3045. }
  3046. }
  3047. file_filer_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
  3048. switch v := v.(*GetFilerConfigurationRequest); i {
  3049. case 0:
  3050. return &v.state
  3051. case 1:
  3052. return &v.sizeCache
  3053. case 2:
  3054. return &v.unknownFields
  3055. default:
  3056. return nil
  3057. }
  3058. }
  3059. file_filer_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
  3060. switch v := v.(*GetFilerConfigurationResponse); i {
  3061. case 0:
  3062. return &v.state
  3063. case 1:
  3064. return &v.sizeCache
  3065. case 2:
  3066. return &v.unknownFields
  3067. default:
  3068. return nil
  3069. }
  3070. }
  3071. file_filer_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
  3072. switch v := v.(*SubscribeMetadataRequest); i {
  3073. case 0:
  3074. return &v.state
  3075. case 1:
  3076. return &v.sizeCache
  3077. case 2:
  3078. return &v.unknownFields
  3079. default:
  3080. return nil
  3081. }
  3082. }
  3083. file_filer_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
  3084. switch v := v.(*SubscribeMetadataResponse); i {
  3085. case 0:
  3086. return &v.state
  3087. case 1:
  3088. return &v.sizeCache
  3089. case 2:
  3090. return &v.unknownFields
  3091. default:
  3092. return nil
  3093. }
  3094. }
  3095. file_filer_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
  3096. switch v := v.(*LogEntry); i {
  3097. case 0:
  3098. return &v.state
  3099. case 1:
  3100. return &v.sizeCache
  3101. case 2:
  3102. return &v.unknownFields
  3103. default:
  3104. return nil
  3105. }
  3106. }
  3107. file_filer_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
  3108. switch v := v.(*KeepConnectedRequest); i {
  3109. case 0:
  3110. return &v.state
  3111. case 1:
  3112. return &v.sizeCache
  3113. case 2:
  3114. return &v.unknownFields
  3115. default:
  3116. return nil
  3117. }
  3118. }
  3119. file_filer_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
  3120. switch v := v.(*KeepConnectedResponse); i {
  3121. case 0:
  3122. return &v.state
  3123. case 1:
  3124. return &v.sizeCache
  3125. case 2:
  3126. return &v.unknownFields
  3127. default:
  3128. return nil
  3129. }
  3130. }
  3131. file_filer_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
  3132. switch v := v.(*LocateBrokerRequest); i {
  3133. case 0:
  3134. return &v.state
  3135. case 1:
  3136. return &v.sizeCache
  3137. case 2:
  3138. return &v.unknownFields
  3139. default:
  3140. return nil
  3141. }
  3142. }
  3143. file_filer_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
  3144. switch v := v.(*LocateBrokerResponse); i {
  3145. case 0:
  3146. return &v.state
  3147. case 1:
  3148. return &v.sizeCache
  3149. case 2:
  3150. return &v.unknownFields
  3151. default:
  3152. return nil
  3153. }
  3154. }
  3155. file_filer_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
  3156. switch v := v.(*LocateBrokerResponse_Resource); i {
  3157. case 0:
  3158. return &v.state
  3159. case 1:
  3160. return &v.sizeCache
  3161. case 2:
  3162. return &v.unknownFields
  3163. default:
  3164. return nil
  3165. }
  3166. }
  3167. }
  3168. type x struct{}
  3169. out := protoimpl.TypeBuilder{
  3170. File: protoimpl.DescBuilder{
  3171. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  3172. RawDescriptor: file_filer_proto_rawDesc,
  3173. NumEnums: 0,
  3174. NumMessages: 42,
  3175. NumExtensions: 0,
  3176. NumServices: 1,
  3177. },
  3178. GoTypes: file_filer_proto_goTypes,
  3179. DependencyIndexes: file_filer_proto_depIdxs,
  3180. MessageInfos: file_filer_proto_msgTypes,
  3181. }.Build()
  3182. File_filer_proto = out.File
  3183. file_filer_proto_rawDesc = nil
  3184. file_filer_proto_goTypes = nil
  3185. file_filer_proto_depIdxs = nil
  3186. }
  3187. // Reference imports to suppress errors if they are not otherwise used.
  3188. var _ context.Context
  3189. var _ grpc.ClientConnInterface
  3190. // This is a compile-time assertion to ensure that this generated file
  3191. // is compatible with the grpc package it is being compiled against.
  3192. const _ = grpc.SupportPackageIsVersion6
  3193. // SeaweedFilerClient is the client API for SeaweedFiler service.
  3194. //
  3195. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  3196. type SeaweedFilerClient interface {
  3197. LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error)
  3198. ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (SeaweedFiler_ListEntriesClient, error)
  3199. CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error)
  3200. UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error)
  3201. AppendToEntry(ctx context.Context, in *AppendToEntryRequest, opts ...grpc.CallOption) (*AppendToEntryResponse, error)
  3202. DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error)
  3203. AtomicRenameEntry(ctx context.Context, in *AtomicRenameEntryRequest, opts ...grpc.CallOption) (*AtomicRenameEntryResponse, error)
  3204. AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error)
  3205. LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error)
  3206. DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error)
  3207. Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error)
  3208. GetFilerConfiguration(ctx context.Context, in *GetFilerConfigurationRequest, opts ...grpc.CallOption) (*GetFilerConfigurationResponse, error)
  3209. SubscribeMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeMetadataClient, error)
  3210. KeepConnected(ctx context.Context, opts ...grpc.CallOption) (SeaweedFiler_KeepConnectedClient, error)
  3211. LocateBroker(ctx context.Context, in *LocateBrokerRequest, opts ...grpc.CallOption) (*LocateBrokerResponse, error)
  3212. }
  3213. type seaweedFilerClient struct {
  3214. cc grpc.ClientConnInterface
  3215. }
  3216. func NewSeaweedFilerClient(cc grpc.ClientConnInterface) SeaweedFilerClient {
  3217. return &seaweedFilerClient{cc}
  3218. }
  3219. func (c *seaweedFilerClient) LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error) {
  3220. out := new(LookupDirectoryEntryResponse)
  3221. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupDirectoryEntry", in, out, opts...)
  3222. if err != nil {
  3223. return nil, err
  3224. }
  3225. return out, nil
  3226. }
  3227. func (c *seaweedFilerClient) ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (SeaweedFiler_ListEntriesClient, error) {
  3228. stream, err := c.cc.NewStream(ctx, &_SeaweedFiler_serviceDesc.Streams[0], "/filer_pb.SeaweedFiler/ListEntries", opts...)
  3229. if err != nil {
  3230. return nil, err
  3231. }
  3232. x := &seaweedFilerListEntriesClient{stream}
  3233. if err := x.ClientStream.SendMsg(in); err != nil {
  3234. return nil, err
  3235. }
  3236. if err := x.ClientStream.CloseSend(); err != nil {
  3237. return nil, err
  3238. }
  3239. return x, nil
  3240. }
  3241. type SeaweedFiler_ListEntriesClient interface {
  3242. Recv() (*ListEntriesResponse, error)
  3243. grpc.ClientStream
  3244. }
  3245. type seaweedFilerListEntriesClient struct {
  3246. grpc.ClientStream
  3247. }
  3248. func (x *seaweedFilerListEntriesClient) Recv() (*ListEntriesResponse, error) {
  3249. m := new(ListEntriesResponse)
  3250. if err := x.ClientStream.RecvMsg(m); err != nil {
  3251. return nil, err
  3252. }
  3253. return m, nil
  3254. }
  3255. func (c *seaweedFilerClient) CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error) {
  3256. out := new(CreateEntryResponse)
  3257. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/CreateEntry", in, out, opts...)
  3258. if err != nil {
  3259. return nil, err
  3260. }
  3261. return out, nil
  3262. }
  3263. func (c *seaweedFilerClient) UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error) {
  3264. out := new(UpdateEntryResponse)
  3265. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/UpdateEntry", in, out, opts...)
  3266. if err != nil {
  3267. return nil, err
  3268. }
  3269. return out, nil
  3270. }
  3271. func (c *seaweedFilerClient) AppendToEntry(ctx context.Context, in *AppendToEntryRequest, opts ...grpc.CallOption) (*AppendToEntryResponse, error) {
  3272. out := new(AppendToEntryResponse)
  3273. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/AppendToEntry", in, out, opts...)
  3274. if err != nil {
  3275. return nil, err
  3276. }
  3277. return out, nil
  3278. }
  3279. func (c *seaweedFilerClient) DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error) {
  3280. out := new(DeleteEntryResponse)
  3281. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteEntry", in, out, opts...)
  3282. if err != nil {
  3283. return nil, err
  3284. }
  3285. return out, nil
  3286. }
  3287. func (c *seaweedFilerClient) AtomicRenameEntry(ctx context.Context, in *AtomicRenameEntryRequest, opts ...grpc.CallOption) (*AtomicRenameEntryResponse, error) {
  3288. out := new(AtomicRenameEntryResponse)
  3289. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/AtomicRenameEntry", in, out, opts...)
  3290. if err != nil {
  3291. return nil, err
  3292. }
  3293. return out, nil
  3294. }
  3295. func (c *seaweedFilerClient) AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error) {
  3296. out := new(AssignVolumeResponse)
  3297. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/AssignVolume", in, out, opts...)
  3298. if err != nil {
  3299. return nil, err
  3300. }
  3301. return out, nil
  3302. }
  3303. func (c *seaweedFilerClient) LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error) {
  3304. out := new(LookupVolumeResponse)
  3305. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupVolume", in, out, opts...)
  3306. if err != nil {
  3307. return nil, err
  3308. }
  3309. return out, nil
  3310. }
  3311. func (c *seaweedFilerClient) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) {
  3312. out := new(DeleteCollectionResponse)
  3313. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteCollection", in, out, opts...)
  3314. if err != nil {
  3315. return nil, err
  3316. }
  3317. return out, nil
  3318. }
  3319. func (c *seaweedFilerClient) Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error) {
  3320. out := new(StatisticsResponse)
  3321. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/Statistics", in, out, opts...)
  3322. if err != nil {
  3323. return nil, err
  3324. }
  3325. return out, nil
  3326. }
  3327. func (c *seaweedFilerClient) GetFilerConfiguration(ctx context.Context, in *GetFilerConfigurationRequest, opts ...grpc.CallOption) (*GetFilerConfigurationResponse, error) {
  3328. out := new(GetFilerConfigurationResponse)
  3329. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/GetFilerConfiguration", in, out, opts...)
  3330. if err != nil {
  3331. return nil, err
  3332. }
  3333. return out, nil
  3334. }
  3335. func (c *seaweedFilerClient) SubscribeMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeMetadataClient, error) {
  3336. stream, err := c.cc.NewStream(ctx, &_SeaweedFiler_serviceDesc.Streams[1], "/filer_pb.SeaweedFiler/SubscribeMetadata", opts...)
  3337. if err != nil {
  3338. return nil, err
  3339. }
  3340. x := &seaweedFilerSubscribeMetadataClient{stream}
  3341. if err := x.ClientStream.SendMsg(in); err != nil {
  3342. return nil, err
  3343. }
  3344. if err := x.ClientStream.CloseSend(); err != nil {
  3345. return nil, err
  3346. }
  3347. return x, nil
  3348. }
  3349. type SeaweedFiler_SubscribeMetadataClient interface {
  3350. Recv() (*SubscribeMetadataResponse, error)
  3351. grpc.ClientStream
  3352. }
  3353. type seaweedFilerSubscribeMetadataClient struct {
  3354. grpc.ClientStream
  3355. }
  3356. func (x *seaweedFilerSubscribeMetadataClient) Recv() (*SubscribeMetadataResponse, error) {
  3357. m := new(SubscribeMetadataResponse)
  3358. if err := x.ClientStream.RecvMsg(m); err != nil {
  3359. return nil, err
  3360. }
  3361. return m, nil
  3362. }
  3363. func (c *seaweedFilerClient) KeepConnected(ctx context.Context, opts ...grpc.CallOption) (SeaweedFiler_KeepConnectedClient, error) {
  3364. stream, err := c.cc.NewStream(ctx, &_SeaweedFiler_serviceDesc.Streams[2], "/filer_pb.SeaweedFiler/KeepConnected", opts...)
  3365. if err != nil {
  3366. return nil, err
  3367. }
  3368. x := &seaweedFilerKeepConnectedClient{stream}
  3369. return x, nil
  3370. }
  3371. type SeaweedFiler_KeepConnectedClient interface {
  3372. Send(*KeepConnectedRequest) error
  3373. Recv() (*KeepConnectedResponse, error)
  3374. grpc.ClientStream
  3375. }
  3376. type seaweedFilerKeepConnectedClient struct {
  3377. grpc.ClientStream
  3378. }
  3379. func (x *seaweedFilerKeepConnectedClient) Send(m *KeepConnectedRequest) error {
  3380. return x.ClientStream.SendMsg(m)
  3381. }
  3382. func (x *seaweedFilerKeepConnectedClient) Recv() (*KeepConnectedResponse, error) {
  3383. m := new(KeepConnectedResponse)
  3384. if err := x.ClientStream.RecvMsg(m); err != nil {
  3385. return nil, err
  3386. }
  3387. return m, nil
  3388. }
  3389. func (c *seaweedFilerClient) LocateBroker(ctx context.Context, in *LocateBrokerRequest, opts ...grpc.CallOption) (*LocateBrokerResponse, error) {
  3390. out := new(LocateBrokerResponse)
  3391. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/LocateBroker", in, out, opts...)
  3392. if err != nil {
  3393. return nil, err
  3394. }
  3395. return out, nil
  3396. }
  3397. // SeaweedFilerServer is the server API for SeaweedFiler service.
  3398. type SeaweedFilerServer interface {
  3399. LookupDirectoryEntry(context.Context, *LookupDirectoryEntryRequest) (*LookupDirectoryEntryResponse, error)
  3400. ListEntries(*ListEntriesRequest, SeaweedFiler_ListEntriesServer) error
  3401. CreateEntry(context.Context, *CreateEntryRequest) (*CreateEntryResponse, error)
  3402. UpdateEntry(context.Context, *UpdateEntryRequest) (*UpdateEntryResponse, error)
  3403. AppendToEntry(context.Context, *AppendToEntryRequest) (*AppendToEntryResponse, error)
  3404. DeleteEntry(context.Context, *DeleteEntryRequest) (*DeleteEntryResponse, error)
  3405. AtomicRenameEntry(context.Context, *AtomicRenameEntryRequest) (*AtomicRenameEntryResponse, error)
  3406. AssignVolume(context.Context, *AssignVolumeRequest) (*AssignVolumeResponse, error)
  3407. LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error)
  3408. DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
  3409. Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error)
  3410. GetFilerConfiguration(context.Context, *GetFilerConfigurationRequest) (*GetFilerConfigurationResponse, error)
  3411. SubscribeMetadata(*SubscribeMetadataRequest, SeaweedFiler_SubscribeMetadataServer) error
  3412. KeepConnected(SeaweedFiler_KeepConnectedServer) error
  3413. LocateBroker(context.Context, *LocateBrokerRequest) (*LocateBrokerResponse, error)
  3414. }
  3415. // UnimplementedSeaweedFilerServer can be embedded to have forward compatible implementations.
  3416. type UnimplementedSeaweedFilerServer struct {
  3417. }
  3418. func (*UnimplementedSeaweedFilerServer) LookupDirectoryEntry(context.Context, *LookupDirectoryEntryRequest) (*LookupDirectoryEntryResponse, error) {
  3419. return nil, status.Errorf(codes.Unimplemented, "method LookupDirectoryEntry not implemented")
  3420. }
  3421. func (*UnimplementedSeaweedFilerServer) ListEntries(*ListEntriesRequest, SeaweedFiler_ListEntriesServer) error {
  3422. return status.Errorf(codes.Unimplemented, "method ListEntries not implemented")
  3423. }
  3424. func (*UnimplementedSeaweedFilerServer) CreateEntry(context.Context, *CreateEntryRequest) (*CreateEntryResponse, error) {
  3425. return nil, status.Errorf(codes.Unimplemented, "method CreateEntry not implemented")
  3426. }
  3427. func (*UnimplementedSeaweedFilerServer) UpdateEntry(context.Context, *UpdateEntryRequest) (*UpdateEntryResponse, error) {
  3428. return nil, status.Errorf(codes.Unimplemented, "method UpdateEntry not implemented")
  3429. }
  3430. func (*UnimplementedSeaweedFilerServer) AppendToEntry(context.Context, *AppendToEntryRequest) (*AppendToEntryResponse, error) {
  3431. return nil, status.Errorf(codes.Unimplemented, "method AppendToEntry not implemented")
  3432. }
  3433. func (*UnimplementedSeaweedFilerServer) DeleteEntry(context.Context, *DeleteEntryRequest) (*DeleteEntryResponse, error) {
  3434. return nil, status.Errorf(codes.Unimplemented, "method DeleteEntry not implemented")
  3435. }
  3436. func (*UnimplementedSeaweedFilerServer) AtomicRenameEntry(context.Context, *AtomicRenameEntryRequest) (*AtomicRenameEntryResponse, error) {
  3437. return nil, status.Errorf(codes.Unimplemented, "method AtomicRenameEntry not implemented")
  3438. }
  3439. func (*UnimplementedSeaweedFilerServer) AssignVolume(context.Context, *AssignVolumeRequest) (*AssignVolumeResponse, error) {
  3440. return nil, status.Errorf(codes.Unimplemented, "method AssignVolume not implemented")
  3441. }
  3442. func (*UnimplementedSeaweedFilerServer) LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error) {
  3443. return nil, status.Errorf(codes.Unimplemented, "method LookupVolume not implemented")
  3444. }
  3445. func (*UnimplementedSeaweedFilerServer) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error) {
  3446. return nil, status.Errorf(codes.Unimplemented, "method DeleteCollection not implemented")
  3447. }
  3448. func (*UnimplementedSeaweedFilerServer) Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error) {
  3449. return nil, status.Errorf(codes.Unimplemented, "method Statistics not implemented")
  3450. }
  3451. func (*UnimplementedSeaweedFilerServer) GetFilerConfiguration(context.Context, *GetFilerConfigurationRequest) (*GetFilerConfigurationResponse, error) {
  3452. return nil, status.Errorf(codes.Unimplemented, "method GetFilerConfiguration not implemented")
  3453. }
  3454. func (*UnimplementedSeaweedFilerServer) SubscribeMetadata(*SubscribeMetadataRequest, SeaweedFiler_SubscribeMetadataServer) error {
  3455. return status.Errorf(codes.Unimplemented, "method SubscribeMetadata not implemented")
  3456. }
  3457. func (*UnimplementedSeaweedFilerServer) KeepConnected(SeaweedFiler_KeepConnectedServer) error {
  3458. return status.Errorf(codes.Unimplemented, "method KeepConnected not implemented")
  3459. }
  3460. func (*UnimplementedSeaweedFilerServer) LocateBroker(context.Context, *LocateBrokerRequest) (*LocateBrokerResponse, error) {
  3461. return nil, status.Errorf(codes.Unimplemented, "method LocateBroker not implemented")
  3462. }
  3463. func RegisterSeaweedFilerServer(s *grpc.Server, srv SeaweedFilerServer) {
  3464. s.RegisterService(&_SeaweedFiler_serviceDesc, srv)
  3465. }
  3466. func _SeaweedFiler_LookupDirectoryEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3467. in := new(LookupDirectoryEntryRequest)
  3468. if err := dec(in); err != nil {
  3469. return nil, err
  3470. }
  3471. if interceptor == nil {
  3472. return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, in)
  3473. }
  3474. info := &grpc.UnaryServerInfo{
  3475. Server: srv,
  3476. FullMethod: "/filer_pb.SeaweedFiler/LookupDirectoryEntry",
  3477. }
  3478. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3479. return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, req.(*LookupDirectoryEntryRequest))
  3480. }
  3481. return interceptor(ctx, in, info, handler)
  3482. }
  3483. func _SeaweedFiler_ListEntries_Handler(srv interface{}, stream grpc.ServerStream) error {
  3484. m := new(ListEntriesRequest)
  3485. if err := stream.RecvMsg(m); err != nil {
  3486. return err
  3487. }
  3488. return srv.(SeaweedFilerServer).ListEntries(m, &seaweedFilerListEntriesServer{stream})
  3489. }
  3490. type SeaweedFiler_ListEntriesServer interface {
  3491. Send(*ListEntriesResponse) error
  3492. grpc.ServerStream
  3493. }
  3494. type seaweedFilerListEntriesServer struct {
  3495. grpc.ServerStream
  3496. }
  3497. func (x *seaweedFilerListEntriesServer) Send(m *ListEntriesResponse) error {
  3498. return x.ServerStream.SendMsg(m)
  3499. }
  3500. func _SeaweedFiler_CreateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3501. in := new(CreateEntryRequest)
  3502. if err := dec(in); err != nil {
  3503. return nil, err
  3504. }
  3505. if interceptor == nil {
  3506. return srv.(SeaweedFilerServer).CreateEntry(ctx, in)
  3507. }
  3508. info := &grpc.UnaryServerInfo{
  3509. Server: srv,
  3510. FullMethod: "/filer_pb.SeaweedFiler/CreateEntry",
  3511. }
  3512. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3513. return srv.(SeaweedFilerServer).CreateEntry(ctx, req.(*CreateEntryRequest))
  3514. }
  3515. return interceptor(ctx, in, info, handler)
  3516. }
  3517. func _SeaweedFiler_UpdateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3518. in := new(UpdateEntryRequest)
  3519. if err := dec(in); err != nil {
  3520. return nil, err
  3521. }
  3522. if interceptor == nil {
  3523. return srv.(SeaweedFilerServer).UpdateEntry(ctx, in)
  3524. }
  3525. info := &grpc.UnaryServerInfo{
  3526. Server: srv,
  3527. FullMethod: "/filer_pb.SeaweedFiler/UpdateEntry",
  3528. }
  3529. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3530. return srv.(SeaweedFilerServer).UpdateEntry(ctx, req.(*UpdateEntryRequest))
  3531. }
  3532. return interceptor(ctx, in, info, handler)
  3533. }
  3534. func _SeaweedFiler_AppendToEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3535. in := new(AppendToEntryRequest)
  3536. if err := dec(in); err != nil {
  3537. return nil, err
  3538. }
  3539. if interceptor == nil {
  3540. return srv.(SeaweedFilerServer).AppendToEntry(ctx, in)
  3541. }
  3542. info := &grpc.UnaryServerInfo{
  3543. Server: srv,
  3544. FullMethod: "/filer_pb.SeaweedFiler/AppendToEntry",
  3545. }
  3546. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3547. return srv.(SeaweedFilerServer).AppendToEntry(ctx, req.(*AppendToEntryRequest))
  3548. }
  3549. return interceptor(ctx, in, info, handler)
  3550. }
  3551. func _SeaweedFiler_DeleteEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3552. in := new(DeleteEntryRequest)
  3553. if err := dec(in); err != nil {
  3554. return nil, err
  3555. }
  3556. if interceptor == nil {
  3557. return srv.(SeaweedFilerServer).DeleteEntry(ctx, in)
  3558. }
  3559. info := &grpc.UnaryServerInfo{
  3560. Server: srv,
  3561. FullMethod: "/filer_pb.SeaweedFiler/DeleteEntry",
  3562. }
  3563. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3564. return srv.(SeaweedFilerServer).DeleteEntry(ctx, req.(*DeleteEntryRequest))
  3565. }
  3566. return interceptor(ctx, in, info, handler)
  3567. }
  3568. func _SeaweedFiler_AtomicRenameEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3569. in := new(AtomicRenameEntryRequest)
  3570. if err := dec(in); err != nil {
  3571. return nil, err
  3572. }
  3573. if interceptor == nil {
  3574. return srv.(SeaweedFilerServer).AtomicRenameEntry(ctx, in)
  3575. }
  3576. info := &grpc.UnaryServerInfo{
  3577. Server: srv,
  3578. FullMethod: "/filer_pb.SeaweedFiler/AtomicRenameEntry",
  3579. }
  3580. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3581. return srv.(SeaweedFilerServer).AtomicRenameEntry(ctx, req.(*AtomicRenameEntryRequest))
  3582. }
  3583. return interceptor(ctx, in, info, handler)
  3584. }
  3585. func _SeaweedFiler_AssignVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3586. in := new(AssignVolumeRequest)
  3587. if err := dec(in); err != nil {
  3588. return nil, err
  3589. }
  3590. if interceptor == nil {
  3591. return srv.(SeaweedFilerServer).AssignVolume(ctx, in)
  3592. }
  3593. info := &grpc.UnaryServerInfo{
  3594. Server: srv,
  3595. FullMethod: "/filer_pb.SeaweedFiler/AssignVolume",
  3596. }
  3597. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3598. return srv.(SeaweedFilerServer).AssignVolume(ctx, req.(*AssignVolumeRequest))
  3599. }
  3600. return interceptor(ctx, in, info, handler)
  3601. }
  3602. func _SeaweedFiler_LookupVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3603. in := new(LookupVolumeRequest)
  3604. if err := dec(in); err != nil {
  3605. return nil, err
  3606. }
  3607. if interceptor == nil {
  3608. return srv.(SeaweedFilerServer).LookupVolume(ctx, in)
  3609. }
  3610. info := &grpc.UnaryServerInfo{
  3611. Server: srv,
  3612. FullMethod: "/filer_pb.SeaweedFiler/LookupVolume",
  3613. }
  3614. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3615. return srv.(SeaweedFilerServer).LookupVolume(ctx, req.(*LookupVolumeRequest))
  3616. }
  3617. return interceptor(ctx, in, info, handler)
  3618. }
  3619. func _SeaweedFiler_DeleteCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3620. in := new(DeleteCollectionRequest)
  3621. if err := dec(in); err != nil {
  3622. return nil, err
  3623. }
  3624. if interceptor == nil {
  3625. return srv.(SeaweedFilerServer).DeleteCollection(ctx, in)
  3626. }
  3627. info := &grpc.UnaryServerInfo{
  3628. Server: srv,
  3629. FullMethod: "/filer_pb.SeaweedFiler/DeleteCollection",
  3630. }
  3631. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3632. return srv.(SeaweedFilerServer).DeleteCollection(ctx, req.(*DeleteCollectionRequest))
  3633. }
  3634. return interceptor(ctx, in, info, handler)
  3635. }
  3636. func _SeaweedFiler_Statistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3637. in := new(StatisticsRequest)
  3638. if err := dec(in); err != nil {
  3639. return nil, err
  3640. }
  3641. if interceptor == nil {
  3642. return srv.(SeaweedFilerServer).Statistics(ctx, in)
  3643. }
  3644. info := &grpc.UnaryServerInfo{
  3645. Server: srv,
  3646. FullMethod: "/filer_pb.SeaweedFiler/Statistics",
  3647. }
  3648. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3649. return srv.(SeaweedFilerServer).Statistics(ctx, req.(*StatisticsRequest))
  3650. }
  3651. return interceptor(ctx, in, info, handler)
  3652. }
  3653. func _SeaweedFiler_GetFilerConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3654. in := new(GetFilerConfigurationRequest)
  3655. if err := dec(in); err != nil {
  3656. return nil, err
  3657. }
  3658. if interceptor == nil {
  3659. return srv.(SeaweedFilerServer).GetFilerConfiguration(ctx, in)
  3660. }
  3661. info := &grpc.UnaryServerInfo{
  3662. Server: srv,
  3663. FullMethod: "/filer_pb.SeaweedFiler/GetFilerConfiguration",
  3664. }
  3665. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3666. return srv.(SeaweedFilerServer).GetFilerConfiguration(ctx, req.(*GetFilerConfigurationRequest))
  3667. }
  3668. return interceptor(ctx, in, info, handler)
  3669. }
  3670. func _SeaweedFiler_SubscribeMetadata_Handler(srv interface{}, stream grpc.ServerStream) error {
  3671. m := new(SubscribeMetadataRequest)
  3672. if err := stream.RecvMsg(m); err != nil {
  3673. return err
  3674. }
  3675. return srv.(SeaweedFilerServer).SubscribeMetadata(m, &seaweedFilerSubscribeMetadataServer{stream})
  3676. }
  3677. type SeaweedFiler_SubscribeMetadataServer interface {
  3678. Send(*SubscribeMetadataResponse) error
  3679. grpc.ServerStream
  3680. }
  3681. type seaweedFilerSubscribeMetadataServer struct {
  3682. grpc.ServerStream
  3683. }
  3684. func (x *seaweedFilerSubscribeMetadataServer) Send(m *SubscribeMetadataResponse) error {
  3685. return x.ServerStream.SendMsg(m)
  3686. }
  3687. func _SeaweedFiler_KeepConnected_Handler(srv interface{}, stream grpc.ServerStream) error {
  3688. return srv.(SeaweedFilerServer).KeepConnected(&seaweedFilerKeepConnectedServer{stream})
  3689. }
  3690. type SeaweedFiler_KeepConnectedServer interface {
  3691. Send(*KeepConnectedResponse) error
  3692. Recv() (*KeepConnectedRequest, error)
  3693. grpc.ServerStream
  3694. }
  3695. type seaweedFilerKeepConnectedServer struct {
  3696. grpc.ServerStream
  3697. }
  3698. func (x *seaweedFilerKeepConnectedServer) Send(m *KeepConnectedResponse) error {
  3699. return x.ServerStream.SendMsg(m)
  3700. }
  3701. func (x *seaweedFilerKeepConnectedServer) Recv() (*KeepConnectedRequest, error) {
  3702. m := new(KeepConnectedRequest)
  3703. if err := x.ServerStream.RecvMsg(m); err != nil {
  3704. return nil, err
  3705. }
  3706. return m, nil
  3707. }
  3708. func _SeaweedFiler_LocateBroker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3709. in := new(LocateBrokerRequest)
  3710. if err := dec(in); err != nil {
  3711. return nil, err
  3712. }
  3713. if interceptor == nil {
  3714. return srv.(SeaweedFilerServer).LocateBroker(ctx, in)
  3715. }
  3716. info := &grpc.UnaryServerInfo{
  3717. Server: srv,
  3718. FullMethod: "/filer_pb.SeaweedFiler/LocateBroker",
  3719. }
  3720. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3721. return srv.(SeaweedFilerServer).LocateBroker(ctx, req.(*LocateBrokerRequest))
  3722. }
  3723. return interceptor(ctx, in, info, handler)
  3724. }
  3725. var _SeaweedFiler_serviceDesc = grpc.ServiceDesc{
  3726. ServiceName: "filer_pb.SeaweedFiler",
  3727. HandlerType: (*SeaweedFilerServer)(nil),
  3728. Methods: []grpc.MethodDesc{
  3729. {
  3730. MethodName: "LookupDirectoryEntry",
  3731. Handler: _SeaweedFiler_LookupDirectoryEntry_Handler,
  3732. },
  3733. {
  3734. MethodName: "CreateEntry",
  3735. Handler: _SeaweedFiler_CreateEntry_Handler,
  3736. },
  3737. {
  3738. MethodName: "UpdateEntry",
  3739. Handler: _SeaweedFiler_UpdateEntry_Handler,
  3740. },
  3741. {
  3742. MethodName: "AppendToEntry",
  3743. Handler: _SeaweedFiler_AppendToEntry_Handler,
  3744. },
  3745. {
  3746. MethodName: "DeleteEntry",
  3747. Handler: _SeaweedFiler_DeleteEntry_Handler,
  3748. },
  3749. {
  3750. MethodName: "AtomicRenameEntry",
  3751. Handler: _SeaweedFiler_AtomicRenameEntry_Handler,
  3752. },
  3753. {
  3754. MethodName: "AssignVolume",
  3755. Handler: _SeaweedFiler_AssignVolume_Handler,
  3756. },
  3757. {
  3758. MethodName: "LookupVolume",
  3759. Handler: _SeaweedFiler_LookupVolume_Handler,
  3760. },
  3761. {
  3762. MethodName: "DeleteCollection",
  3763. Handler: _SeaweedFiler_DeleteCollection_Handler,
  3764. },
  3765. {
  3766. MethodName: "Statistics",
  3767. Handler: _SeaweedFiler_Statistics_Handler,
  3768. },
  3769. {
  3770. MethodName: "GetFilerConfiguration",
  3771. Handler: _SeaweedFiler_GetFilerConfiguration_Handler,
  3772. },
  3773. {
  3774. MethodName: "LocateBroker",
  3775. Handler: _SeaweedFiler_LocateBroker_Handler,
  3776. },
  3777. },
  3778. Streams: []grpc.StreamDesc{
  3779. {
  3780. StreamName: "ListEntries",
  3781. Handler: _SeaweedFiler_ListEntries_Handler,
  3782. ServerStreams: true,
  3783. },
  3784. {
  3785. StreamName: "SubscribeMetadata",
  3786. Handler: _SeaweedFiler_SubscribeMetadata_Handler,
  3787. ServerStreams: true,
  3788. },
  3789. {
  3790. StreamName: "KeepConnected",
  3791. Handler: _SeaweedFiler_KeepConnected_Handler,
  3792. ServerStreams: true,
  3793. ClientStreams: true,
  3794. },
  3795. },
  3796. Metadata: "filer.proto",
  3797. }