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.

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