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.

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