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.

5121 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
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
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. Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"`
  1256. Rack string `protobuf:"bytes,7,opt,name=rack,proto3" json:"rack,omitempty"`
  1257. }
  1258. func (x *AssignVolumeRequest) Reset() {
  1259. *x = AssignVolumeRequest{}
  1260. if protoimpl.UnsafeEnabled {
  1261. mi := &file_filer_proto_msgTypes[21]
  1262. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1263. ms.StoreMessageInfo(mi)
  1264. }
  1265. }
  1266. func (x *AssignVolumeRequest) String() string {
  1267. return protoimpl.X.MessageStringOf(x)
  1268. }
  1269. func (*AssignVolumeRequest) ProtoMessage() {}
  1270. func (x *AssignVolumeRequest) ProtoReflect() protoreflect.Message {
  1271. mi := &file_filer_proto_msgTypes[21]
  1272. if protoimpl.UnsafeEnabled && x != nil {
  1273. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1274. if ms.LoadMessageInfo() == nil {
  1275. ms.StoreMessageInfo(mi)
  1276. }
  1277. return ms
  1278. }
  1279. return mi.MessageOf(x)
  1280. }
  1281. // Deprecated: Use AssignVolumeRequest.ProtoReflect.Descriptor instead.
  1282. func (*AssignVolumeRequest) Descriptor() ([]byte, []int) {
  1283. return file_filer_proto_rawDescGZIP(), []int{21}
  1284. }
  1285. func (x *AssignVolumeRequest) GetCount() int32 {
  1286. if x != nil {
  1287. return x.Count
  1288. }
  1289. return 0
  1290. }
  1291. func (x *AssignVolumeRequest) GetCollection() string {
  1292. if x != nil {
  1293. return x.Collection
  1294. }
  1295. return ""
  1296. }
  1297. func (x *AssignVolumeRequest) GetReplication() string {
  1298. if x != nil {
  1299. return x.Replication
  1300. }
  1301. return ""
  1302. }
  1303. func (x *AssignVolumeRequest) GetTtlSec() int32 {
  1304. if x != nil {
  1305. return x.TtlSec
  1306. }
  1307. return 0
  1308. }
  1309. func (x *AssignVolumeRequest) GetDataCenter() string {
  1310. if x != nil {
  1311. return x.DataCenter
  1312. }
  1313. return ""
  1314. }
  1315. func (x *AssignVolumeRequest) GetPath() string {
  1316. if x != nil {
  1317. return x.Path
  1318. }
  1319. return ""
  1320. }
  1321. func (x *AssignVolumeRequest) GetRack() string {
  1322. if x != nil {
  1323. return x.Rack
  1324. }
  1325. return ""
  1326. }
  1327. type AssignVolumeResponse struct {
  1328. state protoimpl.MessageState
  1329. sizeCache protoimpl.SizeCache
  1330. unknownFields protoimpl.UnknownFields
  1331. FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
  1332. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
  1333. PublicUrl string `protobuf:"bytes,3,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
  1334. Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
  1335. Auth string `protobuf:"bytes,5,opt,name=auth,proto3" json:"auth,omitempty"`
  1336. Collection string `protobuf:"bytes,6,opt,name=collection,proto3" json:"collection,omitempty"`
  1337. Replication string `protobuf:"bytes,7,opt,name=replication,proto3" json:"replication,omitempty"`
  1338. Error string `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"`
  1339. }
  1340. func (x *AssignVolumeResponse) Reset() {
  1341. *x = AssignVolumeResponse{}
  1342. if protoimpl.UnsafeEnabled {
  1343. mi := &file_filer_proto_msgTypes[22]
  1344. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1345. ms.StoreMessageInfo(mi)
  1346. }
  1347. }
  1348. func (x *AssignVolumeResponse) String() string {
  1349. return protoimpl.X.MessageStringOf(x)
  1350. }
  1351. func (*AssignVolumeResponse) ProtoMessage() {}
  1352. func (x *AssignVolumeResponse) ProtoReflect() protoreflect.Message {
  1353. mi := &file_filer_proto_msgTypes[22]
  1354. if protoimpl.UnsafeEnabled && x != nil {
  1355. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1356. if ms.LoadMessageInfo() == nil {
  1357. ms.StoreMessageInfo(mi)
  1358. }
  1359. return ms
  1360. }
  1361. return mi.MessageOf(x)
  1362. }
  1363. // Deprecated: Use AssignVolumeResponse.ProtoReflect.Descriptor instead.
  1364. func (*AssignVolumeResponse) Descriptor() ([]byte, []int) {
  1365. return file_filer_proto_rawDescGZIP(), []int{22}
  1366. }
  1367. func (x *AssignVolumeResponse) GetFileId() string {
  1368. if x != nil {
  1369. return x.FileId
  1370. }
  1371. return ""
  1372. }
  1373. func (x *AssignVolumeResponse) GetUrl() string {
  1374. if x != nil {
  1375. return x.Url
  1376. }
  1377. return ""
  1378. }
  1379. func (x *AssignVolumeResponse) GetPublicUrl() string {
  1380. if x != nil {
  1381. return x.PublicUrl
  1382. }
  1383. return ""
  1384. }
  1385. func (x *AssignVolumeResponse) GetCount() int32 {
  1386. if x != nil {
  1387. return x.Count
  1388. }
  1389. return 0
  1390. }
  1391. func (x *AssignVolumeResponse) GetAuth() string {
  1392. if x != nil {
  1393. return x.Auth
  1394. }
  1395. return ""
  1396. }
  1397. func (x *AssignVolumeResponse) GetCollection() string {
  1398. if x != nil {
  1399. return x.Collection
  1400. }
  1401. return ""
  1402. }
  1403. func (x *AssignVolumeResponse) GetReplication() string {
  1404. if x != nil {
  1405. return x.Replication
  1406. }
  1407. return ""
  1408. }
  1409. func (x *AssignVolumeResponse) GetError() string {
  1410. if x != nil {
  1411. return x.Error
  1412. }
  1413. return ""
  1414. }
  1415. type LookupVolumeRequest struct {
  1416. state protoimpl.MessageState
  1417. sizeCache protoimpl.SizeCache
  1418. unknownFields protoimpl.UnknownFields
  1419. VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
  1420. }
  1421. func (x *LookupVolumeRequest) Reset() {
  1422. *x = LookupVolumeRequest{}
  1423. if protoimpl.UnsafeEnabled {
  1424. mi := &file_filer_proto_msgTypes[23]
  1425. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1426. ms.StoreMessageInfo(mi)
  1427. }
  1428. }
  1429. func (x *LookupVolumeRequest) String() string {
  1430. return protoimpl.X.MessageStringOf(x)
  1431. }
  1432. func (*LookupVolumeRequest) ProtoMessage() {}
  1433. func (x *LookupVolumeRequest) ProtoReflect() protoreflect.Message {
  1434. mi := &file_filer_proto_msgTypes[23]
  1435. if protoimpl.UnsafeEnabled && x != nil {
  1436. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1437. if ms.LoadMessageInfo() == nil {
  1438. ms.StoreMessageInfo(mi)
  1439. }
  1440. return ms
  1441. }
  1442. return mi.MessageOf(x)
  1443. }
  1444. // Deprecated: Use LookupVolumeRequest.ProtoReflect.Descriptor instead.
  1445. func (*LookupVolumeRequest) Descriptor() ([]byte, []int) {
  1446. return file_filer_proto_rawDescGZIP(), []int{23}
  1447. }
  1448. func (x *LookupVolumeRequest) GetVolumeIds() []string {
  1449. if x != nil {
  1450. return x.VolumeIds
  1451. }
  1452. return nil
  1453. }
  1454. type Locations struct {
  1455. state protoimpl.MessageState
  1456. sizeCache protoimpl.SizeCache
  1457. unknownFields protoimpl.UnknownFields
  1458. Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
  1459. }
  1460. func (x *Locations) Reset() {
  1461. *x = Locations{}
  1462. if protoimpl.UnsafeEnabled {
  1463. mi := &file_filer_proto_msgTypes[24]
  1464. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1465. ms.StoreMessageInfo(mi)
  1466. }
  1467. }
  1468. func (x *Locations) String() string {
  1469. return protoimpl.X.MessageStringOf(x)
  1470. }
  1471. func (*Locations) ProtoMessage() {}
  1472. func (x *Locations) ProtoReflect() protoreflect.Message {
  1473. mi := &file_filer_proto_msgTypes[24]
  1474. if protoimpl.UnsafeEnabled && x != nil {
  1475. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1476. if ms.LoadMessageInfo() == nil {
  1477. ms.StoreMessageInfo(mi)
  1478. }
  1479. return ms
  1480. }
  1481. return mi.MessageOf(x)
  1482. }
  1483. // Deprecated: Use Locations.ProtoReflect.Descriptor instead.
  1484. func (*Locations) Descriptor() ([]byte, []int) {
  1485. return file_filer_proto_rawDescGZIP(), []int{24}
  1486. }
  1487. func (x *Locations) GetLocations() []*Location {
  1488. if x != nil {
  1489. return x.Locations
  1490. }
  1491. return nil
  1492. }
  1493. type Location struct {
  1494. state protoimpl.MessageState
  1495. sizeCache protoimpl.SizeCache
  1496. unknownFields protoimpl.UnknownFields
  1497. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
  1498. PublicUrl string `protobuf:"bytes,2,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
  1499. }
  1500. func (x *Location) Reset() {
  1501. *x = Location{}
  1502. if protoimpl.UnsafeEnabled {
  1503. mi := &file_filer_proto_msgTypes[25]
  1504. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1505. ms.StoreMessageInfo(mi)
  1506. }
  1507. }
  1508. func (x *Location) String() string {
  1509. return protoimpl.X.MessageStringOf(x)
  1510. }
  1511. func (*Location) ProtoMessage() {}
  1512. func (x *Location) ProtoReflect() protoreflect.Message {
  1513. mi := &file_filer_proto_msgTypes[25]
  1514. if protoimpl.UnsafeEnabled && x != nil {
  1515. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1516. if ms.LoadMessageInfo() == nil {
  1517. ms.StoreMessageInfo(mi)
  1518. }
  1519. return ms
  1520. }
  1521. return mi.MessageOf(x)
  1522. }
  1523. // Deprecated: Use Location.ProtoReflect.Descriptor instead.
  1524. func (*Location) Descriptor() ([]byte, []int) {
  1525. return file_filer_proto_rawDescGZIP(), []int{25}
  1526. }
  1527. func (x *Location) GetUrl() string {
  1528. if x != nil {
  1529. return x.Url
  1530. }
  1531. return ""
  1532. }
  1533. func (x *Location) GetPublicUrl() string {
  1534. if x != nil {
  1535. return x.PublicUrl
  1536. }
  1537. return ""
  1538. }
  1539. type LookupVolumeResponse struct {
  1540. state protoimpl.MessageState
  1541. sizeCache protoimpl.SizeCache
  1542. unknownFields protoimpl.UnknownFields
  1543. 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"`
  1544. }
  1545. func (x *LookupVolumeResponse) Reset() {
  1546. *x = LookupVolumeResponse{}
  1547. if protoimpl.UnsafeEnabled {
  1548. mi := &file_filer_proto_msgTypes[26]
  1549. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1550. ms.StoreMessageInfo(mi)
  1551. }
  1552. }
  1553. func (x *LookupVolumeResponse) String() string {
  1554. return protoimpl.X.MessageStringOf(x)
  1555. }
  1556. func (*LookupVolumeResponse) ProtoMessage() {}
  1557. func (x *LookupVolumeResponse) ProtoReflect() protoreflect.Message {
  1558. mi := &file_filer_proto_msgTypes[26]
  1559. if protoimpl.UnsafeEnabled && x != nil {
  1560. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1561. if ms.LoadMessageInfo() == nil {
  1562. ms.StoreMessageInfo(mi)
  1563. }
  1564. return ms
  1565. }
  1566. return mi.MessageOf(x)
  1567. }
  1568. // Deprecated: Use LookupVolumeResponse.ProtoReflect.Descriptor instead.
  1569. func (*LookupVolumeResponse) Descriptor() ([]byte, []int) {
  1570. return file_filer_proto_rawDescGZIP(), []int{26}
  1571. }
  1572. func (x *LookupVolumeResponse) GetLocationsMap() map[string]*Locations {
  1573. if x != nil {
  1574. return x.LocationsMap
  1575. }
  1576. return nil
  1577. }
  1578. type Collection struct {
  1579. state protoimpl.MessageState
  1580. sizeCache protoimpl.SizeCache
  1581. unknownFields protoimpl.UnknownFields
  1582. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1583. }
  1584. func (x *Collection) Reset() {
  1585. *x = Collection{}
  1586. if protoimpl.UnsafeEnabled {
  1587. mi := &file_filer_proto_msgTypes[27]
  1588. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1589. ms.StoreMessageInfo(mi)
  1590. }
  1591. }
  1592. func (x *Collection) String() string {
  1593. return protoimpl.X.MessageStringOf(x)
  1594. }
  1595. func (*Collection) ProtoMessage() {}
  1596. func (x *Collection) ProtoReflect() protoreflect.Message {
  1597. mi := &file_filer_proto_msgTypes[27]
  1598. if protoimpl.UnsafeEnabled && x != nil {
  1599. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1600. if ms.LoadMessageInfo() == nil {
  1601. ms.StoreMessageInfo(mi)
  1602. }
  1603. return ms
  1604. }
  1605. return mi.MessageOf(x)
  1606. }
  1607. // Deprecated: Use Collection.ProtoReflect.Descriptor instead.
  1608. func (*Collection) Descriptor() ([]byte, []int) {
  1609. return file_filer_proto_rawDescGZIP(), []int{27}
  1610. }
  1611. func (x *Collection) GetName() string {
  1612. if x != nil {
  1613. return x.Name
  1614. }
  1615. return ""
  1616. }
  1617. type CollectionListRequest struct {
  1618. state protoimpl.MessageState
  1619. sizeCache protoimpl.SizeCache
  1620. unknownFields protoimpl.UnknownFields
  1621. IncludeNormalVolumes bool `protobuf:"varint,1,opt,name=include_normal_volumes,json=includeNormalVolumes,proto3" json:"include_normal_volumes,omitempty"`
  1622. IncludeEcVolumes bool `protobuf:"varint,2,opt,name=include_ec_volumes,json=includeEcVolumes,proto3" json:"include_ec_volumes,omitempty"`
  1623. }
  1624. func (x *CollectionListRequest) Reset() {
  1625. *x = CollectionListRequest{}
  1626. if protoimpl.UnsafeEnabled {
  1627. mi := &file_filer_proto_msgTypes[28]
  1628. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1629. ms.StoreMessageInfo(mi)
  1630. }
  1631. }
  1632. func (x *CollectionListRequest) String() string {
  1633. return protoimpl.X.MessageStringOf(x)
  1634. }
  1635. func (*CollectionListRequest) ProtoMessage() {}
  1636. func (x *CollectionListRequest) ProtoReflect() protoreflect.Message {
  1637. mi := &file_filer_proto_msgTypes[28]
  1638. if protoimpl.UnsafeEnabled && x != nil {
  1639. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1640. if ms.LoadMessageInfo() == nil {
  1641. ms.StoreMessageInfo(mi)
  1642. }
  1643. return ms
  1644. }
  1645. return mi.MessageOf(x)
  1646. }
  1647. // Deprecated: Use CollectionListRequest.ProtoReflect.Descriptor instead.
  1648. func (*CollectionListRequest) Descriptor() ([]byte, []int) {
  1649. return file_filer_proto_rawDescGZIP(), []int{28}
  1650. }
  1651. func (x *CollectionListRequest) GetIncludeNormalVolumes() bool {
  1652. if x != nil {
  1653. return x.IncludeNormalVolumes
  1654. }
  1655. return false
  1656. }
  1657. func (x *CollectionListRequest) GetIncludeEcVolumes() bool {
  1658. if x != nil {
  1659. return x.IncludeEcVolumes
  1660. }
  1661. return false
  1662. }
  1663. type CollectionListResponse struct {
  1664. state protoimpl.MessageState
  1665. sizeCache protoimpl.SizeCache
  1666. unknownFields protoimpl.UnknownFields
  1667. Collections []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"`
  1668. }
  1669. func (x *CollectionListResponse) Reset() {
  1670. *x = CollectionListResponse{}
  1671. if protoimpl.UnsafeEnabled {
  1672. mi := &file_filer_proto_msgTypes[29]
  1673. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1674. ms.StoreMessageInfo(mi)
  1675. }
  1676. }
  1677. func (x *CollectionListResponse) String() string {
  1678. return protoimpl.X.MessageStringOf(x)
  1679. }
  1680. func (*CollectionListResponse) ProtoMessage() {}
  1681. func (x *CollectionListResponse) ProtoReflect() protoreflect.Message {
  1682. mi := &file_filer_proto_msgTypes[29]
  1683. if protoimpl.UnsafeEnabled && x != nil {
  1684. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1685. if ms.LoadMessageInfo() == nil {
  1686. ms.StoreMessageInfo(mi)
  1687. }
  1688. return ms
  1689. }
  1690. return mi.MessageOf(x)
  1691. }
  1692. // Deprecated: Use CollectionListResponse.ProtoReflect.Descriptor instead.
  1693. func (*CollectionListResponse) Descriptor() ([]byte, []int) {
  1694. return file_filer_proto_rawDescGZIP(), []int{29}
  1695. }
  1696. func (x *CollectionListResponse) GetCollections() []*Collection {
  1697. if x != nil {
  1698. return x.Collections
  1699. }
  1700. return nil
  1701. }
  1702. type DeleteCollectionRequest struct {
  1703. state protoimpl.MessageState
  1704. sizeCache protoimpl.SizeCache
  1705. unknownFields protoimpl.UnknownFields
  1706. Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
  1707. }
  1708. func (x *DeleteCollectionRequest) Reset() {
  1709. *x = DeleteCollectionRequest{}
  1710. if protoimpl.UnsafeEnabled {
  1711. mi := &file_filer_proto_msgTypes[30]
  1712. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1713. ms.StoreMessageInfo(mi)
  1714. }
  1715. }
  1716. func (x *DeleteCollectionRequest) String() string {
  1717. return protoimpl.X.MessageStringOf(x)
  1718. }
  1719. func (*DeleteCollectionRequest) ProtoMessage() {}
  1720. func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message {
  1721. mi := &file_filer_proto_msgTypes[30]
  1722. if protoimpl.UnsafeEnabled && x != nil {
  1723. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1724. if ms.LoadMessageInfo() == nil {
  1725. ms.StoreMessageInfo(mi)
  1726. }
  1727. return ms
  1728. }
  1729. return mi.MessageOf(x)
  1730. }
  1731. // Deprecated: Use DeleteCollectionRequest.ProtoReflect.Descriptor instead.
  1732. func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) {
  1733. return file_filer_proto_rawDescGZIP(), []int{30}
  1734. }
  1735. func (x *DeleteCollectionRequest) GetCollection() string {
  1736. if x != nil {
  1737. return x.Collection
  1738. }
  1739. return ""
  1740. }
  1741. type DeleteCollectionResponse struct {
  1742. state protoimpl.MessageState
  1743. sizeCache protoimpl.SizeCache
  1744. unknownFields protoimpl.UnknownFields
  1745. }
  1746. func (x *DeleteCollectionResponse) Reset() {
  1747. *x = DeleteCollectionResponse{}
  1748. if protoimpl.UnsafeEnabled {
  1749. mi := &file_filer_proto_msgTypes[31]
  1750. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1751. ms.StoreMessageInfo(mi)
  1752. }
  1753. }
  1754. func (x *DeleteCollectionResponse) String() string {
  1755. return protoimpl.X.MessageStringOf(x)
  1756. }
  1757. func (*DeleteCollectionResponse) ProtoMessage() {}
  1758. func (x *DeleteCollectionResponse) ProtoReflect() protoreflect.Message {
  1759. mi := &file_filer_proto_msgTypes[31]
  1760. if protoimpl.UnsafeEnabled && x != nil {
  1761. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1762. if ms.LoadMessageInfo() == nil {
  1763. ms.StoreMessageInfo(mi)
  1764. }
  1765. return ms
  1766. }
  1767. return mi.MessageOf(x)
  1768. }
  1769. // Deprecated: Use DeleteCollectionResponse.ProtoReflect.Descriptor instead.
  1770. func (*DeleteCollectionResponse) Descriptor() ([]byte, []int) {
  1771. return file_filer_proto_rawDescGZIP(), []int{31}
  1772. }
  1773. type StatisticsRequest struct {
  1774. state protoimpl.MessageState
  1775. sizeCache protoimpl.SizeCache
  1776. unknownFields protoimpl.UnknownFields
  1777. Replication string `protobuf:"bytes,1,opt,name=replication,proto3" json:"replication,omitempty"`
  1778. Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
  1779. Ttl string `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
  1780. }
  1781. func (x *StatisticsRequest) Reset() {
  1782. *x = StatisticsRequest{}
  1783. if protoimpl.UnsafeEnabled {
  1784. mi := &file_filer_proto_msgTypes[32]
  1785. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1786. ms.StoreMessageInfo(mi)
  1787. }
  1788. }
  1789. func (x *StatisticsRequest) String() string {
  1790. return protoimpl.X.MessageStringOf(x)
  1791. }
  1792. func (*StatisticsRequest) ProtoMessage() {}
  1793. func (x *StatisticsRequest) ProtoReflect() protoreflect.Message {
  1794. mi := &file_filer_proto_msgTypes[32]
  1795. if protoimpl.UnsafeEnabled && x != nil {
  1796. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1797. if ms.LoadMessageInfo() == nil {
  1798. ms.StoreMessageInfo(mi)
  1799. }
  1800. return ms
  1801. }
  1802. return mi.MessageOf(x)
  1803. }
  1804. // Deprecated: Use StatisticsRequest.ProtoReflect.Descriptor instead.
  1805. func (*StatisticsRequest) Descriptor() ([]byte, []int) {
  1806. return file_filer_proto_rawDescGZIP(), []int{32}
  1807. }
  1808. func (x *StatisticsRequest) GetReplication() string {
  1809. if x != nil {
  1810. return x.Replication
  1811. }
  1812. return ""
  1813. }
  1814. func (x *StatisticsRequest) GetCollection() string {
  1815. if x != nil {
  1816. return x.Collection
  1817. }
  1818. return ""
  1819. }
  1820. func (x *StatisticsRequest) GetTtl() string {
  1821. if x != nil {
  1822. return x.Ttl
  1823. }
  1824. return ""
  1825. }
  1826. type StatisticsResponse struct {
  1827. state protoimpl.MessageState
  1828. sizeCache protoimpl.SizeCache
  1829. unknownFields protoimpl.UnknownFields
  1830. Replication string `protobuf:"bytes,1,opt,name=replication,proto3" json:"replication,omitempty"`
  1831. Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
  1832. Ttl string `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
  1833. TotalSize uint64 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
  1834. UsedSize uint64 `protobuf:"varint,5,opt,name=used_size,json=usedSize,proto3" json:"used_size,omitempty"`
  1835. FileCount uint64 `protobuf:"varint,6,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"`
  1836. }
  1837. func (x *StatisticsResponse) Reset() {
  1838. *x = StatisticsResponse{}
  1839. if protoimpl.UnsafeEnabled {
  1840. mi := &file_filer_proto_msgTypes[33]
  1841. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1842. ms.StoreMessageInfo(mi)
  1843. }
  1844. }
  1845. func (x *StatisticsResponse) String() string {
  1846. return protoimpl.X.MessageStringOf(x)
  1847. }
  1848. func (*StatisticsResponse) ProtoMessage() {}
  1849. func (x *StatisticsResponse) ProtoReflect() protoreflect.Message {
  1850. mi := &file_filer_proto_msgTypes[33]
  1851. if protoimpl.UnsafeEnabled && x != nil {
  1852. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1853. if ms.LoadMessageInfo() == nil {
  1854. ms.StoreMessageInfo(mi)
  1855. }
  1856. return ms
  1857. }
  1858. return mi.MessageOf(x)
  1859. }
  1860. // Deprecated: Use StatisticsResponse.ProtoReflect.Descriptor instead.
  1861. func (*StatisticsResponse) Descriptor() ([]byte, []int) {
  1862. return file_filer_proto_rawDescGZIP(), []int{33}
  1863. }
  1864. func (x *StatisticsResponse) GetReplication() string {
  1865. if x != nil {
  1866. return x.Replication
  1867. }
  1868. return ""
  1869. }
  1870. func (x *StatisticsResponse) GetCollection() string {
  1871. if x != nil {
  1872. return x.Collection
  1873. }
  1874. return ""
  1875. }
  1876. func (x *StatisticsResponse) GetTtl() string {
  1877. if x != nil {
  1878. return x.Ttl
  1879. }
  1880. return ""
  1881. }
  1882. func (x *StatisticsResponse) GetTotalSize() uint64 {
  1883. if x != nil {
  1884. return x.TotalSize
  1885. }
  1886. return 0
  1887. }
  1888. func (x *StatisticsResponse) GetUsedSize() uint64 {
  1889. if x != nil {
  1890. return x.UsedSize
  1891. }
  1892. return 0
  1893. }
  1894. func (x *StatisticsResponse) GetFileCount() uint64 {
  1895. if x != nil {
  1896. return x.FileCount
  1897. }
  1898. return 0
  1899. }
  1900. type GetFilerConfigurationRequest struct {
  1901. state protoimpl.MessageState
  1902. sizeCache protoimpl.SizeCache
  1903. unknownFields protoimpl.UnknownFields
  1904. }
  1905. func (x *GetFilerConfigurationRequest) Reset() {
  1906. *x = GetFilerConfigurationRequest{}
  1907. if protoimpl.UnsafeEnabled {
  1908. mi := &file_filer_proto_msgTypes[34]
  1909. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1910. ms.StoreMessageInfo(mi)
  1911. }
  1912. }
  1913. func (x *GetFilerConfigurationRequest) String() string {
  1914. return protoimpl.X.MessageStringOf(x)
  1915. }
  1916. func (*GetFilerConfigurationRequest) ProtoMessage() {}
  1917. func (x *GetFilerConfigurationRequest) ProtoReflect() protoreflect.Message {
  1918. mi := &file_filer_proto_msgTypes[34]
  1919. if protoimpl.UnsafeEnabled && x != nil {
  1920. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1921. if ms.LoadMessageInfo() == nil {
  1922. ms.StoreMessageInfo(mi)
  1923. }
  1924. return ms
  1925. }
  1926. return mi.MessageOf(x)
  1927. }
  1928. // Deprecated: Use GetFilerConfigurationRequest.ProtoReflect.Descriptor instead.
  1929. func (*GetFilerConfigurationRequest) Descriptor() ([]byte, []int) {
  1930. return file_filer_proto_rawDescGZIP(), []int{34}
  1931. }
  1932. type GetFilerConfigurationResponse struct {
  1933. state protoimpl.MessageState
  1934. sizeCache protoimpl.SizeCache
  1935. unknownFields protoimpl.UnknownFields
  1936. Masters []string `protobuf:"bytes,1,rep,name=masters,proto3" json:"masters,omitempty"`
  1937. Replication string `protobuf:"bytes,2,opt,name=replication,proto3" json:"replication,omitempty"`
  1938. Collection string `protobuf:"bytes,3,opt,name=collection,proto3" json:"collection,omitempty"`
  1939. MaxMb uint32 `protobuf:"varint,4,opt,name=max_mb,json=maxMb,proto3" json:"max_mb,omitempty"`
  1940. DirBuckets string `protobuf:"bytes,5,opt,name=dir_buckets,json=dirBuckets,proto3" json:"dir_buckets,omitempty"`
  1941. Cipher bool `protobuf:"varint,7,opt,name=cipher,proto3" json:"cipher,omitempty"`
  1942. Signature int32 `protobuf:"varint,8,opt,name=signature,proto3" json:"signature,omitempty"`
  1943. MetricsAddress string `protobuf:"bytes,9,opt,name=metrics_address,json=metricsAddress,proto3" json:"metrics_address,omitempty"`
  1944. MetricsIntervalSec int32 `protobuf:"varint,10,opt,name=metrics_interval_sec,json=metricsIntervalSec,proto3" json:"metrics_interval_sec,omitempty"`
  1945. }
  1946. func (x *GetFilerConfigurationResponse) Reset() {
  1947. *x = GetFilerConfigurationResponse{}
  1948. if protoimpl.UnsafeEnabled {
  1949. mi := &file_filer_proto_msgTypes[35]
  1950. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1951. ms.StoreMessageInfo(mi)
  1952. }
  1953. }
  1954. func (x *GetFilerConfigurationResponse) String() string {
  1955. return protoimpl.X.MessageStringOf(x)
  1956. }
  1957. func (*GetFilerConfigurationResponse) ProtoMessage() {}
  1958. func (x *GetFilerConfigurationResponse) ProtoReflect() protoreflect.Message {
  1959. mi := &file_filer_proto_msgTypes[35]
  1960. if protoimpl.UnsafeEnabled && x != nil {
  1961. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1962. if ms.LoadMessageInfo() == nil {
  1963. ms.StoreMessageInfo(mi)
  1964. }
  1965. return ms
  1966. }
  1967. return mi.MessageOf(x)
  1968. }
  1969. // Deprecated: Use GetFilerConfigurationResponse.ProtoReflect.Descriptor instead.
  1970. func (*GetFilerConfigurationResponse) Descriptor() ([]byte, []int) {
  1971. return file_filer_proto_rawDescGZIP(), []int{35}
  1972. }
  1973. func (x *GetFilerConfigurationResponse) GetMasters() []string {
  1974. if x != nil {
  1975. return x.Masters
  1976. }
  1977. return nil
  1978. }
  1979. func (x *GetFilerConfigurationResponse) GetReplication() string {
  1980. if x != nil {
  1981. return x.Replication
  1982. }
  1983. return ""
  1984. }
  1985. func (x *GetFilerConfigurationResponse) GetCollection() string {
  1986. if x != nil {
  1987. return x.Collection
  1988. }
  1989. return ""
  1990. }
  1991. func (x *GetFilerConfigurationResponse) GetMaxMb() uint32 {
  1992. if x != nil {
  1993. return x.MaxMb
  1994. }
  1995. return 0
  1996. }
  1997. func (x *GetFilerConfigurationResponse) GetDirBuckets() string {
  1998. if x != nil {
  1999. return x.DirBuckets
  2000. }
  2001. return ""
  2002. }
  2003. func (x *GetFilerConfigurationResponse) GetCipher() bool {
  2004. if x != nil {
  2005. return x.Cipher
  2006. }
  2007. return false
  2008. }
  2009. func (x *GetFilerConfigurationResponse) GetSignature() int32 {
  2010. if x != nil {
  2011. return x.Signature
  2012. }
  2013. return 0
  2014. }
  2015. func (x *GetFilerConfigurationResponse) GetMetricsAddress() string {
  2016. if x != nil {
  2017. return x.MetricsAddress
  2018. }
  2019. return ""
  2020. }
  2021. func (x *GetFilerConfigurationResponse) GetMetricsIntervalSec() int32 {
  2022. if x != nil {
  2023. return x.MetricsIntervalSec
  2024. }
  2025. return 0
  2026. }
  2027. type SubscribeMetadataRequest struct {
  2028. state protoimpl.MessageState
  2029. sizeCache protoimpl.SizeCache
  2030. unknownFields protoimpl.UnknownFields
  2031. ClientName string `protobuf:"bytes,1,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"`
  2032. PathPrefix string `protobuf:"bytes,2,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"`
  2033. SinceNs int64 `protobuf:"varint,3,opt,name=since_ns,json=sinceNs,proto3" json:"since_ns,omitempty"`
  2034. Signature int32 `protobuf:"varint,4,opt,name=signature,proto3" json:"signature,omitempty"`
  2035. }
  2036. func (x *SubscribeMetadataRequest) Reset() {
  2037. *x = SubscribeMetadataRequest{}
  2038. if protoimpl.UnsafeEnabled {
  2039. mi := &file_filer_proto_msgTypes[36]
  2040. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2041. ms.StoreMessageInfo(mi)
  2042. }
  2043. }
  2044. func (x *SubscribeMetadataRequest) String() string {
  2045. return protoimpl.X.MessageStringOf(x)
  2046. }
  2047. func (*SubscribeMetadataRequest) ProtoMessage() {}
  2048. func (x *SubscribeMetadataRequest) ProtoReflect() protoreflect.Message {
  2049. mi := &file_filer_proto_msgTypes[36]
  2050. if protoimpl.UnsafeEnabled && x != nil {
  2051. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2052. if ms.LoadMessageInfo() == nil {
  2053. ms.StoreMessageInfo(mi)
  2054. }
  2055. return ms
  2056. }
  2057. return mi.MessageOf(x)
  2058. }
  2059. // Deprecated: Use SubscribeMetadataRequest.ProtoReflect.Descriptor instead.
  2060. func (*SubscribeMetadataRequest) Descriptor() ([]byte, []int) {
  2061. return file_filer_proto_rawDescGZIP(), []int{36}
  2062. }
  2063. func (x *SubscribeMetadataRequest) GetClientName() string {
  2064. if x != nil {
  2065. return x.ClientName
  2066. }
  2067. return ""
  2068. }
  2069. func (x *SubscribeMetadataRequest) GetPathPrefix() string {
  2070. if x != nil {
  2071. return x.PathPrefix
  2072. }
  2073. return ""
  2074. }
  2075. func (x *SubscribeMetadataRequest) GetSinceNs() int64 {
  2076. if x != nil {
  2077. return x.SinceNs
  2078. }
  2079. return 0
  2080. }
  2081. func (x *SubscribeMetadataRequest) GetSignature() int32 {
  2082. if x != nil {
  2083. return x.Signature
  2084. }
  2085. return 0
  2086. }
  2087. type SubscribeMetadataResponse struct {
  2088. state protoimpl.MessageState
  2089. sizeCache protoimpl.SizeCache
  2090. unknownFields protoimpl.UnknownFields
  2091. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  2092. EventNotification *EventNotification `protobuf:"bytes,2,opt,name=event_notification,json=eventNotification,proto3" json:"event_notification,omitempty"`
  2093. TsNs int64 `protobuf:"varint,3,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
  2094. }
  2095. func (x *SubscribeMetadataResponse) Reset() {
  2096. *x = SubscribeMetadataResponse{}
  2097. if protoimpl.UnsafeEnabled {
  2098. mi := &file_filer_proto_msgTypes[37]
  2099. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2100. ms.StoreMessageInfo(mi)
  2101. }
  2102. }
  2103. func (x *SubscribeMetadataResponse) String() string {
  2104. return protoimpl.X.MessageStringOf(x)
  2105. }
  2106. func (*SubscribeMetadataResponse) ProtoMessage() {}
  2107. func (x *SubscribeMetadataResponse) ProtoReflect() protoreflect.Message {
  2108. mi := &file_filer_proto_msgTypes[37]
  2109. if protoimpl.UnsafeEnabled && x != nil {
  2110. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2111. if ms.LoadMessageInfo() == nil {
  2112. ms.StoreMessageInfo(mi)
  2113. }
  2114. return ms
  2115. }
  2116. return mi.MessageOf(x)
  2117. }
  2118. // Deprecated: Use SubscribeMetadataResponse.ProtoReflect.Descriptor instead.
  2119. func (*SubscribeMetadataResponse) Descriptor() ([]byte, []int) {
  2120. return file_filer_proto_rawDescGZIP(), []int{37}
  2121. }
  2122. func (x *SubscribeMetadataResponse) GetDirectory() string {
  2123. if x != nil {
  2124. return x.Directory
  2125. }
  2126. return ""
  2127. }
  2128. func (x *SubscribeMetadataResponse) GetEventNotification() *EventNotification {
  2129. if x != nil {
  2130. return x.EventNotification
  2131. }
  2132. return nil
  2133. }
  2134. func (x *SubscribeMetadataResponse) GetTsNs() int64 {
  2135. if x != nil {
  2136. return x.TsNs
  2137. }
  2138. return 0
  2139. }
  2140. type LogEntry struct {
  2141. state protoimpl.MessageState
  2142. sizeCache protoimpl.SizeCache
  2143. unknownFields protoimpl.UnknownFields
  2144. TsNs int64 `protobuf:"varint,1,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
  2145. PartitionKeyHash int32 `protobuf:"varint,2,opt,name=partition_key_hash,json=partitionKeyHash,proto3" json:"partition_key_hash,omitempty"`
  2146. Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  2147. }
  2148. func (x *LogEntry) Reset() {
  2149. *x = LogEntry{}
  2150. if protoimpl.UnsafeEnabled {
  2151. mi := &file_filer_proto_msgTypes[38]
  2152. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2153. ms.StoreMessageInfo(mi)
  2154. }
  2155. }
  2156. func (x *LogEntry) String() string {
  2157. return protoimpl.X.MessageStringOf(x)
  2158. }
  2159. func (*LogEntry) ProtoMessage() {}
  2160. func (x *LogEntry) ProtoReflect() protoreflect.Message {
  2161. mi := &file_filer_proto_msgTypes[38]
  2162. if protoimpl.UnsafeEnabled && x != nil {
  2163. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2164. if ms.LoadMessageInfo() == nil {
  2165. ms.StoreMessageInfo(mi)
  2166. }
  2167. return ms
  2168. }
  2169. return mi.MessageOf(x)
  2170. }
  2171. // Deprecated: Use LogEntry.ProtoReflect.Descriptor instead.
  2172. func (*LogEntry) Descriptor() ([]byte, []int) {
  2173. return file_filer_proto_rawDescGZIP(), []int{38}
  2174. }
  2175. func (x *LogEntry) GetTsNs() int64 {
  2176. if x != nil {
  2177. return x.TsNs
  2178. }
  2179. return 0
  2180. }
  2181. func (x *LogEntry) GetPartitionKeyHash() int32 {
  2182. if x != nil {
  2183. return x.PartitionKeyHash
  2184. }
  2185. return 0
  2186. }
  2187. func (x *LogEntry) GetData() []byte {
  2188. if x != nil {
  2189. return x.Data
  2190. }
  2191. return nil
  2192. }
  2193. type KeepConnectedRequest struct {
  2194. state protoimpl.MessageState
  2195. sizeCache protoimpl.SizeCache
  2196. unknownFields protoimpl.UnknownFields
  2197. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  2198. GrpcPort uint32 `protobuf:"varint,2,opt,name=grpc_port,json=grpcPort,proto3" json:"grpc_port,omitempty"`
  2199. Resources []string `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"`
  2200. }
  2201. func (x *KeepConnectedRequest) Reset() {
  2202. *x = KeepConnectedRequest{}
  2203. if protoimpl.UnsafeEnabled {
  2204. mi := &file_filer_proto_msgTypes[39]
  2205. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2206. ms.StoreMessageInfo(mi)
  2207. }
  2208. }
  2209. func (x *KeepConnectedRequest) String() string {
  2210. return protoimpl.X.MessageStringOf(x)
  2211. }
  2212. func (*KeepConnectedRequest) ProtoMessage() {}
  2213. func (x *KeepConnectedRequest) ProtoReflect() protoreflect.Message {
  2214. mi := &file_filer_proto_msgTypes[39]
  2215. if protoimpl.UnsafeEnabled && x != nil {
  2216. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2217. if ms.LoadMessageInfo() == nil {
  2218. ms.StoreMessageInfo(mi)
  2219. }
  2220. return ms
  2221. }
  2222. return mi.MessageOf(x)
  2223. }
  2224. // Deprecated: Use KeepConnectedRequest.ProtoReflect.Descriptor instead.
  2225. func (*KeepConnectedRequest) Descriptor() ([]byte, []int) {
  2226. return file_filer_proto_rawDescGZIP(), []int{39}
  2227. }
  2228. func (x *KeepConnectedRequest) GetName() string {
  2229. if x != nil {
  2230. return x.Name
  2231. }
  2232. return ""
  2233. }
  2234. func (x *KeepConnectedRequest) GetGrpcPort() uint32 {
  2235. if x != nil {
  2236. return x.GrpcPort
  2237. }
  2238. return 0
  2239. }
  2240. func (x *KeepConnectedRequest) GetResources() []string {
  2241. if x != nil {
  2242. return x.Resources
  2243. }
  2244. return nil
  2245. }
  2246. type KeepConnectedResponse struct {
  2247. state protoimpl.MessageState
  2248. sizeCache protoimpl.SizeCache
  2249. unknownFields protoimpl.UnknownFields
  2250. }
  2251. func (x *KeepConnectedResponse) Reset() {
  2252. *x = KeepConnectedResponse{}
  2253. if protoimpl.UnsafeEnabled {
  2254. mi := &file_filer_proto_msgTypes[40]
  2255. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2256. ms.StoreMessageInfo(mi)
  2257. }
  2258. }
  2259. func (x *KeepConnectedResponse) String() string {
  2260. return protoimpl.X.MessageStringOf(x)
  2261. }
  2262. func (*KeepConnectedResponse) ProtoMessage() {}
  2263. func (x *KeepConnectedResponse) ProtoReflect() protoreflect.Message {
  2264. mi := &file_filer_proto_msgTypes[40]
  2265. if protoimpl.UnsafeEnabled && x != nil {
  2266. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2267. if ms.LoadMessageInfo() == nil {
  2268. ms.StoreMessageInfo(mi)
  2269. }
  2270. return ms
  2271. }
  2272. return mi.MessageOf(x)
  2273. }
  2274. // Deprecated: Use KeepConnectedResponse.ProtoReflect.Descriptor instead.
  2275. func (*KeepConnectedResponse) Descriptor() ([]byte, []int) {
  2276. return file_filer_proto_rawDescGZIP(), []int{40}
  2277. }
  2278. type LocateBrokerRequest struct {
  2279. state protoimpl.MessageState
  2280. sizeCache protoimpl.SizeCache
  2281. unknownFields protoimpl.UnknownFields
  2282. Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
  2283. }
  2284. func (x *LocateBrokerRequest) Reset() {
  2285. *x = LocateBrokerRequest{}
  2286. if protoimpl.UnsafeEnabled {
  2287. mi := &file_filer_proto_msgTypes[41]
  2288. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2289. ms.StoreMessageInfo(mi)
  2290. }
  2291. }
  2292. func (x *LocateBrokerRequest) String() string {
  2293. return protoimpl.X.MessageStringOf(x)
  2294. }
  2295. func (*LocateBrokerRequest) ProtoMessage() {}
  2296. func (x *LocateBrokerRequest) ProtoReflect() protoreflect.Message {
  2297. mi := &file_filer_proto_msgTypes[41]
  2298. if protoimpl.UnsafeEnabled && x != nil {
  2299. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2300. if ms.LoadMessageInfo() == nil {
  2301. ms.StoreMessageInfo(mi)
  2302. }
  2303. return ms
  2304. }
  2305. return mi.MessageOf(x)
  2306. }
  2307. // Deprecated: Use LocateBrokerRequest.ProtoReflect.Descriptor instead.
  2308. func (*LocateBrokerRequest) Descriptor() ([]byte, []int) {
  2309. return file_filer_proto_rawDescGZIP(), []int{41}
  2310. }
  2311. func (x *LocateBrokerRequest) GetResource() string {
  2312. if x != nil {
  2313. return x.Resource
  2314. }
  2315. return ""
  2316. }
  2317. type LocateBrokerResponse struct {
  2318. state protoimpl.MessageState
  2319. sizeCache protoimpl.SizeCache
  2320. unknownFields protoimpl.UnknownFields
  2321. Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
  2322. Resources []*LocateBrokerResponse_Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
  2323. }
  2324. func (x *LocateBrokerResponse) Reset() {
  2325. *x = LocateBrokerResponse{}
  2326. if protoimpl.UnsafeEnabled {
  2327. mi := &file_filer_proto_msgTypes[42]
  2328. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2329. ms.StoreMessageInfo(mi)
  2330. }
  2331. }
  2332. func (x *LocateBrokerResponse) String() string {
  2333. return protoimpl.X.MessageStringOf(x)
  2334. }
  2335. func (*LocateBrokerResponse) ProtoMessage() {}
  2336. func (x *LocateBrokerResponse) ProtoReflect() protoreflect.Message {
  2337. mi := &file_filer_proto_msgTypes[42]
  2338. if protoimpl.UnsafeEnabled && x != nil {
  2339. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2340. if ms.LoadMessageInfo() == nil {
  2341. ms.StoreMessageInfo(mi)
  2342. }
  2343. return ms
  2344. }
  2345. return mi.MessageOf(x)
  2346. }
  2347. // Deprecated: Use LocateBrokerResponse.ProtoReflect.Descriptor instead.
  2348. func (*LocateBrokerResponse) Descriptor() ([]byte, []int) {
  2349. return file_filer_proto_rawDescGZIP(), []int{42}
  2350. }
  2351. func (x *LocateBrokerResponse) GetFound() bool {
  2352. if x != nil {
  2353. return x.Found
  2354. }
  2355. return false
  2356. }
  2357. func (x *LocateBrokerResponse) GetResources() []*LocateBrokerResponse_Resource {
  2358. if x != nil {
  2359. return x.Resources
  2360. }
  2361. return nil
  2362. }
  2363. // Key-Value operations
  2364. type KvGetRequest struct {
  2365. state protoimpl.MessageState
  2366. sizeCache protoimpl.SizeCache
  2367. unknownFields protoimpl.UnknownFields
  2368. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  2369. }
  2370. func (x *KvGetRequest) Reset() {
  2371. *x = KvGetRequest{}
  2372. if protoimpl.UnsafeEnabled {
  2373. mi := &file_filer_proto_msgTypes[43]
  2374. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2375. ms.StoreMessageInfo(mi)
  2376. }
  2377. }
  2378. func (x *KvGetRequest) String() string {
  2379. return protoimpl.X.MessageStringOf(x)
  2380. }
  2381. func (*KvGetRequest) ProtoMessage() {}
  2382. func (x *KvGetRequest) ProtoReflect() protoreflect.Message {
  2383. mi := &file_filer_proto_msgTypes[43]
  2384. if protoimpl.UnsafeEnabled && x != nil {
  2385. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2386. if ms.LoadMessageInfo() == nil {
  2387. ms.StoreMessageInfo(mi)
  2388. }
  2389. return ms
  2390. }
  2391. return mi.MessageOf(x)
  2392. }
  2393. // Deprecated: Use KvGetRequest.ProtoReflect.Descriptor instead.
  2394. func (*KvGetRequest) Descriptor() ([]byte, []int) {
  2395. return file_filer_proto_rawDescGZIP(), []int{43}
  2396. }
  2397. func (x *KvGetRequest) GetKey() []byte {
  2398. if x != nil {
  2399. return x.Key
  2400. }
  2401. return nil
  2402. }
  2403. type KvGetResponse struct {
  2404. state protoimpl.MessageState
  2405. sizeCache protoimpl.SizeCache
  2406. unknownFields protoimpl.UnknownFields
  2407. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  2408. Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
  2409. }
  2410. func (x *KvGetResponse) Reset() {
  2411. *x = KvGetResponse{}
  2412. if protoimpl.UnsafeEnabled {
  2413. mi := &file_filer_proto_msgTypes[44]
  2414. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2415. ms.StoreMessageInfo(mi)
  2416. }
  2417. }
  2418. func (x *KvGetResponse) String() string {
  2419. return protoimpl.X.MessageStringOf(x)
  2420. }
  2421. func (*KvGetResponse) ProtoMessage() {}
  2422. func (x *KvGetResponse) ProtoReflect() protoreflect.Message {
  2423. mi := &file_filer_proto_msgTypes[44]
  2424. if protoimpl.UnsafeEnabled && x != nil {
  2425. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2426. if ms.LoadMessageInfo() == nil {
  2427. ms.StoreMessageInfo(mi)
  2428. }
  2429. return ms
  2430. }
  2431. return mi.MessageOf(x)
  2432. }
  2433. // Deprecated: Use KvGetResponse.ProtoReflect.Descriptor instead.
  2434. func (*KvGetResponse) Descriptor() ([]byte, []int) {
  2435. return file_filer_proto_rawDescGZIP(), []int{44}
  2436. }
  2437. func (x *KvGetResponse) GetValue() []byte {
  2438. if x != nil {
  2439. return x.Value
  2440. }
  2441. return nil
  2442. }
  2443. func (x *KvGetResponse) GetError() string {
  2444. if x != nil {
  2445. return x.Error
  2446. }
  2447. return ""
  2448. }
  2449. type KvPutRequest struct {
  2450. state protoimpl.MessageState
  2451. sizeCache protoimpl.SizeCache
  2452. unknownFields protoimpl.UnknownFields
  2453. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  2454. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  2455. }
  2456. func (x *KvPutRequest) Reset() {
  2457. *x = KvPutRequest{}
  2458. if protoimpl.UnsafeEnabled {
  2459. mi := &file_filer_proto_msgTypes[45]
  2460. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2461. ms.StoreMessageInfo(mi)
  2462. }
  2463. }
  2464. func (x *KvPutRequest) String() string {
  2465. return protoimpl.X.MessageStringOf(x)
  2466. }
  2467. func (*KvPutRequest) ProtoMessage() {}
  2468. func (x *KvPutRequest) ProtoReflect() protoreflect.Message {
  2469. mi := &file_filer_proto_msgTypes[45]
  2470. if protoimpl.UnsafeEnabled && x != nil {
  2471. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2472. if ms.LoadMessageInfo() == nil {
  2473. ms.StoreMessageInfo(mi)
  2474. }
  2475. return ms
  2476. }
  2477. return mi.MessageOf(x)
  2478. }
  2479. // Deprecated: Use KvPutRequest.ProtoReflect.Descriptor instead.
  2480. func (*KvPutRequest) Descriptor() ([]byte, []int) {
  2481. return file_filer_proto_rawDescGZIP(), []int{45}
  2482. }
  2483. func (x *KvPutRequest) GetKey() []byte {
  2484. if x != nil {
  2485. return x.Key
  2486. }
  2487. return nil
  2488. }
  2489. func (x *KvPutRequest) GetValue() []byte {
  2490. if x != nil {
  2491. return x.Value
  2492. }
  2493. return nil
  2494. }
  2495. type KvPutResponse struct {
  2496. state protoimpl.MessageState
  2497. sizeCache protoimpl.SizeCache
  2498. unknownFields protoimpl.UnknownFields
  2499. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  2500. }
  2501. func (x *KvPutResponse) Reset() {
  2502. *x = KvPutResponse{}
  2503. if protoimpl.UnsafeEnabled {
  2504. mi := &file_filer_proto_msgTypes[46]
  2505. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2506. ms.StoreMessageInfo(mi)
  2507. }
  2508. }
  2509. func (x *KvPutResponse) String() string {
  2510. return protoimpl.X.MessageStringOf(x)
  2511. }
  2512. func (*KvPutResponse) ProtoMessage() {}
  2513. func (x *KvPutResponse) ProtoReflect() protoreflect.Message {
  2514. mi := &file_filer_proto_msgTypes[46]
  2515. if protoimpl.UnsafeEnabled && x != nil {
  2516. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2517. if ms.LoadMessageInfo() == nil {
  2518. ms.StoreMessageInfo(mi)
  2519. }
  2520. return ms
  2521. }
  2522. return mi.MessageOf(x)
  2523. }
  2524. // Deprecated: Use KvPutResponse.ProtoReflect.Descriptor instead.
  2525. func (*KvPutResponse) Descriptor() ([]byte, []int) {
  2526. return file_filer_proto_rawDescGZIP(), []int{46}
  2527. }
  2528. func (x *KvPutResponse) GetError() string {
  2529. if x != nil {
  2530. return x.Error
  2531. }
  2532. return ""
  2533. }
  2534. // if found, send the exact address
  2535. // if not found, send the full list of existing brokers
  2536. type LocateBrokerResponse_Resource struct {
  2537. state protoimpl.MessageState
  2538. sizeCache protoimpl.SizeCache
  2539. unknownFields protoimpl.UnknownFields
  2540. GrpcAddresses string `protobuf:"bytes,1,opt,name=grpc_addresses,json=grpcAddresses,proto3" json:"grpc_addresses,omitempty"`
  2541. ResourceCount int32 `protobuf:"varint,2,opt,name=resource_count,json=resourceCount,proto3" json:"resource_count,omitempty"`
  2542. }
  2543. func (x *LocateBrokerResponse_Resource) Reset() {
  2544. *x = LocateBrokerResponse_Resource{}
  2545. if protoimpl.UnsafeEnabled {
  2546. mi := &file_filer_proto_msgTypes[49]
  2547. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2548. ms.StoreMessageInfo(mi)
  2549. }
  2550. }
  2551. func (x *LocateBrokerResponse_Resource) String() string {
  2552. return protoimpl.X.MessageStringOf(x)
  2553. }
  2554. func (*LocateBrokerResponse_Resource) ProtoMessage() {}
  2555. func (x *LocateBrokerResponse_Resource) ProtoReflect() protoreflect.Message {
  2556. mi := &file_filer_proto_msgTypes[49]
  2557. if protoimpl.UnsafeEnabled && x != nil {
  2558. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2559. if ms.LoadMessageInfo() == nil {
  2560. ms.StoreMessageInfo(mi)
  2561. }
  2562. return ms
  2563. }
  2564. return mi.MessageOf(x)
  2565. }
  2566. // Deprecated: Use LocateBrokerResponse_Resource.ProtoReflect.Descriptor instead.
  2567. func (*LocateBrokerResponse_Resource) Descriptor() ([]byte, []int) {
  2568. return file_filer_proto_rawDescGZIP(), []int{42, 0}
  2569. }
  2570. func (x *LocateBrokerResponse_Resource) GetGrpcAddresses() string {
  2571. if x != nil {
  2572. return x.GrpcAddresses
  2573. }
  2574. return ""
  2575. }
  2576. func (x *LocateBrokerResponse_Resource) GetResourceCount() int32 {
  2577. if x != nil {
  2578. return x.ResourceCount
  2579. }
  2580. return 0
  2581. }
  2582. var File_filer_proto protoreflect.FileDescriptor
  2583. var file_filer_proto_rawDesc = []byte{
  2584. 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x66,
  2585. 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x22, 0x4f, 0x0a, 0x1b, 0x4c, 0x6f, 0x6f, 0x6b, 0x75,
  2586. 0x70, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
  2587. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
  2588. 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63,
  2589. 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  2590. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x45, 0x0a, 0x1c, 0x4c, 0x6f, 0x6f, 0x6b,
  2591. 0x75, 0x70, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79,
  2592. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72,
  2593. 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f,
  2594. 0x70, 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x22,
  2595. 0xbe, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52,
  2596. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
  2597. 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63,
  2598. 0x74, 0x6f, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x02,
  2599. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x2c, 0x0a, 0x11,
  2600. 0x73, 0x74, 0x61, 0x72, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d,
  2601. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x46, 0x72,
  2602. 0x6f, 0x6d, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x69, 0x6e,
  2603. 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x46, 0x72, 0x6f, 0x6d,
  2604. 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76,
  2605. 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69,
  2606. 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
  2607. 0x22, 0x3c, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52,
  2608. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79,
  2609. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70,
  2610. 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x22, 0xeb,
  2611. 0x02, 0x0a, 0x05, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  2612. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c,
  2613. 0x69, 0x73, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01,
  2614. 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12,
  2615. 0x2b, 0x0a, 0x06, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
  2616. 0x13, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x43,
  2617. 0x68, 0x75, 0x6e, 0x6b, 0x52, 0x06, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x12, 0x38, 0x0a, 0x0a,
  2618. 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
  2619. 0x32, 0x18, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x75, 0x73, 0x65,
  2620. 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72,
  2621. 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64,
  2622. 0x65, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72,
  2623. 0x5f, 0x70, 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64,
  2624. 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65,
  2625. 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x69,
  2626. 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x68, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x6e,
  2627. 0x6b, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x6b,
  2628. 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f,
  2629. 0x68, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x1a,
  2630. 0x3b, 0x0a, 0x0d, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
  2631. 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
  2632. 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  2633. 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x44, 0x0a, 0x09,
  2634. 0x46, 0x75, 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x72,
  2635. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x72, 0x12, 0x25, 0x0a, 0x05, 0x65,
  2636. 0x6e, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66, 0x69, 0x6c,
  2637. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x65, 0x6e, 0x74,
  2638. 0x72, 0x79, 0x22, 0x8f, 0x02, 0x0a, 0x11, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69,
  2639. 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f,
  2640. 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66, 0x69,
  2641. 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6f, 0x6c,
  2642. 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x65, 0x6e,
  2643. 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66, 0x69, 0x6c, 0x65,
  2644. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x45,
  2645. 0x6e, 0x74, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x63,
  2646. 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x65, 0x6c,
  2647. 0x65, 0x74, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x77,
  2648. 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01,
  2649. 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x77, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74,
  2650. 0x68, 0x12, 0x31, 0x0a, 0x15, 0x69, 0x73, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6f, 0x74, 0x68,
  2651. 0x65, 0x72, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
  2652. 0x52, 0x12, 0x69, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x43, 0x6c, 0x75,
  2653. 0x73, 0x74, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
  2654. 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74,
  2655. 0x75, 0x72, 0x65, 0x73, 0x22, 0xe6, 0x02, 0x0a, 0x09, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75,
  2656. 0x6e, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
  2657. 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f,
  2658. 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66,
  2659. 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  2660. 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65,
  2661. 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x13, 0x0a,
  2662. 0x05, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x54,
  2663. 0x61, 0x67, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c,
  2664. 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72,
  2665. 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x03, 0x66, 0x69, 0x64, 0x18,
  2666. 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62,
  2667. 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x03, 0x66, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x0a,
  2668. 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
  2669. 0x32, 0x10, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6c, 0x65,
  2670. 0x49, 0x64, 0x52, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x64, 0x12, 0x1d, 0x0a,
  2671. 0x0a, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28,
  2672. 0x0c, 0x52, 0x09, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x0d,
  2673. 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x18, 0x0a, 0x20,
  2674. 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65,
  2675. 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x5f, 0x6d, 0x61,
  2676. 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73,
  2677. 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x22, 0x40, 0x0a,
  2678. 0x11, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65,
  2679. 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x06, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03,
  2680. 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69,
  2681. 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x52, 0x06, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x22,
  2682. 0x58, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c,
  2683. 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x76, 0x6f,
  2684. 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6b,
  2685. 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4b, 0x65,
  2686. 0x79, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  2687. 0x07, 0x52, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x22, 0x80, 0x03, 0x0a, 0x0e, 0x46, 0x75,
  2688. 0x73, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09,
  2689. 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
  2690. 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69,
  2691. 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12,
  2692. 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01,
  2693. 0x28, 0x0d, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03,
  2694. 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10,
  2695. 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x67, 0x69, 0x64,
  2696. 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
  2697. 0x52, 0x06, 0x63, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x69, 0x6d, 0x65,
  2698. 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b,
  2699. 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28,
  2700. 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e,
  2701. 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01,
  2702. 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17,
  2703. 0x0a, 0x07, 0x74, 0x74, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52,
  2704. 0x06, 0x74, 0x74, 0x6c, 0x53, 0x65, 0x63, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f,
  2705. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72,
  2706. 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61,
  2707. 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e,
  2708. 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x74,
  2709. 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x79, 0x6d,
  2710. 0x6c, 0x69, 0x6e, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x64,
  2711. 0x35, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6d, 0x64, 0x35, 0x22, 0xc3, 0x01, 0x0a,
  2712. 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75,
  2713. 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79,
  2714. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72,
  2715. 0x79, 0x12, 0x25, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
  2716. 0x32, 0x0f, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x72,
  2717. 0x79, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x5f, 0x65, 0x78,
  2718. 0x63, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x6f, 0x45, 0x78, 0x63, 0x6c, 0x12,
  2719. 0x31, 0x0a, 0x15, 0x69, 0x73, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6f, 0x74, 0x68, 0x65, 0x72,
  2720. 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12,
  2721. 0x69, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74,
  2722. 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73,
  2723. 0x18, 0x05, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
  2724. 0x65, 0x73, 0x22, 0x2b, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72,
  2725. 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72,
  2726. 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22,
  2727. 0xac, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
  2728. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
  2729. 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63,
  2730. 0x74, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20,
  2731. 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x45,
  2732. 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x31, 0x0a, 0x15, 0x69,
  2733. 0x73, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x63, 0x6c, 0x75,
  2734. 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x69, 0x73, 0x46, 0x72,
  2735. 0x6f, 0x6d, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1e,
  2736. 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03,
  2737. 0x28, 0x05, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0x15,
  2738. 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73,
  2739. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x14, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64,
  2740. 0x54, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c,
  2741. 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
  2742. 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x0a, 0x0a,
  2743. 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  2744. 0x52, 0x09, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x63,
  2745. 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x69,
  2746. 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b,
  2747. 0x52, 0x06, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x22, 0x17, 0x0a, 0x15, 0x41, 0x70, 0x70, 0x65,
  2748. 0x6e, 0x64, 0x54, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  2749. 0x65, 0x22, 0x98, 0x02, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72,
  2750. 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65,
  2751. 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72,
  2752. 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  2753. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73,
  2754. 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01,
  2755. 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,
  2756. 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65,
  2757. 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x52, 0x65, 0x63, 0x75, 0x72, 0x73,
  2758. 0x69, 0x76, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x72, 0x65,
  2759. 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20,
  2760. 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x63, 0x75, 0x72,
  2761. 0x73, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x31, 0x0a, 0x15, 0x69, 0x73, 0x5f,
  2762. 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74,
  2763. 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x69, 0x73, 0x46, 0x72, 0x6f, 0x6d,
  2764. 0x4f, 0x74, 0x68, 0x65, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a,
  2765. 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x05,
  2766. 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0x2b, 0x0a, 0x13,
  2767. 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
  2768. 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01,
  2769. 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x9a, 0x01, 0x0a, 0x18, 0x41, 0x74,
  2770. 0x6f, 0x6d, 0x69, 0x63, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
  2771. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x6c, 0x64, 0x5f, 0x64, 0x69,
  2772. 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f,
  2773. 0x6c, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x6f,
  2774. 0x6c, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f,
  2775. 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6e, 0x65, 0x77, 0x5f, 0x64, 0x69,
  2776. 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6e,
  2777. 0x65, 0x77, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x6e,
  2778. 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e,
  2779. 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63,
  2780. 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
  2781. 0x6e, 0x73, 0x65, 0x22, 0xcf, 0x01, 0x0a, 0x13, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x56, 0x6f,
  2782. 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63,
  2783. 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e,
  2784. 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
  2785. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
  2786. 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2787. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
  2788. 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x74, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x04,
  2789. 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x74, 0x6c, 0x53, 0x65, 0x63, 0x12, 0x1f, 0x0a, 0x0b,
  2790. 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28,
  2791. 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a,
  2792. 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74,
  2793. 0x68, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x61, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
  2794. 0x04, 0x72, 0x61, 0x63, 0x6b, 0x22, 0xe2, 0x01, 0x0a, 0x14, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e,
  2795. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17,
  2796. 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  2797. 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02,
  2798. 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62,
  2799. 0x6c, 0x69, 0x63, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70,
  2800. 0x75, 0x62, 0x6c, 0x69, 0x63, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e,
  2801. 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12,
  2802. 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x75,
  2803. 0x74, 0x68, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  2804. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
  2805. 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
  2806. 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61,
  2807. 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x08, 0x20,
  2808. 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x34, 0x0a, 0x13, 0x4c, 0x6f,
  2809. 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  2810. 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18,
  2811. 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x73,
  2812. 0x22, 0x3d, 0x0a, 0x09, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x0a,
  2813. 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  2814. 0x32, 0x12, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61,
  2815. 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22,
  2816. 0x3b, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75,
  2817. 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a,
  2818. 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
  2819. 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x55, 0x72, 0x6c, 0x22, 0xc3, 0x01, 0x0a,
  2820. 0x14, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73,
  2821. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
  2822. 0x6e, 0x73, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x66,
  2823. 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f,
  2824. 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c, 0x6f, 0x63,
  2825. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c,
  2826. 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x70, 0x1a, 0x54, 0x0a, 0x11,
  2827. 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72,
  2828. 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  2829. 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
  2830. 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f,
  2831. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
  2832. 0x38, 0x01, 0x22, 0x20, 0x0a, 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  2833. 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  2834. 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x7b, 0x0a, 0x15, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
  2835. 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a,
  2836. 0x16, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f,
  2837. 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69,
  2838. 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x56, 0x6f, 0x6c, 0x75,
  2839. 0x6d, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x65,
  2840. 0x63, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
  2841. 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2842. 0x73, 0x22, 0x50, 0x0a, 0x16, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c,
  2843. 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x0b, 0x63,
  2844. 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  2845. 0x32, 0x14, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c,
  2846. 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
  2847. 0x6f, 0x6e, 0x73, 0x22, 0x39, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6c,
  2848. 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e,
  2849. 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
  2850. 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1a,
  2851. 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
  2852. 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x0a, 0x11, 0x53, 0x74,
  2853. 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  2854. 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01,
  2855. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
  2856. 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
  2857. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
  2858. 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  2859. 0x74, 0x74, 0x6c, 0x22, 0xc3, 0x01, 0x0a, 0x12, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69,
  2860. 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65,
  2861. 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  2862. 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a,
  2863. 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  2864. 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03,
  2865. 0x74, 0x74, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x12, 0x1d,
  2866. 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01,
  2867. 0x28, 0x04, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1b, 0x0a,
  2868. 0x09, 0x75, 0x73, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04,
  2869. 0x52, 0x08, 0x75, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69,
  2870. 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09,
  2871. 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x1e, 0x0a, 0x1c, 0x47, 0x65, 0x74,
  2872. 0x46, 0x69, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
  2873. 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xc4, 0x02, 0x0a, 0x1d, 0x47, 0x65,
  2874. 0x74, 0x46, 0x69, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74,
  2875. 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d,
  2876. 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x61,
  2877. 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61,
  2878. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c,
  2879. 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65,
  2880. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c,
  2881. 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x6d, 0x61, 0x78, 0x5f, 0x6d,
  2882. 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6d, 0x61, 0x78, 0x4d, 0x62, 0x12, 0x1f,
  2883. 0x0a, 0x0b, 0x64, 0x69, 0x72, 0x5f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x05, 0x20,
  2884. 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x69, 0x72, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12,
  2885. 0x16, 0x0a, 0x06, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
  2886. 0x06, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61,
  2887. 0x74, 0x75, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e,
  2888. 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
  2889. 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
  2890. 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x30,
  2891. 0x0a, 0x14, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76,
  2892. 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x6d, 0x65,
  2893. 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x63,
  2894. 0x22, 0x95, 0x01, 0x0a, 0x18, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x65,
  2895. 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a,
  2896. 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  2897. 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f,
  2898. 0x0a, 0x0b, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20,
  2899. 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x74, 0x68, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12,
  2900. 0x19, 0x0a, 0x08, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
  2901. 0x03, 0x52, 0x07, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x4e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69,
  2902. 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73,
  2903. 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x9a, 0x01, 0x0a, 0x19, 0x53, 0x75, 0x62,
  2904. 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65,
  2905. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
  2906. 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63,
  2907. 0x74, 0x6f, 0x72, 0x79, 0x12, 0x4a, 0x0a, 0x12, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f,
  2908. 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
  2909. 0x32, 0x1b, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x45, 0x76, 0x65, 0x6e,
  2910. 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x65,
  2911. 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2912. 0x12, 0x13, 0x0a, 0x05, 0x74, 0x73, 0x5f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
  2913. 0x04, 0x74, 0x73, 0x4e, 0x73, 0x22, 0x61, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72,
  2914. 0x79, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x73, 0x5f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  2915. 0x52, 0x04, 0x74, 0x73, 0x4e, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
  2916. 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01,
  2917. 0x28, 0x05, 0x52, 0x10, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79,
  2918. 0x48, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01,
  2919. 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x65, 0x0a, 0x14, 0x4b, 0x65, 0x65, 0x70,
  2920. 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  2921. 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  2922. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x70, 0x6f, 0x72,
  2923. 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x72, 0x70, 0x63, 0x50, 0x6f, 0x72,
  2924. 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x03,
  2925. 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22,
  2926. 0x17, 0x0a, 0x15, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64,
  2927. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x13, 0x4c, 0x6f, 0x63, 0x61,
  2928. 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  2929. 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  2930. 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0xcd, 0x01, 0x0a, 0x14,
  2931. 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
  2932. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20,
  2933. 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x45, 0x0a, 0x09, 0x72, 0x65,
  2934. 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e,
  2935. 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x42,
  2936. 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65,
  2937. 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
  2938. 0x73, 0x1a, 0x58, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x25, 0x0a,
  2939. 0x0e, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18,
  2940. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x67, 0x72, 0x70, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65,
  2941. 0x73, 0x73, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
  2942. 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65,
  2943. 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x20, 0x0a, 0x0c, 0x4b,
  2944. 0x76, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  2945. 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x3b, 0x0a,
  2946. 0x0d, 0x4b, 0x76, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14,
  2947. 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76,
  2948. 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20,
  2949. 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x36, 0x0a, 0x0c, 0x4b, 0x76,
  2950. 0x50, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
  2951. 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
  2952. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c,
  2953. 0x75, 0x65, 0x22, 0x25, 0x0a, 0x0d, 0x4b, 0x76, 0x50, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
  2954. 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01,
  2955. 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xdc, 0x0c, 0x0a, 0x0c, 0x53, 0x65,
  2956. 0x61, 0x77, 0x65, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x72, 0x12, 0x67, 0x0a, 0x14, 0x4c, 0x6f,
  2957. 0x6f, 0x6b, 0x75, 0x70, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74,
  2958. 0x72, 0x79, 0x12, 0x25, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f,
  2959. 0x6f, 0x6b, 0x75, 0x70, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74,
  2960. 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x66, 0x69, 0x6c, 0x65,
  2961. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x44, 0x69, 0x72, 0x65, 0x63,
  2962. 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  2963. 0x65, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x69,
  2964. 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x69,
  2965. 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  2966. 0x1a, 0x1d, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74,
  2967. 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  2968. 0x00, 0x30, 0x01, 0x12, 0x4c, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74,
  2969. 0x72, 0x79, 0x12, 0x1c, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x72,
  2970. 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  2971. 0x1a, 0x1d, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61,
  2972. 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  2973. 0x00, 0x12, 0x4c, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79,
  2974. 0x12, 0x1c, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61,
  2975. 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d,
  2976. 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  2977. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
  2978. 0x52, 0x0a, 0x0d, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79,
  2979. 0x12, 0x1e, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x70, 0x70, 0x65,
  2980. 0x6e, 0x64, 0x54, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  2981. 0x1a, 0x1f, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x70, 0x70, 0x65,
  2982. 0x6e, 0x64, 0x54, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  2983. 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x74,
  2984. 0x72, 0x79, 0x12, 0x1c, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x65,
  2985. 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  2986. 0x1a, 0x1d, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65,
  2987. 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  2988. 0x00, 0x12, 0x5e, 0x0a, 0x11, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x52, 0x65, 0x6e, 0x61, 0x6d,
  2989. 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x22, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70,
  2990. 0x62, 0x2e, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x45, 0x6e,
  2991. 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x66, 0x69, 0x6c,
  2992. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x52, 0x65, 0x6e, 0x61,
  2993. 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  2994. 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  2995. 0x65, 0x12, 0x1d, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73,
  2996. 0x69, 0x67, 0x6e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  2997. 0x1a, 0x1e, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69,
  2998. 0x67, 0x6e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  2999. 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75,
  3000. 0x6d, 0x65, 0x12, 0x1d, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f,
  3001. 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  3002. 0x74, 0x1a, 0x1e, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f,
  3003. 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  3004. 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
  3005. 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62,
  3006. 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52,
  3007. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70,
  3008. 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74,
  3009. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x10, 0x44, 0x65,
  3010. 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21,
  3011. 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
  3012. 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  3013. 0x74, 0x1a, 0x22, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c,
  3014. 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
  3015. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x69,
  3016. 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x1b, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62,
  3017. 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
  3018. 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74,
  3019. 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  3020. 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x72, 0x43, 0x6f,
  3021. 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x66, 0x69,
  3022. 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x72, 0x43,
  3023. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
  3024. 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x47,
  3025. 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
  3026. 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60,
  3027. 0x0a, 0x11, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64,
  3028. 0x61, 0x74, 0x61, 0x12, 0x22, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53,
  3029. 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
  3030. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f,
  3031. 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x65, 0x74, 0x61,
  3032. 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01,
  3033. 0x12, 0x65, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4c, 0x6f, 0x63,
  3034. 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x22, 0x2e, 0x66, 0x69, 0x6c,
  3035. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d,
  3036. 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23,
  3037. 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
  3038. 0x69, 0x62, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f,
  3039. 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x56, 0x0a, 0x0d, 0x4b, 0x65, 0x65, 0x70, 0x43,
  3040. 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x1e, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72,
  3041. 0x5f, 0x70, 0x62, 0x2e, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65,
  3042. 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72,
  3043. 0x5f, 0x70, 0x62, 0x2e, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65,
  3044. 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12,
  3045. 0x4f, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x12,
  3046. 0x1d, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74,
  3047. 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e,
  3048. 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65,
  3049. 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
  3050. 0x12, 0x3a, 0x0a, 0x05, 0x4b, 0x76, 0x47, 0x65, 0x74, 0x12, 0x16, 0x2e, 0x66, 0x69, 0x6c, 0x65,
  3051. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4b, 0x76, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  3052. 0x74, 0x1a, 0x17, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4b, 0x76, 0x47,
  3053. 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x05,
  3054. 0x4b, 0x76, 0x50, 0x75, 0x74, 0x12, 0x16, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62,
  3055. 0x2e, 0x4b, 0x76, 0x50, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e,
  3056. 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4b, 0x76, 0x50, 0x75, 0x74, 0x52, 0x65,
  3057. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x4f, 0x0a, 0x10, 0x73, 0x65, 0x61, 0x77,
  3058. 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x0a, 0x46, 0x69,
  3059. 0x6c, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
  3060. 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x72, 0x69, 0x73, 0x6c, 0x75, 0x73, 0x66, 0x2f, 0x73,
  3061. 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x77, 0x65, 0x65, 0x64, 0x2f, 0x70, 0x62,
  3062. 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  3063. 0x33,
  3064. }
  3065. var (
  3066. file_filer_proto_rawDescOnce sync.Once
  3067. file_filer_proto_rawDescData = file_filer_proto_rawDesc
  3068. )
  3069. func file_filer_proto_rawDescGZIP() []byte {
  3070. file_filer_proto_rawDescOnce.Do(func() {
  3071. file_filer_proto_rawDescData = protoimpl.X.CompressGZIP(file_filer_proto_rawDescData)
  3072. })
  3073. return file_filer_proto_rawDescData
  3074. }
  3075. var file_filer_proto_msgTypes = make([]protoimpl.MessageInfo, 50)
  3076. var file_filer_proto_goTypes = []interface{}{
  3077. (*LookupDirectoryEntryRequest)(nil), // 0: filer_pb.LookupDirectoryEntryRequest
  3078. (*LookupDirectoryEntryResponse)(nil), // 1: filer_pb.LookupDirectoryEntryResponse
  3079. (*ListEntriesRequest)(nil), // 2: filer_pb.ListEntriesRequest
  3080. (*ListEntriesResponse)(nil), // 3: filer_pb.ListEntriesResponse
  3081. (*Entry)(nil), // 4: filer_pb.Entry
  3082. (*FullEntry)(nil), // 5: filer_pb.FullEntry
  3083. (*EventNotification)(nil), // 6: filer_pb.EventNotification
  3084. (*FileChunk)(nil), // 7: filer_pb.FileChunk
  3085. (*FileChunkManifest)(nil), // 8: filer_pb.FileChunkManifest
  3086. (*FileId)(nil), // 9: filer_pb.FileId
  3087. (*FuseAttributes)(nil), // 10: filer_pb.FuseAttributes
  3088. (*CreateEntryRequest)(nil), // 11: filer_pb.CreateEntryRequest
  3089. (*CreateEntryResponse)(nil), // 12: filer_pb.CreateEntryResponse
  3090. (*UpdateEntryRequest)(nil), // 13: filer_pb.UpdateEntryRequest
  3091. (*UpdateEntryResponse)(nil), // 14: filer_pb.UpdateEntryResponse
  3092. (*AppendToEntryRequest)(nil), // 15: filer_pb.AppendToEntryRequest
  3093. (*AppendToEntryResponse)(nil), // 16: filer_pb.AppendToEntryResponse
  3094. (*DeleteEntryRequest)(nil), // 17: filer_pb.DeleteEntryRequest
  3095. (*DeleteEntryResponse)(nil), // 18: filer_pb.DeleteEntryResponse
  3096. (*AtomicRenameEntryRequest)(nil), // 19: filer_pb.AtomicRenameEntryRequest
  3097. (*AtomicRenameEntryResponse)(nil), // 20: filer_pb.AtomicRenameEntryResponse
  3098. (*AssignVolumeRequest)(nil), // 21: filer_pb.AssignVolumeRequest
  3099. (*AssignVolumeResponse)(nil), // 22: filer_pb.AssignVolumeResponse
  3100. (*LookupVolumeRequest)(nil), // 23: filer_pb.LookupVolumeRequest
  3101. (*Locations)(nil), // 24: filer_pb.Locations
  3102. (*Location)(nil), // 25: filer_pb.Location
  3103. (*LookupVolumeResponse)(nil), // 26: filer_pb.LookupVolumeResponse
  3104. (*Collection)(nil), // 27: filer_pb.Collection
  3105. (*CollectionListRequest)(nil), // 28: filer_pb.CollectionListRequest
  3106. (*CollectionListResponse)(nil), // 29: filer_pb.CollectionListResponse
  3107. (*DeleteCollectionRequest)(nil), // 30: filer_pb.DeleteCollectionRequest
  3108. (*DeleteCollectionResponse)(nil), // 31: filer_pb.DeleteCollectionResponse
  3109. (*StatisticsRequest)(nil), // 32: filer_pb.StatisticsRequest
  3110. (*StatisticsResponse)(nil), // 33: filer_pb.StatisticsResponse
  3111. (*GetFilerConfigurationRequest)(nil), // 34: filer_pb.GetFilerConfigurationRequest
  3112. (*GetFilerConfigurationResponse)(nil), // 35: filer_pb.GetFilerConfigurationResponse
  3113. (*SubscribeMetadataRequest)(nil), // 36: filer_pb.SubscribeMetadataRequest
  3114. (*SubscribeMetadataResponse)(nil), // 37: filer_pb.SubscribeMetadataResponse
  3115. (*LogEntry)(nil), // 38: filer_pb.LogEntry
  3116. (*KeepConnectedRequest)(nil), // 39: filer_pb.KeepConnectedRequest
  3117. (*KeepConnectedResponse)(nil), // 40: filer_pb.KeepConnectedResponse
  3118. (*LocateBrokerRequest)(nil), // 41: filer_pb.LocateBrokerRequest
  3119. (*LocateBrokerResponse)(nil), // 42: filer_pb.LocateBrokerResponse
  3120. (*KvGetRequest)(nil), // 43: filer_pb.KvGetRequest
  3121. (*KvGetResponse)(nil), // 44: filer_pb.KvGetResponse
  3122. (*KvPutRequest)(nil), // 45: filer_pb.KvPutRequest
  3123. (*KvPutResponse)(nil), // 46: filer_pb.KvPutResponse
  3124. nil, // 47: filer_pb.Entry.ExtendedEntry
  3125. nil, // 48: filer_pb.LookupVolumeResponse.LocationsMapEntry
  3126. (*LocateBrokerResponse_Resource)(nil), // 49: filer_pb.LocateBrokerResponse.Resource
  3127. }
  3128. var file_filer_proto_depIdxs = []int32{
  3129. 4, // 0: filer_pb.LookupDirectoryEntryResponse.entry:type_name -> filer_pb.Entry
  3130. 4, // 1: filer_pb.ListEntriesResponse.entry:type_name -> filer_pb.Entry
  3131. 7, // 2: filer_pb.Entry.chunks:type_name -> filer_pb.FileChunk
  3132. 10, // 3: filer_pb.Entry.attributes:type_name -> filer_pb.FuseAttributes
  3133. 47, // 4: filer_pb.Entry.extended:type_name -> filer_pb.Entry.ExtendedEntry
  3134. 4, // 5: filer_pb.FullEntry.entry:type_name -> filer_pb.Entry
  3135. 4, // 6: filer_pb.EventNotification.old_entry:type_name -> filer_pb.Entry
  3136. 4, // 7: filer_pb.EventNotification.new_entry:type_name -> filer_pb.Entry
  3137. 9, // 8: filer_pb.FileChunk.fid:type_name -> filer_pb.FileId
  3138. 9, // 9: filer_pb.FileChunk.source_fid:type_name -> filer_pb.FileId
  3139. 7, // 10: filer_pb.FileChunkManifest.chunks:type_name -> filer_pb.FileChunk
  3140. 4, // 11: filer_pb.CreateEntryRequest.entry:type_name -> filer_pb.Entry
  3141. 4, // 12: filer_pb.UpdateEntryRequest.entry:type_name -> filer_pb.Entry
  3142. 7, // 13: filer_pb.AppendToEntryRequest.chunks:type_name -> filer_pb.FileChunk
  3143. 25, // 14: filer_pb.Locations.locations:type_name -> filer_pb.Location
  3144. 48, // 15: filer_pb.LookupVolumeResponse.locations_map:type_name -> filer_pb.LookupVolumeResponse.LocationsMapEntry
  3145. 27, // 16: filer_pb.CollectionListResponse.collections:type_name -> filer_pb.Collection
  3146. 6, // 17: filer_pb.SubscribeMetadataResponse.event_notification:type_name -> filer_pb.EventNotification
  3147. 49, // 18: filer_pb.LocateBrokerResponse.resources:type_name -> filer_pb.LocateBrokerResponse.Resource
  3148. 24, // 19: filer_pb.LookupVolumeResponse.LocationsMapEntry.value:type_name -> filer_pb.Locations
  3149. 0, // 20: filer_pb.SeaweedFiler.LookupDirectoryEntry:input_type -> filer_pb.LookupDirectoryEntryRequest
  3150. 2, // 21: filer_pb.SeaweedFiler.ListEntries:input_type -> filer_pb.ListEntriesRequest
  3151. 11, // 22: filer_pb.SeaweedFiler.CreateEntry:input_type -> filer_pb.CreateEntryRequest
  3152. 13, // 23: filer_pb.SeaweedFiler.UpdateEntry:input_type -> filer_pb.UpdateEntryRequest
  3153. 15, // 24: filer_pb.SeaweedFiler.AppendToEntry:input_type -> filer_pb.AppendToEntryRequest
  3154. 17, // 25: filer_pb.SeaweedFiler.DeleteEntry:input_type -> filer_pb.DeleteEntryRequest
  3155. 19, // 26: filer_pb.SeaweedFiler.AtomicRenameEntry:input_type -> filer_pb.AtomicRenameEntryRequest
  3156. 21, // 27: filer_pb.SeaweedFiler.AssignVolume:input_type -> filer_pb.AssignVolumeRequest
  3157. 23, // 28: filer_pb.SeaweedFiler.LookupVolume:input_type -> filer_pb.LookupVolumeRequest
  3158. 28, // 29: filer_pb.SeaweedFiler.CollectionList:input_type -> filer_pb.CollectionListRequest
  3159. 30, // 30: filer_pb.SeaweedFiler.DeleteCollection:input_type -> filer_pb.DeleteCollectionRequest
  3160. 32, // 31: filer_pb.SeaweedFiler.Statistics:input_type -> filer_pb.StatisticsRequest
  3161. 34, // 32: filer_pb.SeaweedFiler.GetFilerConfiguration:input_type -> filer_pb.GetFilerConfigurationRequest
  3162. 36, // 33: filer_pb.SeaweedFiler.SubscribeMetadata:input_type -> filer_pb.SubscribeMetadataRequest
  3163. 36, // 34: filer_pb.SeaweedFiler.SubscribeLocalMetadata:input_type -> filer_pb.SubscribeMetadataRequest
  3164. 39, // 35: filer_pb.SeaweedFiler.KeepConnected:input_type -> filer_pb.KeepConnectedRequest
  3165. 41, // 36: filer_pb.SeaweedFiler.LocateBroker:input_type -> filer_pb.LocateBrokerRequest
  3166. 43, // 37: filer_pb.SeaweedFiler.KvGet:input_type -> filer_pb.KvGetRequest
  3167. 45, // 38: filer_pb.SeaweedFiler.KvPut:input_type -> filer_pb.KvPutRequest
  3168. 1, // 39: filer_pb.SeaweedFiler.LookupDirectoryEntry:output_type -> filer_pb.LookupDirectoryEntryResponse
  3169. 3, // 40: filer_pb.SeaweedFiler.ListEntries:output_type -> filer_pb.ListEntriesResponse
  3170. 12, // 41: filer_pb.SeaweedFiler.CreateEntry:output_type -> filer_pb.CreateEntryResponse
  3171. 14, // 42: filer_pb.SeaweedFiler.UpdateEntry:output_type -> filer_pb.UpdateEntryResponse
  3172. 16, // 43: filer_pb.SeaweedFiler.AppendToEntry:output_type -> filer_pb.AppendToEntryResponse
  3173. 18, // 44: filer_pb.SeaweedFiler.DeleteEntry:output_type -> filer_pb.DeleteEntryResponse
  3174. 20, // 45: filer_pb.SeaweedFiler.AtomicRenameEntry:output_type -> filer_pb.AtomicRenameEntryResponse
  3175. 22, // 46: filer_pb.SeaweedFiler.AssignVolume:output_type -> filer_pb.AssignVolumeResponse
  3176. 26, // 47: filer_pb.SeaweedFiler.LookupVolume:output_type -> filer_pb.LookupVolumeResponse
  3177. 29, // 48: filer_pb.SeaweedFiler.CollectionList:output_type -> filer_pb.CollectionListResponse
  3178. 31, // 49: filer_pb.SeaweedFiler.DeleteCollection:output_type -> filer_pb.DeleteCollectionResponse
  3179. 33, // 50: filer_pb.SeaweedFiler.Statistics:output_type -> filer_pb.StatisticsResponse
  3180. 35, // 51: filer_pb.SeaweedFiler.GetFilerConfiguration:output_type -> filer_pb.GetFilerConfigurationResponse
  3181. 37, // 52: filer_pb.SeaweedFiler.SubscribeMetadata:output_type -> filer_pb.SubscribeMetadataResponse
  3182. 37, // 53: filer_pb.SeaweedFiler.SubscribeLocalMetadata:output_type -> filer_pb.SubscribeMetadataResponse
  3183. 40, // 54: filer_pb.SeaweedFiler.KeepConnected:output_type -> filer_pb.KeepConnectedResponse
  3184. 42, // 55: filer_pb.SeaweedFiler.LocateBroker:output_type -> filer_pb.LocateBrokerResponse
  3185. 44, // 56: filer_pb.SeaweedFiler.KvGet:output_type -> filer_pb.KvGetResponse
  3186. 46, // 57: filer_pb.SeaweedFiler.KvPut:output_type -> filer_pb.KvPutResponse
  3187. 39, // [39:58] is the sub-list for method output_type
  3188. 20, // [20:39] is the sub-list for method input_type
  3189. 20, // [20:20] is the sub-list for extension type_name
  3190. 20, // [20:20] is the sub-list for extension extendee
  3191. 0, // [0:20] is the sub-list for field type_name
  3192. }
  3193. func init() { file_filer_proto_init() }
  3194. func file_filer_proto_init() {
  3195. if File_filer_proto != nil {
  3196. return
  3197. }
  3198. if !protoimpl.UnsafeEnabled {
  3199. file_filer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  3200. switch v := v.(*LookupDirectoryEntryRequest); i {
  3201. case 0:
  3202. return &v.state
  3203. case 1:
  3204. return &v.sizeCache
  3205. case 2:
  3206. return &v.unknownFields
  3207. default:
  3208. return nil
  3209. }
  3210. }
  3211. file_filer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  3212. switch v := v.(*LookupDirectoryEntryResponse); i {
  3213. case 0:
  3214. return &v.state
  3215. case 1:
  3216. return &v.sizeCache
  3217. case 2:
  3218. return &v.unknownFields
  3219. default:
  3220. return nil
  3221. }
  3222. }
  3223. file_filer_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  3224. switch v := v.(*ListEntriesRequest); i {
  3225. case 0:
  3226. return &v.state
  3227. case 1:
  3228. return &v.sizeCache
  3229. case 2:
  3230. return &v.unknownFields
  3231. default:
  3232. return nil
  3233. }
  3234. }
  3235. file_filer_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  3236. switch v := v.(*ListEntriesResponse); i {
  3237. case 0:
  3238. return &v.state
  3239. case 1:
  3240. return &v.sizeCache
  3241. case 2:
  3242. return &v.unknownFields
  3243. default:
  3244. return nil
  3245. }
  3246. }
  3247. file_filer_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  3248. switch v := v.(*Entry); i {
  3249. case 0:
  3250. return &v.state
  3251. case 1:
  3252. return &v.sizeCache
  3253. case 2:
  3254. return &v.unknownFields
  3255. default:
  3256. return nil
  3257. }
  3258. }
  3259. file_filer_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  3260. switch v := v.(*FullEntry); i {
  3261. case 0:
  3262. return &v.state
  3263. case 1:
  3264. return &v.sizeCache
  3265. case 2:
  3266. return &v.unknownFields
  3267. default:
  3268. return nil
  3269. }
  3270. }
  3271. file_filer_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  3272. switch v := v.(*EventNotification); i {
  3273. case 0:
  3274. return &v.state
  3275. case 1:
  3276. return &v.sizeCache
  3277. case 2:
  3278. return &v.unknownFields
  3279. default:
  3280. return nil
  3281. }
  3282. }
  3283. file_filer_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  3284. switch v := v.(*FileChunk); i {
  3285. case 0:
  3286. return &v.state
  3287. case 1:
  3288. return &v.sizeCache
  3289. case 2:
  3290. return &v.unknownFields
  3291. default:
  3292. return nil
  3293. }
  3294. }
  3295. file_filer_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  3296. switch v := v.(*FileChunkManifest); i {
  3297. case 0:
  3298. return &v.state
  3299. case 1:
  3300. return &v.sizeCache
  3301. case 2:
  3302. return &v.unknownFields
  3303. default:
  3304. return nil
  3305. }
  3306. }
  3307. file_filer_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  3308. switch v := v.(*FileId); i {
  3309. case 0:
  3310. return &v.state
  3311. case 1:
  3312. return &v.sizeCache
  3313. case 2:
  3314. return &v.unknownFields
  3315. default:
  3316. return nil
  3317. }
  3318. }
  3319. file_filer_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  3320. switch v := v.(*FuseAttributes); i {
  3321. case 0:
  3322. return &v.state
  3323. case 1:
  3324. return &v.sizeCache
  3325. case 2:
  3326. return &v.unknownFields
  3327. default:
  3328. return nil
  3329. }
  3330. }
  3331. file_filer_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  3332. switch v := v.(*CreateEntryRequest); i {
  3333. case 0:
  3334. return &v.state
  3335. case 1:
  3336. return &v.sizeCache
  3337. case 2:
  3338. return &v.unknownFields
  3339. default:
  3340. return nil
  3341. }
  3342. }
  3343. file_filer_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  3344. switch v := v.(*CreateEntryResponse); i {
  3345. case 0:
  3346. return &v.state
  3347. case 1:
  3348. return &v.sizeCache
  3349. case 2:
  3350. return &v.unknownFields
  3351. default:
  3352. return nil
  3353. }
  3354. }
  3355. file_filer_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  3356. switch v := v.(*UpdateEntryRequest); i {
  3357. case 0:
  3358. return &v.state
  3359. case 1:
  3360. return &v.sizeCache
  3361. case 2:
  3362. return &v.unknownFields
  3363. default:
  3364. return nil
  3365. }
  3366. }
  3367. file_filer_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  3368. switch v := v.(*UpdateEntryResponse); i {
  3369. case 0:
  3370. return &v.state
  3371. case 1:
  3372. return &v.sizeCache
  3373. case 2:
  3374. return &v.unknownFields
  3375. default:
  3376. return nil
  3377. }
  3378. }
  3379. file_filer_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  3380. switch v := v.(*AppendToEntryRequest); i {
  3381. case 0:
  3382. return &v.state
  3383. case 1:
  3384. return &v.sizeCache
  3385. case 2:
  3386. return &v.unknownFields
  3387. default:
  3388. return nil
  3389. }
  3390. }
  3391. file_filer_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  3392. switch v := v.(*AppendToEntryResponse); i {
  3393. case 0:
  3394. return &v.state
  3395. case 1:
  3396. return &v.sizeCache
  3397. case 2:
  3398. return &v.unknownFields
  3399. default:
  3400. return nil
  3401. }
  3402. }
  3403. file_filer_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  3404. switch v := v.(*DeleteEntryRequest); i {
  3405. case 0:
  3406. return &v.state
  3407. case 1:
  3408. return &v.sizeCache
  3409. case 2:
  3410. return &v.unknownFields
  3411. default:
  3412. return nil
  3413. }
  3414. }
  3415. file_filer_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  3416. switch v := v.(*DeleteEntryResponse); i {
  3417. case 0:
  3418. return &v.state
  3419. case 1:
  3420. return &v.sizeCache
  3421. case 2:
  3422. return &v.unknownFields
  3423. default:
  3424. return nil
  3425. }
  3426. }
  3427. file_filer_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  3428. switch v := v.(*AtomicRenameEntryRequest); i {
  3429. case 0:
  3430. return &v.state
  3431. case 1:
  3432. return &v.sizeCache
  3433. case 2:
  3434. return &v.unknownFields
  3435. default:
  3436. return nil
  3437. }
  3438. }
  3439. file_filer_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  3440. switch v := v.(*AtomicRenameEntryResponse); i {
  3441. case 0:
  3442. return &v.state
  3443. case 1:
  3444. return &v.sizeCache
  3445. case 2:
  3446. return &v.unknownFields
  3447. default:
  3448. return nil
  3449. }
  3450. }
  3451. file_filer_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  3452. switch v := v.(*AssignVolumeRequest); i {
  3453. case 0:
  3454. return &v.state
  3455. case 1:
  3456. return &v.sizeCache
  3457. case 2:
  3458. return &v.unknownFields
  3459. default:
  3460. return nil
  3461. }
  3462. }
  3463. file_filer_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  3464. switch v := v.(*AssignVolumeResponse); i {
  3465. case 0:
  3466. return &v.state
  3467. case 1:
  3468. return &v.sizeCache
  3469. case 2:
  3470. return &v.unknownFields
  3471. default:
  3472. return nil
  3473. }
  3474. }
  3475. file_filer_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  3476. switch v := v.(*LookupVolumeRequest); i {
  3477. case 0:
  3478. return &v.state
  3479. case 1:
  3480. return &v.sizeCache
  3481. case 2:
  3482. return &v.unknownFields
  3483. default:
  3484. return nil
  3485. }
  3486. }
  3487. file_filer_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  3488. switch v := v.(*Locations); i {
  3489. case 0:
  3490. return &v.state
  3491. case 1:
  3492. return &v.sizeCache
  3493. case 2:
  3494. return &v.unknownFields
  3495. default:
  3496. return nil
  3497. }
  3498. }
  3499. file_filer_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  3500. switch v := v.(*Location); i {
  3501. case 0:
  3502. return &v.state
  3503. case 1:
  3504. return &v.sizeCache
  3505. case 2:
  3506. return &v.unknownFields
  3507. default:
  3508. return nil
  3509. }
  3510. }
  3511. file_filer_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  3512. switch v := v.(*LookupVolumeResponse); i {
  3513. case 0:
  3514. return &v.state
  3515. case 1:
  3516. return &v.sizeCache
  3517. case 2:
  3518. return &v.unknownFields
  3519. default:
  3520. return nil
  3521. }
  3522. }
  3523. file_filer_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  3524. switch v := v.(*Collection); i {
  3525. case 0:
  3526. return &v.state
  3527. case 1:
  3528. return &v.sizeCache
  3529. case 2:
  3530. return &v.unknownFields
  3531. default:
  3532. return nil
  3533. }
  3534. }
  3535. file_filer_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
  3536. switch v := v.(*CollectionListRequest); i {
  3537. case 0:
  3538. return &v.state
  3539. case 1:
  3540. return &v.sizeCache
  3541. case 2:
  3542. return &v.unknownFields
  3543. default:
  3544. return nil
  3545. }
  3546. }
  3547. file_filer_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
  3548. switch v := v.(*CollectionListResponse); i {
  3549. case 0:
  3550. return &v.state
  3551. case 1:
  3552. return &v.sizeCache
  3553. case 2:
  3554. return &v.unknownFields
  3555. default:
  3556. return nil
  3557. }
  3558. }
  3559. file_filer_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
  3560. switch v := v.(*DeleteCollectionRequest); i {
  3561. case 0:
  3562. return &v.state
  3563. case 1:
  3564. return &v.sizeCache
  3565. case 2:
  3566. return &v.unknownFields
  3567. default:
  3568. return nil
  3569. }
  3570. }
  3571. file_filer_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
  3572. switch v := v.(*DeleteCollectionResponse); i {
  3573. case 0:
  3574. return &v.state
  3575. case 1:
  3576. return &v.sizeCache
  3577. case 2:
  3578. return &v.unknownFields
  3579. default:
  3580. return nil
  3581. }
  3582. }
  3583. file_filer_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
  3584. switch v := v.(*StatisticsRequest); i {
  3585. case 0:
  3586. return &v.state
  3587. case 1:
  3588. return &v.sizeCache
  3589. case 2:
  3590. return &v.unknownFields
  3591. default:
  3592. return nil
  3593. }
  3594. }
  3595. file_filer_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
  3596. switch v := v.(*StatisticsResponse); i {
  3597. case 0:
  3598. return &v.state
  3599. case 1:
  3600. return &v.sizeCache
  3601. case 2:
  3602. return &v.unknownFields
  3603. default:
  3604. return nil
  3605. }
  3606. }
  3607. file_filer_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
  3608. switch v := v.(*GetFilerConfigurationRequest); i {
  3609. case 0:
  3610. return &v.state
  3611. case 1:
  3612. return &v.sizeCache
  3613. case 2:
  3614. return &v.unknownFields
  3615. default:
  3616. return nil
  3617. }
  3618. }
  3619. file_filer_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
  3620. switch v := v.(*GetFilerConfigurationResponse); i {
  3621. case 0:
  3622. return &v.state
  3623. case 1:
  3624. return &v.sizeCache
  3625. case 2:
  3626. return &v.unknownFields
  3627. default:
  3628. return nil
  3629. }
  3630. }
  3631. file_filer_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
  3632. switch v := v.(*SubscribeMetadataRequest); i {
  3633. case 0:
  3634. return &v.state
  3635. case 1:
  3636. return &v.sizeCache
  3637. case 2:
  3638. return &v.unknownFields
  3639. default:
  3640. return nil
  3641. }
  3642. }
  3643. file_filer_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
  3644. switch v := v.(*SubscribeMetadataResponse); i {
  3645. case 0:
  3646. return &v.state
  3647. case 1:
  3648. return &v.sizeCache
  3649. case 2:
  3650. return &v.unknownFields
  3651. default:
  3652. return nil
  3653. }
  3654. }
  3655. file_filer_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
  3656. switch v := v.(*LogEntry); i {
  3657. case 0:
  3658. return &v.state
  3659. case 1:
  3660. return &v.sizeCache
  3661. case 2:
  3662. return &v.unknownFields
  3663. default:
  3664. return nil
  3665. }
  3666. }
  3667. file_filer_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
  3668. switch v := v.(*KeepConnectedRequest); i {
  3669. case 0:
  3670. return &v.state
  3671. case 1:
  3672. return &v.sizeCache
  3673. case 2:
  3674. return &v.unknownFields
  3675. default:
  3676. return nil
  3677. }
  3678. }
  3679. file_filer_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
  3680. switch v := v.(*KeepConnectedResponse); i {
  3681. case 0:
  3682. return &v.state
  3683. case 1:
  3684. return &v.sizeCache
  3685. case 2:
  3686. return &v.unknownFields
  3687. default:
  3688. return nil
  3689. }
  3690. }
  3691. file_filer_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
  3692. switch v := v.(*LocateBrokerRequest); i {
  3693. case 0:
  3694. return &v.state
  3695. case 1:
  3696. return &v.sizeCache
  3697. case 2:
  3698. return &v.unknownFields
  3699. default:
  3700. return nil
  3701. }
  3702. }
  3703. file_filer_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
  3704. switch v := v.(*LocateBrokerResponse); i {
  3705. case 0:
  3706. return &v.state
  3707. case 1:
  3708. return &v.sizeCache
  3709. case 2:
  3710. return &v.unknownFields
  3711. default:
  3712. return nil
  3713. }
  3714. }
  3715. file_filer_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
  3716. switch v := v.(*KvGetRequest); i {
  3717. case 0:
  3718. return &v.state
  3719. case 1:
  3720. return &v.sizeCache
  3721. case 2:
  3722. return &v.unknownFields
  3723. default:
  3724. return nil
  3725. }
  3726. }
  3727. file_filer_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
  3728. switch v := v.(*KvGetResponse); i {
  3729. case 0:
  3730. return &v.state
  3731. case 1:
  3732. return &v.sizeCache
  3733. case 2:
  3734. return &v.unknownFields
  3735. default:
  3736. return nil
  3737. }
  3738. }
  3739. file_filer_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
  3740. switch v := v.(*KvPutRequest); i {
  3741. case 0:
  3742. return &v.state
  3743. case 1:
  3744. return &v.sizeCache
  3745. case 2:
  3746. return &v.unknownFields
  3747. default:
  3748. return nil
  3749. }
  3750. }
  3751. file_filer_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
  3752. switch v := v.(*KvPutResponse); i {
  3753. case 0:
  3754. return &v.state
  3755. case 1:
  3756. return &v.sizeCache
  3757. case 2:
  3758. return &v.unknownFields
  3759. default:
  3760. return nil
  3761. }
  3762. }
  3763. file_filer_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
  3764. switch v := v.(*LocateBrokerResponse_Resource); i {
  3765. case 0:
  3766. return &v.state
  3767. case 1:
  3768. return &v.sizeCache
  3769. case 2:
  3770. return &v.unknownFields
  3771. default:
  3772. return nil
  3773. }
  3774. }
  3775. }
  3776. type x struct{}
  3777. out := protoimpl.TypeBuilder{
  3778. File: protoimpl.DescBuilder{
  3779. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  3780. RawDescriptor: file_filer_proto_rawDesc,
  3781. NumEnums: 0,
  3782. NumMessages: 50,
  3783. NumExtensions: 0,
  3784. NumServices: 1,
  3785. },
  3786. GoTypes: file_filer_proto_goTypes,
  3787. DependencyIndexes: file_filer_proto_depIdxs,
  3788. MessageInfos: file_filer_proto_msgTypes,
  3789. }.Build()
  3790. File_filer_proto = out.File
  3791. file_filer_proto_rawDesc = nil
  3792. file_filer_proto_goTypes = nil
  3793. file_filer_proto_depIdxs = nil
  3794. }
  3795. // Reference imports to suppress errors if they are not otherwise used.
  3796. var _ context.Context
  3797. var _ grpc.ClientConnInterface
  3798. // This is a compile-time assertion to ensure that this generated file
  3799. // is compatible with the grpc package it is being compiled against.
  3800. const _ = grpc.SupportPackageIsVersion6
  3801. // SeaweedFilerClient is the client API for SeaweedFiler service.
  3802. //
  3803. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  3804. type SeaweedFilerClient interface {
  3805. LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error)
  3806. ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (SeaweedFiler_ListEntriesClient, error)
  3807. CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error)
  3808. UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error)
  3809. AppendToEntry(ctx context.Context, in *AppendToEntryRequest, opts ...grpc.CallOption) (*AppendToEntryResponse, error)
  3810. DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error)
  3811. AtomicRenameEntry(ctx context.Context, in *AtomicRenameEntryRequest, opts ...grpc.CallOption) (*AtomicRenameEntryResponse, error)
  3812. AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error)
  3813. LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error)
  3814. CollectionList(ctx context.Context, in *CollectionListRequest, opts ...grpc.CallOption) (*CollectionListResponse, error)
  3815. DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error)
  3816. Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error)
  3817. GetFilerConfiguration(ctx context.Context, in *GetFilerConfigurationRequest, opts ...grpc.CallOption) (*GetFilerConfigurationResponse, error)
  3818. SubscribeMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeMetadataClient, error)
  3819. SubscribeLocalMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeLocalMetadataClient, error)
  3820. KeepConnected(ctx context.Context, opts ...grpc.CallOption) (SeaweedFiler_KeepConnectedClient, error)
  3821. LocateBroker(ctx context.Context, in *LocateBrokerRequest, opts ...grpc.CallOption) (*LocateBrokerResponse, error)
  3822. KvGet(ctx context.Context, in *KvGetRequest, opts ...grpc.CallOption) (*KvGetResponse, error)
  3823. KvPut(ctx context.Context, in *KvPutRequest, opts ...grpc.CallOption) (*KvPutResponse, error)
  3824. }
  3825. type seaweedFilerClient struct {
  3826. cc grpc.ClientConnInterface
  3827. }
  3828. func NewSeaweedFilerClient(cc grpc.ClientConnInterface) SeaweedFilerClient {
  3829. return &seaweedFilerClient{cc}
  3830. }
  3831. func (c *seaweedFilerClient) LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error) {
  3832. out := new(LookupDirectoryEntryResponse)
  3833. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupDirectoryEntry", in, out, opts...)
  3834. if err != nil {
  3835. return nil, err
  3836. }
  3837. return out, nil
  3838. }
  3839. func (c *seaweedFilerClient) ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (SeaweedFiler_ListEntriesClient, error) {
  3840. stream, err := c.cc.NewStream(ctx, &_SeaweedFiler_serviceDesc.Streams[0], "/filer_pb.SeaweedFiler/ListEntries", opts...)
  3841. if err != nil {
  3842. return nil, err
  3843. }
  3844. x := &seaweedFilerListEntriesClient{stream}
  3845. if err := x.ClientStream.SendMsg(in); err != nil {
  3846. return nil, err
  3847. }
  3848. if err := x.ClientStream.CloseSend(); err != nil {
  3849. return nil, err
  3850. }
  3851. return x, nil
  3852. }
  3853. type SeaweedFiler_ListEntriesClient interface {
  3854. Recv() (*ListEntriesResponse, error)
  3855. grpc.ClientStream
  3856. }
  3857. type seaweedFilerListEntriesClient struct {
  3858. grpc.ClientStream
  3859. }
  3860. func (x *seaweedFilerListEntriesClient) Recv() (*ListEntriesResponse, error) {
  3861. m := new(ListEntriesResponse)
  3862. if err := x.ClientStream.RecvMsg(m); err != nil {
  3863. return nil, err
  3864. }
  3865. return m, nil
  3866. }
  3867. func (c *seaweedFilerClient) CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error) {
  3868. out := new(CreateEntryResponse)
  3869. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/CreateEntry", in, out, opts...)
  3870. if err != nil {
  3871. return nil, err
  3872. }
  3873. return out, nil
  3874. }
  3875. func (c *seaweedFilerClient) UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error) {
  3876. out := new(UpdateEntryResponse)
  3877. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/UpdateEntry", in, out, opts...)
  3878. if err != nil {
  3879. return nil, err
  3880. }
  3881. return out, nil
  3882. }
  3883. func (c *seaweedFilerClient) AppendToEntry(ctx context.Context, in *AppendToEntryRequest, opts ...grpc.CallOption) (*AppendToEntryResponse, error) {
  3884. out := new(AppendToEntryResponse)
  3885. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/AppendToEntry", in, out, opts...)
  3886. if err != nil {
  3887. return nil, err
  3888. }
  3889. return out, nil
  3890. }
  3891. func (c *seaweedFilerClient) DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error) {
  3892. out := new(DeleteEntryResponse)
  3893. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteEntry", in, out, opts...)
  3894. if err != nil {
  3895. return nil, err
  3896. }
  3897. return out, nil
  3898. }
  3899. func (c *seaweedFilerClient) AtomicRenameEntry(ctx context.Context, in *AtomicRenameEntryRequest, opts ...grpc.CallOption) (*AtomicRenameEntryResponse, error) {
  3900. out := new(AtomicRenameEntryResponse)
  3901. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/AtomicRenameEntry", in, out, opts...)
  3902. if err != nil {
  3903. return nil, err
  3904. }
  3905. return out, nil
  3906. }
  3907. func (c *seaweedFilerClient) AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error) {
  3908. out := new(AssignVolumeResponse)
  3909. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/AssignVolume", in, out, opts...)
  3910. if err != nil {
  3911. return nil, err
  3912. }
  3913. return out, nil
  3914. }
  3915. func (c *seaweedFilerClient) LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error) {
  3916. out := new(LookupVolumeResponse)
  3917. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupVolume", in, out, opts...)
  3918. if err != nil {
  3919. return nil, err
  3920. }
  3921. return out, nil
  3922. }
  3923. func (c *seaweedFilerClient) CollectionList(ctx context.Context, in *CollectionListRequest, opts ...grpc.CallOption) (*CollectionListResponse, error) {
  3924. out := new(CollectionListResponse)
  3925. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/CollectionList", in, out, opts...)
  3926. if err != nil {
  3927. return nil, err
  3928. }
  3929. return out, nil
  3930. }
  3931. func (c *seaweedFilerClient) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) {
  3932. out := new(DeleteCollectionResponse)
  3933. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteCollection", in, out, opts...)
  3934. if err != nil {
  3935. return nil, err
  3936. }
  3937. return out, nil
  3938. }
  3939. func (c *seaweedFilerClient) Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error) {
  3940. out := new(StatisticsResponse)
  3941. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/Statistics", in, out, opts...)
  3942. if err != nil {
  3943. return nil, err
  3944. }
  3945. return out, nil
  3946. }
  3947. func (c *seaweedFilerClient) GetFilerConfiguration(ctx context.Context, in *GetFilerConfigurationRequest, opts ...grpc.CallOption) (*GetFilerConfigurationResponse, error) {
  3948. out := new(GetFilerConfigurationResponse)
  3949. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/GetFilerConfiguration", in, out, opts...)
  3950. if err != nil {
  3951. return nil, err
  3952. }
  3953. return out, nil
  3954. }
  3955. func (c *seaweedFilerClient) SubscribeMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeMetadataClient, error) {
  3956. stream, err := c.cc.NewStream(ctx, &_SeaweedFiler_serviceDesc.Streams[1], "/filer_pb.SeaweedFiler/SubscribeMetadata", opts...)
  3957. if err != nil {
  3958. return nil, err
  3959. }
  3960. x := &seaweedFilerSubscribeMetadataClient{stream}
  3961. if err := x.ClientStream.SendMsg(in); err != nil {
  3962. return nil, err
  3963. }
  3964. if err := x.ClientStream.CloseSend(); err != nil {
  3965. return nil, err
  3966. }
  3967. return x, nil
  3968. }
  3969. type SeaweedFiler_SubscribeMetadataClient interface {
  3970. Recv() (*SubscribeMetadataResponse, error)
  3971. grpc.ClientStream
  3972. }
  3973. type seaweedFilerSubscribeMetadataClient struct {
  3974. grpc.ClientStream
  3975. }
  3976. func (x *seaweedFilerSubscribeMetadataClient) Recv() (*SubscribeMetadataResponse, error) {
  3977. m := new(SubscribeMetadataResponse)
  3978. if err := x.ClientStream.RecvMsg(m); err != nil {
  3979. return nil, err
  3980. }
  3981. return m, nil
  3982. }
  3983. func (c *seaweedFilerClient) SubscribeLocalMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeLocalMetadataClient, error) {
  3984. stream, err := c.cc.NewStream(ctx, &_SeaweedFiler_serviceDesc.Streams[2], "/filer_pb.SeaweedFiler/SubscribeLocalMetadata", opts...)
  3985. if err != nil {
  3986. return nil, err
  3987. }
  3988. x := &seaweedFilerSubscribeLocalMetadataClient{stream}
  3989. if err := x.ClientStream.SendMsg(in); err != nil {
  3990. return nil, err
  3991. }
  3992. if err := x.ClientStream.CloseSend(); err != nil {
  3993. return nil, err
  3994. }
  3995. return x, nil
  3996. }
  3997. type SeaweedFiler_SubscribeLocalMetadataClient interface {
  3998. Recv() (*SubscribeMetadataResponse, error)
  3999. grpc.ClientStream
  4000. }
  4001. type seaweedFilerSubscribeLocalMetadataClient struct {
  4002. grpc.ClientStream
  4003. }
  4004. func (x *seaweedFilerSubscribeLocalMetadataClient) Recv() (*SubscribeMetadataResponse, error) {
  4005. m := new(SubscribeMetadataResponse)
  4006. if err := x.ClientStream.RecvMsg(m); err != nil {
  4007. return nil, err
  4008. }
  4009. return m, nil
  4010. }
  4011. func (c *seaweedFilerClient) KeepConnected(ctx context.Context, opts ...grpc.CallOption) (SeaweedFiler_KeepConnectedClient, error) {
  4012. stream, err := c.cc.NewStream(ctx, &_SeaweedFiler_serviceDesc.Streams[3], "/filer_pb.SeaweedFiler/KeepConnected", opts...)
  4013. if err != nil {
  4014. return nil, err
  4015. }
  4016. x := &seaweedFilerKeepConnectedClient{stream}
  4017. return x, nil
  4018. }
  4019. type SeaweedFiler_KeepConnectedClient interface {
  4020. Send(*KeepConnectedRequest) error
  4021. Recv() (*KeepConnectedResponse, error)
  4022. grpc.ClientStream
  4023. }
  4024. type seaweedFilerKeepConnectedClient struct {
  4025. grpc.ClientStream
  4026. }
  4027. func (x *seaweedFilerKeepConnectedClient) Send(m *KeepConnectedRequest) error {
  4028. return x.ClientStream.SendMsg(m)
  4029. }
  4030. func (x *seaweedFilerKeepConnectedClient) Recv() (*KeepConnectedResponse, error) {
  4031. m := new(KeepConnectedResponse)
  4032. if err := x.ClientStream.RecvMsg(m); err != nil {
  4033. return nil, err
  4034. }
  4035. return m, nil
  4036. }
  4037. func (c *seaweedFilerClient) LocateBroker(ctx context.Context, in *LocateBrokerRequest, opts ...grpc.CallOption) (*LocateBrokerResponse, error) {
  4038. out := new(LocateBrokerResponse)
  4039. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/LocateBroker", in, out, opts...)
  4040. if err != nil {
  4041. return nil, err
  4042. }
  4043. return out, nil
  4044. }
  4045. func (c *seaweedFilerClient) KvGet(ctx context.Context, in *KvGetRequest, opts ...grpc.CallOption) (*KvGetResponse, error) {
  4046. out := new(KvGetResponse)
  4047. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/KvGet", in, out, opts...)
  4048. if err != nil {
  4049. return nil, err
  4050. }
  4051. return out, nil
  4052. }
  4053. func (c *seaweedFilerClient) KvPut(ctx context.Context, in *KvPutRequest, opts ...grpc.CallOption) (*KvPutResponse, error) {
  4054. out := new(KvPutResponse)
  4055. err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/KvPut", in, out, opts...)
  4056. if err != nil {
  4057. return nil, err
  4058. }
  4059. return out, nil
  4060. }
  4061. // SeaweedFilerServer is the server API for SeaweedFiler service.
  4062. type SeaweedFilerServer interface {
  4063. LookupDirectoryEntry(context.Context, *LookupDirectoryEntryRequest) (*LookupDirectoryEntryResponse, error)
  4064. ListEntries(*ListEntriesRequest, SeaweedFiler_ListEntriesServer) error
  4065. CreateEntry(context.Context, *CreateEntryRequest) (*CreateEntryResponse, error)
  4066. UpdateEntry(context.Context, *UpdateEntryRequest) (*UpdateEntryResponse, error)
  4067. AppendToEntry(context.Context, *AppendToEntryRequest) (*AppendToEntryResponse, error)
  4068. DeleteEntry(context.Context, *DeleteEntryRequest) (*DeleteEntryResponse, error)
  4069. AtomicRenameEntry(context.Context, *AtomicRenameEntryRequest) (*AtomicRenameEntryResponse, error)
  4070. AssignVolume(context.Context, *AssignVolumeRequest) (*AssignVolumeResponse, error)
  4071. LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error)
  4072. CollectionList(context.Context, *CollectionListRequest) (*CollectionListResponse, error)
  4073. DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
  4074. Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error)
  4075. GetFilerConfiguration(context.Context, *GetFilerConfigurationRequest) (*GetFilerConfigurationResponse, error)
  4076. SubscribeMetadata(*SubscribeMetadataRequest, SeaweedFiler_SubscribeMetadataServer) error
  4077. SubscribeLocalMetadata(*SubscribeMetadataRequest, SeaweedFiler_SubscribeLocalMetadataServer) error
  4078. KeepConnected(SeaweedFiler_KeepConnectedServer) error
  4079. LocateBroker(context.Context, *LocateBrokerRequest) (*LocateBrokerResponse, error)
  4080. KvGet(context.Context, *KvGetRequest) (*KvGetResponse, error)
  4081. KvPut(context.Context, *KvPutRequest) (*KvPutResponse, error)
  4082. }
  4083. // UnimplementedSeaweedFilerServer can be embedded to have forward compatible implementations.
  4084. type UnimplementedSeaweedFilerServer struct {
  4085. }
  4086. func (*UnimplementedSeaweedFilerServer) LookupDirectoryEntry(context.Context, *LookupDirectoryEntryRequest) (*LookupDirectoryEntryResponse, error) {
  4087. return nil, status.Errorf(codes.Unimplemented, "method LookupDirectoryEntry not implemented")
  4088. }
  4089. func (*UnimplementedSeaweedFilerServer) ListEntries(*ListEntriesRequest, SeaweedFiler_ListEntriesServer) error {
  4090. return status.Errorf(codes.Unimplemented, "method ListEntries not implemented")
  4091. }
  4092. func (*UnimplementedSeaweedFilerServer) CreateEntry(context.Context, *CreateEntryRequest) (*CreateEntryResponse, error) {
  4093. return nil, status.Errorf(codes.Unimplemented, "method CreateEntry not implemented")
  4094. }
  4095. func (*UnimplementedSeaweedFilerServer) UpdateEntry(context.Context, *UpdateEntryRequest) (*UpdateEntryResponse, error) {
  4096. return nil, status.Errorf(codes.Unimplemented, "method UpdateEntry not implemented")
  4097. }
  4098. func (*UnimplementedSeaweedFilerServer) AppendToEntry(context.Context, *AppendToEntryRequest) (*AppendToEntryResponse, error) {
  4099. return nil, status.Errorf(codes.Unimplemented, "method AppendToEntry not implemented")
  4100. }
  4101. func (*UnimplementedSeaweedFilerServer) DeleteEntry(context.Context, *DeleteEntryRequest) (*DeleteEntryResponse, error) {
  4102. return nil, status.Errorf(codes.Unimplemented, "method DeleteEntry not implemented")
  4103. }
  4104. func (*UnimplementedSeaweedFilerServer) AtomicRenameEntry(context.Context, *AtomicRenameEntryRequest) (*AtomicRenameEntryResponse, error) {
  4105. return nil, status.Errorf(codes.Unimplemented, "method AtomicRenameEntry not implemented")
  4106. }
  4107. func (*UnimplementedSeaweedFilerServer) AssignVolume(context.Context, *AssignVolumeRequest) (*AssignVolumeResponse, error) {
  4108. return nil, status.Errorf(codes.Unimplemented, "method AssignVolume not implemented")
  4109. }
  4110. func (*UnimplementedSeaweedFilerServer) LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error) {
  4111. return nil, status.Errorf(codes.Unimplemented, "method LookupVolume not implemented")
  4112. }
  4113. func (*UnimplementedSeaweedFilerServer) CollectionList(context.Context, *CollectionListRequest) (*CollectionListResponse, error) {
  4114. return nil, status.Errorf(codes.Unimplemented, "method CollectionList not implemented")
  4115. }
  4116. func (*UnimplementedSeaweedFilerServer) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error) {
  4117. return nil, status.Errorf(codes.Unimplemented, "method DeleteCollection not implemented")
  4118. }
  4119. func (*UnimplementedSeaweedFilerServer) Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error) {
  4120. return nil, status.Errorf(codes.Unimplemented, "method Statistics not implemented")
  4121. }
  4122. func (*UnimplementedSeaweedFilerServer) GetFilerConfiguration(context.Context, *GetFilerConfigurationRequest) (*GetFilerConfigurationResponse, error) {
  4123. return nil, status.Errorf(codes.Unimplemented, "method GetFilerConfiguration not implemented")
  4124. }
  4125. func (*UnimplementedSeaweedFilerServer) SubscribeMetadata(*SubscribeMetadataRequest, SeaweedFiler_SubscribeMetadataServer) error {
  4126. return status.Errorf(codes.Unimplemented, "method SubscribeMetadata not implemented")
  4127. }
  4128. func (*UnimplementedSeaweedFilerServer) SubscribeLocalMetadata(*SubscribeMetadataRequest, SeaweedFiler_SubscribeLocalMetadataServer) error {
  4129. return status.Errorf(codes.Unimplemented, "method SubscribeLocalMetadata not implemented")
  4130. }
  4131. func (*UnimplementedSeaweedFilerServer) KeepConnected(SeaweedFiler_KeepConnectedServer) error {
  4132. return status.Errorf(codes.Unimplemented, "method KeepConnected not implemented")
  4133. }
  4134. func (*UnimplementedSeaweedFilerServer) LocateBroker(context.Context, *LocateBrokerRequest) (*LocateBrokerResponse, error) {
  4135. return nil, status.Errorf(codes.Unimplemented, "method LocateBroker not implemented")
  4136. }
  4137. func (*UnimplementedSeaweedFilerServer) KvGet(context.Context, *KvGetRequest) (*KvGetResponse, error) {
  4138. return nil, status.Errorf(codes.Unimplemented, "method KvGet not implemented")
  4139. }
  4140. func (*UnimplementedSeaweedFilerServer) KvPut(context.Context, *KvPutRequest) (*KvPutResponse, error) {
  4141. return nil, status.Errorf(codes.Unimplemented, "method KvPut not implemented")
  4142. }
  4143. func RegisterSeaweedFilerServer(s *grpc.Server, srv SeaweedFilerServer) {
  4144. s.RegisterService(&_SeaweedFiler_serviceDesc, srv)
  4145. }
  4146. func _SeaweedFiler_LookupDirectoryEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4147. in := new(LookupDirectoryEntryRequest)
  4148. if err := dec(in); err != nil {
  4149. return nil, err
  4150. }
  4151. if interceptor == nil {
  4152. return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, in)
  4153. }
  4154. info := &grpc.UnaryServerInfo{
  4155. Server: srv,
  4156. FullMethod: "/filer_pb.SeaweedFiler/LookupDirectoryEntry",
  4157. }
  4158. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4159. return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, req.(*LookupDirectoryEntryRequest))
  4160. }
  4161. return interceptor(ctx, in, info, handler)
  4162. }
  4163. func _SeaweedFiler_ListEntries_Handler(srv interface{}, stream grpc.ServerStream) error {
  4164. m := new(ListEntriesRequest)
  4165. if err := stream.RecvMsg(m); err != nil {
  4166. return err
  4167. }
  4168. return srv.(SeaweedFilerServer).ListEntries(m, &seaweedFilerListEntriesServer{stream})
  4169. }
  4170. type SeaweedFiler_ListEntriesServer interface {
  4171. Send(*ListEntriesResponse) error
  4172. grpc.ServerStream
  4173. }
  4174. type seaweedFilerListEntriesServer struct {
  4175. grpc.ServerStream
  4176. }
  4177. func (x *seaweedFilerListEntriesServer) Send(m *ListEntriesResponse) error {
  4178. return x.ServerStream.SendMsg(m)
  4179. }
  4180. func _SeaweedFiler_CreateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4181. in := new(CreateEntryRequest)
  4182. if err := dec(in); err != nil {
  4183. return nil, err
  4184. }
  4185. if interceptor == nil {
  4186. return srv.(SeaweedFilerServer).CreateEntry(ctx, in)
  4187. }
  4188. info := &grpc.UnaryServerInfo{
  4189. Server: srv,
  4190. FullMethod: "/filer_pb.SeaweedFiler/CreateEntry",
  4191. }
  4192. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4193. return srv.(SeaweedFilerServer).CreateEntry(ctx, req.(*CreateEntryRequest))
  4194. }
  4195. return interceptor(ctx, in, info, handler)
  4196. }
  4197. func _SeaweedFiler_UpdateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4198. in := new(UpdateEntryRequest)
  4199. if err := dec(in); err != nil {
  4200. return nil, err
  4201. }
  4202. if interceptor == nil {
  4203. return srv.(SeaweedFilerServer).UpdateEntry(ctx, in)
  4204. }
  4205. info := &grpc.UnaryServerInfo{
  4206. Server: srv,
  4207. FullMethod: "/filer_pb.SeaweedFiler/UpdateEntry",
  4208. }
  4209. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4210. return srv.(SeaweedFilerServer).UpdateEntry(ctx, req.(*UpdateEntryRequest))
  4211. }
  4212. return interceptor(ctx, in, info, handler)
  4213. }
  4214. func _SeaweedFiler_AppendToEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4215. in := new(AppendToEntryRequest)
  4216. if err := dec(in); err != nil {
  4217. return nil, err
  4218. }
  4219. if interceptor == nil {
  4220. return srv.(SeaweedFilerServer).AppendToEntry(ctx, in)
  4221. }
  4222. info := &grpc.UnaryServerInfo{
  4223. Server: srv,
  4224. FullMethod: "/filer_pb.SeaweedFiler/AppendToEntry",
  4225. }
  4226. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4227. return srv.(SeaweedFilerServer).AppendToEntry(ctx, req.(*AppendToEntryRequest))
  4228. }
  4229. return interceptor(ctx, in, info, handler)
  4230. }
  4231. func _SeaweedFiler_DeleteEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4232. in := new(DeleteEntryRequest)
  4233. if err := dec(in); err != nil {
  4234. return nil, err
  4235. }
  4236. if interceptor == nil {
  4237. return srv.(SeaweedFilerServer).DeleteEntry(ctx, in)
  4238. }
  4239. info := &grpc.UnaryServerInfo{
  4240. Server: srv,
  4241. FullMethod: "/filer_pb.SeaweedFiler/DeleteEntry",
  4242. }
  4243. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4244. return srv.(SeaweedFilerServer).DeleteEntry(ctx, req.(*DeleteEntryRequest))
  4245. }
  4246. return interceptor(ctx, in, info, handler)
  4247. }
  4248. func _SeaweedFiler_AtomicRenameEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4249. in := new(AtomicRenameEntryRequest)
  4250. if err := dec(in); err != nil {
  4251. return nil, err
  4252. }
  4253. if interceptor == nil {
  4254. return srv.(SeaweedFilerServer).AtomicRenameEntry(ctx, in)
  4255. }
  4256. info := &grpc.UnaryServerInfo{
  4257. Server: srv,
  4258. FullMethod: "/filer_pb.SeaweedFiler/AtomicRenameEntry",
  4259. }
  4260. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4261. return srv.(SeaweedFilerServer).AtomicRenameEntry(ctx, req.(*AtomicRenameEntryRequest))
  4262. }
  4263. return interceptor(ctx, in, info, handler)
  4264. }
  4265. func _SeaweedFiler_AssignVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4266. in := new(AssignVolumeRequest)
  4267. if err := dec(in); err != nil {
  4268. return nil, err
  4269. }
  4270. if interceptor == nil {
  4271. return srv.(SeaweedFilerServer).AssignVolume(ctx, in)
  4272. }
  4273. info := &grpc.UnaryServerInfo{
  4274. Server: srv,
  4275. FullMethod: "/filer_pb.SeaweedFiler/AssignVolume",
  4276. }
  4277. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4278. return srv.(SeaweedFilerServer).AssignVolume(ctx, req.(*AssignVolumeRequest))
  4279. }
  4280. return interceptor(ctx, in, info, handler)
  4281. }
  4282. func _SeaweedFiler_LookupVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4283. in := new(LookupVolumeRequest)
  4284. if err := dec(in); err != nil {
  4285. return nil, err
  4286. }
  4287. if interceptor == nil {
  4288. return srv.(SeaweedFilerServer).LookupVolume(ctx, in)
  4289. }
  4290. info := &grpc.UnaryServerInfo{
  4291. Server: srv,
  4292. FullMethod: "/filer_pb.SeaweedFiler/LookupVolume",
  4293. }
  4294. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4295. return srv.(SeaweedFilerServer).LookupVolume(ctx, req.(*LookupVolumeRequest))
  4296. }
  4297. return interceptor(ctx, in, info, handler)
  4298. }
  4299. func _SeaweedFiler_CollectionList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4300. in := new(CollectionListRequest)
  4301. if err := dec(in); err != nil {
  4302. return nil, err
  4303. }
  4304. if interceptor == nil {
  4305. return srv.(SeaweedFilerServer).CollectionList(ctx, in)
  4306. }
  4307. info := &grpc.UnaryServerInfo{
  4308. Server: srv,
  4309. FullMethod: "/filer_pb.SeaweedFiler/CollectionList",
  4310. }
  4311. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4312. return srv.(SeaweedFilerServer).CollectionList(ctx, req.(*CollectionListRequest))
  4313. }
  4314. return interceptor(ctx, in, info, handler)
  4315. }
  4316. func _SeaweedFiler_DeleteCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4317. in := new(DeleteCollectionRequest)
  4318. if err := dec(in); err != nil {
  4319. return nil, err
  4320. }
  4321. if interceptor == nil {
  4322. return srv.(SeaweedFilerServer).DeleteCollection(ctx, in)
  4323. }
  4324. info := &grpc.UnaryServerInfo{
  4325. Server: srv,
  4326. FullMethod: "/filer_pb.SeaweedFiler/DeleteCollection",
  4327. }
  4328. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4329. return srv.(SeaweedFilerServer).DeleteCollection(ctx, req.(*DeleteCollectionRequest))
  4330. }
  4331. return interceptor(ctx, in, info, handler)
  4332. }
  4333. func _SeaweedFiler_Statistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4334. in := new(StatisticsRequest)
  4335. if err := dec(in); err != nil {
  4336. return nil, err
  4337. }
  4338. if interceptor == nil {
  4339. return srv.(SeaweedFilerServer).Statistics(ctx, in)
  4340. }
  4341. info := &grpc.UnaryServerInfo{
  4342. Server: srv,
  4343. FullMethod: "/filer_pb.SeaweedFiler/Statistics",
  4344. }
  4345. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4346. return srv.(SeaweedFilerServer).Statistics(ctx, req.(*StatisticsRequest))
  4347. }
  4348. return interceptor(ctx, in, info, handler)
  4349. }
  4350. func _SeaweedFiler_GetFilerConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4351. in := new(GetFilerConfigurationRequest)
  4352. if err := dec(in); err != nil {
  4353. return nil, err
  4354. }
  4355. if interceptor == nil {
  4356. return srv.(SeaweedFilerServer).GetFilerConfiguration(ctx, in)
  4357. }
  4358. info := &grpc.UnaryServerInfo{
  4359. Server: srv,
  4360. FullMethod: "/filer_pb.SeaweedFiler/GetFilerConfiguration",
  4361. }
  4362. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4363. return srv.(SeaweedFilerServer).GetFilerConfiguration(ctx, req.(*GetFilerConfigurationRequest))
  4364. }
  4365. return interceptor(ctx, in, info, handler)
  4366. }
  4367. func _SeaweedFiler_SubscribeMetadata_Handler(srv interface{}, stream grpc.ServerStream) error {
  4368. m := new(SubscribeMetadataRequest)
  4369. if err := stream.RecvMsg(m); err != nil {
  4370. return err
  4371. }
  4372. return srv.(SeaweedFilerServer).SubscribeMetadata(m, &seaweedFilerSubscribeMetadataServer{stream})
  4373. }
  4374. type SeaweedFiler_SubscribeMetadataServer interface {
  4375. Send(*SubscribeMetadataResponse) error
  4376. grpc.ServerStream
  4377. }
  4378. type seaweedFilerSubscribeMetadataServer struct {
  4379. grpc.ServerStream
  4380. }
  4381. func (x *seaweedFilerSubscribeMetadataServer) Send(m *SubscribeMetadataResponse) error {
  4382. return x.ServerStream.SendMsg(m)
  4383. }
  4384. func _SeaweedFiler_SubscribeLocalMetadata_Handler(srv interface{}, stream grpc.ServerStream) error {
  4385. m := new(SubscribeMetadataRequest)
  4386. if err := stream.RecvMsg(m); err != nil {
  4387. return err
  4388. }
  4389. return srv.(SeaweedFilerServer).SubscribeLocalMetadata(m, &seaweedFilerSubscribeLocalMetadataServer{stream})
  4390. }
  4391. type SeaweedFiler_SubscribeLocalMetadataServer interface {
  4392. Send(*SubscribeMetadataResponse) error
  4393. grpc.ServerStream
  4394. }
  4395. type seaweedFilerSubscribeLocalMetadataServer struct {
  4396. grpc.ServerStream
  4397. }
  4398. func (x *seaweedFilerSubscribeLocalMetadataServer) Send(m *SubscribeMetadataResponse) error {
  4399. return x.ServerStream.SendMsg(m)
  4400. }
  4401. func _SeaweedFiler_KeepConnected_Handler(srv interface{}, stream grpc.ServerStream) error {
  4402. return srv.(SeaweedFilerServer).KeepConnected(&seaweedFilerKeepConnectedServer{stream})
  4403. }
  4404. type SeaweedFiler_KeepConnectedServer interface {
  4405. Send(*KeepConnectedResponse) error
  4406. Recv() (*KeepConnectedRequest, error)
  4407. grpc.ServerStream
  4408. }
  4409. type seaweedFilerKeepConnectedServer struct {
  4410. grpc.ServerStream
  4411. }
  4412. func (x *seaweedFilerKeepConnectedServer) Send(m *KeepConnectedResponse) error {
  4413. return x.ServerStream.SendMsg(m)
  4414. }
  4415. func (x *seaweedFilerKeepConnectedServer) Recv() (*KeepConnectedRequest, error) {
  4416. m := new(KeepConnectedRequest)
  4417. if err := x.ServerStream.RecvMsg(m); err != nil {
  4418. return nil, err
  4419. }
  4420. return m, nil
  4421. }
  4422. func _SeaweedFiler_LocateBroker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4423. in := new(LocateBrokerRequest)
  4424. if err := dec(in); err != nil {
  4425. return nil, err
  4426. }
  4427. if interceptor == nil {
  4428. return srv.(SeaweedFilerServer).LocateBroker(ctx, in)
  4429. }
  4430. info := &grpc.UnaryServerInfo{
  4431. Server: srv,
  4432. FullMethod: "/filer_pb.SeaweedFiler/LocateBroker",
  4433. }
  4434. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4435. return srv.(SeaweedFilerServer).LocateBroker(ctx, req.(*LocateBrokerRequest))
  4436. }
  4437. return interceptor(ctx, in, info, handler)
  4438. }
  4439. func _SeaweedFiler_KvGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4440. in := new(KvGetRequest)
  4441. if err := dec(in); err != nil {
  4442. return nil, err
  4443. }
  4444. if interceptor == nil {
  4445. return srv.(SeaweedFilerServer).KvGet(ctx, in)
  4446. }
  4447. info := &grpc.UnaryServerInfo{
  4448. Server: srv,
  4449. FullMethod: "/filer_pb.SeaweedFiler/KvGet",
  4450. }
  4451. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4452. return srv.(SeaweedFilerServer).KvGet(ctx, req.(*KvGetRequest))
  4453. }
  4454. return interceptor(ctx, in, info, handler)
  4455. }
  4456. func _SeaweedFiler_KvPut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4457. in := new(KvPutRequest)
  4458. if err := dec(in); err != nil {
  4459. return nil, err
  4460. }
  4461. if interceptor == nil {
  4462. return srv.(SeaweedFilerServer).KvPut(ctx, in)
  4463. }
  4464. info := &grpc.UnaryServerInfo{
  4465. Server: srv,
  4466. FullMethod: "/filer_pb.SeaweedFiler/KvPut",
  4467. }
  4468. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4469. return srv.(SeaweedFilerServer).KvPut(ctx, req.(*KvPutRequest))
  4470. }
  4471. return interceptor(ctx, in, info, handler)
  4472. }
  4473. var _SeaweedFiler_serviceDesc = grpc.ServiceDesc{
  4474. ServiceName: "filer_pb.SeaweedFiler",
  4475. HandlerType: (*SeaweedFilerServer)(nil),
  4476. Methods: []grpc.MethodDesc{
  4477. {
  4478. MethodName: "LookupDirectoryEntry",
  4479. Handler: _SeaweedFiler_LookupDirectoryEntry_Handler,
  4480. },
  4481. {
  4482. MethodName: "CreateEntry",
  4483. Handler: _SeaweedFiler_CreateEntry_Handler,
  4484. },
  4485. {
  4486. MethodName: "UpdateEntry",
  4487. Handler: _SeaweedFiler_UpdateEntry_Handler,
  4488. },
  4489. {
  4490. MethodName: "AppendToEntry",
  4491. Handler: _SeaweedFiler_AppendToEntry_Handler,
  4492. },
  4493. {
  4494. MethodName: "DeleteEntry",
  4495. Handler: _SeaweedFiler_DeleteEntry_Handler,
  4496. },
  4497. {
  4498. MethodName: "AtomicRenameEntry",
  4499. Handler: _SeaweedFiler_AtomicRenameEntry_Handler,
  4500. },
  4501. {
  4502. MethodName: "AssignVolume",
  4503. Handler: _SeaweedFiler_AssignVolume_Handler,
  4504. },
  4505. {
  4506. MethodName: "LookupVolume",
  4507. Handler: _SeaweedFiler_LookupVolume_Handler,
  4508. },
  4509. {
  4510. MethodName: "CollectionList",
  4511. Handler: _SeaweedFiler_CollectionList_Handler,
  4512. },
  4513. {
  4514. MethodName: "DeleteCollection",
  4515. Handler: _SeaweedFiler_DeleteCollection_Handler,
  4516. },
  4517. {
  4518. MethodName: "Statistics",
  4519. Handler: _SeaweedFiler_Statistics_Handler,
  4520. },
  4521. {
  4522. MethodName: "GetFilerConfiguration",
  4523. Handler: _SeaweedFiler_GetFilerConfiguration_Handler,
  4524. },
  4525. {
  4526. MethodName: "LocateBroker",
  4527. Handler: _SeaweedFiler_LocateBroker_Handler,
  4528. },
  4529. {
  4530. MethodName: "KvGet",
  4531. Handler: _SeaweedFiler_KvGet_Handler,
  4532. },
  4533. {
  4534. MethodName: "KvPut",
  4535. Handler: _SeaweedFiler_KvPut_Handler,
  4536. },
  4537. },
  4538. Streams: []grpc.StreamDesc{
  4539. {
  4540. StreamName: "ListEntries",
  4541. Handler: _SeaweedFiler_ListEntries_Handler,
  4542. ServerStreams: true,
  4543. },
  4544. {
  4545. StreamName: "SubscribeMetadata",
  4546. Handler: _SeaweedFiler_SubscribeMetadata_Handler,
  4547. ServerStreams: true,
  4548. },
  4549. {
  4550. StreamName: "SubscribeLocalMetadata",
  4551. Handler: _SeaweedFiler_SubscribeLocalMetadata_Handler,
  4552. ServerStreams: true,
  4553. },
  4554. {
  4555. StreamName: "KeepConnected",
  4556. Handler: _SeaweedFiler_KeepConnected_Handler,
  4557. ServerStreams: true,
  4558. ClientStreams: true,
  4559. },
  4560. },
  4561. Metadata: "filer.proto",
  4562. }