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.

4676 lines
170 KiB

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