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.

4772 lines
174 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
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
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. MaxVolumeCount uint32 `protobuf:"varint,4,opt,name=max_volume_count,json=maxVolumeCount,proto3" json:"max_volume_count,omitempty"`
  50. MaxSsdVolumeCount uint32 `protobuf:"varint,20,opt,name=max_ssd_volume_count,json=maxSsdVolumeCount,proto3" json:"max_ssd_volume_count,omitempty"`
  51. }
  52. func (x *Heartbeat) Reset() {
  53. *x = Heartbeat{}
  54. if protoimpl.UnsafeEnabled {
  55. mi := &file_master_proto_msgTypes[0]
  56. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  57. ms.StoreMessageInfo(mi)
  58. }
  59. }
  60. func (x *Heartbeat) String() string {
  61. return protoimpl.X.MessageStringOf(x)
  62. }
  63. func (*Heartbeat) ProtoMessage() {}
  64. func (x *Heartbeat) ProtoReflect() protoreflect.Message {
  65. mi := &file_master_proto_msgTypes[0]
  66. if protoimpl.UnsafeEnabled && x != nil {
  67. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  68. if ms.LoadMessageInfo() == nil {
  69. ms.StoreMessageInfo(mi)
  70. }
  71. return ms
  72. }
  73. return mi.MessageOf(x)
  74. }
  75. // Deprecated: Use Heartbeat.ProtoReflect.Descriptor instead.
  76. func (*Heartbeat) Descriptor() ([]byte, []int) {
  77. return file_master_proto_rawDescGZIP(), []int{0}
  78. }
  79. func (x *Heartbeat) GetIp() string {
  80. if x != nil {
  81. return x.Ip
  82. }
  83. return ""
  84. }
  85. func (x *Heartbeat) GetPort() uint32 {
  86. if x != nil {
  87. return x.Port
  88. }
  89. return 0
  90. }
  91. func (x *Heartbeat) GetPublicUrl() string {
  92. if x != nil {
  93. return x.PublicUrl
  94. }
  95. return ""
  96. }
  97. func (x *Heartbeat) GetMaxFileKey() uint64 {
  98. if x != nil {
  99. return x.MaxFileKey
  100. }
  101. return 0
  102. }
  103. func (x *Heartbeat) GetDataCenter() string {
  104. if x != nil {
  105. return x.DataCenter
  106. }
  107. return ""
  108. }
  109. func (x *Heartbeat) GetRack() string {
  110. if x != nil {
  111. return x.Rack
  112. }
  113. return ""
  114. }
  115. func (x *Heartbeat) GetAdminPort() uint32 {
  116. if x != nil {
  117. return x.AdminPort
  118. }
  119. return 0
  120. }
  121. func (x *Heartbeat) GetVolumes() []*VolumeInformationMessage {
  122. if x != nil {
  123. return x.Volumes
  124. }
  125. return nil
  126. }
  127. func (x *Heartbeat) GetNewVolumes() []*VolumeShortInformationMessage {
  128. if x != nil {
  129. return x.NewVolumes
  130. }
  131. return nil
  132. }
  133. func (x *Heartbeat) GetDeletedVolumes() []*VolumeShortInformationMessage {
  134. if x != nil {
  135. return x.DeletedVolumes
  136. }
  137. return nil
  138. }
  139. func (x *Heartbeat) GetHasNoVolumes() bool {
  140. if x != nil {
  141. return x.HasNoVolumes
  142. }
  143. return false
  144. }
  145. func (x *Heartbeat) GetEcShards() []*VolumeEcShardInformationMessage {
  146. if x != nil {
  147. return x.EcShards
  148. }
  149. return nil
  150. }
  151. func (x *Heartbeat) GetNewEcShards() []*VolumeEcShardInformationMessage {
  152. if x != nil {
  153. return x.NewEcShards
  154. }
  155. return nil
  156. }
  157. func (x *Heartbeat) GetDeletedEcShards() []*VolumeEcShardInformationMessage {
  158. if x != nil {
  159. return x.DeletedEcShards
  160. }
  161. return nil
  162. }
  163. func (x *Heartbeat) GetHasNoEcShards() bool {
  164. if x != nil {
  165. return x.HasNoEcShards
  166. }
  167. return false
  168. }
  169. func (x *Heartbeat) GetMaxVolumeCount() uint32 {
  170. if x != nil {
  171. return x.MaxVolumeCount
  172. }
  173. return 0
  174. }
  175. func (x *Heartbeat) GetMaxSsdVolumeCount() uint32 {
  176. if x != nil {
  177. return x.MaxSsdVolumeCount
  178. }
  179. return 0
  180. }
  181. type HeartbeatResponse struct {
  182. state protoimpl.MessageState
  183. sizeCache protoimpl.SizeCache
  184. unknownFields protoimpl.UnknownFields
  185. VolumeSizeLimit uint64 `protobuf:"varint,1,opt,name=volume_size_limit,json=volumeSizeLimit,proto3" json:"volume_size_limit,omitempty"`
  186. Leader string `protobuf:"bytes,2,opt,name=leader,proto3" json:"leader,omitempty"`
  187. MetricsAddress string `protobuf:"bytes,3,opt,name=metrics_address,json=metricsAddress,proto3" json:"metrics_address,omitempty"`
  188. MetricsIntervalSeconds uint32 `protobuf:"varint,4,opt,name=metrics_interval_seconds,json=metricsIntervalSeconds,proto3" json:"metrics_interval_seconds,omitempty"`
  189. StorageBackends []*StorageBackend `protobuf:"bytes,5,rep,name=storage_backends,json=storageBackends,proto3" json:"storage_backends,omitempty"`
  190. }
  191. func (x *HeartbeatResponse) Reset() {
  192. *x = HeartbeatResponse{}
  193. if protoimpl.UnsafeEnabled {
  194. mi := &file_master_proto_msgTypes[1]
  195. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  196. ms.StoreMessageInfo(mi)
  197. }
  198. }
  199. func (x *HeartbeatResponse) String() string {
  200. return protoimpl.X.MessageStringOf(x)
  201. }
  202. func (*HeartbeatResponse) ProtoMessage() {}
  203. func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message {
  204. mi := &file_master_proto_msgTypes[1]
  205. if protoimpl.UnsafeEnabled && x != nil {
  206. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  207. if ms.LoadMessageInfo() == nil {
  208. ms.StoreMessageInfo(mi)
  209. }
  210. return ms
  211. }
  212. return mi.MessageOf(x)
  213. }
  214. // Deprecated: Use HeartbeatResponse.ProtoReflect.Descriptor instead.
  215. func (*HeartbeatResponse) Descriptor() ([]byte, []int) {
  216. return file_master_proto_rawDescGZIP(), []int{1}
  217. }
  218. func (x *HeartbeatResponse) GetVolumeSizeLimit() uint64 {
  219. if x != nil {
  220. return x.VolumeSizeLimit
  221. }
  222. return 0
  223. }
  224. func (x *HeartbeatResponse) GetLeader() string {
  225. if x != nil {
  226. return x.Leader
  227. }
  228. return ""
  229. }
  230. func (x *HeartbeatResponse) GetMetricsAddress() string {
  231. if x != nil {
  232. return x.MetricsAddress
  233. }
  234. return ""
  235. }
  236. func (x *HeartbeatResponse) GetMetricsIntervalSeconds() uint32 {
  237. if x != nil {
  238. return x.MetricsIntervalSeconds
  239. }
  240. return 0
  241. }
  242. func (x *HeartbeatResponse) GetStorageBackends() []*StorageBackend {
  243. if x != nil {
  244. return x.StorageBackends
  245. }
  246. return nil
  247. }
  248. type VolumeInformationMessage struct {
  249. state protoimpl.MessageState
  250. sizeCache protoimpl.SizeCache
  251. unknownFields protoimpl.UnknownFields
  252. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  253. Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
  254. Collection string `protobuf:"bytes,3,opt,name=collection,proto3" json:"collection,omitempty"`
  255. FileCount uint64 `protobuf:"varint,4,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"`
  256. DeleteCount uint64 `protobuf:"varint,5,opt,name=delete_count,json=deleteCount,proto3" json:"delete_count,omitempty"`
  257. DeletedByteCount uint64 `protobuf:"varint,6,opt,name=deleted_byte_count,json=deletedByteCount,proto3" json:"deleted_byte_count,omitempty"`
  258. ReadOnly bool `protobuf:"varint,7,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
  259. ReplicaPlacement uint32 `protobuf:"varint,8,opt,name=replica_placement,json=replicaPlacement,proto3" json:"replica_placement,omitempty"`
  260. Version uint32 `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"`
  261. Ttl uint32 `protobuf:"varint,10,opt,name=ttl,proto3" json:"ttl,omitempty"`
  262. CompactRevision uint32 `protobuf:"varint,11,opt,name=compact_revision,json=compactRevision,proto3" json:"compact_revision,omitempty"`
  263. ModifiedAtSecond int64 `protobuf:"varint,12,opt,name=modified_at_second,json=modifiedAtSecond,proto3" json:"modified_at_second,omitempty"`
  264. RemoteStorageName string `protobuf:"bytes,13,opt,name=remote_storage_name,json=remoteStorageName,proto3" json:"remote_storage_name,omitempty"`
  265. RemoteStorageKey string `protobuf:"bytes,14,opt,name=remote_storage_key,json=remoteStorageKey,proto3" json:"remote_storage_key,omitempty"`
  266. DiskType string `protobuf:"bytes,15,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
  267. }
  268. func (x *VolumeInformationMessage) Reset() {
  269. *x = VolumeInformationMessage{}
  270. if protoimpl.UnsafeEnabled {
  271. mi := &file_master_proto_msgTypes[2]
  272. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  273. ms.StoreMessageInfo(mi)
  274. }
  275. }
  276. func (x *VolumeInformationMessage) String() string {
  277. return protoimpl.X.MessageStringOf(x)
  278. }
  279. func (*VolumeInformationMessage) ProtoMessage() {}
  280. func (x *VolumeInformationMessage) ProtoReflect() protoreflect.Message {
  281. mi := &file_master_proto_msgTypes[2]
  282. if protoimpl.UnsafeEnabled && x != nil {
  283. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  284. if ms.LoadMessageInfo() == nil {
  285. ms.StoreMessageInfo(mi)
  286. }
  287. return ms
  288. }
  289. return mi.MessageOf(x)
  290. }
  291. // Deprecated: Use VolumeInformationMessage.ProtoReflect.Descriptor instead.
  292. func (*VolumeInformationMessage) Descriptor() ([]byte, []int) {
  293. return file_master_proto_rawDescGZIP(), []int{2}
  294. }
  295. func (x *VolumeInformationMessage) GetId() uint32 {
  296. if x != nil {
  297. return x.Id
  298. }
  299. return 0
  300. }
  301. func (x *VolumeInformationMessage) GetSize() uint64 {
  302. if x != nil {
  303. return x.Size
  304. }
  305. return 0
  306. }
  307. func (x *VolumeInformationMessage) GetCollection() string {
  308. if x != nil {
  309. return x.Collection
  310. }
  311. return ""
  312. }
  313. func (x *VolumeInformationMessage) GetFileCount() uint64 {
  314. if x != nil {
  315. return x.FileCount
  316. }
  317. return 0
  318. }
  319. func (x *VolumeInformationMessage) GetDeleteCount() uint64 {
  320. if x != nil {
  321. return x.DeleteCount
  322. }
  323. return 0
  324. }
  325. func (x *VolumeInformationMessage) GetDeletedByteCount() uint64 {
  326. if x != nil {
  327. return x.DeletedByteCount
  328. }
  329. return 0
  330. }
  331. func (x *VolumeInformationMessage) GetReadOnly() bool {
  332. if x != nil {
  333. return x.ReadOnly
  334. }
  335. return false
  336. }
  337. func (x *VolumeInformationMessage) GetReplicaPlacement() uint32 {
  338. if x != nil {
  339. return x.ReplicaPlacement
  340. }
  341. return 0
  342. }
  343. func (x *VolumeInformationMessage) GetVersion() uint32 {
  344. if x != nil {
  345. return x.Version
  346. }
  347. return 0
  348. }
  349. func (x *VolumeInformationMessage) GetTtl() uint32 {
  350. if x != nil {
  351. return x.Ttl
  352. }
  353. return 0
  354. }
  355. func (x *VolumeInformationMessage) GetCompactRevision() uint32 {
  356. if x != nil {
  357. return x.CompactRevision
  358. }
  359. return 0
  360. }
  361. func (x *VolumeInformationMessage) GetModifiedAtSecond() int64 {
  362. if x != nil {
  363. return x.ModifiedAtSecond
  364. }
  365. return 0
  366. }
  367. func (x *VolumeInformationMessage) GetRemoteStorageName() string {
  368. if x != nil {
  369. return x.RemoteStorageName
  370. }
  371. return ""
  372. }
  373. func (x *VolumeInformationMessage) GetRemoteStorageKey() string {
  374. if x != nil {
  375. return x.RemoteStorageKey
  376. }
  377. return ""
  378. }
  379. func (x *VolumeInformationMessage) GetDiskType() string {
  380. if x != nil {
  381. return x.DiskType
  382. }
  383. return ""
  384. }
  385. type VolumeShortInformationMessage struct {
  386. state protoimpl.MessageState
  387. sizeCache protoimpl.SizeCache
  388. unknownFields protoimpl.UnknownFields
  389. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  390. Collection string `protobuf:"bytes,3,opt,name=collection,proto3" json:"collection,omitempty"`
  391. ReplicaPlacement uint32 `protobuf:"varint,8,opt,name=replica_placement,json=replicaPlacement,proto3" json:"replica_placement,omitempty"`
  392. Version uint32 `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"`
  393. Ttl uint32 `protobuf:"varint,10,opt,name=ttl,proto3" json:"ttl,omitempty"`
  394. DiskType string `protobuf:"bytes,15,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
  395. }
  396. func (x *VolumeShortInformationMessage) Reset() {
  397. *x = VolumeShortInformationMessage{}
  398. if protoimpl.UnsafeEnabled {
  399. mi := &file_master_proto_msgTypes[3]
  400. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  401. ms.StoreMessageInfo(mi)
  402. }
  403. }
  404. func (x *VolumeShortInformationMessage) String() string {
  405. return protoimpl.X.MessageStringOf(x)
  406. }
  407. func (*VolumeShortInformationMessage) ProtoMessage() {}
  408. func (x *VolumeShortInformationMessage) ProtoReflect() protoreflect.Message {
  409. mi := &file_master_proto_msgTypes[3]
  410. if protoimpl.UnsafeEnabled && x != nil {
  411. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  412. if ms.LoadMessageInfo() == nil {
  413. ms.StoreMessageInfo(mi)
  414. }
  415. return ms
  416. }
  417. return mi.MessageOf(x)
  418. }
  419. // Deprecated: Use VolumeShortInformationMessage.ProtoReflect.Descriptor instead.
  420. func (*VolumeShortInformationMessage) Descriptor() ([]byte, []int) {
  421. return file_master_proto_rawDescGZIP(), []int{3}
  422. }
  423. func (x *VolumeShortInformationMessage) GetId() uint32 {
  424. if x != nil {
  425. return x.Id
  426. }
  427. return 0
  428. }
  429. func (x *VolumeShortInformationMessage) GetCollection() string {
  430. if x != nil {
  431. return x.Collection
  432. }
  433. return ""
  434. }
  435. func (x *VolumeShortInformationMessage) GetReplicaPlacement() uint32 {
  436. if x != nil {
  437. return x.ReplicaPlacement
  438. }
  439. return 0
  440. }
  441. func (x *VolumeShortInformationMessage) GetVersion() uint32 {
  442. if x != nil {
  443. return x.Version
  444. }
  445. return 0
  446. }
  447. func (x *VolumeShortInformationMessage) GetTtl() uint32 {
  448. if x != nil {
  449. return x.Ttl
  450. }
  451. return 0
  452. }
  453. func (x *VolumeShortInformationMessage) GetDiskType() string {
  454. if x != nil {
  455. return x.DiskType
  456. }
  457. return ""
  458. }
  459. type VolumeEcShardInformationMessage struct {
  460. state protoimpl.MessageState
  461. sizeCache protoimpl.SizeCache
  462. unknownFields protoimpl.UnknownFields
  463. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  464. Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
  465. EcIndexBits uint32 `protobuf:"varint,3,opt,name=ec_index_bits,json=ecIndexBits,proto3" json:"ec_index_bits,omitempty"`
  466. }
  467. func (x *VolumeEcShardInformationMessage) Reset() {
  468. *x = VolumeEcShardInformationMessage{}
  469. if protoimpl.UnsafeEnabled {
  470. mi := &file_master_proto_msgTypes[4]
  471. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  472. ms.StoreMessageInfo(mi)
  473. }
  474. }
  475. func (x *VolumeEcShardInformationMessage) String() string {
  476. return protoimpl.X.MessageStringOf(x)
  477. }
  478. func (*VolumeEcShardInformationMessage) ProtoMessage() {}
  479. func (x *VolumeEcShardInformationMessage) ProtoReflect() protoreflect.Message {
  480. mi := &file_master_proto_msgTypes[4]
  481. if protoimpl.UnsafeEnabled && x != nil {
  482. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  483. if ms.LoadMessageInfo() == nil {
  484. ms.StoreMessageInfo(mi)
  485. }
  486. return ms
  487. }
  488. return mi.MessageOf(x)
  489. }
  490. // Deprecated: Use VolumeEcShardInformationMessage.ProtoReflect.Descriptor instead.
  491. func (*VolumeEcShardInformationMessage) Descriptor() ([]byte, []int) {
  492. return file_master_proto_rawDescGZIP(), []int{4}
  493. }
  494. func (x *VolumeEcShardInformationMessage) GetId() uint32 {
  495. if x != nil {
  496. return x.Id
  497. }
  498. return 0
  499. }
  500. func (x *VolumeEcShardInformationMessage) GetCollection() string {
  501. if x != nil {
  502. return x.Collection
  503. }
  504. return ""
  505. }
  506. func (x *VolumeEcShardInformationMessage) GetEcIndexBits() uint32 {
  507. if x != nil {
  508. return x.EcIndexBits
  509. }
  510. return 0
  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 DataNodeInfo struct {
  1378. state protoimpl.MessageState
  1379. sizeCache protoimpl.SizeCache
  1380. unknownFields protoimpl.UnknownFields
  1381. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,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. MaxSsdVolumeCount uint64 `protobuf:"varint,9,opt,name=max_ssd_volume_count,json=maxSsdVolumeCount,proto3" json:"max_ssd_volume_count,omitempty"`
  1390. SsdVolumeCount uint64 `protobuf:"varint,10,opt,name=ssd_volume_count,json=ssdVolumeCount,proto3" json:"ssd_volume_count,omitempty"`
  1391. }
  1392. func (x *DataNodeInfo) Reset() {
  1393. *x = DataNodeInfo{}
  1394. if protoimpl.UnsafeEnabled {
  1395. mi := &file_master_proto_msgTypes[22]
  1396. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1397. ms.StoreMessageInfo(mi)
  1398. }
  1399. }
  1400. func (x *DataNodeInfo) String() string {
  1401. return protoimpl.X.MessageStringOf(x)
  1402. }
  1403. func (*DataNodeInfo) ProtoMessage() {}
  1404. func (x *DataNodeInfo) ProtoReflect() protoreflect.Message {
  1405. mi := &file_master_proto_msgTypes[22]
  1406. if protoimpl.UnsafeEnabled && x != nil {
  1407. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1408. if ms.LoadMessageInfo() == nil {
  1409. ms.StoreMessageInfo(mi)
  1410. }
  1411. return ms
  1412. }
  1413. return mi.MessageOf(x)
  1414. }
  1415. // Deprecated: Use DataNodeInfo.ProtoReflect.Descriptor instead.
  1416. func (*DataNodeInfo) Descriptor() ([]byte, []int) {
  1417. return file_master_proto_rawDescGZIP(), []int{22}
  1418. }
  1419. func (x *DataNodeInfo) GetId() string {
  1420. if x != nil {
  1421. return x.Id
  1422. }
  1423. return ""
  1424. }
  1425. func (x *DataNodeInfo) GetVolumeCount() uint64 {
  1426. if x != nil {
  1427. return x.VolumeCount
  1428. }
  1429. return 0
  1430. }
  1431. func (x *DataNodeInfo) GetMaxVolumeCount() uint64 {
  1432. if x != nil {
  1433. return x.MaxVolumeCount
  1434. }
  1435. return 0
  1436. }
  1437. func (x *DataNodeInfo) GetFreeVolumeCount() uint64 {
  1438. if x != nil {
  1439. return x.FreeVolumeCount
  1440. }
  1441. return 0
  1442. }
  1443. func (x *DataNodeInfo) GetActiveVolumeCount() uint64 {
  1444. if x != nil {
  1445. return x.ActiveVolumeCount
  1446. }
  1447. return 0
  1448. }
  1449. func (x *DataNodeInfo) GetVolumeInfos() []*VolumeInformationMessage {
  1450. if x != nil {
  1451. return x.VolumeInfos
  1452. }
  1453. return nil
  1454. }
  1455. func (x *DataNodeInfo) GetEcShardInfos() []*VolumeEcShardInformationMessage {
  1456. if x != nil {
  1457. return x.EcShardInfos
  1458. }
  1459. return nil
  1460. }
  1461. func (x *DataNodeInfo) GetRemoteVolumeCount() uint64 {
  1462. if x != nil {
  1463. return x.RemoteVolumeCount
  1464. }
  1465. return 0
  1466. }
  1467. func (x *DataNodeInfo) GetMaxSsdVolumeCount() uint64 {
  1468. if x != nil {
  1469. return x.MaxSsdVolumeCount
  1470. }
  1471. return 0
  1472. }
  1473. func (x *DataNodeInfo) GetSsdVolumeCount() uint64 {
  1474. if x != nil {
  1475. return x.SsdVolumeCount
  1476. }
  1477. return 0
  1478. }
  1479. type RackInfo struct {
  1480. state protoimpl.MessageState
  1481. sizeCache protoimpl.SizeCache
  1482. unknownFields protoimpl.UnknownFields
  1483. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1484. VolumeCount uint64 `protobuf:"varint,2,opt,name=volume_count,json=volumeCount,proto3" json:"volume_count,omitempty"`
  1485. MaxVolumeCount uint64 `protobuf:"varint,3,opt,name=max_volume_count,json=maxVolumeCount,proto3" json:"max_volume_count,omitempty"`
  1486. FreeVolumeCount uint64 `protobuf:"varint,4,opt,name=free_volume_count,json=freeVolumeCount,proto3" json:"free_volume_count,omitempty"`
  1487. ActiveVolumeCount uint64 `protobuf:"varint,5,opt,name=active_volume_count,json=activeVolumeCount,proto3" json:"active_volume_count,omitempty"`
  1488. DataNodeInfos []*DataNodeInfo `protobuf:"bytes,6,rep,name=data_node_infos,json=dataNodeInfos,proto3" json:"data_node_infos,omitempty"`
  1489. RemoteVolumeCount uint64 `protobuf:"varint,7,opt,name=remote_volume_count,json=remoteVolumeCount,proto3" json:"remote_volume_count,omitempty"`
  1490. MaxSsdVolumeCount uint64 `protobuf:"varint,8,opt,name=max_ssd_volume_count,json=maxSsdVolumeCount,proto3" json:"max_ssd_volume_count,omitempty"`
  1491. SsdVolumeCount uint64 `protobuf:"varint,9,opt,name=ssd_volume_count,json=ssdVolumeCount,proto3" json:"ssd_volume_count,omitempty"`
  1492. }
  1493. func (x *RackInfo) Reset() {
  1494. *x = RackInfo{}
  1495. if protoimpl.UnsafeEnabled {
  1496. mi := &file_master_proto_msgTypes[23]
  1497. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1498. ms.StoreMessageInfo(mi)
  1499. }
  1500. }
  1501. func (x *RackInfo) String() string {
  1502. return protoimpl.X.MessageStringOf(x)
  1503. }
  1504. func (*RackInfo) ProtoMessage() {}
  1505. func (x *RackInfo) ProtoReflect() protoreflect.Message {
  1506. mi := &file_master_proto_msgTypes[23]
  1507. if protoimpl.UnsafeEnabled && x != nil {
  1508. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1509. if ms.LoadMessageInfo() == nil {
  1510. ms.StoreMessageInfo(mi)
  1511. }
  1512. return ms
  1513. }
  1514. return mi.MessageOf(x)
  1515. }
  1516. // Deprecated: Use RackInfo.ProtoReflect.Descriptor instead.
  1517. func (*RackInfo) Descriptor() ([]byte, []int) {
  1518. return file_master_proto_rawDescGZIP(), []int{23}
  1519. }
  1520. func (x *RackInfo) GetId() string {
  1521. if x != nil {
  1522. return x.Id
  1523. }
  1524. return ""
  1525. }
  1526. func (x *RackInfo) GetVolumeCount() uint64 {
  1527. if x != nil {
  1528. return x.VolumeCount
  1529. }
  1530. return 0
  1531. }
  1532. func (x *RackInfo) GetMaxVolumeCount() uint64 {
  1533. if x != nil {
  1534. return x.MaxVolumeCount
  1535. }
  1536. return 0
  1537. }
  1538. func (x *RackInfo) GetFreeVolumeCount() uint64 {
  1539. if x != nil {
  1540. return x.FreeVolumeCount
  1541. }
  1542. return 0
  1543. }
  1544. func (x *RackInfo) GetActiveVolumeCount() uint64 {
  1545. if x != nil {
  1546. return x.ActiveVolumeCount
  1547. }
  1548. return 0
  1549. }
  1550. func (x *RackInfo) GetDataNodeInfos() []*DataNodeInfo {
  1551. if x != nil {
  1552. return x.DataNodeInfos
  1553. }
  1554. return nil
  1555. }
  1556. func (x *RackInfo) GetRemoteVolumeCount() uint64 {
  1557. if x != nil {
  1558. return x.RemoteVolumeCount
  1559. }
  1560. return 0
  1561. }
  1562. func (x *RackInfo) GetMaxSsdVolumeCount() uint64 {
  1563. if x != nil {
  1564. return x.MaxSsdVolumeCount
  1565. }
  1566. return 0
  1567. }
  1568. func (x *RackInfo) GetSsdVolumeCount() uint64 {
  1569. if x != nil {
  1570. return x.SsdVolumeCount
  1571. }
  1572. return 0
  1573. }
  1574. type DataCenterInfo struct {
  1575. state protoimpl.MessageState
  1576. sizeCache protoimpl.SizeCache
  1577. unknownFields protoimpl.UnknownFields
  1578. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1579. VolumeCount uint64 `protobuf:"varint,2,opt,name=volume_count,json=volumeCount,proto3" json:"volume_count,omitempty"`
  1580. MaxVolumeCount uint64 `protobuf:"varint,3,opt,name=max_volume_count,json=maxVolumeCount,proto3" json:"max_volume_count,omitempty"`
  1581. FreeVolumeCount uint64 `protobuf:"varint,4,opt,name=free_volume_count,json=freeVolumeCount,proto3" json:"free_volume_count,omitempty"`
  1582. ActiveVolumeCount uint64 `protobuf:"varint,5,opt,name=active_volume_count,json=activeVolumeCount,proto3" json:"active_volume_count,omitempty"`
  1583. RackInfos []*RackInfo `protobuf:"bytes,6,rep,name=rack_infos,json=rackInfos,proto3" json:"rack_infos,omitempty"`
  1584. RemoteVolumeCount uint64 `protobuf:"varint,7,opt,name=remote_volume_count,json=remoteVolumeCount,proto3" json:"remote_volume_count,omitempty"`
  1585. MaxSsdVolumeCount uint64 `protobuf:"varint,8,opt,name=max_ssd_volume_count,json=maxSsdVolumeCount,proto3" json:"max_ssd_volume_count,omitempty"`
  1586. SsdVolumeCount uint64 `protobuf:"varint,9,opt,name=ssd_volume_count,json=ssdVolumeCount,proto3" json:"ssd_volume_count,omitempty"`
  1587. }
  1588. func (x *DataCenterInfo) Reset() {
  1589. *x = DataCenterInfo{}
  1590. if protoimpl.UnsafeEnabled {
  1591. mi := &file_master_proto_msgTypes[24]
  1592. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1593. ms.StoreMessageInfo(mi)
  1594. }
  1595. }
  1596. func (x *DataCenterInfo) String() string {
  1597. return protoimpl.X.MessageStringOf(x)
  1598. }
  1599. func (*DataCenterInfo) ProtoMessage() {}
  1600. func (x *DataCenterInfo) ProtoReflect() protoreflect.Message {
  1601. mi := &file_master_proto_msgTypes[24]
  1602. if protoimpl.UnsafeEnabled && x != nil {
  1603. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1604. if ms.LoadMessageInfo() == nil {
  1605. ms.StoreMessageInfo(mi)
  1606. }
  1607. return ms
  1608. }
  1609. return mi.MessageOf(x)
  1610. }
  1611. // Deprecated: Use DataCenterInfo.ProtoReflect.Descriptor instead.
  1612. func (*DataCenterInfo) Descriptor() ([]byte, []int) {
  1613. return file_master_proto_rawDescGZIP(), []int{24}
  1614. }
  1615. func (x *DataCenterInfo) GetId() string {
  1616. if x != nil {
  1617. return x.Id
  1618. }
  1619. return ""
  1620. }
  1621. func (x *DataCenterInfo) GetVolumeCount() uint64 {
  1622. if x != nil {
  1623. return x.VolumeCount
  1624. }
  1625. return 0
  1626. }
  1627. func (x *DataCenterInfo) GetMaxVolumeCount() uint64 {
  1628. if x != nil {
  1629. return x.MaxVolumeCount
  1630. }
  1631. return 0
  1632. }
  1633. func (x *DataCenterInfo) GetFreeVolumeCount() uint64 {
  1634. if x != nil {
  1635. return x.FreeVolumeCount
  1636. }
  1637. return 0
  1638. }
  1639. func (x *DataCenterInfo) GetActiveVolumeCount() uint64 {
  1640. if x != nil {
  1641. return x.ActiveVolumeCount
  1642. }
  1643. return 0
  1644. }
  1645. func (x *DataCenterInfo) GetRackInfos() []*RackInfo {
  1646. if x != nil {
  1647. return x.RackInfos
  1648. }
  1649. return nil
  1650. }
  1651. func (x *DataCenterInfo) GetRemoteVolumeCount() uint64 {
  1652. if x != nil {
  1653. return x.RemoteVolumeCount
  1654. }
  1655. return 0
  1656. }
  1657. func (x *DataCenterInfo) GetMaxSsdVolumeCount() uint64 {
  1658. if x != nil {
  1659. return x.MaxSsdVolumeCount
  1660. }
  1661. return 0
  1662. }
  1663. func (x *DataCenterInfo) GetSsdVolumeCount() uint64 {
  1664. if x != nil {
  1665. return x.SsdVolumeCount
  1666. }
  1667. return 0
  1668. }
  1669. type TopologyInfo struct {
  1670. state protoimpl.MessageState
  1671. sizeCache protoimpl.SizeCache
  1672. unknownFields protoimpl.UnknownFields
  1673. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1674. VolumeCount uint64 `protobuf:"varint,2,opt,name=volume_count,json=volumeCount,proto3" json:"volume_count,omitempty"`
  1675. MaxVolumeCount uint64 `protobuf:"varint,3,opt,name=max_volume_count,json=maxVolumeCount,proto3" json:"max_volume_count,omitempty"`
  1676. FreeVolumeCount uint64 `protobuf:"varint,4,opt,name=free_volume_count,json=freeVolumeCount,proto3" json:"free_volume_count,omitempty"`
  1677. ActiveVolumeCount uint64 `protobuf:"varint,5,opt,name=active_volume_count,json=activeVolumeCount,proto3" json:"active_volume_count,omitempty"`
  1678. DataCenterInfos []*DataCenterInfo `protobuf:"bytes,6,rep,name=data_center_infos,json=dataCenterInfos,proto3" json:"data_center_infos,omitempty"`
  1679. RemoteVolumeCount uint64 `protobuf:"varint,7,opt,name=remote_volume_count,json=remoteVolumeCount,proto3" json:"remote_volume_count,omitempty"`
  1680. MaxSsdVolumeCount uint64 `protobuf:"varint,8,opt,name=max_ssd_volume_count,json=maxSsdVolumeCount,proto3" json:"max_ssd_volume_count,omitempty"`
  1681. SsdVolumeCount uint64 `protobuf:"varint,9,opt,name=ssd_volume_count,json=ssdVolumeCount,proto3" json:"ssd_volume_count,omitempty"`
  1682. }
  1683. func (x *TopologyInfo) Reset() {
  1684. *x = TopologyInfo{}
  1685. if protoimpl.UnsafeEnabled {
  1686. mi := &file_master_proto_msgTypes[25]
  1687. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1688. ms.StoreMessageInfo(mi)
  1689. }
  1690. }
  1691. func (x *TopologyInfo) String() string {
  1692. return protoimpl.X.MessageStringOf(x)
  1693. }
  1694. func (*TopologyInfo) ProtoMessage() {}
  1695. func (x *TopologyInfo) ProtoReflect() protoreflect.Message {
  1696. mi := &file_master_proto_msgTypes[25]
  1697. if protoimpl.UnsafeEnabled && x != nil {
  1698. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1699. if ms.LoadMessageInfo() == nil {
  1700. ms.StoreMessageInfo(mi)
  1701. }
  1702. return ms
  1703. }
  1704. return mi.MessageOf(x)
  1705. }
  1706. // Deprecated: Use TopologyInfo.ProtoReflect.Descriptor instead.
  1707. func (*TopologyInfo) Descriptor() ([]byte, []int) {
  1708. return file_master_proto_rawDescGZIP(), []int{25}
  1709. }
  1710. func (x *TopologyInfo) GetId() string {
  1711. if x != nil {
  1712. return x.Id
  1713. }
  1714. return ""
  1715. }
  1716. func (x *TopologyInfo) GetVolumeCount() uint64 {
  1717. if x != nil {
  1718. return x.VolumeCount
  1719. }
  1720. return 0
  1721. }
  1722. func (x *TopologyInfo) GetMaxVolumeCount() uint64 {
  1723. if x != nil {
  1724. return x.MaxVolumeCount
  1725. }
  1726. return 0
  1727. }
  1728. func (x *TopologyInfo) GetFreeVolumeCount() uint64 {
  1729. if x != nil {
  1730. return x.FreeVolumeCount
  1731. }
  1732. return 0
  1733. }
  1734. func (x *TopologyInfo) GetActiveVolumeCount() uint64 {
  1735. if x != nil {
  1736. return x.ActiveVolumeCount
  1737. }
  1738. return 0
  1739. }
  1740. func (x *TopologyInfo) GetDataCenterInfos() []*DataCenterInfo {
  1741. if x != nil {
  1742. return x.DataCenterInfos
  1743. }
  1744. return nil
  1745. }
  1746. func (x *TopologyInfo) GetRemoteVolumeCount() uint64 {
  1747. if x != nil {
  1748. return x.RemoteVolumeCount
  1749. }
  1750. return 0
  1751. }
  1752. func (x *TopologyInfo) GetMaxSsdVolumeCount() uint64 {
  1753. if x != nil {
  1754. return x.MaxSsdVolumeCount
  1755. }
  1756. return 0
  1757. }
  1758. func (x *TopologyInfo) GetSsdVolumeCount() uint64 {
  1759. if x != nil {
  1760. return x.SsdVolumeCount
  1761. }
  1762. return 0
  1763. }
  1764. type VolumeListRequest struct {
  1765. state protoimpl.MessageState
  1766. sizeCache protoimpl.SizeCache
  1767. unknownFields protoimpl.UnknownFields
  1768. }
  1769. func (x *VolumeListRequest) Reset() {
  1770. *x = VolumeListRequest{}
  1771. if protoimpl.UnsafeEnabled {
  1772. mi := &file_master_proto_msgTypes[26]
  1773. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1774. ms.StoreMessageInfo(mi)
  1775. }
  1776. }
  1777. func (x *VolumeListRequest) String() string {
  1778. return protoimpl.X.MessageStringOf(x)
  1779. }
  1780. func (*VolumeListRequest) ProtoMessage() {}
  1781. func (x *VolumeListRequest) ProtoReflect() protoreflect.Message {
  1782. mi := &file_master_proto_msgTypes[26]
  1783. if protoimpl.UnsafeEnabled && x != nil {
  1784. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1785. if ms.LoadMessageInfo() == nil {
  1786. ms.StoreMessageInfo(mi)
  1787. }
  1788. return ms
  1789. }
  1790. return mi.MessageOf(x)
  1791. }
  1792. // Deprecated: Use VolumeListRequest.ProtoReflect.Descriptor instead.
  1793. func (*VolumeListRequest) Descriptor() ([]byte, []int) {
  1794. return file_master_proto_rawDescGZIP(), []int{26}
  1795. }
  1796. type VolumeListResponse struct {
  1797. state protoimpl.MessageState
  1798. sizeCache protoimpl.SizeCache
  1799. unknownFields protoimpl.UnknownFields
  1800. TopologyInfo *TopologyInfo `protobuf:"bytes,1,opt,name=topology_info,json=topologyInfo,proto3" json:"topology_info,omitempty"`
  1801. VolumeSizeLimitMb uint64 `protobuf:"varint,2,opt,name=volume_size_limit_mb,json=volumeSizeLimitMb,proto3" json:"volume_size_limit_mb,omitempty"`
  1802. }
  1803. func (x *VolumeListResponse) Reset() {
  1804. *x = VolumeListResponse{}
  1805. if protoimpl.UnsafeEnabled {
  1806. mi := &file_master_proto_msgTypes[27]
  1807. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1808. ms.StoreMessageInfo(mi)
  1809. }
  1810. }
  1811. func (x *VolumeListResponse) String() string {
  1812. return protoimpl.X.MessageStringOf(x)
  1813. }
  1814. func (*VolumeListResponse) ProtoMessage() {}
  1815. func (x *VolumeListResponse) ProtoReflect() protoreflect.Message {
  1816. mi := &file_master_proto_msgTypes[27]
  1817. if protoimpl.UnsafeEnabled && x != nil {
  1818. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1819. if ms.LoadMessageInfo() == nil {
  1820. ms.StoreMessageInfo(mi)
  1821. }
  1822. return ms
  1823. }
  1824. return mi.MessageOf(x)
  1825. }
  1826. // Deprecated: Use VolumeListResponse.ProtoReflect.Descriptor instead.
  1827. func (*VolumeListResponse) Descriptor() ([]byte, []int) {
  1828. return file_master_proto_rawDescGZIP(), []int{27}
  1829. }
  1830. func (x *VolumeListResponse) GetTopologyInfo() *TopologyInfo {
  1831. if x != nil {
  1832. return x.TopologyInfo
  1833. }
  1834. return nil
  1835. }
  1836. func (x *VolumeListResponse) GetVolumeSizeLimitMb() uint64 {
  1837. if x != nil {
  1838. return x.VolumeSizeLimitMb
  1839. }
  1840. return 0
  1841. }
  1842. type LookupEcVolumeRequest struct {
  1843. state protoimpl.MessageState
  1844. sizeCache protoimpl.SizeCache
  1845. unknownFields protoimpl.UnknownFields
  1846. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
  1847. }
  1848. func (x *LookupEcVolumeRequest) Reset() {
  1849. *x = LookupEcVolumeRequest{}
  1850. if protoimpl.UnsafeEnabled {
  1851. mi := &file_master_proto_msgTypes[28]
  1852. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1853. ms.StoreMessageInfo(mi)
  1854. }
  1855. }
  1856. func (x *LookupEcVolumeRequest) String() string {
  1857. return protoimpl.X.MessageStringOf(x)
  1858. }
  1859. func (*LookupEcVolumeRequest) ProtoMessage() {}
  1860. func (x *LookupEcVolumeRequest) ProtoReflect() protoreflect.Message {
  1861. mi := &file_master_proto_msgTypes[28]
  1862. if protoimpl.UnsafeEnabled && x != nil {
  1863. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1864. if ms.LoadMessageInfo() == nil {
  1865. ms.StoreMessageInfo(mi)
  1866. }
  1867. return ms
  1868. }
  1869. return mi.MessageOf(x)
  1870. }
  1871. // Deprecated: Use LookupEcVolumeRequest.ProtoReflect.Descriptor instead.
  1872. func (*LookupEcVolumeRequest) Descriptor() ([]byte, []int) {
  1873. return file_master_proto_rawDescGZIP(), []int{28}
  1874. }
  1875. func (x *LookupEcVolumeRequest) GetVolumeId() uint32 {
  1876. if x != nil {
  1877. return x.VolumeId
  1878. }
  1879. return 0
  1880. }
  1881. type LookupEcVolumeResponse struct {
  1882. state protoimpl.MessageState
  1883. sizeCache protoimpl.SizeCache
  1884. unknownFields protoimpl.UnknownFields
  1885. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
  1886. ShardIdLocations []*LookupEcVolumeResponse_EcShardIdLocation `protobuf:"bytes,2,rep,name=shard_id_locations,json=shardIdLocations,proto3" json:"shard_id_locations,omitempty"`
  1887. }
  1888. func (x *LookupEcVolumeResponse) Reset() {
  1889. *x = LookupEcVolumeResponse{}
  1890. if protoimpl.UnsafeEnabled {
  1891. mi := &file_master_proto_msgTypes[29]
  1892. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1893. ms.StoreMessageInfo(mi)
  1894. }
  1895. }
  1896. func (x *LookupEcVolumeResponse) String() string {
  1897. return protoimpl.X.MessageStringOf(x)
  1898. }
  1899. func (*LookupEcVolumeResponse) ProtoMessage() {}
  1900. func (x *LookupEcVolumeResponse) ProtoReflect() protoreflect.Message {
  1901. mi := &file_master_proto_msgTypes[29]
  1902. if protoimpl.UnsafeEnabled && x != nil {
  1903. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1904. if ms.LoadMessageInfo() == nil {
  1905. ms.StoreMessageInfo(mi)
  1906. }
  1907. return ms
  1908. }
  1909. return mi.MessageOf(x)
  1910. }
  1911. // Deprecated: Use LookupEcVolumeResponse.ProtoReflect.Descriptor instead.
  1912. func (*LookupEcVolumeResponse) Descriptor() ([]byte, []int) {
  1913. return file_master_proto_rawDescGZIP(), []int{29}
  1914. }
  1915. func (x *LookupEcVolumeResponse) GetVolumeId() uint32 {
  1916. if x != nil {
  1917. return x.VolumeId
  1918. }
  1919. return 0
  1920. }
  1921. func (x *LookupEcVolumeResponse) GetShardIdLocations() []*LookupEcVolumeResponse_EcShardIdLocation {
  1922. if x != nil {
  1923. return x.ShardIdLocations
  1924. }
  1925. return nil
  1926. }
  1927. type VacuumVolumeRequest struct {
  1928. state protoimpl.MessageState
  1929. sizeCache protoimpl.SizeCache
  1930. unknownFields protoimpl.UnknownFields
  1931. GarbageThreshold float32 `protobuf:"fixed32,1,opt,name=garbage_threshold,json=garbageThreshold,proto3" json:"garbage_threshold,omitempty"`
  1932. }
  1933. func (x *VacuumVolumeRequest) Reset() {
  1934. *x = VacuumVolumeRequest{}
  1935. if protoimpl.UnsafeEnabled {
  1936. mi := &file_master_proto_msgTypes[30]
  1937. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1938. ms.StoreMessageInfo(mi)
  1939. }
  1940. }
  1941. func (x *VacuumVolumeRequest) String() string {
  1942. return protoimpl.X.MessageStringOf(x)
  1943. }
  1944. func (*VacuumVolumeRequest) ProtoMessage() {}
  1945. func (x *VacuumVolumeRequest) ProtoReflect() protoreflect.Message {
  1946. mi := &file_master_proto_msgTypes[30]
  1947. if protoimpl.UnsafeEnabled && x != nil {
  1948. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1949. if ms.LoadMessageInfo() == nil {
  1950. ms.StoreMessageInfo(mi)
  1951. }
  1952. return ms
  1953. }
  1954. return mi.MessageOf(x)
  1955. }
  1956. // Deprecated: Use VacuumVolumeRequest.ProtoReflect.Descriptor instead.
  1957. func (*VacuumVolumeRequest) Descriptor() ([]byte, []int) {
  1958. return file_master_proto_rawDescGZIP(), []int{30}
  1959. }
  1960. func (x *VacuumVolumeRequest) GetGarbageThreshold() float32 {
  1961. if x != nil {
  1962. return x.GarbageThreshold
  1963. }
  1964. return 0
  1965. }
  1966. type VacuumVolumeResponse struct {
  1967. state protoimpl.MessageState
  1968. sizeCache protoimpl.SizeCache
  1969. unknownFields protoimpl.UnknownFields
  1970. }
  1971. func (x *VacuumVolumeResponse) Reset() {
  1972. *x = VacuumVolumeResponse{}
  1973. if protoimpl.UnsafeEnabled {
  1974. mi := &file_master_proto_msgTypes[31]
  1975. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1976. ms.StoreMessageInfo(mi)
  1977. }
  1978. }
  1979. func (x *VacuumVolumeResponse) String() string {
  1980. return protoimpl.X.MessageStringOf(x)
  1981. }
  1982. func (*VacuumVolumeResponse) ProtoMessage() {}
  1983. func (x *VacuumVolumeResponse) ProtoReflect() protoreflect.Message {
  1984. mi := &file_master_proto_msgTypes[31]
  1985. if protoimpl.UnsafeEnabled && x != nil {
  1986. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1987. if ms.LoadMessageInfo() == nil {
  1988. ms.StoreMessageInfo(mi)
  1989. }
  1990. return ms
  1991. }
  1992. return mi.MessageOf(x)
  1993. }
  1994. // Deprecated: Use VacuumVolumeResponse.ProtoReflect.Descriptor instead.
  1995. func (*VacuumVolumeResponse) Descriptor() ([]byte, []int) {
  1996. return file_master_proto_rawDescGZIP(), []int{31}
  1997. }
  1998. type GetMasterConfigurationRequest struct {
  1999. state protoimpl.MessageState
  2000. sizeCache protoimpl.SizeCache
  2001. unknownFields protoimpl.UnknownFields
  2002. }
  2003. func (x *GetMasterConfigurationRequest) Reset() {
  2004. *x = GetMasterConfigurationRequest{}
  2005. if protoimpl.UnsafeEnabled {
  2006. mi := &file_master_proto_msgTypes[32]
  2007. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2008. ms.StoreMessageInfo(mi)
  2009. }
  2010. }
  2011. func (x *GetMasterConfigurationRequest) String() string {
  2012. return protoimpl.X.MessageStringOf(x)
  2013. }
  2014. func (*GetMasterConfigurationRequest) ProtoMessage() {}
  2015. func (x *GetMasterConfigurationRequest) ProtoReflect() protoreflect.Message {
  2016. mi := &file_master_proto_msgTypes[32]
  2017. if protoimpl.UnsafeEnabled && x != nil {
  2018. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2019. if ms.LoadMessageInfo() == nil {
  2020. ms.StoreMessageInfo(mi)
  2021. }
  2022. return ms
  2023. }
  2024. return mi.MessageOf(x)
  2025. }
  2026. // Deprecated: Use GetMasterConfigurationRequest.ProtoReflect.Descriptor instead.
  2027. func (*GetMasterConfigurationRequest) Descriptor() ([]byte, []int) {
  2028. return file_master_proto_rawDescGZIP(), []int{32}
  2029. }
  2030. type GetMasterConfigurationResponse struct {
  2031. state protoimpl.MessageState
  2032. sizeCache protoimpl.SizeCache
  2033. unknownFields protoimpl.UnknownFields
  2034. MetricsAddress string `protobuf:"bytes,1,opt,name=metrics_address,json=metricsAddress,proto3" json:"metrics_address,omitempty"`
  2035. MetricsIntervalSeconds uint32 `protobuf:"varint,2,opt,name=metrics_interval_seconds,json=metricsIntervalSeconds,proto3" json:"metrics_interval_seconds,omitempty"`
  2036. StorageBackends []*StorageBackend `protobuf:"bytes,3,rep,name=storage_backends,json=storageBackends,proto3" json:"storage_backends,omitempty"`
  2037. DefaultReplication string `protobuf:"bytes,4,opt,name=default_replication,json=defaultReplication,proto3" json:"default_replication,omitempty"`
  2038. Leader string `protobuf:"bytes,5,opt,name=leader,proto3" json:"leader,omitempty"`
  2039. }
  2040. func (x *GetMasterConfigurationResponse) Reset() {
  2041. *x = GetMasterConfigurationResponse{}
  2042. if protoimpl.UnsafeEnabled {
  2043. mi := &file_master_proto_msgTypes[33]
  2044. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2045. ms.StoreMessageInfo(mi)
  2046. }
  2047. }
  2048. func (x *GetMasterConfigurationResponse) String() string {
  2049. return protoimpl.X.MessageStringOf(x)
  2050. }
  2051. func (*GetMasterConfigurationResponse) ProtoMessage() {}
  2052. func (x *GetMasterConfigurationResponse) ProtoReflect() protoreflect.Message {
  2053. mi := &file_master_proto_msgTypes[33]
  2054. if protoimpl.UnsafeEnabled && x != nil {
  2055. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2056. if ms.LoadMessageInfo() == nil {
  2057. ms.StoreMessageInfo(mi)
  2058. }
  2059. return ms
  2060. }
  2061. return mi.MessageOf(x)
  2062. }
  2063. // Deprecated: Use GetMasterConfigurationResponse.ProtoReflect.Descriptor instead.
  2064. func (*GetMasterConfigurationResponse) Descriptor() ([]byte, []int) {
  2065. return file_master_proto_rawDescGZIP(), []int{33}
  2066. }
  2067. func (x *GetMasterConfigurationResponse) GetMetricsAddress() string {
  2068. if x != nil {
  2069. return x.MetricsAddress
  2070. }
  2071. return ""
  2072. }
  2073. func (x *GetMasterConfigurationResponse) GetMetricsIntervalSeconds() uint32 {
  2074. if x != nil {
  2075. return x.MetricsIntervalSeconds
  2076. }
  2077. return 0
  2078. }
  2079. func (x *GetMasterConfigurationResponse) GetStorageBackends() []*StorageBackend {
  2080. if x != nil {
  2081. return x.StorageBackends
  2082. }
  2083. return nil
  2084. }
  2085. func (x *GetMasterConfigurationResponse) GetDefaultReplication() string {
  2086. if x != nil {
  2087. return x.DefaultReplication
  2088. }
  2089. return ""
  2090. }
  2091. func (x *GetMasterConfigurationResponse) GetLeader() string {
  2092. if x != nil {
  2093. return x.Leader
  2094. }
  2095. return ""
  2096. }
  2097. type ListMasterClientsRequest struct {
  2098. state protoimpl.MessageState
  2099. sizeCache protoimpl.SizeCache
  2100. unknownFields protoimpl.UnknownFields
  2101. ClientType string `protobuf:"bytes,1,opt,name=client_type,json=clientType,proto3" json:"client_type,omitempty"`
  2102. }
  2103. func (x *ListMasterClientsRequest) Reset() {
  2104. *x = ListMasterClientsRequest{}
  2105. if protoimpl.UnsafeEnabled {
  2106. mi := &file_master_proto_msgTypes[34]
  2107. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2108. ms.StoreMessageInfo(mi)
  2109. }
  2110. }
  2111. func (x *ListMasterClientsRequest) String() string {
  2112. return protoimpl.X.MessageStringOf(x)
  2113. }
  2114. func (*ListMasterClientsRequest) ProtoMessage() {}
  2115. func (x *ListMasterClientsRequest) ProtoReflect() protoreflect.Message {
  2116. mi := &file_master_proto_msgTypes[34]
  2117. if protoimpl.UnsafeEnabled && x != nil {
  2118. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2119. if ms.LoadMessageInfo() == nil {
  2120. ms.StoreMessageInfo(mi)
  2121. }
  2122. return ms
  2123. }
  2124. return mi.MessageOf(x)
  2125. }
  2126. // Deprecated: Use ListMasterClientsRequest.ProtoReflect.Descriptor instead.
  2127. func (*ListMasterClientsRequest) Descriptor() ([]byte, []int) {
  2128. return file_master_proto_rawDescGZIP(), []int{34}
  2129. }
  2130. func (x *ListMasterClientsRequest) GetClientType() string {
  2131. if x != nil {
  2132. return x.ClientType
  2133. }
  2134. return ""
  2135. }
  2136. type ListMasterClientsResponse struct {
  2137. state protoimpl.MessageState
  2138. sizeCache protoimpl.SizeCache
  2139. unknownFields protoimpl.UnknownFields
  2140. GrpcAddresses []string `protobuf:"bytes,1,rep,name=grpc_addresses,json=grpcAddresses,proto3" json:"grpc_addresses,omitempty"`
  2141. }
  2142. func (x *ListMasterClientsResponse) Reset() {
  2143. *x = ListMasterClientsResponse{}
  2144. if protoimpl.UnsafeEnabled {
  2145. mi := &file_master_proto_msgTypes[35]
  2146. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2147. ms.StoreMessageInfo(mi)
  2148. }
  2149. }
  2150. func (x *ListMasterClientsResponse) String() string {
  2151. return protoimpl.X.MessageStringOf(x)
  2152. }
  2153. func (*ListMasterClientsResponse) ProtoMessage() {}
  2154. func (x *ListMasterClientsResponse) ProtoReflect() protoreflect.Message {
  2155. mi := &file_master_proto_msgTypes[35]
  2156. if protoimpl.UnsafeEnabled && x != nil {
  2157. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2158. if ms.LoadMessageInfo() == nil {
  2159. ms.StoreMessageInfo(mi)
  2160. }
  2161. return ms
  2162. }
  2163. return mi.MessageOf(x)
  2164. }
  2165. // Deprecated: Use ListMasterClientsResponse.ProtoReflect.Descriptor instead.
  2166. func (*ListMasterClientsResponse) Descriptor() ([]byte, []int) {
  2167. return file_master_proto_rawDescGZIP(), []int{35}
  2168. }
  2169. func (x *ListMasterClientsResponse) GetGrpcAddresses() []string {
  2170. if x != nil {
  2171. return x.GrpcAddresses
  2172. }
  2173. return nil
  2174. }
  2175. type LeaseAdminTokenRequest struct {
  2176. state protoimpl.MessageState
  2177. sizeCache protoimpl.SizeCache
  2178. unknownFields protoimpl.UnknownFields
  2179. PreviousToken int64 `protobuf:"varint,1,opt,name=previous_token,json=previousToken,proto3" json:"previous_token,omitempty"`
  2180. PreviousLockTime int64 `protobuf:"varint,2,opt,name=previous_lock_time,json=previousLockTime,proto3" json:"previous_lock_time,omitempty"`
  2181. LockName string `protobuf:"bytes,3,opt,name=lock_name,json=lockName,proto3" json:"lock_name,omitempty"`
  2182. }
  2183. func (x *LeaseAdminTokenRequest) Reset() {
  2184. *x = LeaseAdminTokenRequest{}
  2185. if protoimpl.UnsafeEnabled {
  2186. mi := &file_master_proto_msgTypes[36]
  2187. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2188. ms.StoreMessageInfo(mi)
  2189. }
  2190. }
  2191. func (x *LeaseAdminTokenRequest) String() string {
  2192. return protoimpl.X.MessageStringOf(x)
  2193. }
  2194. func (*LeaseAdminTokenRequest) ProtoMessage() {}
  2195. func (x *LeaseAdminTokenRequest) ProtoReflect() protoreflect.Message {
  2196. mi := &file_master_proto_msgTypes[36]
  2197. if protoimpl.UnsafeEnabled && x != nil {
  2198. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2199. if ms.LoadMessageInfo() == nil {
  2200. ms.StoreMessageInfo(mi)
  2201. }
  2202. return ms
  2203. }
  2204. return mi.MessageOf(x)
  2205. }
  2206. // Deprecated: Use LeaseAdminTokenRequest.ProtoReflect.Descriptor instead.
  2207. func (*LeaseAdminTokenRequest) Descriptor() ([]byte, []int) {
  2208. return file_master_proto_rawDescGZIP(), []int{36}
  2209. }
  2210. func (x *LeaseAdminTokenRequest) GetPreviousToken() int64 {
  2211. if x != nil {
  2212. return x.PreviousToken
  2213. }
  2214. return 0
  2215. }
  2216. func (x *LeaseAdminTokenRequest) GetPreviousLockTime() int64 {
  2217. if x != nil {
  2218. return x.PreviousLockTime
  2219. }
  2220. return 0
  2221. }
  2222. func (x *LeaseAdminTokenRequest) GetLockName() string {
  2223. if x != nil {
  2224. return x.LockName
  2225. }
  2226. return ""
  2227. }
  2228. type LeaseAdminTokenResponse struct {
  2229. state protoimpl.MessageState
  2230. sizeCache protoimpl.SizeCache
  2231. unknownFields protoimpl.UnknownFields
  2232. Token int64 `protobuf:"varint,1,opt,name=token,proto3" json:"token,omitempty"`
  2233. LockTsNs int64 `protobuf:"varint,2,opt,name=lock_ts_ns,json=lockTsNs,proto3" json:"lock_ts_ns,omitempty"`
  2234. }
  2235. func (x *LeaseAdminTokenResponse) Reset() {
  2236. *x = LeaseAdminTokenResponse{}
  2237. if protoimpl.UnsafeEnabled {
  2238. mi := &file_master_proto_msgTypes[37]
  2239. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2240. ms.StoreMessageInfo(mi)
  2241. }
  2242. }
  2243. func (x *LeaseAdminTokenResponse) String() string {
  2244. return protoimpl.X.MessageStringOf(x)
  2245. }
  2246. func (*LeaseAdminTokenResponse) ProtoMessage() {}
  2247. func (x *LeaseAdminTokenResponse) ProtoReflect() protoreflect.Message {
  2248. mi := &file_master_proto_msgTypes[37]
  2249. if protoimpl.UnsafeEnabled && x != nil {
  2250. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2251. if ms.LoadMessageInfo() == nil {
  2252. ms.StoreMessageInfo(mi)
  2253. }
  2254. return ms
  2255. }
  2256. return mi.MessageOf(x)
  2257. }
  2258. // Deprecated: Use LeaseAdminTokenResponse.ProtoReflect.Descriptor instead.
  2259. func (*LeaseAdminTokenResponse) Descriptor() ([]byte, []int) {
  2260. return file_master_proto_rawDescGZIP(), []int{37}
  2261. }
  2262. func (x *LeaseAdminTokenResponse) GetToken() int64 {
  2263. if x != nil {
  2264. return x.Token
  2265. }
  2266. return 0
  2267. }
  2268. func (x *LeaseAdminTokenResponse) GetLockTsNs() int64 {
  2269. if x != nil {
  2270. return x.LockTsNs
  2271. }
  2272. return 0
  2273. }
  2274. type ReleaseAdminTokenRequest struct {
  2275. state protoimpl.MessageState
  2276. sizeCache protoimpl.SizeCache
  2277. unknownFields protoimpl.UnknownFields
  2278. PreviousToken int64 `protobuf:"varint,1,opt,name=previous_token,json=previousToken,proto3" json:"previous_token,omitempty"`
  2279. PreviousLockTime int64 `protobuf:"varint,2,opt,name=previous_lock_time,json=previousLockTime,proto3" json:"previous_lock_time,omitempty"`
  2280. LockName string `protobuf:"bytes,3,opt,name=lock_name,json=lockName,proto3" json:"lock_name,omitempty"`
  2281. }
  2282. func (x *ReleaseAdminTokenRequest) Reset() {
  2283. *x = ReleaseAdminTokenRequest{}
  2284. if protoimpl.UnsafeEnabled {
  2285. mi := &file_master_proto_msgTypes[38]
  2286. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2287. ms.StoreMessageInfo(mi)
  2288. }
  2289. }
  2290. func (x *ReleaseAdminTokenRequest) String() string {
  2291. return protoimpl.X.MessageStringOf(x)
  2292. }
  2293. func (*ReleaseAdminTokenRequest) ProtoMessage() {}
  2294. func (x *ReleaseAdminTokenRequest) ProtoReflect() protoreflect.Message {
  2295. mi := &file_master_proto_msgTypes[38]
  2296. if protoimpl.UnsafeEnabled && x != nil {
  2297. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2298. if ms.LoadMessageInfo() == nil {
  2299. ms.StoreMessageInfo(mi)
  2300. }
  2301. return ms
  2302. }
  2303. return mi.MessageOf(x)
  2304. }
  2305. // Deprecated: Use ReleaseAdminTokenRequest.ProtoReflect.Descriptor instead.
  2306. func (*ReleaseAdminTokenRequest) Descriptor() ([]byte, []int) {
  2307. return file_master_proto_rawDescGZIP(), []int{38}
  2308. }
  2309. func (x *ReleaseAdminTokenRequest) GetPreviousToken() int64 {
  2310. if x != nil {
  2311. return x.PreviousToken
  2312. }
  2313. return 0
  2314. }
  2315. func (x *ReleaseAdminTokenRequest) GetPreviousLockTime() int64 {
  2316. if x != nil {
  2317. return x.PreviousLockTime
  2318. }
  2319. return 0
  2320. }
  2321. func (x *ReleaseAdminTokenRequest) GetLockName() string {
  2322. if x != nil {
  2323. return x.LockName
  2324. }
  2325. return ""
  2326. }
  2327. type ReleaseAdminTokenResponse struct {
  2328. state protoimpl.MessageState
  2329. sizeCache protoimpl.SizeCache
  2330. unknownFields protoimpl.UnknownFields
  2331. }
  2332. func (x *ReleaseAdminTokenResponse) Reset() {
  2333. *x = ReleaseAdminTokenResponse{}
  2334. if protoimpl.UnsafeEnabled {
  2335. mi := &file_master_proto_msgTypes[39]
  2336. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2337. ms.StoreMessageInfo(mi)
  2338. }
  2339. }
  2340. func (x *ReleaseAdminTokenResponse) String() string {
  2341. return protoimpl.X.MessageStringOf(x)
  2342. }
  2343. func (*ReleaseAdminTokenResponse) ProtoMessage() {}
  2344. func (x *ReleaseAdminTokenResponse) ProtoReflect() protoreflect.Message {
  2345. mi := &file_master_proto_msgTypes[39]
  2346. if protoimpl.UnsafeEnabled && x != nil {
  2347. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2348. if ms.LoadMessageInfo() == nil {
  2349. ms.StoreMessageInfo(mi)
  2350. }
  2351. return ms
  2352. }
  2353. return mi.MessageOf(x)
  2354. }
  2355. // Deprecated: Use ReleaseAdminTokenResponse.ProtoReflect.Descriptor instead.
  2356. func (*ReleaseAdminTokenResponse) Descriptor() ([]byte, []int) {
  2357. return file_master_proto_rawDescGZIP(), []int{39}
  2358. }
  2359. type SuperBlockExtra_ErasureCoding struct {
  2360. state protoimpl.MessageState
  2361. sizeCache protoimpl.SizeCache
  2362. unknownFields protoimpl.UnknownFields
  2363. Data uint32 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"`
  2364. Parity uint32 `protobuf:"varint,2,opt,name=parity,proto3" json:"parity,omitempty"`
  2365. VolumeIds []uint32 `protobuf:"varint,3,rep,packed,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
  2366. }
  2367. func (x *SuperBlockExtra_ErasureCoding) Reset() {
  2368. *x = SuperBlockExtra_ErasureCoding{}
  2369. if protoimpl.UnsafeEnabled {
  2370. mi := &file_master_proto_msgTypes[41]
  2371. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2372. ms.StoreMessageInfo(mi)
  2373. }
  2374. }
  2375. func (x *SuperBlockExtra_ErasureCoding) String() string {
  2376. return protoimpl.X.MessageStringOf(x)
  2377. }
  2378. func (*SuperBlockExtra_ErasureCoding) ProtoMessage() {}
  2379. func (x *SuperBlockExtra_ErasureCoding) ProtoReflect() protoreflect.Message {
  2380. mi := &file_master_proto_msgTypes[41]
  2381. if protoimpl.UnsafeEnabled && x != nil {
  2382. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2383. if ms.LoadMessageInfo() == nil {
  2384. ms.StoreMessageInfo(mi)
  2385. }
  2386. return ms
  2387. }
  2388. return mi.MessageOf(x)
  2389. }
  2390. // Deprecated: Use SuperBlockExtra_ErasureCoding.ProtoReflect.Descriptor instead.
  2391. func (*SuperBlockExtra_ErasureCoding) Descriptor() ([]byte, []int) {
  2392. return file_master_proto_rawDescGZIP(), []int{7, 0}
  2393. }
  2394. func (x *SuperBlockExtra_ErasureCoding) GetData() uint32 {
  2395. if x != nil {
  2396. return x.Data
  2397. }
  2398. return 0
  2399. }
  2400. func (x *SuperBlockExtra_ErasureCoding) GetParity() uint32 {
  2401. if x != nil {
  2402. return x.Parity
  2403. }
  2404. return 0
  2405. }
  2406. func (x *SuperBlockExtra_ErasureCoding) GetVolumeIds() []uint32 {
  2407. if x != nil {
  2408. return x.VolumeIds
  2409. }
  2410. return nil
  2411. }
  2412. type LookupVolumeResponse_VolumeIdLocation struct {
  2413. state protoimpl.MessageState
  2414. sizeCache protoimpl.SizeCache
  2415. unknownFields protoimpl.UnknownFields
  2416. VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
  2417. Locations []*Location `protobuf:"bytes,2,rep,name=locations,proto3" json:"locations,omitempty"`
  2418. Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
  2419. }
  2420. func (x *LookupVolumeResponse_VolumeIdLocation) Reset() {
  2421. *x = LookupVolumeResponse_VolumeIdLocation{}
  2422. if protoimpl.UnsafeEnabled {
  2423. mi := &file_master_proto_msgTypes[42]
  2424. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2425. ms.StoreMessageInfo(mi)
  2426. }
  2427. }
  2428. func (x *LookupVolumeResponse_VolumeIdLocation) String() string {
  2429. return protoimpl.X.MessageStringOf(x)
  2430. }
  2431. func (*LookupVolumeResponse_VolumeIdLocation) ProtoMessage() {}
  2432. func (x *LookupVolumeResponse_VolumeIdLocation) ProtoReflect() protoreflect.Message {
  2433. mi := &file_master_proto_msgTypes[42]
  2434. if protoimpl.UnsafeEnabled && x != nil {
  2435. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2436. if ms.LoadMessageInfo() == nil {
  2437. ms.StoreMessageInfo(mi)
  2438. }
  2439. return ms
  2440. }
  2441. return mi.MessageOf(x)
  2442. }
  2443. // Deprecated: Use LookupVolumeResponse_VolumeIdLocation.ProtoReflect.Descriptor instead.
  2444. func (*LookupVolumeResponse_VolumeIdLocation) Descriptor() ([]byte, []int) {
  2445. return file_master_proto_rawDescGZIP(), []int{11, 0}
  2446. }
  2447. func (x *LookupVolumeResponse_VolumeIdLocation) GetVolumeId() string {
  2448. if x != nil {
  2449. return x.VolumeId
  2450. }
  2451. return ""
  2452. }
  2453. func (x *LookupVolumeResponse_VolumeIdLocation) GetLocations() []*Location {
  2454. if x != nil {
  2455. return x.Locations
  2456. }
  2457. return nil
  2458. }
  2459. func (x *LookupVolumeResponse_VolumeIdLocation) GetError() string {
  2460. if x != nil {
  2461. return x.Error
  2462. }
  2463. return ""
  2464. }
  2465. type LookupEcVolumeResponse_EcShardIdLocation struct {
  2466. state protoimpl.MessageState
  2467. sizeCache protoimpl.SizeCache
  2468. unknownFields protoimpl.UnknownFields
  2469. ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
  2470. Locations []*Location `protobuf:"bytes,2,rep,name=locations,proto3" json:"locations,omitempty"`
  2471. }
  2472. func (x *LookupEcVolumeResponse_EcShardIdLocation) Reset() {
  2473. *x = LookupEcVolumeResponse_EcShardIdLocation{}
  2474. if protoimpl.UnsafeEnabled {
  2475. mi := &file_master_proto_msgTypes[43]
  2476. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2477. ms.StoreMessageInfo(mi)
  2478. }
  2479. }
  2480. func (x *LookupEcVolumeResponse_EcShardIdLocation) String() string {
  2481. return protoimpl.X.MessageStringOf(x)
  2482. }
  2483. func (*LookupEcVolumeResponse_EcShardIdLocation) ProtoMessage() {}
  2484. func (x *LookupEcVolumeResponse_EcShardIdLocation) ProtoReflect() protoreflect.Message {
  2485. mi := &file_master_proto_msgTypes[43]
  2486. if protoimpl.UnsafeEnabled && x != nil {
  2487. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2488. if ms.LoadMessageInfo() == nil {
  2489. ms.StoreMessageInfo(mi)
  2490. }
  2491. return ms
  2492. }
  2493. return mi.MessageOf(x)
  2494. }
  2495. // Deprecated: Use LookupEcVolumeResponse_EcShardIdLocation.ProtoReflect.Descriptor instead.
  2496. func (*LookupEcVolumeResponse_EcShardIdLocation) Descriptor() ([]byte, []int) {
  2497. return file_master_proto_rawDescGZIP(), []int{29, 0}
  2498. }
  2499. func (x *LookupEcVolumeResponse_EcShardIdLocation) GetShardId() uint32 {
  2500. if x != nil {
  2501. return x.ShardId
  2502. }
  2503. return 0
  2504. }
  2505. func (x *LookupEcVolumeResponse_EcShardIdLocation) GetLocations() []*Location {
  2506. if x != nil {
  2507. return x.Locations
  2508. }
  2509. return nil
  2510. }
  2511. var File_master_proto protoreflect.FileDescriptor
  2512. var file_master_proto_rawDesc = []byte{
  2513. 0x0a, 0x0c, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09,
  2514. 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x22, 0xbc, 0x06, 0x0a, 0x09, 0x48, 0x65,
  2515. 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x01, 0x20,
  2516. 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18,
  2517. 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
  2518. 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  2519. 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x55, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0c, 0x6d, 0x61,
  2520. 0x78, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04,
  2521. 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x46, 0x69, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b,
  2522. 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28,
  2523. 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a,
  2524. 0x04, 0x72, 0x61, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x61, 0x63,
  2525. 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18,
  2526. 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x6f, 0x72, 0x74,
  2527. 0x12, 0x3d, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28,
  2528. 0x0b, 0x32, 0x23, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f,
  2529. 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
  2530. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12,
  2531. 0x49, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x0a,
  2532. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62,
  2533. 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f,
  2534. 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0a,
  2535. 0x6e, 0x65, 0x77, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x0f, 0x64, 0x65,
  2536. 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x0b, 0x20,
  2537. 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e,
  2538. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72,
  2539. 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x64,
  2540. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x24, 0x0a,
  2541. 0x0e, 0x68, 0x61, 0x73, 0x5f, 0x6e, 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18,
  2542. 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x68, 0x61, 0x73, 0x4e, 0x6f, 0x56, 0x6f, 0x6c, 0x75,
  2543. 0x6d, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x09, 0x65, 0x63, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73,
  2544. 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  2545. 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64,
  2546. 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61,
  2547. 0x67, 0x65, 0x52, 0x08, 0x65, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x4e, 0x0a, 0x0d,
  2548. 0x6e, 0x65, 0x77, 0x5f, 0x65, 0x63, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x11, 0x20,
  2549. 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e,
  2550. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66,
  2551. 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
  2552. 0x0b, 0x6e, 0x65, 0x77, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x56, 0x0a, 0x11,
  2553. 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x63, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64,
  2554. 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72,
  2555. 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72,
  2556. 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73,
  2557. 0x61, 0x67, 0x65, 0x52, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x63, 0x53, 0x68,
  2558. 0x61, 0x72, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x10, 0x68, 0x61, 0x73, 0x5f, 0x6e, 0x6f, 0x5f, 0x65,
  2559. 0x63, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d,
  2560. 0x68, 0x61, 0x73, 0x4e, 0x6f, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x28, 0x0a,
  2561. 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
  2562. 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x56, 0x6f, 0x6c, 0x75,
  2563. 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x73,
  2564. 0x73, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  2565. 0x14, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6d, 0x61, 0x78, 0x53, 0x73, 0x64, 0x56, 0x6f, 0x6c,
  2566. 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x80, 0x02, 0x0a, 0x11, 0x48, 0x65, 0x61,
  2567. 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a,
  2568. 0x0a, 0x11, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6c, 0x69,
  2569. 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  2570. 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65,
  2571. 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x65, 0x61, 0x64,
  2572. 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x64,
  2573. 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x65, 0x74,
  2574. 0x72, 0x69, 0x63, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x6d,
  2575. 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f,
  2576. 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x6d,
  2577. 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x53, 0x65,
  2578. 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x44, 0x0a, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
  2579. 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
  2580. 0x19, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72,
  2581. 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x0f, 0x73, 0x74, 0x6f, 0x72,
  2582. 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x22, 0x98, 0x04, 0x0a, 0x18,
  2583. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
  2584. 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  2585. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65,
  2586. 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1e, 0x0a, 0x0a,
  2587. 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  2588. 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a,
  2589. 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04,
  2590. 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64,
  2591. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
  2592. 0x04, 0x52, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c,
  2593. 0x0a, 0x12, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x5f, 0x63,
  2594. 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x64, 0x65, 0x6c, 0x65,
  2595. 0x74, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09,
  2596. 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
  2597. 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x70,
  2598. 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08,
  2599. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x50, 0x6c, 0x61,
  2600. 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
  2601. 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
  2602. 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x74,
  2603. 0x74, 0x6c, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x65,
  2604. 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x6f,
  2605. 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a,
  2606. 0x12, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x73, 0x65, 0x63,
  2607. 0x6f, 0x6e, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6d, 0x6f, 0x64, 0x69, 0x66,
  2608. 0x69, 0x65, 0x64, 0x41, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x72,
  2609. 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61,
  2610. 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65,
  2611. 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x72,
  2612. 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6b, 0x65,
  2613. 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53,
  2614. 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x69, 0x73,
  2615. 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x69,
  2616. 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x22, 0xc5, 0x01, 0x0a, 0x1d, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  2617. 0x65, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
  2618. 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  2619. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c,
  2620. 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f,
  2621. 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x6c,
  2622. 0x69, 0x63, 0x61, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20,
  2623. 0x01, 0x28, 0x0d, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x50, 0x6c, 0x61, 0x63,
  2624. 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
  2625. 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
  2626. 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x74, 0x74,
  2627. 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0f,
  2628. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x69, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x22, 0x75,
  2629. 0x0a, 0x1f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49,
  2630. 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2631. 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69,
  2632. 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
  2633. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
  2634. 0x6e, 0x12, 0x22, 0x0a, 0x0d, 0x65, 0x63, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x62, 0x69,
  2635. 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x65, 0x63, 0x49, 0x6e, 0x64, 0x65,
  2636. 0x78, 0x42, 0x69, 0x74, 0x73, 0x22, 0xbe, 0x01, 0x0a, 0x0e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
  2637. 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
  2638. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02,
  2639. 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x49, 0x0a, 0x0a,
  2640. 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
  2641. 0x32, 0x29, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f,
  2642. 0x72, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x50, 0x72, 0x6f, 0x70,
  2643. 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f,
  2644. 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65,
  2645. 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
  2646. 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
  2647. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
  2648. 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,
  2649. 0xbe, 0x01, 0x0a, 0x0f, 0x53, 0x75, 0x70, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78,
  2650. 0x74, 0x72, 0x61, 0x12, 0x4f, 0x0a, 0x0e, 0x65, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x5f, 0x63,
  2651. 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x61,
  2652. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x70, 0x65, 0x72, 0x42, 0x6c, 0x6f,
  2653. 0x63, 0x6b, 0x45, 0x78, 0x74, 0x72, 0x61, 0x2e, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43,
  2654. 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x0d, 0x65, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f,
  2655. 0x64, 0x69, 0x6e, 0x67, 0x1a, 0x5a, 0x0a, 0x0d, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43,
  2656. 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20,
  2657. 0x01, 0x28, 0x0d, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72,
  2658. 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x69, 0x74,
  2659. 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18,
  2660. 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x73,
  2661. 0x22, 0x47, 0x0a, 0x14, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65,
  2662. 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  2663. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09,
  2664. 0x67, 0x72, 0x70, 0x63, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
  2665. 0x08, 0x67, 0x72, 0x70, 0x63, 0x50, 0x6f, 0x72, 0x74, 0x22, 0xb8, 0x01, 0x0a, 0x0e, 0x56, 0x6f,
  2666. 0x6c, 0x75, 0x6d, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03,
  2667. 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d,
  2668. 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01,
  2669. 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x55, 0x72, 0x6c, 0x12, 0x19, 0x0a,
  2670. 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52,
  2671. 0x07, 0x6e, 0x65, 0x77, 0x56, 0x69, 0x64, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x65, 0x6c, 0x65,
  2672. 0x74, 0x65, 0x64, 0x5f, 0x76, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b,
  2673. 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x56, 0x69, 0x64, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6c,
  2674. 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x65, 0x61,
  2675. 0x64, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x65, 0x6e, 0x74,
  2676. 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x43, 0x65,
  2677. 0x6e, 0x74, 0x65, 0x72, 0x22, 0x54, 0x0a, 0x13, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f,
  2678. 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x76,
  2679. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
  2680. 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f,
  2681. 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
  2682. 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xf2, 0x01, 0x0a, 0x14, 0x4c,
  2683. 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
  2684. 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x13, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64,
  2685. 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  2686. 0x32, 0x30, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f,
  2687. 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  2688. 0x65, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  2689. 0x6f, 0x6e, 0x52, 0x11, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x4c, 0x6f, 0x63, 0x61,
  2690. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x78, 0x0a, 0x10, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49,
  2691. 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c,
  2692. 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f,
  2693. 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  2694. 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x73, 0x74,
  2695. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09,
  2696. 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72,
  2697. 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22,
  2698. 0x3b, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75,
  2699. 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a,
  2700. 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
  2701. 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x55, 0x72, 0x6c, 0x22, 0xd0, 0x02, 0x0a,
  2702. 0x0d, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14,
  2703. 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63,
  2704. 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
  2705. 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69,
  2706. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63,
  2707. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c,
  2708. 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x04, 0x20,
  2709. 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61,
  2710. 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64,
  2711. 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x61, 0x63,
  2712. 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x61, 0x63, 0x6b, 0x12, 0x1b, 0x0a,
  2713. 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
  2714. 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x32, 0x0a, 0x16, 0x6d, 0x65,
  2715. 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6d, 0x61, 0x70, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x69, 0x7a,
  2716. 0x65, 0x5f, 0x6d, 0x62, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x6d, 0x65, 0x6d, 0x6f,
  2717. 0x72, 0x79, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x4d, 0x62, 0x12, 0x32,
  2718. 0x0a, 0x15, 0x57, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  2719. 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x57,
  2720. 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75,
  2721. 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
  2722. 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x69, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x22,
  2723. 0x93, 0x01, 0x0a, 0x0e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  2724. 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  2725. 0x03, 0x66, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
  2726. 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
  2727. 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c,
  2728. 0x69, 0x63, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04,
  2729. 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65,
  2730. 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f,
  2731. 0x72, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
  2732. 0x04, 0x61, 0x75, 0x74, 0x68, 0x22, 0x84, 0x01, 0x0a, 0x11, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73,
  2733. 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x72,
  2734. 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  2735. 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a,
  2736. 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
  2737. 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a,
  2738. 0x03, 0x74, 0x74, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x12,
  2739. 0x1b, 0x0a, 0x09, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01,
  2740. 0x28, 0x09, 0x52, 0x08, 0x64, 0x69, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x22, 0x6f, 0x0a, 0x12,
  2741. 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  2742. 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65,
  2743. 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a,
  2744. 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05,
  2745. 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x75, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d,
  2746. 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01,
  2747. 0x28, 0x04, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x20, 0x0a,
  2748. 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e,
  2749. 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
  2750. 0x7b, 0x0a, 0x15, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73,
  2751. 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x6e, 0x63, 0x6c,
  2752. 0x75, 0x64, 0x65, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  2753. 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64,
  2754. 0x65, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x2c,
  2755. 0x0a, 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x65, 0x63, 0x5f, 0x76, 0x6f, 0x6c,
  2756. 0x75, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x6e, 0x63, 0x6c,
  2757. 0x75, 0x64, 0x65, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x22, 0x51, 0x0a, 0x16,
  2758. 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  2759. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63,
  2760. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x61,
  2761. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
  2762. 0x6f, 0x6e, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22,
  2763. 0x2d, 0x0a, 0x17, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c,
  2764. 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
  2765. 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1a,
  2766. 0x0a, 0x18, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65,
  2767. 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xec, 0x03, 0x0a, 0x0c, 0x44,
  2768. 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69,
  2769. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x76,
  2770. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
  2771. 0x04, 0x52, 0x0b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28,
  2772. 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75,
  2773. 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x56, 0x6f, 0x6c,
  2774. 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x72, 0x65, 0x65,
  2775. 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20,
  2776. 0x01, 0x28, 0x04, 0x52, 0x0f, 0x66, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43,
  2777. 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x76,
  2778. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
  2779. 0x04, 0x52, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43,
  2780. 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x46, 0x0a, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69,
  2781. 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6d, 0x61, 0x73,
  2782. 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e, 0x66,
  2783. 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
  2784. 0x0b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x50, 0x0a, 0x0e,
  2785. 0x65, 0x63, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x07,
  2786. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62,
  2787. 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e,
  2788. 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  2789. 0x52, 0x0c, 0x65, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x2e,
  2790. 0x0a, 0x13, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f,
  2791. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x72, 0x65, 0x6d,
  2792. 0x6f, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f,
  2793. 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x73, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2794. 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x6d, 0x61,
  2795. 0x78, 0x53, 0x73, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  2796. 0x28, 0x0a, 0x10, 0x73, 0x73, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f,
  2797. 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x73, 0x73, 0x64, 0x56, 0x6f,
  2798. 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x8f, 0x03, 0x0a, 0x08, 0x52, 0x61,
  2799. 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  2800. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2801. 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x76, 0x6f,
  2802. 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78,
  2803. 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20,
  2804. 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f,
  2805. 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75,
  2806. 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f,
  2807. 0x66, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  2808. 0x2e, 0x0a, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2809. 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x61, 0x63,
  2810. 0x74, 0x69, 0x76, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  2811. 0x3f, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x66,
  2812. 0x6f, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65,
  2813. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66,
  2814. 0x6f, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x73,
  2815. 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  2816. 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x72,
  2817. 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  2818. 0x12, 0x2f, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x73, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75,
  2819. 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11,
  2820. 0x6d, 0x61, 0x78, 0x53, 0x73, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e,
  2821. 0x74, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x73, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f,
  2822. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x73, 0x73, 0x64,
  2823. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x88, 0x03, 0x0a, 0x0e,
  2824. 0x44, 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e,
  2825. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21,
  2826. 0x0a, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02,
  2827. 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e,
  2828. 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f,
  2829. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6d, 0x61, 0x78,
  2830. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x66,
  2831. 0x72, 0x65, 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  2832. 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x66, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x6c, 0x75,
  2833. 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76,
  2834. 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05,
  2835. 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x6f, 0x6c, 0x75,
  2836. 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x0a, 0x72, 0x61, 0x63, 0x6b, 0x5f,
  2837. 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61,
  2838. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f,
  2839. 0x52, 0x09, 0x72, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x72,
  2840. 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75,
  2841. 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65,
  2842. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x14, 0x6d,
  2843. 0x61, 0x78, 0x5f, 0x73, 0x73, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f,
  2844. 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x6d, 0x61, 0x78, 0x53, 0x73,
  2845. 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10,
  2846. 0x73, 0x73, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  2847. 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x73, 0x73, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  2848. 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x99, 0x03, 0x0a, 0x0c, 0x54, 0x6f, 0x70, 0x6f, 0x6c,
  2849. 0x6f, 0x67, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  2850. 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  2851. 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x76,
  2852. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61,
  2853. 0x78, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
  2854. 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43,
  2855. 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x76, 0x6f, 0x6c,
  2856. 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
  2857. 0x0f, 0x66, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  2858. 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  2859. 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x61,
  2860. 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  2861. 0x12, 0x45, 0x0a, 0x11, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f,
  2862. 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x61,
  2863. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74,
  2864. 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74,
  2865. 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x65, 0x6d, 0x6f, 0x74,
  2866. 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07,
  2867. 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75,
  2868. 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x73,
  2869. 0x73, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  2870. 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x6d, 0x61, 0x78, 0x53, 0x73, 0x64, 0x56, 0x6f, 0x6c,
  2871. 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x73, 0x64, 0x5f,
  2872. 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01,
  2873. 0x28, 0x04, 0x52, 0x0e, 0x73, 0x73, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75,
  2874. 0x6e, 0x74, 0x22, 0x13, 0x0a, 0x11, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74,
  2875. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x83, 0x01, 0x0a, 0x12, 0x56, 0x6f, 0x6c, 0x75,
  2876. 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c,
  2877. 0x0a, 0x0d, 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18,
  2878. 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70,
  2879. 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c,
  2880. 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x14,
  2881. 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69,
  2882. 0x74, 0x5f, 0x6d, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x76, 0x6f, 0x6c, 0x75,
  2883. 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4d, 0x62, 0x22, 0x34, 0x0a,
  2884. 0x15, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52,
  2885. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2886. 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  2887. 0x65, 0x49, 0x64, 0x22, 0xfb, 0x01, 0x0a, 0x16, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x45, 0x63,
  2888. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b,
  2889. 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  2890. 0x0d, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x61, 0x0a, 0x12, 0x73,
  2891. 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2892. 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72,
  2893. 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75,
  2894. 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x63, 0x53, 0x68, 0x61,
  2895. 0x72, 0x64, 0x49, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x68,
  2896. 0x61, 0x72, 0x64, 0x49, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x61,
  2897. 0x0a, 0x11, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74,
  2898. 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18,
  2899. 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x31,
  2900. 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
  2901. 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f,
  2902. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2903. 0x73, 0x22, 0x42, 0x0a, 0x13, 0x56, 0x61, 0x63, 0x75, 0x75, 0x6d, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  2904. 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x67, 0x61, 0x72, 0x62,
  2905. 0x61, 0x67, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20,
  2906. 0x01, 0x28, 0x02, 0x52, 0x10, 0x67, 0x61, 0x72, 0x62, 0x61, 0x67, 0x65, 0x54, 0x68, 0x72, 0x65,
  2907. 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x56, 0x61, 0x63, 0x75, 0x75, 0x6d, 0x56,
  2908. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x0a,
  2909. 0x1d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
  2910. 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x92,
  2911. 0x02, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66,
  2912. 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  2913. 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x64, 0x64,
  2914. 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x65, 0x74, 0x72,
  2915. 0x69, 0x63, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x6d, 0x65,
  2916. 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x73,
  2917. 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x6d, 0x65,
  2918. 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x63,
  2919. 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x44, 0x0a, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f,
  2920. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19,
  2921. 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61,
  2922. 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x0f, 0x73, 0x74, 0x6f, 0x72, 0x61,
  2923. 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x64, 0x65,
  2924. 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
  2925. 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
  2926. 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6c,
  2927. 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x65, 0x61,
  2928. 0x64, 0x65, 0x72, 0x22, 0x3b, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65,
  2929. 0x72, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  2930. 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
  2931. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65,
  2932. 0x22, 0x42, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c,
  2933. 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a,
  2934. 0x0e, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18,
  2935. 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x67, 0x72, 0x70, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65,
  2936. 0x73, 0x73, 0x65, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x16, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64,
  2937. 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  2938. 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
  2939. 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75,
  2940. 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f,
  2941. 0x75, 0x73, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  2942. 0x28, 0x03, 0x52, 0x10, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4c, 0x6f, 0x63, 0x6b,
  2943. 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d,
  2944. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d,
  2945. 0x65, 0x22, 0x4d, 0x0a, 0x17, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54,
  2946. 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05,
  2947. 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x6b,
  2948. 0x65, 0x6e, 0x12, 0x1c, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x73, 0x5f, 0x6e, 0x73,
  2949. 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x73, 0x4e, 0x73,
  2950. 0x22, 0x8c, 0x01, 0x0a, 0x18, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69,
  2951. 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a,
  2952. 0x0e, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
  2953. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54,
  2954. 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73,
  2955. 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
  2956. 0x52, 0x10, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x69,
  2957. 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  2958. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x22,
  2959. 0x1b, 0x0a, 0x19, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54,
  2960. 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xca, 0x09, 0x0a,
  2961. 0x07, 0x53, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x65, 0x6e, 0x64,
  2962. 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x14, 0x2e, 0x6d, 0x61, 0x73, 0x74,
  2963. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x1a,
  2964. 0x1c, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x48, 0x65, 0x61, 0x72,
  2965. 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28,
  2966. 0x01, 0x30, 0x01, 0x12, 0x51, 0x0a, 0x0d, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x6e, 0x65,
  2967. 0x63, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62,
  2968. 0x2e, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65,
  2969. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70,
  2970. 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2971. 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x51, 0x0a, 0x0c, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70,
  2972. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1e, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  2973. 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52,
  2974. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  2975. 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52,
  2976. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x06, 0x41, 0x73, 0x73,
  2977. 0x69, 0x67, 0x6e, 0x12, 0x18, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e,
  2978. 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e,
  2979. 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e,
  2980. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0a, 0x53, 0x74,
  2981. 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x1c, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65,
  2982. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52,
  2983. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  2984. 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73,
  2985. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x6c, 0x65,
  2986. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x73, 0x74,
  2987. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  2988. 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61,
  2989. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
  2990. 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
  2991. 0x12, 0x5d, 0x0a, 0x10, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65,
  2992. 0x6c, 0x65, 0x74, 0x65, 0x12, 0x22, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62,
  2993. 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74,
  2994. 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65,
  2995. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44,
  2996. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
  2997. 0x4b, 0x0a, 0x0a, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x2e,
  2998. 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2999. 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x61,
  3000. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4c, 0x69,
  3001. 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0e,
  3002. 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x20,
  3003. 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75,
  3004. 0x70, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  3005. 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f,
  3006. 0x6b, 0x75, 0x70, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
  3007. 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0c, 0x56, 0x61, 0x63, 0x75, 0x75, 0x6d, 0x56,
  3008. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1e, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70,
  3009. 0x62, 0x2e, 0x56, 0x61, 0x63, 0x75, 0x75, 0x6d, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65,
  3010. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70,
  3011. 0x62, 0x2e, 0x56, 0x61, 0x63, 0x75, 0x75, 0x6d, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65,
  3012. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4d,
  3013. 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
  3014. 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x47,
  3015. 0x65, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72,
  3016. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x6d,
  3017. 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x73, 0x74,
  3018. 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
  3019. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x11, 0x4c, 0x69, 0x73,
  3020. 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x23,
  3021. 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d,
  3022. 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
  3023. 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e,
  3024. 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
  3025. 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x0f, 0x4c,
  3026. 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x21,
  3027. 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x65, 0x61, 0x73, 0x65,
  3028. 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  3029. 0x74, 0x1a, 0x22, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x65,
  3030. 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73,
  3031. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x65, 0x61,
  3032. 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x23, 0x2e, 0x6d,
  3033. 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,
  3034. 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  3035. 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65,
  3036. 0x6c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
  3037. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x32, 0x5a, 0x30, 0x67, 0x69, 0x74,
  3038. 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x72, 0x69, 0x73, 0x6c, 0x75, 0x73,
  3039. 0x66, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x77, 0x65, 0x65, 0x64,
  3040. 0x2f, 0x70, 0x62, 0x2f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70,
  3041. 0x72, 0x6f, 0x74, 0x6f, 0x33,
  3042. }
  3043. var (
  3044. file_master_proto_rawDescOnce sync.Once
  3045. file_master_proto_rawDescData = file_master_proto_rawDesc
  3046. )
  3047. func file_master_proto_rawDescGZIP() []byte {
  3048. file_master_proto_rawDescOnce.Do(func() {
  3049. file_master_proto_rawDescData = protoimpl.X.CompressGZIP(file_master_proto_rawDescData)
  3050. })
  3051. return file_master_proto_rawDescData
  3052. }
  3053. var file_master_proto_msgTypes = make([]protoimpl.MessageInfo, 44)
  3054. var file_master_proto_goTypes = []interface{}{
  3055. (*Heartbeat)(nil), // 0: master_pb.Heartbeat
  3056. (*HeartbeatResponse)(nil), // 1: master_pb.HeartbeatResponse
  3057. (*VolumeInformationMessage)(nil), // 2: master_pb.VolumeInformationMessage
  3058. (*VolumeShortInformationMessage)(nil), // 3: master_pb.VolumeShortInformationMessage
  3059. (*VolumeEcShardInformationMessage)(nil), // 4: master_pb.VolumeEcShardInformationMessage
  3060. (*StorageBackend)(nil), // 5: master_pb.StorageBackend
  3061. (*Empty)(nil), // 6: master_pb.Empty
  3062. (*SuperBlockExtra)(nil), // 7: master_pb.SuperBlockExtra
  3063. (*KeepConnectedRequest)(nil), // 8: master_pb.KeepConnectedRequest
  3064. (*VolumeLocation)(nil), // 9: master_pb.VolumeLocation
  3065. (*LookupVolumeRequest)(nil), // 10: master_pb.LookupVolumeRequest
  3066. (*LookupVolumeResponse)(nil), // 11: master_pb.LookupVolumeResponse
  3067. (*Location)(nil), // 12: master_pb.Location
  3068. (*AssignRequest)(nil), // 13: master_pb.AssignRequest
  3069. (*AssignResponse)(nil), // 14: master_pb.AssignResponse
  3070. (*StatisticsRequest)(nil), // 15: master_pb.StatisticsRequest
  3071. (*StatisticsResponse)(nil), // 16: master_pb.StatisticsResponse
  3072. (*Collection)(nil), // 17: master_pb.Collection
  3073. (*CollectionListRequest)(nil), // 18: master_pb.CollectionListRequest
  3074. (*CollectionListResponse)(nil), // 19: master_pb.CollectionListResponse
  3075. (*CollectionDeleteRequest)(nil), // 20: master_pb.CollectionDeleteRequest
  3076. (*CollectionDeleteResponse)(nil), // 21: master_pb.CollectionDeleteResponse
  3077. (*DataNodeInfo)(nil), // 22: master_pb.DataNodeInfo
  3078. (*RackInfo)(nil), // 23: master_pb.RackInfo
  3079. (*DataCenterInfo)(nil), // 24: master_pb.DataCenterInfo
  3080. (*TopologyInfo)(nil), // 25: master_pb.TopologyInfo
  3081. (*VolumeListRequest)(nil), // 26: master_pb.VolumeListRequest
  3082. (*VolumeListResponse)(nil), // 27: master_pb.VolumeListResponse
  3083. (*LookupEcVolumeRequest)(nil), // 28: master_pb.LookupEcVolumeRequest
  3084. (*LookupEcVolumeResponse)(nil), // 29: master_pb.LookupEcVolumeResponse
  3085. (*VacuumVolumeRequest)(nil), // 30: master_pb.VacuumVolumeRequest
  3086. (*VacuumVolumeResponse)(nil), // 31: master_pb.VacuumVolumeResponse
  3087. (*GetMasterConfigurationRequest)(nil), // 32: master_pb.GetMasterConfigurationRequest
  3088. (*GetMasterConfigurationResponse)(nil), // 33: master_pb.GetMasterConfigurationResponse
  3089. (*ListMasterClientsRequest)(nil), // 34: master_pb.ListMasterClientsRequest
  3090. (*ListMasterClientsResponse)(nil), // 35: master_pb.ListMasterClientsResponse
  3091. (*LeaseAdminTokenRequest)(nil), // 36: master_pb.LeaseAdminTokenRequest
  3092. (*LeaseAdminTokenResponse)(nil), // 37: master_pb.LeaseAdminTokenResponse
  3093. (*ReleaseAdminTokenRequest)(nil), // 38: master_pb.ReleaseAdminTokenRequest
  3094. (*ReleaseAdminTokenResponse)(nil), // 39: master_pb.ReleaseAdminTokenResponse
  3095. nil, // 40: master_pb.StorageBackend.PropertiesEntry
  3096. (*SuperBlockExtra_ErasureCoding)(nil), // 41: master_pb.SuperBlockExtra.ErasureCoding
  3097. (*LookupVolumeResponse_VolumeIdLocation)(nil), // 42: master_pb.LookupVolumeResponse.VolumeIdLocation
  3098. (*LookupEcVolumeResponse_EcShardIdLocation)(nil), // 43: master_pb.LookupEcVolumeResponse.EcShardIdLocation
  3099. }
  3100. var file_master_proto_depIdxs = []int32{
  3101. 2, // 0: master_pb.Heartbeat.volumes:type_name -> master_pb.VolumeInformationMessage
  3102. 3, // 1: master_pb.Heartbeat.new_volumes:type_name -> master_pb.VolumeShortInformationMessage
  3103. 3, // 2: master_pb.Heartbeat.deleted_volumes:type_name -> master_pb.VolumeShortInformationMessage
  3104. 4, // 3: master_pb.Heartbeat.ec_shards:type_name -> master_pb.VolumeEcShardInformationMessage
  3105. 4, // 4: master_pb.Heartbeat.new_ec_shards:type_name -> master_pb.VolumeEcShardInformationMessage
  3106. 4, // 5: master_pb.Heartbeat.deleted_ec_shards:type_name -> master_pb.VolumeEcShardInformationMessage
  3107. 5, // 6: master_pb.HeartbeatResponse.storage_backends:type_name -> master_pb.StorageBackend
  3108. 40, // 7: master_pb.StorageBackend.properties:type_name -> master_pb.StorageBackend.PropertiesEntry
  3109. 41, // 8: master_pb.SuperBlockExtra.erasure_coding:type_name -> master_pb.SuperBlockExtra.ErasureCoding
  3110. 42, // 9: master_pb.LookupVolumeResponse.volume_id_locations:type_name -> master_pb.LookupVolumeResponse.VolumeIdLocation
  3111. 17, // 10: master_pb.CollectionListResponse.collections:type_name -> master_pb.Collection
  3112. 2, // 11: master_pb.DataNodeInfo.volume_infos:type_name -> master_pb.VolumeInformationMessage
  3113. 4, // 12: master_pb.DataNodeInfo.ec_shard_infos:type_name -> master_pb.VolumeEcShardInformationMessage
  3114. 22, // 13: master_pb.RackInfo.data_node_infos:type_name -> master_pb.DataNodeInfo
  3115. 23, // 14: master_pb.DataCenterInfo.rack_infos:type_name -> master_pb.RackInfo
  3116. 24, // 15: master_pb.TopologyInfo.data_center_infos:type_name -> master_pb.DataCenterInfo
  3117. 25, // 16: master_pb.VolumeListResponse.topology_info:type_name -> master_pb.TopologyInfo
  3118. 43, // 17: master_pb.LookupEcVolumeResponse.shard_id_locations:type_name -> master_pb.LookupEcVolumeResponse.EcShardIdLocation
  3119. 5, // 18: master_pb.GetMasterConfigurationResponse.storage_backends:type_name -> master_pb.StorageBackend
  3120. 12, // 19: master_pb.LookupVolumeResponse.VolumeIdLocation.locations:type_name -> master_pb.Location
  3121. 12, // 20: master_pb.LookupEcVolumeResponse.EcShardIdLocation.locations:type_name -> master_pb.Location
  3122. 0, // 21: master_pb.Seaweed.SendHeartbeat:input_type -> master_pb.Heartbeat
  3123. 8, // 22: master_pb.Seaweed.KeepConnected:input_type -> master_pb.KeepConnectedRequest
  3124. 10, // 23: master_pb.Seaweed.LookupVolume:input_type -> master_pb.LookupVolumeRequest
  3125. 13, // 24: master_pb.Seaweed.Assign:input_type -> master_pb.AssignRequest
  3126. 15, // 25: master_pb.Seaweed.Statistics:input_type -> master_pb.StatisticsRequest
  3127. 18, // 26: master_pb.Seaweed.CollectionList:input_type -> master_pb.CollectionListRequest
  3128. 20, // 27: master_pb.Seaweed.CollectionDelete:input_type -> master_pb.CollectionDeleteRequest
  3129. 26, // 28: master_pb.Seaweed.VolumeList:input_type -> master_pb.VolumeListRequest
  3130. 28, // 29: master_pb.Seaweed.LookupEcVolume:input_type -> master_pb.LookupEcVolumeRequest
  3131. 30, // 30: master_pb.Seaweed.VacuumVolume:input_type -> master_pb.VacuumVolumeRequest
  3132. 32, // 31: master_pb.Seaweed.GetMasterConfiguration:input_type -> master_pb.GetMasterConfigurationRequest
  3133. 34, // 32: master_pb.Seaweed.ListMasterClients:input_type -> master_pb.ListMasterClientsRequest
  3134. 36, // 33: master_pb.Seaweed.LeaseAdminToken:input_type -> master_pb.LeaseAdminTokenRequest
  3135. 38, // 34: master_pb.Seaweed.ReleaseAdminToken:input_type -> master_pb.ReleaseAdminTokenRequest
  3136. 1, // 35: master_pb.Seaweed.SendHeartbeat:output_type -> master_pb.HeartbeatResponse
  3137. 9, // 36: master_pb.Seaweed.KeepConnected:output_type -> master_pb.VolumeLocation
  3138. 11, // 37: master_pb.Seaweed.LookupVolume:output_type -> master_pb.LookupVolumeResponse
  3139. 14, // 38: master_pb.Seaweed.Assign:output_type -> master_pb.AssignResponse
  3140. 16, // 39: master_pb.Seaweed.Statistics:output_type -> master_pb.StatisticsResponse
  3141. 19, // 40: master_pb.Seaweed.CollectionList:output_type -> master_pb.CollectionListResponse
  3142. 21, // 41: master_pb.Seaweed.CollectionDelete:output_type -> master_pb.CollectionDeleteResponse
  3143. 27, // 42: master_pb.Seaweed.VolumeList:output_type -> master_pb.VolumeListResponse
  3144. 29, // 43: master_pb.Seaweed.LookupEcVolume:output_type -> master_pb.LookupEcVolumeResponse
  3145. 31, // 44: master_pb.Seaweed.VacuumVolume:output_type -> master_pb.VacuumVolumeResponse
  3146. 33, // 45: master_pb.Seaweed.GetMasterConfiguration:output_type -> master_pb.GetMasterConfigurationResponse
  3147. 35, // 46: master_pb.Seaweed.ListMasterClients:output_type -> master_pb.ListMasterClientsResponse
  3148. 37, // 47: master_pb.Seaweed.LeaseAdminToken:output_type -> master_pb.LeaseAdminTokenResponse
  3149. 39, // 48: master_pb.Seaweed.ReleaseAdminToken:output_type -> master_pb.ReleaseAdminTokenResponse
  3150. 35, // [35:49] is the sub-list for method output_type
  3151. 21, // [21:35] is the sub-list for method input_type
  3152. 21, // [21:21] is the sub-list for extension type_name
  3153. 21, // [21:21] is the sub-list for extension extendee
  3154. 0, // [0:21] is the sub-list for field type_name
  3155. }
  3156. func init() { file_master_proto_init() }
  3157. func file_master_proto_init() {
  3158. if File_master_proto != nil {
  3159. return
  3160. }
  3161. if !protoimpl.UnsafeEnabled {
  3162. file_master_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  3163. switch v := v.(*Heartbeat); i {
  3164. case 0:
  3165. return &v.state
  3166. case 1:
  3167. return &v.sizeCache
  3168. case 2:
  3169. return &v.unknownFields
  3170. default:
  3171. return nil
  3172. }
  3173. }
  3174. file_master_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  3175. switch v := v.(*HeartbeatResponse); i {
  3176. case 0:
  3177. return &v.state
  3178. case 1:
  3179. return &v.sizeCache
  3180. case 2:
  3181. return &v.unknownFields
  3182. default:
  3183. return nil
  3184. }
  3185. }
  3186. file_master_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  3187. switch v := v.(*VolumeInformationMessage); i {
  3188. case 0:
  3189. return &v.state
  3190. case 1:
  3191. return &v.sizeCache
  3192. case 2:
  3193. return &v.unknownFields
  3194. default:
  3195. return nil
  3196. }
  3197. }
  3198. file_master_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  3199. switch v := v.(*VolumeShortInformationMessage); i {
  3200. case 0:
  3201. return &v.state
  3202. case 1:
  3203. return &v.sizeCache
  3204. case 2:
  3205. return &v.unknownFields
  3206. default:
  3207. return nil
  3208. }
  3209. }
  3210. file_master_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  3211. switch v := v.(*VolumeEcShardInformationMessage); i {
  3212. case 0:
  3213. return &v.state
  3214. case 1:
  3215. return &v.sizeCache
  3216. case 2:
  3217. return &v.unknownFields
  3218. default:
  3219. return nil
  3220. }
  3221. }
  3222. file_master_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  3223. switch v := v.(*StorageBackend); i {
  3224. case 0:
  3225. return &v.state
  3226. case 1:
  3227. return &v.sizeCache
  3228. case 2:
  3229. return &v.unknownFields
  3230. default:
  3231. return nil
  3232. }
  3233. }
  3234. file_master_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  3235. switch v := v.(*Empty); i {
  3236. case 0:
  3237. return &v.state
  3238. case 1:
  3239. return &v.sizeCache
  3240. case 2:
  3241. return &v.unknownFields
  3242. default:
  3243. return nil
  3244. }
  3245. }
  3246. file_master_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  3247. switch v := v.(*SuperBlockExtra); i {
  3248. case 0:
  3249. return &v.state
  3250. case 1:
  3251. return &v.sizeCache
  3252. case 2:
  3253. return &v.unknownFields
  3254. default:
  3255. return nil
  3256. }
  3257. }
  3258. file_master_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  3259. switch v := v.(*KeepConnectedRequest); i {
  3260. case 0:
  3261. return &v.state
  3262. case 1:
  3263. return &v.sizeCache
  3264. case 2:
  3265. return &v.unknownFields
  3266. default:
  3267. return nil
  3268. }
  3269. }
  3270. file_master_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  3271. switch v := v.(*VolumeLocation); i {
  3272. case 0:
  3273. return &v.state
  3274. case 1:
  3275. return &v.sizeCache
  3276. case 2:
  3277. return &v.unknownFields
  3278. default:
  3279. return nil
  3280. }
  3281. }
  3282. file_master_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  3283. switch v := v.(*LookupVolumeRequest); i {
  3284. case 0:
  3285. return &v.state
  3286. case 1:
  3287. return &v.sizeCache
  3288. case 2:
  3289. return &v.unknownFields
  3290. default:
  3291. return nil
  3292. }
  3293. }
  3294. file_master_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  3295. switch v := v.(*LookupVolumeResponse); i {
  3296. case 0:
  3297. return &v.state
  3298. case 1:
  3299. return &v.sizeCache
  3300. case 2:
  3301. return &v.unknownFields
  3302. default:
  3303. return nil
  3304. }
  3305. }
  3306. file_master_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  3307. switch v := v.(*Location); i {
  3308. case 0:
  3309. return &v.state
  3310. case 1:
  3311. return &v.sizeCache
  3312. case 2:
  3313. return &v.unknownFields
  3314. default:
  3315. return nil
  3316. }
  3317. }
  3318. file_master_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  3319. switch v := v.(*AssignRequest); i {
  3320. case 0:
  3321. return &v.state
  3322. case 1:
  3323. return &v.sizeCache
  3324. case 2:
  3325. return &v.unknownFields
  3326. default:
  3327. return nil
  3328. }
  3329. }
  3330. file_master_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  3331. switch v := v.(*AssignResponse); i {
  3332. case 0:
  3333. return &v.state
  3334. case 1:
  3335. return &v.sizeCache
  3336. case 2:
  3337. return &v.unknownFields
  3338. default:
  3339. return nil
  3340. }
  3341. }
  3342. file_master_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  3343. switch v := v.(*StatisticsRequest); i {
  3344. case 0:
  3345. return &v.state
  3346. case 1:
  3347. return &v.sizeCache
  3348. case 2:
  3349. return &v.unknownFields
  3350. default:
  3351. return nil
  3352. }
  3353. }
  3354. file_master_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  3355. switch v := v.(*StatisticsResponse); i {
  3356. case 0:
  3357. return &v.state
  3358. case 1:
  3359. return &v.sizeCache
  3360. case 2:
  3361. return &v.unknownFields
  3362. default:
  3363. return nil
  3364. }
  3365. }
  3366. file_master_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  3367. switch v := v.(*Collection); i {
  3368. case 0:
  3369. return &v.state
  3370. case 1:
  3371. return &v.sizeCache
  3372. case 2:
  3373. return &v.unknownFields
  3374. default:
  3375. return nil
  3376. }
  3377. }
  3378. file_master_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  3379. switch v := v.(*CollectionListRequest); i {
  3380. case 0:
  3381. return &v.state
  3382. case 1:
  3383. return &v.sizeCache
  3384. case 2:
  3385. return &v.unknownFields
  3386. default:
  3387. return nil
  3388. }
  3389. }
  3390. file_master_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  3391. switch v := v.(*CollectionListResponse); i {
  3392. case 0:
  3393. return &v.state
  3394. case 1:
  3395. return &v.sizeCache
  3396. case 2:
  3397. return &v.unknownFields
  3398. default:
  3399. return nil
  3400. }
  3401. }
  3402. file_master_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  3403. switch v := v.(*CollectionDeleteRequest); i {
  3404. case 0:
  3405. return &v.state
  3406. case 1:
  3407. return &v.sizeCache
  3408. case 2:
  3409. return &v.unknownFields
  3410. default:
  3411. return nil
  3412. }
  3413. }
  3414. file_master_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  3415. switch v := v.(*CollectionDeleteResponse); i {
  3416. case 0:
  3417. return &v.state
  3418. case 1:
  3419. return &v.sizeCache
  3420. case 2:
  3421. return &v.unknownFields
  3422. default:
  3423. return nil
  3424. }
  3425. }
  3426. file_master_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  3427. switch v := v.(*DataNodeInfo); i {
  3428. case 0:
  3429. return &v.state
  3430. case 1:
  3431. return &v.sizeCache
  3432. case 2:
  3433. return &v.unknownFields
  3434. default:
  3435. return nil
  3436. }
  3437. }
  3438. file_master_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  3439. switch v := v.(*RackInfo); i {
  3440. case 0:
  3441. return &v.state
  3442. case 1:
  3443. return &v.sizeCache
  3444. case 2:
  3445. return &v.unknownFields
  3446. default:
  3447. return nil
  3448. }
  3449. }
  3450. file_master_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  3451. switch v := v.(*DataCenterInfo); i {
  3452. case 0:
  3453. return &v.state
  3454. case 1:
  3455. return &v.sizeCache
  3456. case 2:
  3457. return &v.unknownFields
  3458. default:
  3459. return nil
  3460. }
  3461. }
  3462. file_master_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  3463. switch v := v.(*TopologyInfo); i {
  3464. case 0:
  3465. return &v.state
  3466. case 1:
  3467. return &v.sizeCache
  3468. case 2:
  3469. return &v.unknownFields
  3470. default:
  3471. return nil
  3472. }
  3473. }
  3474. file_master_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  3475. switch v := v.(*VolumeListRequest); i {
  3476. case 0:
  3477. return &v.state
  3478. case 1:
  3479. return &v.sizeCache
  3480. case 2:
  3481. return &v.unknownFields
  3482. default:
  3483. return nil
  3484. }
  3485. }
  3486. file_master_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  3487. switch v := v.(*VolumeListResponse); i {
  3488. case 0:
  3489. return &v.state
  3490. case 1:
  3491. return &v.sizeCache
  3492. case 2:
  3493. return &v.unknownFields
  3494. default:
  3495. return nil
  3496. }
  3497. }
  3498. file_master_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
  3499. switch v := v.(*LookupEcVolumeRequest); i {
  3500. case 0:
  3501. return &v.state
  3502. case 1:
  3503. return &v.sizeCache
  3504. case 2:
  3505. return &v.unknownFields
  3506. default:
  3507. return nil
  3508. }
  3509. }
  3510. file_master_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
  3511. switch v := v.(*LookupEcVolumeResponse); i {
  3512. case 0:
  3513. return &v.state
  3514. case 1:
  3515. return &v.sizeCache
  3516. case 2:
  3517. return &v.unknownFields
  3518. default:
  3519. return nil
  3520. }
  3521. }
  3522. file_master_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
  3523. switch v := v.(*VacuumVolumeRequest); i {
  3524. case 0:
  3525. return &v.state
  3526. case 1:
  3527. return &v.sizeCache
  3528. case 2:
  3529. return &v.unknownFields
  3530. default:
  3531. return nil
  3532. }
  3533. }
  3534. file_master_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
  3535. switch v := v.(*VacuumVolumeResponse); i {
  3536. case 0:
  3537. return &v.state
  3538. case 1:
  3539. return &v.sizeCache
  3540. case 2:
  3541. return &v.unknownFields
  3542. default:
  3543. return nil
  3544. }
  3545. }
  3546. file_master_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
  3547. switch v := v.(*GetMasterConfigurationRequest); i {
  3548. case 0:
  3549. return &v.state
  3550. case 1:
  3551. return &v.sizeCache
  3552. case 2:
  3553. return &v.unknownFields
  3554. default:
  3555. return nil
  3556. }
  3557. }
  3558. file_master_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
  3559. switch v := v.(*GetMasterConfigurationResponse); i {
  3560. case 0:
  3561. return &v.state
  3562. case 1:
  3563. return &v.sizeCache
  3564. case 2:
  3565. return &v.unknownFields
  3566. default:
  3567. return nil
  3568. }
  3569. }
  3570. file_master_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
  3571. switch v := v.(*ListMasterClientsRequest); i {
  3572. case 0:
  3573. return &v.state
  3574. case 1:
  3575. return &v.sizeCache
  3576. case 2:
  3577. return &v.unknownFields
  3578. default:
  3579. return nil
  3580. }
  3581. }
  3582. file_master_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
  3583. switch v := v.(*ListMasterClientsResponse); i {
  3584. case 0:
  3585. return &v.state
  3586. case 1:
  3587. return &v.sizeCache
  3588. case 2:
  3589. return &v.unknownFields
  3590. default:
  3591. return nil
  3592. }
  3593. }
  3594. file_master_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
  3595. switch v := v.(*LeaseAdminTokenRequest); i {
  3596. case 0:
  3597. return &v.state
  3598. case 1:
  3599. return &v.sizeCache
  3600. case 2:
  3601. return &v.unknownFields
  3602. default:
  3603. return nil
  3604. }
  3605. }
  3606. file_master_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
  3607. switch v := v.(*LeaseAdminTokenResponse); i {
  3608. case 0:
  3609. return &v.state
  3610. case 1:
  3611. return &v.sizeCache
  3612. case 2:
  3613. return &v.unknownFields
  3614. default:
  3615. return nil
  3616. }
  3617. }
  3618. file_master_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
  3619. switch v := v.(*ReleaseAdminTokenRequest); i {
  3620. case 0:
  3621. return &v.state
  3622. case 1:
  3623. return &v.sizeCache
  3624. case 2:
  3625. return &v.unknownFields
  3626. default:
  3627. return nil
  3628. }
  3629. }
  3630. file_master_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
  3631. switch v := v.(*ReleaseAdminTokenResponse); i {
  3632. case 0:
  3633. return &v.state
  3634. case 1:
  3635. return &v.sizeCache
  3636. case 2:
  3637. return &v.unknownFields
  3638. default:
  3639. return nil
  3640. }
  3641. }
  3642. file_master_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
  3643. switch v := v.(*SuperBlockExtra_ErasureCoding); i {
  3644. case 0:
  3645. return &v.state
  3646. case 1:
  3647. return &v.sizeCache
  3648. case 2:
  3649. return &v.unknownFields
  3650. default:
  3651. return nil
  3652. }
  3653. }
  3654. file_master_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
  3655. switch v := v.(*LookupVolumeResponse_VolumeIdLocation); i {
  3656. case 0:
  3657. return &v.state
  3658. case 1:
  3659. return &v.sizeCache
  3660. case 2:
  3661. return &v.unknownFields
  3662. default:
  3663. return nil
  3664. }
  3665. }
  3666. file_master_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
  3667. switch v := v.(*LookupEcVolumeResponse_EcShardIdLocation); i {
  3668. case 0:
  3669. return &v.state
  3670. case 1:
  3671. return &v.sizeCache
  3672. case 2:
  3673. return &v.unknownFields
  3674. default:
  3675. return nil
  3676. }
  3677. }
  3678. }
  3679. type x struct{}
  3680. out := protoimpl.TypeBuilder{
  3681. File: protoimpl.DescBuilder{
  3682. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  3683. RawDescriptor: file_master_proto_rawDesc,
  3684. NumEnums: 0,
  3685. NumMessages: 44,
  3686. NumExtensions: 0,
  3687. NumServices: 1,
  3688. },
  3689. GoTypes: file_master_proto_goTypes,
  3690. DependencyIndexes: file_master_proto_depIdxs,
  3691. MessageInfos: file_master_proto_msgTypes,
  3692. }.Build()
  3693. File_master_proto = out.File
  3694. file_master_proto_rawDesc = nil
  3695. file_master_proto_goTypes = nil
  3696. file_master_proto_depIdxs = nil
  3697. }
  3698. // Reference imports to suppress errors if they are not otherwise used.
  3699. var _ context.Context
  3700. var _ grpc.ClientConnInterface
  3701. // This is a compile-time assertion to ensure that this generated file
  3702. // is compatible with the grpc package it is being compiled against.
  3703. const _ = grpc.SupportPackageIsVersion6
  3704. // SeaweedClient is the client API for Seaweed service.
  3705. //
  3706. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  3707. type SeaweedClient interface {
  3708. SendHeartbeat(ctx context.Context, opts ...grpc.CallOption) (Seaweed_SendHeartbeatClient, error)
  3709. KeepConnected(ctx context.Context, opts ...grpc.CallOption) (Seaweed_KeepConnectedClient, error)
  3710. LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error)
  3711. Assign(ctx context.Context, in *AssignRequest, opts ...grpc.CallOption) (*AssignResponse, error)
  3712. Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error)
  3713. CollectionList(ctx context.Context, in *CollectionListRequest, opts ...grpc.CallOption) (*CollectionListResponse, error)
  3714. CollectionDelete(ctx context.Context, in *CollectionDeleteRequest, opts ...grpc.CallOption) (*CollectionDeleteResponse, error)
  3715. VolumeList(ctx context.Context, in *VolumeListRequest, opts ...grpc.CallOption) (*VolumeListResponse, error)
  3716. LookupEcVolume(ctx context.Context, in *LookupEcVolumeRequest, opts ...grpc.CallOption) (*LookupEcVolumeResponse, error)
  3717. VacuumVolume(ctx context.Context, in *VacuumVolumeRequest, opts ...grpc.CallOption) (*VacuumVolumeResponse, error)
  3718. GetMasterConfiguration(ctx context.Context, in *GetMasterConfigurationRequest, opts ...grpc.CallOption) (*GetMasterConfigurationResponse, error)
  3719. ListMasterClients(ctx context.Context, in *ListMasterClientsRequest, opts ...grpc.CallOption) (*ListMasterClientsResponse, error)
  3720. LeaseAdminToken(ctx context.Context, in *LeaseAdminTokenRequest, opts ...grpc.CallOption) (*LeaseAdminTokenResponse, error)
  3721. ReleaseAdminToken(ctx context.Context, in *ReleaseAdminTokenRequest, opts ...grpc.CallOption) (*ReleaseAdminTokenResponse, error)
  3722. }
  3723. type seaweedClient struct {
  3724. cc grpc.ClientConnInterface
  3725. }
  3726. func NewSeaweedClient(cc grpc.ClientConnInterface) SeaweedClient {
  3727. return &seaweedClient{cc}
  3728. }
  3729. func (c *seaweedClient) SendHeartbeat(ctx context.Context, opts ...grpc.CallOption) (Seaweed_SendHeartbeatClient, error) {
  3730. stream, err := c.cc.NewStream(ctx, &_Seaweed_serviceDesc.Streams[0], "/master_pb.Seaweed/SendHeartbeat", opts...)
  3731. if err != nil {
  3732. return nil, err
  3733. }
  3734. x := &seaweedSendHeartbeatClient{stream}
  3735. return x, nil
  3736. }
  3737. type Seaweed_SendHeartbeatClient interface {
  3738. Send(*Heartbeat) error
  3739. Recv() (*HeartbeatResponse, error)
  3740. grpc.ClientStream
  3741. }
  3742. type seaweedSendHeartbeatClient struct {
  3743. grpc.ClientStream
  3744. }
  3745. func (x *seaweedSendHeartbeatClient) Send(m *Heartbeat) error {
  3746. return x.ClientStream.SendMsg(m)
  3747. }
  3748. func (x *seaweedSendHeartbeatClient) Recv() (*HeartbeatResponse, error) {
  3749. m := new(HeartbeatResponse)
  3750. if err := x.ClientStream.RecvMsg(m); err != nil {
  3751. return nil, err
  3752. }
  3753. return m, nil
  3754. }
  3755. func (c *seaweedClient) KeepConnected(ctx context.Context, opts ...grpc.CallOption) (Seaweed_KeepConnectedClient, error) {
  3756. stream, err := c.cc.NewStream(ctx, &_Seaweed_serviceDesc.Streams[1], "/master_pb.Seaweed/KeepConnected", opts...)
  3757. if err != nil {
  3758. return nil, err
  3759. }
  3760. x := &seaweedKeepConnectedClient{stream}
  3761. return x, nil
  3762. }
  3763. type Seaweed_KeepConnectedClient interface {
  3764. Send(*KeepConnectedRequest) error
  3765. Recv() (*VolumeLocation, error)
  3766. grpc.ClientStream
  3767. }
  3768. type seaweedKeepConnectedClient struct {
  3769. grpc.ClientStream
  3770. }
  3771. func (x *seaweedKeepConnectedClient) Send(m *KeepConnectedRequest) error {
  3772. return x.ClientStream.SendMsg(m)
  3773. }
  3774. func (x *seaweedKeepConnectedClient) Recv() (*VolumeLocation, error) {
  3775. m := new(VolumeLocation)
  3776. if err := x.ClientStream.RecvMsg(m); err != nil {
  3777. return nil, err
  3778. }
  3779. return m, nil
  3780. }
  3781. func (c *seaweedClient) LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error) {
  3782. out := new(LookupVolumeResponse)
  3783. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/LookupVolume", in, out, opts...)
  3784. if err != nil {
  3785. return nil, err
  3786. }
  3787. return out, nil
  3788. }
  3789. func (c *seaweedClient) Assign(ctx context.Context, in *AssignRequest, opts ...grpc.CallOption) (*AssignResponse, error) {
  3790. out := new(AssignResponse)
  3791. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/Assign", in, out, opts...)
  3792. if err != nil {
  3793. return nil, err
  3794. }
  3795. return out, nil
  3796. }
  3797. func (c *seaweedClient) Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error) {
  3798. out := new(StatisticsResponse)
  3799. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/Statistics", in, out, opts...)
  3800. if err != nil {
  3801. return nil, err
  3802. }
  3803. return out, nil
  3804. }
  3805. func (c *seaweedClient) CollectionList(ctx context.Context, in *CollectionListRequest, opts ...grpc.CallOption) (*CollectionListResponse, error) {
  3806. out := new(CollectionListResponse)
  3807. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/CollectionList", in, out, opts...)
  3808. if err != nil {
  3809. return nil, err
  3810. }
  3811. return out, nil
  3812. }
  3813. func (c *seaweedClient) CollectionDelete(ctx context.Context, in *CollectionDeleteRequest, opts ...grpc.CallOption) (*CollectionDeleteResponse, error) {
  3814. out := new(CollectionDeleteResponse)
  3815. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/CollectionDelete", in, out, opts...)
  3816. if err != nil {
  3817. return nil, err
  3818. }
  3819. return out, nil
  3820. }
  3821. func (c *seaweedClient) VolumeList(ctx context.Context, in *VolumeListRequest, opts ...grpc.CallOption) (*VolumeListResponse, error) {
  3822. out := new(VolumeListResponse)
  3823. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/VolumeList", in, out, opts...)
  3824. if err != nil {
  3825. return nil, err
  3826. }
  3827. return out, nil
  3828. }
  3829. func (c *seaweedClient) LookupEcVolume(ctx context.Context, in *LookupEcVolumeRequest, opts ...grpc.CallOption) (*LookupEcVolumeResponse, error) {
  3830. out := new(LookupEcVolumeResponse)
  3831. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/LookupEcVolume", in, out, opts...)
  3832. if err != nil {
  3833. return nil, err
  3834. }
  3835. return out, nil
  3836. }
  3837. func (c *seaweedClient) VacuumVolume(ctx context.Context, in *VacuumVolumeRequest, opts ...grpc.CallOption) (*VacuumVolumeResponse, error) {
  3838. out := new(VacuumVolumeResponse)
  3839. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/VacuumVolume", in, out, opts...)
  3840. if err != nil {
  3841. return nil, err
  3842. }
  3843. return out, nil
  3844. }
  3845. func (c *seaweedClient) GetMasterConfiguration(ctx context.Context, in *GetMasterConfigurationRequest, opts ...grpc.CallOption) (*GetMasterConfigurationResponse, error) {
  3846. out := new(GetMasterConfigurationResponse)
  3847. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/GetMasterConfiguration", in, out, opts...)
  3848. if err != nil {
  3849. return nil, err
  3850. }
  3851. return out, nil
  3852. }
  3853. func (c *seaweedClient) ListMasterClients(ctx context.Context, in *ListMasterClientsRequest, opts ...grpc.CallOption) (*ListMasterClientsResponse, error) {
  3854. out := new(ListMasterClientsResponse)
  3855. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/ListMasterClients", in, out, opts...)
  3856. if err != nil {
  3857. return nil, err
  3858. }
  3859. return out, nil
  3860. }
  3861. func (c *seaweedClient) LeaseAdminToken(ctx context.Context, in *LeaseAdminTokenRequest, opts ...grpc.CallOption) (*LeaseAdminTokenResponse, error) {
  3862. out := new(LeaseAdminTokenResponse)
  3863. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/LeaseAdminToken", in, out, opts...)
  3864. if err != nil {
  3865. return nil, err
  3866. }
  3867. return out, nil
  3868. }
  3869. func (c *seaweedClient) ReleaseAdminToken(ctx context.Context, in *ReleaseAdminTokenRequest, opts ...grpc.CallOption) (*ReleaseAdminTokenResponse, error) {
  3870. out := new(ReleaseAdminTokenResponse)
  3871. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/ReleaseAdminToken", in, out, opts...)
  3872. if err != nil {
  3873. return nil, err
  3874. }
  3875. return out, nil
  3876. }
  3877. // SeaweedServer is the server API for Seaweed service.
  3878. type SeaweedServer interface {
  3879. SendHeartbeat(Seaweed_SendHeartbeatServer) error
  3880. KeepConnected(Seaweed_KeepConnectedServer) error
  3881. LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error)
  3882. Assign(context.Context, *AssignRequest) (*AssignResponse, error)
  3883. Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error)
  3884. CollectionList(context.Context, *CollectionListRequest) (*CollectionListResponse, error)
  3885. CollectionDelete(context.Context, *CollectionDeleteRequest) (*CollectionDeleteResponse, error)
  3886. VolumeList(context.Context, *VolumeListRequest) (*VolumeListResponse, error)
  3887. LookupEcVolume(context.Context, *LookupEcVolumeRequest) (*LookupEcVolumeResponse, error)
  3888. VacuumVolume(context.Context, *VacuumVolumeRequest) (*VacuumVolumeResponse, error)
  3889. GetMasterConfiguration(context.Context, *GetMasterConfigurationRequest) (*GetMasterConfigurationResponse, error)
  3890. ListMasterClients(context.Context, *ListMasterClientsRequest) (*ListMasterClientsResponse, error)
  3891. LeaseAdminToken(context.Context, *LeaseAdminTokenRequest) (*LeaseAdminTokenResponse, error)
  3892. ReleaseAdminToken(context.Context, *ReleaseAdminTokenRequest) (*ReleaseAdminTokenResponse, error)
  3893. }
  3894. // UnimplementedSeaweedServer can be embedded to have forward compatible implementations.
  3895. type UnimplementedSeaweedServer struct {
  3896. }
  3897. func (*UnimplementedSeaweedServer) SendHeartbeat(Seaweed_SendHeartbeatServer) error {
  3898. return status.Errorf(codes.Unimplemented, "method SendHeartbeat not implemented")
  3899. }
  3900. func (*UnimplementedSeaweedServer) KeepConnected(Seaweed_KeepConnectedServer) error {
  3901. return status.Errorf(codes.Unimplemented, "method KeepConnected not implemented")
  3902. }
  3903. func (*UnimplementedSeaweedServer) LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error) {
  3904. return nil, status.Errorf(codes.Unimplemented, "method LookupVolume not implemented")
  3905. }
  3906. func (*UnimplementedSeaweedServer) Assign(context.Context, *AssignRequest) (*AssignResponse, error) {
  3907. return nil, status.Errorf(codes.Unimplemented, "method Assign not implemented")
  3908. }
  3909. func (*UnimplementedSeaweedServer) Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error) {
  3910. return nil, status.Errorf(codes.Unimplemented, "method Statistics not implemented")
  3911. }
  3912. func (*UnimplementedSeaweedServer) CollectionList(context.Context, *CollectionListRequest) (*CollectionListResponse, error) {
  3913. return nil, status.Errorf(codes.Unimplemented, "method CollectionList not implemented")
  3914. }
  3915. func (*UnimplementedSeaweedServer) CollectionDelete(context.Context, *CollectionDeleteRequest) (*CollectionDeleteResponse, error) {
  3916. return nil, status.Errorf(codes.Unimplemented, "method CollectionDelete not implemented")
  3917. }
  3918. func (*UnimplementedSeaweedServer) VolumeList(context.Context, *VolumeListRequest) (*VolumeListResponse, error) {
  3919. return nil, status.Errorf(codes.Unimplemented, "method VolumeList not implemented")
  3920. }
  3921. func (*UnimplementedSeaweedServer) LookupEcVolume(context.Context, *LookupEcVolumeRequest) (*LookupEcVolumeResponse, error) {
  3922. return nil, status.Errorf(codes.Unimplemented, "method LookupEcVolume not implemented")
  3923. }
  3924. func (*UnimplementedSeaweedServer) VacuumVolume(context.Context, *VacuumVolumeRequest) (*VacuumVolumeResponse, error) {
  3925. return nil, status.Errorf(codes.Unimplemented, "method VacuumVolume not implemented")
  3926. }
  3927. func (*UnimplementedSeaweedServer) GetMasterConfiguration(context.Context, *GetMasterConfigurationRequest) (*GetMasterConfigurationResponse, error) {
  3928. return nil, status.Errorf(codes.Unimplemented, "method GetMasterConfiguration not implemented")
  3929. }
  3930. func (*UnimplementedSeaweedServer) ListMasterClients(context.Context, *ListMasterClientsRequest) (*ListMasterClientsResponse, error) {
  3931. return nil, status.Errorf(codes.Unimplemented, "method ListMasterClients not implemented")
  3932. }
  3933. func (*UnimplementedSeaweedServer) LeaseAdminToken(context.Context, *LeaseAdminTokenRequest) (*LeaseAdminTokenResponse, error) {
  3934. return nil, status.Errorf(codes.Unimplemented, "method LeaseAdminToken not implemented")
  3935. }
  3936. func (*UnimplementedSeaweedServer) ReleaseAdminToken(context.Context, *ReleaseAdminTokenRequest) (*ReleaseAdminTokenResponse, error) {
  3937. return nil, status.Errorf(codes.Unimplemented, "method ReleaseAdminToken not implemented")
  3938. }
  3939. func RegisterSeaweedServer(s *grpc.Server, srv SeaweedServer) {
  3940. s.RegisterService(&_Seaweed_serviceDesc, srv)
  3941. }
  3942. func _Seaweed_SendHeartbeat_Handler(srv interface{}, stream grpc.ServerStream) error {
  3943. return srv.(SeaweedServer).SendHeartbeat(&seaweedSendHeartbeatServer{stream})
  3944. }
  3945. type Seaweed_SendHeartbeatServer interface {
  3946. Send(*HeartbeatResponse) error
  3947. Recv() (*Heartbeat, error)
  3948. grpc.ServerStream
  3949. }
  3950. type seaweedSendHeartbeatServer struct {
  3951. grpc.ServerStream
  3952. }
  3953. func (x *seaweedSendHeartbeatServer) Send(m *HeartbeatResponse) error {
  3954. return x.ServerStream.SendMsg(m)
  3955. }
  3956. func (x *seaweedSendHeartbeatServer) Recv() (*Heartbeat, error) {
  3957. m := new(Heartbeat)
  3958. if err := x.ServerStream.RecvMsg(m); err != nil {
  3959. return nil, err
  3960. }
  3961. return m, nil
  3962. }
  3963. func _Seaweed_KeepConnected_Handler(srv interface{}, stream grpc.ServerStream) error {
  3964. return srv.(SeaweedServer).KeepConnected(&seaweedKeepConnectedServer{stream})
  3965. }
  3966. type Seaweed_KeepConnectedServer interface {
  3967. Send(*VolumeLocation) error
  3968. Recv() (*KeepConnectedRequest, error)
  3969. grpc.ServerStream
  3970. }
  3971. type seaweedKeepConnectedServer struct {
  3972. grpc.ServerStream
  3973. }
  3974. func (x *seaweedKeepConnectedServer) Send(m *VolumeLocation) error {
  3975. return x.ServerStream.SendMsg(m)
  3976. }
  3977. func (x *seaweedKeepConnectedServer) Recv() (*KeepConnectedRequest, error) {
  3978. m := new(KeepConnectedRequest)
  3979. if err := x.ServerStream.RecvMsg(m); err != nil {
  3980. return nil, err
  3981. }
  3982. return m, nil
  3983. }
  3984. func _Seaweed_LookupVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3985. in := new(LookupVolumeRequest)
  3986. if err := dec(in); err != nil {
  3987. return nil, err
  3988. }
  3989. if interceptor == nil {
  3990. return srv.(SeaweedServer).LookupVolume(ctx, in)
  3991. }
  3992. info := &grpc.UnaryServerInfo{
  3993. Server: srv,
  3994. FullMethod: "/master_pb.Seaweed/LookupVolume",
  3995. }
  3996. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3997. return srv.(SeaweedServer).LookupVolume(ctx, req.(*LookupVolumeRequest))
  3998. }
  3999. return interceptor(ctx, in, info, handler)
  4000. }
  4001. func _Seaweed_Assign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4002. in := new(AssignRequest)
  4003. if err := dec(in); err != nil {
  4004. return nil, err
  4005. }
  4006. if interceptor == nil {
  4007. return srv.(SeaweedServer).Assign(ctx, in)
  4008. }
  4009. info := &grpc.UnaryServerInfo{
  4010. Server: srv,
  4011. FullMethod: "/master_pb.Seaweed/Assign",
  4012. }
  4013. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4014. return srv.(SeaweedServer).Assign(ctx, req.(*AssignRequest))
  4015. }
  4016. return interceptor(ctx, in, info, handler)
  4017. }
  4018. func _Seaweed_Statistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4019. in := new(StatisticsRequest)
  4020. if err := dec(in); err != nil {
  4021. return nil, err
  4022. }
  4023. if interceptor == nil {
  4024. return srv.(SeaweedServer).Statistics(ctx, in)
  4025. }
  4026. info := &grpc.UnaryServerInfo{
  4027. Server: srv,
  4028. FullMethod: "/master_pb.Seaweed/Statistics",
  4029. }
  4030. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4031. return srv.(SeaweedServer).Statistics(ctx, req.(*StatisticsRequest))
  4032. }
  4033. return interceptor(ctx, in, info, handler)
  4034. }
  4035. func _Seaweed_CollectionList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4036. in := new(CollectionListRequest)
  4037. if err := dec(in); err != nil {
  4038. return nil, err
  4039. }
  4040. if interceptor == nil {
  4041. return srv.(SeaweedServer).CollectionList(ctx, in)
  4042. }
  4043. info := &grpc.UnaryServerInfo{
  4044. Server: srv,
  4045. FullMethod: "/master_pb.Seaweed/CollectionList",
  4046. }
  4047. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4048. return srv.(SeaweedServer).CollectionList(ctx, req.(*CollectionListRequest))
  4049. }
  4050. return interceptor(ctx, in, info, handler)
  4051. }
  4052. func _Seaweed_CollectionDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4053. in := new(CollectionDeleteRequest)
  4054. if err := dec(in); err != nil {
  4055. return nil, err
  4056. }
  4057. if interceptor == nil {
  4058. return srv.(SeaweedServer).CollectionDelete(ctx, in)
  4059. }
  4060. info := &grpc.UnaryServerInfo{
  4061. Server: srv,
  4062. FullMethod: "/master_pb.Seaweed/CollectionDelete",
  4063. }
  4064. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4065. return srv.(SeaweedServer).CollectionDelete(ctx, req.(*CollectionDeleteRequest))
  4066. }
  4067. return interceptor(ctx, in, info, handler)
  4068. }
  4069. func _Seaweed_VolumeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4070. in := new(VolumeListRequest)
  4071. if err := dec(in); err != nil {
  4072. return nil, err
  4073. }
  4074. if interceptor == nil {
  4075. return srv.(SeaweedServer).VolumeList(ctx, in)
  4076. }
  4077. info := &grpc.UnaryServerInfo{
  4078. Server: srv,
  4079. FullMethod: "/master_pb.Seaweed/VolumeList",
  4080. }
  4081. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4082. return srv.(SeaweedServer).VolumeList(ctx, req.(*VolumeListRequest))
  4083. }
  4084. return interceptor(ctx, in, info, handler)
  4085. }
  4086. func _Seaweed_LookupEcVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4087. in := new(LookupEcVolumeRequest)
  4088. if err := dec(in); err != nil {
  4089. return nil, err
  4090. }
  4091. if interceptor == nil {
  4092. return srv.(SeaweedServer).LookupEcVolume(ctx, in)
  4093. }
  4094. info := &grpc.UnaryServerInfo{
  4095. Server: srv,
  4096. FullMethod: "/master_pb.Seaweed/LookupEcVolume",
  4097. }
  4098. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4099. return srv.(SeaweedServer).LookupEcVolume(ctx, req.(*LookupEcVolumeRequest))
  4100. }
  4101. return interceptor(ctx, in, info, handler)
  4102. }
  4103. func _Seaweed_VacuumVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4104. in := new(VacuumVolumeRequest)
  4105. if err := dec(in); err != nil {
  4106. return nil, err
  4107. }
  4108. if interceptor == nil {
  4109. return srv.(SeaweedServer).VacuumVolume(ctx, in)
  4110. }
  4111. info := &grpc.UnaryServerInfo{
  4112. Server: srv,
  4113. FullMethod: "/master_pb.Seaweed/VacuumVolume",
  4114. }
  4115. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4116. return srv.(SeaweedServer).VacuumVolume(ctx, req.(*VacuumVolumeRequest))
  4117. }
  4118. return interceptor(ctx, in, info, handler)
  4119. }
  4120. func _Seaweed_GetMasterConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4121. in := new(GetMasterConfigurationRequest)
  4122. if err := dec(in); err != nil {
  4123. return nil, err
  4124. }
  4125. if interceptor == nil {
  4126. return srv.(SeaweedServer).GetMasterConfiguration(ctx, in)
  4127. }
  4128. info := &grpc.UnaryServerInfo{
  4129. Server: srv,
  4130. FullMethod: "/master_pb.Seaweed/GetMasterConfiguration",
  4131. }
  4132. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4133. return srv.(SeaweedServer).GetMasterConfiguration(ctx, req.(*GetMasterConfigurationRequest))
  4134. }
  4135. return interceptor(ctx, in, info, handler)
  4136. }
  4137. func _Seaweed_ListMasterClients_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4138. in := new(ListMasterClientsRequest)
  4139. if err := dec(in); err != nil {
  4140. return nil, err
  4141. }
  4142. if interceptor == nil {
  4143. return srv.(SeaweedServer).ListMasterClients(ctx, in)
  4144. }
  4145. info := &grpc.UnaryServerInfo{
  4146. Server: srv,
  4147. FullMethod: "/master_pb.Seaweed/ListMasterClients",
  4148. }
  4149. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4150. return srv.(SeaweedServer).ListMasterClients(ctx, req.(*ListMasterClientsRequest))
  4151. }
  4152. return interceptor(ctx, in, info, handler)
  4153. }
  4154. func _Seaweed_LeaseAdminToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4155. in := new(LeaseAdminTokenRequest)
  4156. if err := dec(in); err != nil {
  4157. return nil, err
  4158. }
  4159. if interceptor == nil {
  4160. return srv.(SeaweedServer).LeaseAdminToken(ctx, in)
  4161. }
  4162. info := &grpc.UnaryServerInfo{
  4163. Server: srv,
  4164. FullMethod: "/master_pb.Seaweed/LeaseAdminToken",
  4165. }
  4166. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4167. return srv.(SeaweedServer).LeaseAdminToken(ctx, req.(*LeaseAdminTokenRequest))
  4168. }
  4169. return interceptor(ctx, in, info, handler)
  4170. }
  4171. func _Seaweed_ReleaseAdminToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4172. in := new(ReleaseAdminTokenRequest)
  4173. if err := dec(in); err != nil {
  4174. return nil, err
  4175. }
  4176. if interceptor == nil {
  4177. return srv.(SeaweedServer).ReleaseAdminToken(ctx, in)
  4178. }
  4179. info := &grpc.UnaryServerInfo{
  4180. Server: srv,
  4181. FullMethod: "/master_pb.Seaweed/ReleaseAdminToken",
  4182. }
  4183. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4184. return srv.(SeaweedServer).ReleaseAdminToken(ctx, req.(*ReleaseAdminTokenRequest))
  4185. }
  4186. return interceptor(ctx, in, info, handler)
  4187. }
  4188. var _Seaweed_serviceDesc = grpc.ServiceDesc{
  4189. ServiceName: "master_pb.Seaweed",
  4190. HandlerType: (*SeaweedServer)(nil),
  4191. Methods: []grpc.MethodDesc{
  4192. {
  4193. MethodName: "LookupVolume",
  4194. Handler: _Seaweed_LookupVolume_Handler,
  4195. },
  4196. {
  4197. MethodName: "Assign",
  4198. Handler: _Seaweed_Assign_Handler,
  4199. },
  4200. {
  4201. MethodName: "Statistics",
  4202. Handler: _Seaweed_Statistics_Handler,
  4203. },
  4204. {
  4205. MethodName: "CollectionList",
  4206. Handler: _Seaweed_CollectionList_Handler,
  4207. },
  4208. {
  4209. MethodName: "CollectionDelete",
  4210. Handler: _Seaweed_CollectionDelete_Handler,
  4211. },
  4212. {
  4213. MethodName: "VolumeList",
  4214. Handler: _Seaweed_VolumeList_Handler,
  4215. },
  4216. {
  4217. MethodName: "LookupEcVolume",
  4218. Handler: _Seaweed_LookupEcVolume_Handler,
  4219. },
  4220. {
  4221. MethodName: "VacuumVolume",
  4222. Handler: _Seaweed_VacuumVolume_Handler,
  4223. },
  4224. {
  4225. MethodName: "GetMasterConfiguration",
  4226. Handler: _Seaweed_GetMasterConfiguration_Handler,
  4227. },
  4228. {
  4229. MethodName: "ListMasterClients",
  4230. Handler: _Seaweed_ListMasterClients_Handler,
  4231. },
  4232. {
  4233. MethodName: "LeaseAdminToken",
  4234. Handler: _Seaweed_LeaseAdminToken_Handler,
  4235. },
  4236. {
  4237. MethodName: "ReleaseAdminToken",
  4238. Handler: _Seaweed_ReleaseAdminToken_Handler,
  4239. },
  4240. },
  4241. Streams: []grpc.StreamDesc{
  4242. {
  4243. StreamName: "SendHeartbeat",
  4244. Handler: _Seaweed_SendHeartbeat_Handler,
  4245. ServerStreams: true,
  4246. ClientStreams: true,
  4247. },
  4248. {
  4249. StreamName: "KeepConnected",
  4250. Handler: _Seaweed_KeepConnected_Handler,
  4251. ServerStreams: true,
  4252. ClientStreams: true,
  4253. },
  4254. },
  4255. Metadata: "master.proto",
  4256. }