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.

4334 lines
151 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
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. 0x8d, 0x0b, 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. 0x65, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4c, 0x6f, 0x63, 0x61,
  2554. 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x22, 0x2e, 0x66, 0x69, 0x6c, 0x65,
  2555. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x65,
  2556. 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e,
  2557. 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
  2558. 0x62, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  2559. 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x56, 0x0a, 0x0d, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f,
  2560. 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x1e, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f,
  2561. 0x70, 0x62, 0x2e, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64,
  2562. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f,
  2563. 0x70, 0x62, 0x2e, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64,
  2564. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x4f,
  2565. 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x12, 0x1d,
  2566. 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65,
  2567. 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e,
  2568. 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x42,
  2569. 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42,
  2570. 0x4f, 0x0a, 0x10, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x63, 0x6c, 0x69,
  2571. 0x65, 0x6e, 0x74, 0x42, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a,
  2572. 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x72, 0x69,
  2573. 0x73, 0x6c, 0x75, 0x73, 0x66, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f,
  2574. 0x77, 0x65, 0x65, 0x64, 0x2f, 0x70, 0x62, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62,
  2575. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  2576. }
  2577. var (
  2578. file_filer_proto_rawDescOnce sync.Once
  2579. file_filer_proto_rawDescData = file_filer_proto_rawDesc
  2580. )
  2581. func file_filer_proto_rawDescGZIP() []byte {
  2582. file_filer_proto_rawDescOnce.Do(func() {
  2583. file_filer_proto_rawDescData = protoimpl.X.CompressGZIP(file_filer_proto_rawDescData)
  2584. })
  2585. return file_filer_proto_rawDescData
  2586. }
  2587. var file_filer_proto_msgTypes = make([]protoimpl.MessageInfo, 42)
  2588. var file_filer_proto_goTypes = []interface{}{
  2589. (*LookupDirectoryEntryRequest)(nil), // 0: filer_pb.LookupDirectoryEntryRequest
  2590. (*LookupDirectoryEntryResponse)(nil), // 1: filer_pb.LookupDirectoryEntryResponse
  2591. (*ListEntriesRequest)(nil), // 2: filer_pb.ListEntriesRequest
  2592. (*ListEntriesResponse)(nil), // 3: filer_pb.ListEntriesResponse
  2593. (*Entry)(nil), // 4: filer_pb.Entry
  2594. (*FullEntry)(nil), // 5: filer_pb.FullEntry
  2595. (*EventNotification)(nil), // 6: filer_pb.EventNotification
  2596. (*FileChunk)(nil), // 7: filer_pb.FileChunk
  2597. (*FileId)(nil), // 8: filer_pb.FileId
  2598. (*FuseAttributes)(nil), // 9: filer_pb.FuseAttributes
  2599. (*CreateEntryRequest)(nil), // 10: filer_pb.CreateEntryRequest
  2600. (*CreateEntryResponse)(nil), // 11: filer_pb.CreateEntryResponse
  2601. (*UpdateEntryRequest)(nil), // 12: filer_pb.UpdateEntryRequest
  2602. (*UpdateEntryResponse)(nil), // 13: filer_pb.UpdateEntryResponse
  2603. (*AppendToEntryRequest)(nil), // 14: filer_pb.AppendToEntryRequest
  2604. (*AppendToEntryResponse)(nil), // 15: filer_pb.AppendToEntryResponse
  2605. (*DeleteEntryRequest)(nil), // 16: filer_pb.DeleteEntryRequest
  2606. (*DeleteEntryResponse)(nil), // 17: filer_pb.DeleteEntryResponse
  2607. (*AtomicRenameEntryRequest)(nil), // 18: filer_pb.AtomicRenameEntryRequest
  2608. (*AtomicRenameEntryResponse)(nil), // 19: filer_pb.AtomicRenameEntryResponse
  2609. (*AssignVolumeRequest)(nil), // 20: filer_pb.AssignVolumeRequest
  2610. (*AssignVolumeResponse)(nil), // 21: filer_pb.AssignVolumeResponse
  2611. (*LookupVolumeRequest)(nil), // 22: filer_pb.LookupVolumeRequest
  2612. (*Locations)(nil), // 23: filer_pb.Locations
  2613. (*Location)(nil), // 24: filer_pb.Location
  2614. (*LookupVolumeResponse)(nil), // 25: filer_pb.LookupVolumeResponse
  2615. (*DeleteCollectionRequest)(nil), // 26: filer_pb.DeleteCollectionRequest
  2616. (*DeleteCollectionResponse)(nil), // 27: filer_pb.DeleteCollectionResponse
  2617. (*StatisticsRequest)(nil), // 28: filer_pb.StatisticsRequest
  2618. (*StatisticsResponse)(nil), // 29: filer_pb.StatisticsResponse
  2619. (*GetFilerConfigurationRequest)(nil), // 30: filer_pb.GetFilerConfigurationRequest
  2620. (*GetFilerConfigurationResponse)(nil), // 31: filer_pb.GetFilerConfigurationResponse
  2621. (*SubscribeMetadataRequest)(nil), // 32: filer_pb.SubscribeMetadataRequest
  2622. (*SubscribeMetadataResponse)(nil), // 33: filer_pb.SubscribeMetadataResponse
  2623. (*LogEntry)(nil), // 34: filer_pb.LogEntry
  2624. (*KeepConnectedRequest)(nil), // 35: filer_pb.KeepConnectedRequest
  2625. (*KeepConnectedResponse)(nil), // 36: filer_pb.KeepConnectedResponse
  2626. (*LocateBrokerRequest)(nil), // 37: filer_pb.LocateBrokerRequest
  2627. (*LocateBrokerResponse)(nil), // 38: filer_pb.LocateBrokerResponse
  2628. nil, // 39: filer_pb.Entry.ExtendedEntry
  2629. nil, // 40: filer_pb.LookupVolumeResponse.LocationsMapEntry
  2630. (*LocateBrokerResponse_Resource)(nil), // 41: filer_pb.LocateBrokerResponse.Resource
  2631. }
  2632. var file_filer_proto_depIdxs = []int32{
  2633. 4, // 0: filer_pb.LookupDirectoryEntryResponse.entry:type_name -> filer_pb.Entry
  2634. 4, // 1: filer_pb.ListEntriesResponse.entry:type_name -> filer_pb.Entry
  2635. 7, // 2: filer_pb.Entry.chunks:type_name -> filer_pb.FileChunk
  2636. 9, // 3: filer_pb.Entry.attributes:type_name -> filer_pb.FuseAttributes
  2637. 39, // 4: filer_pb.Entry.extended:type_name -> filer_pb.Entry.ExtendedEntry
  2638. 4, // 5: filer_pb.FullEntry.entry:type_name -> filer_pb.Entry
  2639. 4, // 6: filer_pb.EventNotification.old_entry:type_name -> filer_pb.Entry
  2640. 4, // 7: filer_pb.EventNotification.new_entry:type_name -> filer_pb.Entry
  2641. 8, // 8: filer_pb.FileChunk.fid:type_name -> filer_pb.FileId
  2642. 8, // 9: filer_pb.FileChunk.source_fid:type_name -> filer_pb.FileId
  2643. 4, // 10: filer_pb.CreateEntryRequest.entry:type_name -> filer_pb.Entry
  2644. 4, // 11: filer_pb.UpdateEntryRequest.entry:type_name -> filer_pb.Entry
  2645. 7, // 12: filer_pb.AppendToEntryRequest.chunks:type_name -> filer_pb.FileChunk
  2646. 24, // 13: filer_pb.Locations.locations:type_name -> filer_pb.Location
  2647. 40, // 14: filer_pb.LookupVolumeResponse.locations_map:type_name -> filer_pb.LookupVolumeResponse.LocationsMapEntry
  2648. 6, // 15: filer_pb.SubscribeMetadataResponse.event_notification:type_name -> filer_pb.EventNotification
  2649. 41, // 16: filer_pb.LocateBrokerResponse.resources:type_name -> filer_pb.LocateBrokerResponse.Resource
  2650. 23, // 17: filer_pb.LookupVolumeResponse.LocationsMapEntry.value:type_name -> filer_pb.Locations
  2651. 0, // 18: filer_pb.SeaweedFiler.LookupDirectoryEntry:input_type -> filer_pb.LookupDirectoryEntryRequest
  2652. 2, // 19: filer_pb.SeaweedFiler.ListEntries:input_type -> filer_pb.ListEntriesRequest
  2653. 10, // 20: filer_pb.SeaweedFiler.CreateEntry:input_type -> filer_pb.CreateEntryRequest
  2654. 12, // 21: filer_pb.SeaweedFiler.UpdateEntry:input_type -> filer_pb.UpdateEntryRequest
  2655. 14, // 22: filer_pb.SeaweedFiler.AppendToEntry:input_type -> filer_pb.AppendToEntryRequest
  2656. 16, // 23: filer_pb.SeaweedFiler.DeleteEntry:input_type -> filer_pb.DeleteEntryRequest
  2657. 18, // 24: filer_pb.SeaweedFiler.AtomicRenameEntry:input_type -> filer_pb.AtomicRenameEntryRequest
  2658. 20, // 25: filer_pb.SeaweedFiler.AssignVolume:input_type -> filer_pb.AssignVolumeRequest
  2659. 22, // 26: filer_pb.SeaweedFiler.LookupVolume:input_type -> filer_pb.LookupVolumeRequest
  2660. 26, // 27: filer_pb.SeaweedFiler.DeleteCollection:input_type -> filer_pb.DeleteCollectionRequest
  2661. 28, // 28: filer_pb.SeaweedFiler.Statistics:input_type -> filer_pb.StatisticsRequest
  2662. 30, // 29: filer_pb.SeaweedFiler.GetFilerConfiguration:input_type -> filer_pb.GetFilerConfigurationRequest
  2663. 32, // 30: filer_pb.SeaweedFiler.SubscribeMetadata:input_type -> filer_pb.SubscribeMetadataRequest
  2664. 32, // 31: filer_pb.SeaweedFiler.SubscribeLocalMetadata:input_type -> filer_pb.SubscribeMetadataRequest
  2665. 35, // 32: filer_pb.SeaweedFiler.KeepConnected:input_type -> filer_pb.KeepConnectedRequest
  2666. 37, // 33: filer_pb.SeaweedFiler.LocateBroker:input_type -> filer_pb.LocateBrokerRequest
  2667. 1, // 34: filer_pb.SeaweedFiler.LookupDirectoryEntry:output_type -> filer_pb.LookupDirectoryEntryResponse
  2668. 3, // 35: filer_pb.SeaweedFiler.ListEntries:output_type -> filer_pb.ListEntriesResponse
  2669. 11, // 36: filer_pb.SeaweedFiler.CreateEntry:output_type -> filer_pb.CreateEntryResponse
  2670. 13, // 37: filer_pb.SeaweedFiler.UpdateEntry:output_type -> filer_pb.UpdateEntryResponse
  2671. 15, // 38: filer_pb.SeaweedFiler.AppendToEntry:output_type -> filer_pb.AppendToEntryResponse
  2672. 17, // 39: filer_pb.SeaweedFiler.DeleteEntry:output_type -> filer_pb.DeleteEntryResponse
  2673. 19, // 40: filer_pb.SeaweedFiler.AtomicRenameEntry:output_type -> filer_pb.AtomicRenameEntryResponse
  2674. 21, // 41: filer_pb.SeaweedFiler.AssignVolume:output_type -> filer_pb.AssignVolumeResponse
  2675. 25, // 42: filer_pb.SeaweedFiler.LookupVolume:output_type -> filer_pb.LookupVolumeResponse
  2676. 27, // 43: filer_pb.SeaweedFiler.DeleteCollection:output_type -> filer_pb.DeleteCollectionResponse
  2677. 29, // 44: filer_pb.SeaweedFiler.Statistics:output_type -> filer_pb.StatisticsResponse
  2678. 31, // 45: filer_pb.SeaweedFiler.GetFilerConfiguration:output_type -> filer_pb.GetFilerConfigurationResponse
  2679. 33, // 46: filer_pb.SeaweedFiler.SubscribeMetadata:output_type -> filer_pb.SubscribeMetadataResponse
  2680. 33, // 47: filer_pb.SeaweedFiler.SubscribeLocalMetadata:output_type -> filer_pb.SubscribeMetadataResponse
  2681. 36, // 48: filer_pb.SeaweedFiler.KeepConnected:output_type -> filer_pb.KeepConnectedResponse
  2682. 38, // 49: filer_pb.SeaweedFiler.LocateBroker:output_type -> filer_pb.LocateBrokerResponse
  2683. 34, // [34:50] is the sub-list for method output_type
  2684. 18, // [18:34] is the sub-list for method input_type
  2685. 18, // [18:18] is the sub-list for extension type_name
  2686. 18, // [18:18] is the sub-list for extension extendee
  2687. 0, // [0:18] is the sub-list for field type_name
  2688. }
  2689. func init() { file_filer_proto_init() }
  2690. func file_filer_proto_init() {
  2691. if File_filer_proto != nil {
  2692. return
  2693. }
  2694. if !protoimpl.UnsafeEnabled {
  2695. file_filer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2696. switch v := v.(*LookupDirectoryEntryRequest); i {
  2697. case 0:
  2698. return &v.state
  2699. case 1:
  2700. return &v.sizeCache
  2701. case 2:
  2702. return &v.unknownFields
  2703. default:
  2704. return nil
  2705. }
  2706. }
  2707. file_filer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2708. switch v := v.(*LookupDirectoryEntryResponse); i {
  2709. case 0:
  2710. return &v.state
  2711. case 1:
  2712. return &v.sizeCache
  2713. case 2:
  2714. return &v.unknownFields
  2715. default:
  2716. return nil
  2717. }
  2718. }
  2719. file_filer_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2720. switch v := v.(*ListEntriesRequest); i {
  2721. case 0:
  2722. return &v.state
  2723. case 1:
  2724. return &v.sizeCache
  2725. case 2:
  2726. return &v.unknownFields
  2727. default:
  2728. return nil
  2729. }
  2730. }
  2731. file_filer_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2732. switch v := v.(*ListEntriesResponse); i {
  2733. case 0:
  2734. return &v.state
  2735. case 1:
  2736. return &v.sizeCache
  2737. case 2:
  2738. return &v.unknownFields
  2739. default:
  2740. return nil
  2741. }
  2742. }
  2743. file_filer_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2744. switch v := v.(*Entry); i {
  2745. case 0:
  2746. return &v.state
  2747. case 1:
  2748. return &v.sizeCache
  2749. case 2:
  2750. return &v.unknownFields
  2751. default:
  2752. return nil
  2753. }
  2754. }
  2755. file_filer_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2756. switch v := v.(*FullEntry); i {
  2757. case 0:
  2758. return &v.state
  2759. case 1:
  2760. return &v.sizeCache
  2761. case 2:
  2762. return &v.unknownFields
  2763. default:
  2764. return nil
  2765. }
  2766. }
  2767. file_filer_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2768. switch v := v.(*EventNotification); i {
  2769. case 0:
  2770. return &v.state
  2771. case 1:
  2772. return &v.sizeCache
  2773. case 2:
  2774. return &v.unknownFields
  2775. default:
  2776. return nil
  2777. }
  2778. }
  2779. file_filer_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2780. switch v := v.(*FileChunk); i {
  2781. case 0:
  2782. return &v.state
  2783. case 1:
  2784. return &v.sizeCache
  2785. case 2:
  2786. return &v.unknownFields
  2787. default:
  2788. return nil
  2789. }
  2790. }
  2791. file_filer_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2792. switch v := v.(*FileId); i {
  2793. case 0:
  2794. return &v.state
  2795. case 1:
  2796. return &v.sizeCache
  2797. case 2:
  2798. return &v.unknownFields
  2799. default:
  2800. return nil
  2801. }
  2802. }
  2803. file_filer_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2804. switch v := v.(*FuseAttributes); i {
  2805. case 0:
  2806. return &v.state
  2807. case 1:
  2808. return &v.sizeCache
  2809. case 2:
  2810. return &v.unknownFields
  2811. default:
  2812. return nil
  2813. }
  2814. }
  2815. file_filer_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2816. switch v := v.(*CreateEntryRequest); i {
  2817. case 0:
  2818. return &v.state
  2819. case 1:
  2820. return &v.sizeCache
  2821. case 2:
  2822. return &v.unknownFields
  2823. default:
  2824. return nil
  2825. }
  2826. }
  2827. file_filer_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2828. switch v := v.(*CreateEntryResponse); i {
  2829. case 0:
  2830. return &v.state
  2831. case 1:
  2832. return &v.sizeCache
  2833. case 2:
  2834. return &v.unknownFields
  2835. default:
  2836. return nil
  2837. }
  2838. }
  2839. file_filer_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2840. switch v := v.(*UpdateEntryRequest); i {
  2841. case 0:
  2842. return &v.state
  2843. case 1:
  2844. return &v.sizeCache
  2845. case 2:
  2846. return &v.unknownFields
  2847. default:
  2848. return nil
  2849. }
  2850. }
  2851. file_filer_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2852. switch v := v.(*UpdateEntryResponse); i {
  2853. case 0:
  2854. return &v.state
  2855. case 1:
  2856. return &v.sizeCache
  2857. case 2:
  2858. return &v.unknownFields
  2859. default:
  2860. return nil
  2861. }
  2862. }
  2863. file_filer_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2864. switch v := v.(*AppendToEntryRequest); i {
  2865. case 0:
  2866. return &v.state
  2867. case 1:
  2868. return &v.sizeCache
  2869. case 2:
  2870. return &v.unknownFields
  2871. default:
  2872. return nil
  2873. }
  2874. }
  2875. file_filer_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2876. switch v := v.(*AppendToEntryResponse); i {
  2877. case 0:
  2878. return &v.state
  2879. case 1:
  2880. return &v.sizeCache
  2881. case 2:
  2882. return &v.unknownFields
  2883. default:
  2884. return nil
  2885. }
  2886. }
  2887. file_filer_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2888. switch v := v.(*DeleteEntryRequest); i {
  2889. case 0:
  2890. return &v.state
  2891. case 1:
  2892. return &v.sizeCache
  2893. case 2:
  2894. return &v.unknownFields
  2895. default:
  2896. return nil
  2897. }
  2898. }
  2899. file_filer_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2900. switch v := v.(*DeleteEntryResponse); i {
  2901. case 0:
  2902. return &v.state
  2903. case 1:
  2904. return &v.sizeCache
  2905. case 2:
  2906. return &v.unknownFields
  2907. default:
  2908. return nil
  2909. }
  2910. }
  2911. file_filer_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2912. switch v := v.(*AtomicRenameEntryRequest); i {
  2913. case 0:
  2914. return &v.state
  2915. case 1:
  2916. return &v.sizeCache
  2917. case 2:
  2918. return &v.unknownFields
  2919. default:
  2920. return nil
  2921. }
  2922. }
  2923. file_filer_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2924. switch v := v.(*AtomicRenameEntryResponse); i {
  2925. case 0:
  2926. return &v.state
  2927. case 1:
  2928. return &v.sizeCache
  2929. case 2:
  2930. return &v.unknownFields
  2931. default:
  2932. return nil
  2933. }
  2934. }
  2935. file_filer_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2936. switch v := v.(*AssignVolumeRequest); i {
  2937. case 0:
  2938. return &v.state
  2939. case 1:
  2940. return &v.sizeCache
  2941. case 2:
  2942. return &v.unknownFields
  2943. default:
  2944. return nil
  2945. }
  2946. }
  2947. file_filer_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2948. switch v := v.(*AssignVolumeResponse); i {
  2949. case 0:
  2950. return &v.state
  2951. case 1:
  2952. return &v.sizeCache
  2953. case 2:
  2954. return &v.unknownFields
  2955. default:
  2956. return nil
  2957. }
  2958. }
  2959. file_filer_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2960. switch v := v.(*LookupVolumeRequest); i {
  2961. case 0:
  2962. return &v.state
  2963. case 1:
  2964. return &v.sizeCache
  2965. case 2:
  2966. return &v.unknownFields
  2967. default:
  2968. return nil
  2969. }
  2970. }
  2971. file_filer_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2972. switch v := v.(*Locations); i {
  2973. case 0:
  2974. return &v.state
  2975. case 1:
  2976. return &v.sizeCache
  2977. case 2:
  2978. return &v.unknownFields
  2979. default:
  2980. return nil
  2981. }
  2982. }
  2983. file_filer_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2984. switch v := v.(*Location); i {
  2985. case 0:
  2986. return &v.state
  2987. case 1:
  2988. return &v.sizeCache
  2989. case 2:
  2990. return &v.unknownFields
  2991. default:
  2992. return nil
  2993. }
  2994. }
  2995. file_filer_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  2996. switch v := v.(*LookupVolumeResponse); i {
  2997. case 0:
  2998. return &v.state
  2999. case 1:
  3000. return &v.sizeCache
  3001. case 2:
  3002. return &v.unknownFields
  3003. default:
  3004. return nil
  3005. }
  3006. }
  3007. file_filer_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  3008. switch v := v.(*DeleteCollectionRequest); i {
  3009. case 0:
  3010. return &v.state
  3011. case 1:
  3012. return &v.sizeCache
  3013. case 2:
  3014. return &v.unknownFields
  3015. default:
  3016. return nil
  3017. }
  3018. }
  3019. file_filer_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  3020. switch v := v.(*DeleteCollectionResponse); i {
  3021. case 0:
  3022. return &v.state
  3023. case 1:
  3024. return &v.sizeCache
  3025. case 2:
  3026. return &v.unknownFields
  3027. default:
  3028. return nil
  3029. }
  3030. }
  3031. file_filer_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
  3032. switch v := v.(*StatisticsRequest); i {
  3033. case 0:
  3034. return &v.state
  3035. case 1:
  3036. return &v.sizeCache
  3037. case 2:
  3038. return &v.unknownFields
  3039. default:
  3040. return nil
  3041. }
  3042. }
  3043. file_filer_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
  3044. switch v := v.(*StatisticsResponse); i {
  3045. case 0:
  3046. return &v.state
  3047. case 1:
  3048. return &v.sizeCache
  3049. case 2:
  3050. return &v.unknownFields
  3051. default:
  3052. return nil
  3053. }
  3054. }
  3055. file_filer_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
  3056. switch v := v.(*GetFilerConfigurationRequest); i {
  3057. case 0:
  3058. return &v.state
  3059. case 1:
  3060. return &v.sizeCache
  3061. case 2:
  3062. return &v.unknownFields
  3063. default:
  3064. return nil
  3065. }
  3066. }
  3067. file_filer_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
  3068. switch v := v.(*GetFilerConfigurationResponse); i {
  3069. case 0:
  3070. return &v.state
  3071. case 1:
  3072. return &v.sizeCache
  3073. case 2:
  3074. return &v.unknownFields
  3075. default:
  3076. return nil
  3077. }
  3078. }
  3079. file_filer_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
  3080. switch v := v.(*SubscribeMetadataRequest); i {
  3081. case 0:
  3082. return &v.state
  3083. case 1:
  3084. return &v.sizeCache
  3085. case 2:
  3086. return &v.unknownFields
  3087. default:
  3088. return nil
  3089. }
  3090. }
  3091. file_filer_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
  3092. switch v := v.(*SubscribeMetadataResponse); i {
  3093. case 0:
  3094. return &v.state
  3095. case 1:
  3096. return &v.sizeCache
  3097. case 2:
  3098. return &v.unknownFields
  3099. default:
  3100. return nil
  3101. }
  3102. }
  3103. file_filer_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
  3104. switch v := v.(*LogEntry); i {
  3105. case 0:
  3106. return &v.state
  3107. case 1:
  3108. return &v.sizeCache
  3109. case 2:
  3110. return &v.unknownFields
  3111. default:
  3112. return nil
  3113. }
  3114. }
  3115. file_filer_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
  3116. switch v := v.(*KeepConnectedRequest); i {
  3117. case 0:
  3118. return &v.state
  3119. case 1:
  3120. return &v.sizeCache
  3121. case 2:
  3122. return &v.unknownFields
  3123. default:
  3124. return nil
  3125. }
  3126. }
  3127. file_filer_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
  3128. switch v := v.(*KeepConnectedResponse); i {
  3129. case 0:
  3130. return &v.state
  3131. case 1:
  3132. return &v.sizeCache
  3133. case 2:
  3134. return &v.unknownFields
  3135. default:
  3136. return nil
  3137. }
  3138. }
  3139. file_filer_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
  3140. switch v := v.(*LocateBrokerRequest); i {
  3141. case 0:
  3142. return &v.state
  3143. case 1:
  3144. return &v.sizeCache
  3145. case 2:
  3146. return &v.unknownFields
  3147. default:
  3148. return nil
  3149. }
  3150. }
  3151. file_filer_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
  3152. switch v := v.(*LocateBrokerResponse); i {
  3153. case 0:
  3154. return &v.state
  3155. case 1:
  3156. return &v.sizeCache
  3157. case 2:
  3158. return &v.unknownFields
  3159. default:
  3160. return nil
  3161. }
  3162. }
  3163. file_filer_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
  3164. switch v := v.(*LocateBrokerResponse_Resource); i {
  3165. case 0:
  3166. return &v.state
  3167. case 1:
  3168. return &v.sizeCache
  3169. case 2:
  3170. return &v.unknownFields
  3171. default:
  3172. return nil
  3173. }
  3174. }
  3175. }
  3176. type x struct{}
  3177. out := protoimpl.TypeBuilder{
  3178. File: protoimpl.DescBuilder{
  3179. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  3180. RawDescriptor: file_filer_proto_rawDesc,
  3181. NumEnums: 0,
  3182. NumMessages: 42,
  3183. NumExtensions: 0,
  3184. NumServices: 1,
  3185. },
  3186. GoTypes: file_filer_proto_goTypes,
  3187. DependencyIndexes: file_filer_proto_depIdxs,
  3188. MessageInfos: file_filer_proto_msgTypes,
  3189. }.Build()
  3190. File_filer_proto = out.File
  3191. file_filer_proto_rawDesc = nil
  3192. file_filer_proto_goTypes = nil
  3193. file_filer_proto_depIdxs = nil
  3194. }
  3195. // Reference imports to suppress errors if they are not otherwise used.
  3196. var _ context.Context
  3197. var _ grpc.ClientConnInterface
  3198. // This is a compile-time assertion to ensure that this generated file
  3199. // is compatible with the grpc package it is being compiled against.
  3200. const _ = grpc.SupportPackageIsVersion6
  3201. // SeaweedFilerClient is the client API for SeaweedFiler service.
  3202. //
  3203. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  3204. type SeaweedFilerClient interface {
  3205. LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error)
  3206. ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (SeaweedFiler_ListEntriesClient, error)
  3207. CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error)
  3208. UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error)
  3209. AppendToEntry(ctx context.Context, in *AppendToEntryRequest, opts ...grpc.CallOption) (*AppendToEntryResponse, error)
  3210. DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error)
  3211. AtomicRenameEntry(ctx context.Context, in *AtomicRenameEntryRequest, opts ...grpc.CallOption) (*AtomicRenameEntryResponse, error)
  3212. AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error)
  3213. LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error)
  3214. DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error)
  3215. Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error)
  3216. GetFilerConfiguration(ctx context.Context, in *GetFilerConfigurationRequest, opts ...grpc.CallOption) (*GetFilerConfigurationResponse, error)
  3217. SubscribeMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeMetadataClient, error)
  3218. SubscribeLocalMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeLocalMetadataClient, error)
  3219. KeepConnected(ctx context.Context, opts ...grpc.CallOption) (SeaweedFiler_KeepConnectedClient, error)
  3220. LocateBroker(ctx context.Context, in *LocateBrokerRequest, opts ...grpc.CallOption) (*LocateBrokerResponse, error)
  3221. }
  3222. type seaweedFilerClient struct {
  3223. cc grpc.ClientConnInterface
  3224. }
  3225. func NewSeaweedFilerClient(cc grpc.ClientConnInterface) SeaweedFilerClient {
  3226. return &seaweedFilerClient{cc}
  3227. }
  3228. func (c *seaweedFilerClient) LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error) {
  3229. out := new(LookupDirectoryEntryResponse)
  3230. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupDirectoryEntry", in, out, opts...)
  3231. if err != nil {
  3232. return nil, err
  3233. }
  3234. return out, nil
  3235. }
  3236. func (c *seaweedFilerClient) ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (SeaweedFiler_ListEntriesClient, error) {
  3237. stream, err := c.cc.NewStream(ctx, &_SeaweedFiler_serviceDesc.Streams[0], "/filer_pb.SeaweedFiler/ListEntries", opts...)
  3238. if err != nil {
  3239. return nil, err
  3240. }
  3241. x := &seaweedFilerListEntriesClient{stream}
  3242. if err := x.ClientStream.SendMsg(in); err != nil {
  3243. return nil, err
  3244. }
  3245. if err := x.ClientStream.CloseSend(); err != nil {
  3246. return nil, err
  3247. }
  3248. return x, nil
  3249. }
  3250. type SeaweedFiler_ListEntriesClient interface {
  3251. Recv() (*ListEntriesResponse, error)
  3252. grpc.ClientStream
  3253. }
  3254. type seaweedFilerListEntriesClient struct {
  3255. grpc.ClientStream
  3256. }
  3257. func (x *seaweedFilerListEntriesClient) Recv() (*ListEntriesResponse, error) {
  3258. m := new(ListEntriesResponse)
  3259. if err := x.ClientStream.RecvMsg(m); err != nil {
  3260. return nil, err
  3261. }
  3262. return m, nil
  3263. }
  3264. func (c *seaweedFilerClient) CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error) {
  3265. out := new(CreateEntryResponse)
  3266. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/CreateEntry", in, out, opts...)
  3267. if err != nil {
  3268. return nil, err
  3269. }
  3270. return out, nil
  3271. }
  3272. func (c *seaweedFilerClient) UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error) {
  3273. out := new(UpdateEntryResponse)
  3274. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/UpdateEntry", in, out, opts...)
  3275. if err != nil {
  3276. return nil, err
  3277. }
  3278. return out, nil
  3279. }
  3280. func (c *seaweedFilerClient) AppendToEntry(ctx context.Context, in *AppendToEntryRequest, opts ...grpc.CallOption) (*AppendToEntryResponse, error) {
  3281. out := new(AppendToEntryResponse)
  3282. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/AppendToEntry", in, out, opts...)
  3283. if err != nil {
  3284. return nil, err
  3285. }
  3286. return out, nil
  3287. }
  3288. func (c *seaweedFilerClient) DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error) {
  3289. out := new(DeleteEntryResponse)
  3290. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteEntry", in, out, opts...)
  3291. if err != nil {
  3292. return nil, err
  3293. }
  3294. return out, nil
  3295. }
  3296. func (c *seaweedFilerClient) AtomicRenameEntry(ctx context.Context, in *AtomicRenameEntryRequest, opts ...grpc.CallOption) (*AtomicRenameEntryResponse, error) {
  3297. out := new(AtomicRenameEntryResponse)
  3298. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/AtomicRenameEntry", in, out, opts...)
  3299. if err != nil {
  3300. return nil, err
  3301. }
  3302. return out, nil
  3303. }
  3304. func (c *seaweedFilerClient) AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error) {
  3305. out := new(AssignVolumeResponse)
  3306. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/AssignVolume", in, out, opts...)
  3307. if err != nil {
  3308. return nil, err
  3309. }
  3310. return out, nil
  3311. }
  3312. func (c *seaweedFilerClient) LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error) {
  3313. out := new(LookupVolumeResponse)
  3314. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupVolume", in, out, opts...)
  3315. if err != nil {
  3316. return nil, err
  3317. }
  3318. return out, nil
  3319. }
  3320. func (c *seaweedFilerClient) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) {
  3321. out := new(DeleteCollectionResponse)
  3322. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteCollection", in, out, opts...)
  3323. if err != nil {
  3324. return nil, err
  3325. }
  3326. return out, nil
  3327. }
  3328. func (c *seaweedFilerClient) Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error) {
  3329. out := new(StatisticsResponse)
  3330. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/Statistics", in, out, opts...)
  3331. if err != nil {
  3332. return nil, err
  3333. }
  3334. return out, nil
  3335. }
  3336. func (c *seaweedFilerClient) GetFilerConfiguration(ctx context.Context, in *GetFilerConfigurationRequest, opts ...grpc.CallOption) (*GetFilerConfigurationResponse, error) {
  3337. out := new(GetFilerConfigurationResponse)
  3338. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/GetFilerConfiguration", in, out, opts...)
  3339. if err != nil {
  3340. return nil, err
  3341. }
  3342. return out, nil
  3343. }
  3344. func (c *seaweedFilerClient) SubscribeMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeMetadataClient, error) {
  3345. stream, err := c.cc.NewStream(ctx, &_SeaweedFiler_serviceDesc.Streams[1], "/filer_pb.SeaweedFiler/SubscribeMetadata", opts...)
  3346. if err != nil {
  3347. return nil, err
  3348. }
  3349. x := &seaweedFilerSubscribeMetadataClient{stream}
  3350. if err := x.ClientStream.SendMsg(in); err != nil {
  3351. return nil, err
  3352. }
  3353. if err := x.ClientStream.CloseSend(); err != nil {
  3354. return nil, err
  3355. }
  3356. return x, nil
  3357. }
  3358. type SeaweedFiler_SubscribeMetadataClient interface {
  3359. Recv() (*SubscribeMetadataResponse, error)
  3360. grpc.ClientStream
  3361. }
  3362. type seaweedFilerSubscribeMetadataClient struct {
  3363. grpc.ClientStream
  3364. }
  3365. func (x *seaweedFilerSubscribeMetadataClient) Recv() (*SubscribeMetadataResponse, error) {
  3366. m := new(SubscribeMetadataResponse)
  3367. if err := x.ClientStream.RecvMsg(m); err != nil {
  3368. return nil, err
  3369. }
  3370. return m, nil
  3371. }
  3372. func (c *seaweedFilerClient) SubscribeLocalMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeLocalMetadataClient, error) {
  3373. stream, err := c.cc.NewStream(ctx, &_SeaweedFiler_serviceDesc.Streams[2], "/filer_pb.SeaweedFiler/SubscribeLocalMetadata", opts...)
  3374. if err != nil {
  3375. return nil, err
  3376. }
  3377. x := &seaweedFilerSubscribeLocalMetadataClient{stream}
  3378. if err := x.ClientStream.SendMsg(in); err != nil {
  3379. return nil, err
  3380. }
  3381. if err := x.ClientStream.CloseSend(); err != nil {
  3382. return nil, err
  3383. }
  3384. return x, nil
  3385. }
  3386. type SeaweedFiler_SubscribeLocalMetadataClient interface {
  3387. Recv() (*SubscribeMetadataResponse, error)
  3388. grpc.ClientStream
  3389. }
  3390. type seaweedFilerSubscribeLocalMetadataClient struct {
  3391. grpc.ClientStream
  3392. }
  3393. func (x *seaweedFilerSubscribeLocalMetadataClient) Recv() (*SubscribeMetadataResponse, error) {
  3394. m := new(SubscribeMetadataResponse)
  3395. if err := x.ClientStream.RecvMsg(m); err != nil {
  3396. return nil, err
  3397. }
  3398. return m, nil
  3399. }
  3400. func (c *seaweedFilerClient) KeepConnected(ctx context.Context, opts ...grpc.CallOption) (SeaweedFiler_KeepConnectedClient, error) {
  3401. stream, err := c.cc.NewStream(ctx, &_SeaweedFiler_serviceDesc.Streams[3], "/filer_pb.SeaweedFiler/KeepConnected", opts...)
  3402. if err != nil {
  3403. return nil, err
  3404. }
  3405. x := &seaweedFilerKeepConnectedClient{stream}
  3406. return x, nil
  3407. }
  3408. type SeaweedFiler_KeepConnectedClient interface {
  3409. Send(*KeepConnectedRequest) error
  3410. Recv() (*KeepConnectedResponse, error)
  3411. grpc.ClientStream
  3412. }
  3413. type seaweedFilerKeepConnectedClient struct {
  3414. grpc.ClientStream
  3415. }
  3416. func (x *seaweedFilerKeepConnectedClient) Send(m *KeepConnectedRequest) error {
  3417. return x.ClientStream.SendMsg(m)
  3418. }
  3419. func (x *seaweedFilerKeepConnectedClient) Recv() (*KeepConnectedResponse, error) {
  3420. m := new(KeepConnectedResponse)
  3421. if err := x.ClientStream.RecvMsg(m); err != nil {
  3422. return nil, err
  3423. }
  3424. return m, nil
  3425. }
  3426. func (c *seaweedFilerClient) LocateBroker(ctx context.Context, in *LocateBrokerRequest, opts ...grpc.CallOption) (*LocateBrokerResponse, error) {
  3427. out := new(LocateBrokerResponse)
  3428. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/LocateBroker", in, out, opts...)
  3429. if err != nil {
  3430. return nil, err
  3431. }
  3432. return out, nil
  3433. }
  3434. // SeaweedFilerServer is the server API for SeaweedFiler service.
  3435. type SeaweedFilerServer interface {
  3436. LookupDirectoryEntry(context.Context, *LookupDirectoryEntryRequest) (*LookupDirectoryEntryResponse, error)
  3437. ListEntries(*ListEntriesRequest, SeaweedFiler_ListEntriesServer) error
  3438. CreateEntry(context.Context, *CreateEntryRequest) (*CreateEntryResponse, error)
  3439. UpdateEntry(context.Context, *UpdateEntryRequest) (*UpdateEntryResponse, error)
  3440. AppendToEntry(context.Context, *AppendToEntryRequest) (*AppendToEntryResponse, error)
  3441. DeleteEntry(context.Context, *DeleteEntryRequest) (*DeleteEntryResponse, error)
  3442. AtomicRenameEntry(context.Context, *AtomicRenameEntryRequest) (*AtomicRenameEntryResponse, error)
  3443. AssignVolume(context.Context, *AssignVolumeRequest) (*AssignVolumeResponse, error)
  3444. LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error)
  3445. DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
  3446. Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error)
  3447. GetFilerConfiguration(context.Context, *GetFilerConfigurationRequest) (*GetFilerConfigurationResponse, error)
  3448. SubscribeMetadata(*SubscribeMetadataRequest, SeaweedFiler_SubscribeMetadataServer) error
  3449. SubscribeLocalMetadata(*SubscribeMetadataRequest, SeaweedFiler_SubscribeLocalMetadataServer) error
  3450. KeepConnected(SeaweedFiler_KeepConnectedServer) error
  3451. LocateBroker(context.Context, *LocateBrokerRequest) (*LocateBrokerResponse, error)
  3452. }
  3453. // UnimplementedSeaweedFilerServer can be embedded to have forward compatible implementations.
  3454. type UnimplementedSeaweedFilerServer struct {
  3455. }
  3456. func (*UnimplementedSeaweedFilerServer) LookupDirectoryEntry(context.Context, *LookupDirectoryEntryRequest) (*LookupDirectoryEntryResponse, error) {
  3457. return nil, status.Errorf(codes.Unimplemented, "method LookupDirectoryEntry not implemented")
  3458. }
  3459. func (*UnimplementedSeaweedFilerServer) ListEntries(*ListEntriesRequest, SeaweedFiler_ListEntriesServer) error {
  3460. return status.Errorf(codes.Unimplemented, "method ListEntries not implemented")
  3461. }
  3462. func (*UnimplementedSeaweedFilerServer) CreateEntry(context.Context, *CreateEntryRequest) (*CreateEntryResponse, error) {
  3463. return nil, status.Errorf(codes.Unimplemented, "method CreateEntry not implemented")
  3464. }
  3465. func (*UnimplementedSeaweedFilerServer) UpdateEntry(context.Context, *UpdateEntryRequest) (*UpdateEntryResponse, error) {
  3466. return nil, status.Errorf(codes.Unimplemented, "method UpdateEntry not implemented")
  3467. }
  3468. func (*UnimplementedSeaweedFilerServer) AppendToEntry(context.Context, *AppendToEntryRequest) (*AppendToEntryResponse, error) {
  3469. return nil, status.Errorf(codes.Unimplemented, "method AppendToEntry not implemented")
  3470. }
  3471. func (*UnimplementedSeaweedFilerServer) DeleteEntry(context.Context, *DeleteEntryRequest) (*DeleteEntryResponse, error) {
  3472. return nil, status.Errorf(codes.Unimplemented, "method DeleteEntry not implemented")
  3473. }
  3474. func (*UnimplementedSeaweedFilerServer) AtomicRenameEntry(context.Context, *AtomicRenameEntryRequest) (*AtomicRenameEntryResponse, error) {
  3475. return nil, status.Errorf(codes.Unimplemented, "method AtomicRenameEntry not implemented")
  3476. }
  3477. func (*UnimplementedSeaweedFilerServer) AssignVolume(context.Context, *AssignVolumeRequest) (*AssignVolumeResponse, error) {
  3478. return nil, status.Errorf(codes.Unimplemented, "method AssignVolume not implemented")
  3479. }
  3480. func (*UnimplementedSeaweedFilerServer) LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error) {
  3481. return nil, status.Errorf(codes.Unimplemented, "method LookupVolume not implemented")
  3482. }
  3483. func (*UnimplementedSeaweedFilerServer) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error) {
  3484. return nil, status.Errorf(codes.Unimplemented, "method DeleteCollection not implemented")
  3485. }
  3486. func (*UnimplementedSeaweedFilerServer) Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error) {
  3487. return nil, status.Errorf(codes.Unimplemented, "method Statistics not implemented")
  3488. }
  3489. func (*UnimplementedSeaweedFilerServer) GetFilerConfiguration(context.Context, *GetFilerConfigurationRequest) (*GetFilerConfigurationResponse, error) {
  3490. return nil, status.Errorf(codes.Unimplemented, "method GetFilerConfiguration not implemented")
  3491. }
  3492. func (*UnimplementedSeaweedFilerServer) SubscribeMetadata(*SubscribeMetadataRequest, SeaweedFiler_SubscribeMetadataServer) error {
  3493. return status.Errorf(codes.Unimplemented, "method SubscribeMetadata not implemented")
  3494. }
  3495. func (*UnimplementedSeaweedFilerServer) SubscribeLocalMetadata(*SubscribeMetadataRequest, SeaweedFiler_SubscribeLocalMetadataServer) error {
  3496. return status.Errorf(codes.Unimplemented, "method SubscribeLocalMetadata not implemented")
  3497. }
  3498. func (*UnimplementedSeaweedFilerServer) KeepConnected(SeaweedFiler_KeepConnectedServer) error {
  3499. return status.Errorf(codes.Unimplemented, "method KeepConnected not implemented")
  3500. }
  3501. func (*UnimplementedSeaweedFilerServer) LocateBroker(context.Context, *LocateBrokerRequest) (*LocateBrokerResponse, error) {
  3502. return nil, status.Errorf(codes.Unimplemented, "method LocateBroker not implemented")
  3503. }
  3504. func RegisterSeaweedFilerServer(s *grpc.Server, srv SeaweedFilerServer) {
  3505. s.RegisterService(&_SeaweedFiler_serviceDesc, srv)
  3506. }
  3507. func _SeaweedFiler_LookupDirectoryEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3508. in := new(LookupDirectoryEntryRequest)
  3509. if err := dec(in); err != nil {
  3510. return nil, err
  3511. }
  3512. if interceptor == nil {
  3513. return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, in)
  3514. }
  3515. info := &grpc.UnaryServerInfo{
  3516. Server: srv,
  3517. FullMethod: "/filer_pb.SeaweedFiler/LookupDirectoryEntry",
  3518. }
  3519. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3520. return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, req.(*LookupDirectoryEntryRequest))
  3521. }
  3522. return interceptor(ctx, in, info, handler)
  3523. }
  3524. func _SeaweedFiler_ListEntries_Handler(srv interface{}, stream grpc.ServerStream) error {
  3525. m := new(ListEntriesRequest)
  3526. if err := stream.RecvMsg(m); err != nil {
  3527. return err
  3528. }
  3529. return srv.(SeaweedFilerServer).ListEntries(m, &seaweedFilerListEntriesServer{stream})
  3530. }
  3531. type SeaweedFiler_ListEntriesServer interface {
  3532. Send(*ListEntriesResponse) error
  3533. grpc.ServerStream
  3534. }
  3535. type seaweedFilerListEntriesServer struct {
  3536. grpc.ServerStream
  3537. }
  3538. func (x *seaweedFilerListEntriesServer) Send(m *ListEntriesResponse) error {
  3539. return x.ServerStream.SendMsg(m)
  3540. }
  3541. func _SeaweedFiler_CreateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3542. in := new(CreateEntryRequest)
  3543. if err := dec(in); err != nil {
  3544. return nil, err
  3545. }
  3546. if interceptor == nil {
  3547. return srv.(SeaweedFilerServer).CreateEntry(ctx, in)
  3548. }
  3549. info := &grpc.UnaryServerInfo{
  3550. Server: srv,
  3551. FullMethod: "/filer_pb.SeaweedFiler/CreateEntry",
  3552. }
  3553. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3554. return srv.(SeaweedFilerServer).CreateEntry(ctx, req.(*CreateEntryRequest))
  3555. }
  3556. return interceptor(ctx, in, info, handler)
  3557. }
  3558. func _SeaweedFiler_UpdateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3559. in := new(UpdateEntryRequest)
  3560. if err := dec(in); err != nil {
  3561. return nil, err
  3562. }
  3563. if interceptor == nil {
  3564. return srv.(SeaweedFilerServer).UpdateEntry(ctx, in)
  3565. }
  3566. info := &grpc.UnaryServerInfo{
  3567. Server: srv,
  3568. FullMethod: "/filer_pb.SeaweedFiler/UpdateEntry",
  3569. }
  3570. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3571. return srv.(SeaweedFilerServer).UpdateEntry(ctx, req.(*UpdateEntryRequest))
  3572. }
  3573. return interceptor(ctx, in, info, handler)
  3574. }
  3575. func _SeaweedFiler_AppendToEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3576. in := new(AppendToEntryRequest)
  3577. if err := dec(in); err != nil {
  3578. return nil, err
  3579. }
  3580. if interceptor == nil {
  3581. return srv.(SeaweedFilerServer).AppendToEntry(ctx, in)
  3582. }
  3583. info := &grpc.UnaryServerInfo{
  3584. Server: srv,
  3585. FullMethod: "/filer_pb.SeaweedFiler/AppendToEntry",
  3586. }
  3587. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3588. return srv.(SeaweedFilerServer).AppendToEntry(ctx, req.(*AppendToEntryRequest))
  3589. }
  3590. return interceptor(ctx, in, info, handler)
  3591. }
  3592. func _SeaweedFiler_DeleteEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3593. in := new(DeleteEntryRequest)
  3594. if err := dec(in); err != nil {
  3595. return nil, err
  3596. }
  3597. if interceptor == nil {
  3598. return srv.(SeaweedFilerServer).DeleteEntry(ctx, in)
  3599. }
  3600. info := &grpc.UnaryServerInfo{
  3601. Server: srv,
  3602. FullMethod: "/filer_pb.SeaweedFiler/DeleteEntry",
  3603. }
  3604. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3605. return srv.(SeaweedFilerServer).DeleteEntry(ctx, req.(*DeleteEntryRequest))
  3606. }
  3607. return interceptor(ctx, in, info, handler)
  3608. }
  3609. func _SeaweedFiler_AtomicRenameEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3610. in := new(AtomicRenameEntryRequest)
  3611. if err := dec(in); err != nil {
  3612. return nil, err
  3613. }
  3614. if interceptor == nil {
  3615. return srv.(SeaweedFilerServer).AtomicRenameEntry(ctx, in)
  3616. }
  3617. info := &grpc.UnaryServerInfo{
  3618. Server: srv,
  3619. FullMethod: "/filer_pb.SeaweedFiler/AtomicRenameEntry",
  3620. }
  3621. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3622. return srv.(SeaweedFilerServer).AtomicRenameEntry(ctx, req.(*AtomicRenameEntryRequest))
  3623. }
  3624. return interceptor(ctx, in, info, handler)
  3625. }
  3626. func _SeaweedFiler_AssignVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3627. in := new(AssignVolumeRequest)
  3628. if err := dec(in); err != nil {
  3629. return nil, err
  3630. }
  3631. if interceptor == nil {
  3632. return srv.(SeaweedFilerServer).AssignVolume(ctx, in)
  3633. }
  3634. info := &grpc.UnaryServerInfo{
  3635. Server: srv,
  3636. FullMethod: "/filer_pb.SeaweedFiler/AssignVolume",
  3637. }
  3638. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3639. return srv.(SeaweedFilerServer).AssignVolume(ctx, req.(*AssignVolumeRequest))
  3640. }
  3641. return interceptor(ctx, in, info, handler)
  3642. }
  3643. func _SeaweedFiler_LookupVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3644. in := new(LookupVolumeRequest)
  3645. if err := dec(in); err != nil {
  3646. return nil, err
  3647. }
  3648. if interceptor == nil {
  3649. return srv.(SeaweedFilerServer).LookupVolume(ctx, in)
  3650. }
  3651. info := &grpc.UnaryServerInfo{
  3652. Server: srv,
  3653. FullMethod: "/filer_pb.SeaweedFiler/LookupVolume",
  3654. }
  3655. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3656. return srv.(SeaweedFilerServer).LookupVolume(ctx, req.(*LookupVolumeRequest))
  3657. }
  3658. return interceptor(ctx, in, info, handler)
  3659. }
  3660. func _SeaweedFiler_DeleteCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3661. in := new(DeleteCollectionRequest)
  3662. if err := dec(in); err != nil {
  3663. return nil, err
  3664. }
  3665. if interceptor == nil {
  3666. return srv.(SeaweedFilerServer).DeleteCollection(ctx, in)
  3667. }
  3668. info := &grpc.UnaryServerInfo{
  3669. Server: srv,
  3670. FullMethod: "/filer_pb.SeaweedFiler/DeleteCollection",
  3671. }
  3672. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3673. return srv.(SeaweedFilerServer).DeleteCollection(ctx, req.(*DeleteCollectionRequest))
  3674. }
  3675. return interceptor(ctx, in, info, handler)
  3676. }
  3677. func _SeaweedFiler_Statistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3678. in := new(StatisticsRequest)
  3679. if err := dec(in); err != nil {
  3680. return nil, err
  3681. }
  3682. if interceptor == nil {
  3683. return srv.(SeaweedFilerServer).Statistics(ctx, in)
  3684. }
  3685. info := &grpc.UnaryServerInfo{
  3686. Server: srv,
  3687. FullMethod: "/filer_pb.SeaweedFiler/Statistics",
  3688. }
  3689. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3690. return srv.(SeaweedFilerServer).Statistics(ctx, req.(*StatisticsRequest))
  3691. }
  3692. return interceptor(ctx, in, info, handler)
  3693. }
  3694. func _SeaweedFiler_GetFilerConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3695. in := new(GetFilerConfigurationRequest)
  3696. if err := dec(in); err != nil {
  3697. return nil, err
  3698. }
  3699. if interceptor == nil {
  3700. return srv.(SeaweedFilerServer).GetFilerConfiguration(ctx, in)
  3701. }
  3702. info := &grpc.UnaryServerInfo{
  3703. Server: srv,
  3704. FullMethod: "/filer_pb.SeaweedFiler/GetFilerConfiguration",
  3705. }
  3706. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3707. return srv.(SeaweedFilerServer).GetFilerConfiguration(ctx, req.(*GetFilerConfigurationRequest))
  3708. }
  3709. return interceptor(ctx, in, info, handler)
  3710. }
  3711. func _SeaweedFiler_SubscribeMetadata_Handler(srv interface{}, stream grpc.ServerStream) error {
  3712. m := new(SubscribeMetadataRequest)
  3713. if err := stream.RecvMsg(m); err != nil {
  3714. return err
  3715. }
  3716. return srv.(SeaweedFilerServer).SubscribeMetadata(m, &seaweedFilerSubscribeMetadataServer{stream})
  3717. }
  3718. type SeaweedFiler_SubscribeMetadataServer interface {
  3719. Send(*SubscribeMetadataResponse) error
  3720. grpc.ServerStream
  3721. }
  3722. type seaweedFilerSubscribeMetadataServer struct {
  3723. grpc.ServerStream
  3724. }
  3725. func (x *seaweedFilerSubscribeMetadataServer) Send(m *SubscribeMetadataResponse) error {
  3726. return x.ServerStream.SendMsg(m)
  3727. }
  3728. func _SeaweedFiler_SubscribeLocalMetadata_Handler(srv interface{}, stream grpc.ServerStream) error {
  3729. m := new(SubscribeMetadataRequest)
  3730. if err := stream.RecvMsg(m); err != nil {
  3731. return err
  3732. }
  3733. return srv.(SeaweedFilerServer).SubscribeLocalMetadata(m, &seaweedFilerSubscribeLocalMetadataServer{stream})
  3734. }
  3735. type SeaweedFiler_SubscribeLocalMetadataServer interface {
  3736. Send(*SubscribeMetadataResponse) error
  3737. grpc.ServerStream
  3738. }
  3739. type seaweedFilerSubscribeLocalMetadataServer struct {
  3740. grpc.ServerStream
  3741. }
  3742. func (x *seaweedFilerSubscribeLocalMetadataServer) Send(m *SubscribeMetadataResponse) error {
  3743. return x.ServerStream.SendMsg(m)
  3744. }
  3745. func _SeaweedFiler_KeepConnected_Handler(srv interface{}, stream grpc.ServerStream) error {
  3746. return srv.(SeaweedFilerServer).KeepConnected(&seaweedFilerKeepConnectedServer{stream})
  3747. }
  3748. type SeaweedFiler_KeepConnectedServer interface {
  3749. Send(*KeepConnectedResponse) error
  3750. Recv() (*KeepConnectedRequest, error)
  3751. grpc.ServerStream
  3752. }
  3753. type seaweedFilerKeepConnectedServer struct {
  3754. grpc.ServerStream
  3755. }
  3756. func (x *seaweedFilerKeepConnectedServer) Send(m *KeepConnectedResponse) error {
  3757. return x.ServerStream.SendMsg(m)
  3758. }
  3759. func (x *seaweedFilerKeepConnectedServer) Recv() (*KeepConnectedRequest, error) {
  3760. m := new(KeepConnectedRequest)
  3761. if err := x.ServerStream.RecvMsg(m); err != nil {
  3762. return nil, err
  3763. }
  3764. return m, nil
  3765. }
  3766. func _SeaweedFiler_LocateBroker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3767. in := new(LocateBrokerRequest)
  3768. if err := dec(in); err != nil {
  3769. return nil, err
  3770. }
  3771. if interceptor == nil {
  3772. return srv.(SeaweedFilerServer).LocateBroker(ctx, in)
  3773. }
  3774. info := &grpc.UnaryServerInfo{
  3775. Server: srv,
  3776. FullMethod: "/filer_pb.SeaweedFiler/LocateBroker",
  3777. }
  3778. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3779. return srv.(SeaweedFilerServer).LocateBroker(ctx, req.(*LocateBrokerRequest))
  3780. }
  3781. return interceptor(ctx, in, info, handler)
  3782. }
  3783. var _SeaweedFiler_serviceDesc = grpc.ServiceDesc{
  3784. ServiceName: "filer_pb.SeaweedFiler",
  3785. HandlerType: (*SeaweedFilerServer)(nil),
  3786. Methods: []grpc.MethodDesc{
  3787. {
  3788. MethodName: "LookupDirectoryEntry",
  3789. Handler: _SeaweedFiler_LookupDirectoryEntry_Handler,
  3790. },
  3791. {
  3792. MethodName: "CreateEntry",
  3793. Handler: _SeaweedFiler_CreateEntry_Handler,
  3794. },
  3795. {
  3796. MethodName: "UpdateEntry",
  3797. Handler: _SeaweedFiler_UpdateEntry_Handler,
  3798. },
  3799. {
  3800. MethodName: "AppendToEntry",
  3801. Handler: _SeaweedFiler_AppendToEntry_Handler,
  3802. },
  3803. {
  3804. MethodName: "DeleteEntry",
  3805. Handler: _SeaweedFiler_DeleteEntry_Handler,
  3806. },
  3807. {
  3808. MethodName: "AtomicRenameEntry",
  3809. Handler: _SeaweedFiler_AtomicRenameEntry_Handler,
  3810. },
  3811. {
  3812. MethodName: "AssignVolume",
  3813. Handler: _SeaweedFiler_AssignVolume_Handler,
  3814. },
  3815. {
  3816. MethodName: "LookupVolume",
  3817. Handler: _SeaweedFiler_LookupVolume_Handler,
  3818. },
  3819. {
  3820. MethodName: "DeleteCollection",
  3821. Handler: _SeaweedFiler_DeleteCollection_Handler,
  3822. },
  3823. {
  3824. MethodName: "Statistics",
  3825. Handler: _SeaweedFiler_Statistics_Handler,
  3826. },
  3827. {
  3828. MethodName: "GetFilerConfiguration",
  3829. Handler: _SeaweedFiler_GetFilerConfiguration_Handler,
  3830. },
  3831. {
  3832. MethodName: "LocateBroker",
  3833. Handler: _SeaweedFiler_LocateBroker_Handler,
  3834. },
  3835. },
  3836. Streams: []grpc.StreamDesc{
  3837. {
  3838. StreamName: "ListEntries",
  3839. Handler: _SeaweedFiler_ListEntries_Handler,
  3840. ServerStreams: true,
  3841. },
  3842. {
  3843. StreamName: "SubscribeMetadata",
  3844. Handler: _SeaweedFiler_SubscribeMetadata_Handler,
  3845. ServerStreams: true,
  3846. },
  3847. {
  3848. StreamName: "SubscribeLocalMetadata",
  3849. Handler: _SeaweedFiler_SubscribeLocalMetadata_Handler,
  3850. ServerStreams: true,
  3851. },
  3852. {
  3853. StreamName: "KeepConnected",
  3854. Handler: _SeaweedFiler_KeepConnected_Handler,
  3855. ServerStreams: true,
  3856. ClientStreams: true,
  3857. },
  3858. },
  3859. Metadata: "filer.proto",
  3860. }