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.

4563 lines
164 KiB

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