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.

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