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.

4564 lines
165 KiB

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