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.

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