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.

5034 lines
184 KiB

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