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.

4765 lines
174 KiB

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