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.

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