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.

4573 lines
165 KiB

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