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.

4543 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
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. }
  1933. func (x *GetMasterConfigurationResponse) Reset() {
  1934. *x = GetMasterConfigurationResponse{}
  1935. if protoimpl.UnsafeEnabled {
  1936. mi := &file_master_proto_msgTypes[32]
  1937. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1938. ms.StoreMessageInfo(mi)
  1939. }
  1940. }
  1941. func (x *GetMasterConfigurationResponse) String() string {
  1942. return protoimpl.X.MessageStringOf(x)
  1943. }
  1944. func (*GetMasterConfigurationResponse) ProtoMessage() {}
  1945. func (x *GetMasterConfigurationResponse) ProtoReflect() protoreflect.Message {
  1946. mi := &file_master_proto_msgTypes[32]
  1947. if protoimpl.UnsafeEnabled && x != nil {
  1948. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1949. if ms.LoadMessageInfo() == nil {
  1950. ms.StoreMessageInfo(mi)
  1951. }
  1952. return ms
  1953. }
  1954. return mi.MessageOf(x)
  1955. }
  1956. // Deprecated: Use GetMasterConfigurationResponse.ProtoReflect.Descriptor instead.
  1957. func (*GetMasterConfigurationResponse) Descriptor() ([]byte, []int) {
  1958. return file_master_proto_rawDescGZIP(), []int{32}
  1959. }
  1960. func (x *GetMasterConfigurationResponse) GetMetricsAddress() string {
  1961. if x != nil {
  1962. return x.MetricsAddress
  1963. }
  1964. return ""
  1965. }
  1966. func (x *GetMasterConfigurationResponse) GetMetricsIntervalSeconds() uint32 {
  1967. if x != nil {
  1968. return x.MetricsIntervalSeconds
  1969. }
  1970. return 0
  1971. }
  1972. func (x *GetMasterConfigurationResponse) GetStorageBackends() []*StorageBackend {
  1973. if x != nil {
  1974. return x.StorageBackends
  1975. }
  1976. return nil
  1977. }
  1978. type ListMasterClientsRequest struct {
  1979. state protoimpl.MessageState
  1980. sizeCache protoimpl.SizeCache
  1981. unknownFields protoimpl.UnknownFields
  1982. ClientType string `protobuf:"bytes,1,opt,name=client_type,json=clientType,proto3" json:"client_type,omitempty"`
  1983. }
  1984. func (x *ListMasterClientsRequest) Reset() {
  1985. *x = ListMasterClientsRequest{}
  1986. if protoimpl.UnsafeEnabled {
  1987. mi := &file_master_proto_msgTypes[33]
  1988. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1989. ms.StoreMessageInfo(mi)
  1990. }
  1991. }
  1992. func (x *ListMasterClientsRequest) String() string {
  1993. return protoimpl.X.MessageStringOf(x)
  1994. }
  1995. func (*ListMasterClientsRequest) ProtoMessage() {}
  1996. func (x *ListMasterClientsRequest) ProtoReflect() protoreflect.Message {
  1997. mi := &file_master_proto_msgTypes[33]
  1998. if protoimpl.UnsafeEnabled && x != nil {
  1999. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2000. if ms.LoadMessageInfo() == nil {
  2001. ms.StoreMessageInfo(mi)
  2002. }
  2003. return ms
  2004. }
  2005. return mi.MessageOf(x)
  2006. }
  2007. // Deprecated: Use ListMasterClientsRequest.ProtoReflect.Descriptor instead.
  2008. func (*ListMasterClientsRequest) Descriptor() ([]byte, []int) {
  2009. return file_master_proto_rawDescGZIP(), []int{33}
  2010. }
  2011. func (x *ListMasterClientsRequest) GetClientType() string {
  2012. if x != nil {
  2013. return x.ClientType
  2014. }
  2015. return ""
  2016. }
  2017. type ListMasterClientsResponse struct {
  2018. state protoimpl.MessageState
  2019. sizeCache protoimpl.SizeCache
  2020. unknownFields protoimpl.UnknownFields
  2021. GrpcAddresses []string `protobuf:"bytes,1,rep,name=grpc_addresses,json=grpcAddresses,proto3" json:"grpc_addresses,omitempty"`
  2022. }
  2023. func (x *ListMasterClientsResponse) Reset() {
  2024. *x = ListMasterClientsResponse{}
  2025. if protoimpl.UnsafeEnabled {
  2026. mi := &file_master_proto_msgTypes[34]
  2027. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2028. ms.StoreMessageInfo(mi)
  2029. }
  2030. }
  2031. func (x *ListMasterClientsResponse) String() string {
  2032. return protoimpl.X.MessageStringOf(x)
  2033. }
  2034. func (*ListMasterClientsResponse) ProtoMessage() {}
  2035. func (x *ListMasterClientsResponse) ProtoReflect() protoreflect.Message {
  2036. mi := &file_master_proto_msgTypes[34]
  2037. if protoimpl.UnsafeEnabled && x != nil {
  2038. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2039. if ms.LoadMessageInfo() == nil {
  2040. ms.StoreMessageInfo(mi)
  2041. }
  2042. return ms
  2043. }
  2044. return mi.MessageOf(x)
  2045. }
  2046. // Deprecated: Use ListMasterClientsResponse.ProtoReflect.Descriptor instead.
  2047. func (*ListMasterClientsResponse) Descriptor() ([]byte, []int) {
  2048. return file_master_proto_rawDescGZIP(), []int{34}
  2049. }
  2050. func (x *ListMasterClientsResponse) GetGrpcAddresses() []string {
  2051. if x != nil {
  2052. return x.GrpcAddresses
  2053. }
  2054. return nil
  2055. }
  2056. type LeaseAdminTokenRequest struct {
  2057. state protoimpl.MessageState
  2058. sizeCache protoimpl.SizeCache
  2059. unknownFields protoimpl.UnknownFields
  2060. PreviousToken int64 `protobuf:"varint,1,opt,name=previous_token,json=previousToken,proto3" json:"previous_token,omitempty"`
  2061. PreviousLockTime int64 `protobuf:"varint,2,opt,name=previous_lock_time,json=previousLockTime,proto3" json:"previous_lock_time,omitempty"`
  2062. LockName string `protobuf:"bytes,3,opt,name=lock_name,json=lockName,proto3" json:"lock_name,omitempty"`
  2063. }
  2064. func (x *LeaseAdminTokenRequest) Reset() {
  2065. *x = LeaseAdminTokenRequest{}
  2066. if protoimpl.UnsafeEnabled {
  2067. mi := &file_master_proto_msgTypes[35]
  2068. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2069. ms.StoreMessageInfo(mi)
  2070. }
  2071. }
  2072. func (x *LeaseAdminTokenRequest) String() string {
  2073. return protoimpl.X.MessageStringOf(x)
  2074. }
  2075. func (*LeaseAdminTokenRequest) ProtoMessage() {}
  2076. func (x *LeaseAdminTokenRequest) ProtoReflect() protoreflect.Message {
  2077. mi := &file_master_proto_msgTypes[35]
  2078. if protoimpl.UnsafeEnabled && x != nil {
  2079. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2080. if ms.LoadMessageInfo() == nil {
  2081. ms.StoreMessageInfo(mi)
  2082. }
  2083. return ms
  2084. }
  2085. return mi.MessageOf(x)
  2086. }
  2087. // Deprecated: Use LeaseAdminTokenRequest.ProtoReflect.Descriptor instead.
  2088. func (*LeaseAdminTokenRequest) Descriptor() ([]byte, []int) {
  2089. return file_master_proto_rawDescGZIP(), []int{35}
  2090. }
  2091. func (x *LeaseAdminTokenRequest) GetPreviousToken() int64 {
  2092. if x != nil {
  2093. return x.PreviousToken
  2094. }
  2095. return 0
  2096. }
  2097. func (x *LeaseAdminTokenRequest) GetPreviousLockTime() int64 {
  2098. if x != nil {
  2099. return x.PreviousLockTime
  2100. }
  2101. return 0
  2102. }
  2103. func (x *LeaseAdminTokenRequest) GetLockName() string {
  2104. if x != nil {
  2105. return x.LockName
  2106. }
  2107. return ""
  2108. }
  2109. type LeaseAdminTokenResponse struct {
  2110. state protoimpl.MessageState
  2111. sizeCache protoimpl.SizeCache
  2112. unknownFields protoimpl.UnknownFields
  2113. Token int64 `protobuf:"varint,1,opt,name=token,proto3" json:"token,omitempty"`
  2114. LockTsNs int64 `protobuf:"varint,2,opt,name=lock_ts_ns,json=lockTsNs,proto3" json:"lock_ts_ns,omitempty"`
  2115. }
  2116. func (x *LeaseAdminTokenResponse) Reset() {
  2117. *x = LeaseAdminTokenResponse{}
  2118. if protoimpl.UnsafeEnabled {
  2119. mi := &file_master_proto_msgTypes[36]
  2120. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2121. ms.StoreMessageInfo(mi)
  2122. }
  2123. }
  2124. func (x *LeaseAdminTokenResponse) String() string {
  2125. return protoimpl.X.MessageStringOf(x)
  2126. }
  2127. func (*LeaseAdminTokenResponse) ProtoMessage() {}
  2128. func (x *LeaseAdminTokenResponse) ProtoReflect() protoreflect.Message {
  2129. mi := &file_master_proto_msgTypes[36]
  2130. if protoimpl.UnsafeEnabled && x != nil {
  2131. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2132. if ms.LoadMessageInfo() == nil {
  2133. ms.StoreMessageInfo(mi)
  2134. }
  2135. return ms
  2136. }
  2137. return mi.MessageOf(x)
  2138. }
  2139. // Deprecated: Use LeaseAdminTokenResponse.ProtoReflect.Descriptor instead.
  2140. func (*LeaseAdminTokenResponse) Descriptor() ([]byte, []int) {
  2141. return file_master_proto_rawDescGZIP(), []int{36}
  2142. }
  2143. func (x *LeaseAdminTokenResponse) GetToken() int64 {
  2144. if x != nil {
  2145. return x.Token
  2146. }
  2147. return 0
  2148. }
  2149. func (x *LeaseAdminTokenResponse) GetLockTsNs() int64 {
  2150. if x != nil {
  2151. return x.LockTsNs
  2152. }
  2153. return 0
  2154. }
  2155. type ReleaseAdminTokenRequest struct {
  2156. state protoimpl.MessageState
  2157. sizeCache protoimpl.SizeCache
  2158. unknownFields protoimpl.UnknownFields
  2159. PreviousToken int64 `protobuf:"varint,1,opt,name=previous_token,json=previousToken,proto3" json:"previous_token,omitempty"`
  2160. PreviousLockTime int64 `protobuf:"varint,2,opt,name=previous_lock_time,json=previousLockTime,proto3" json:"previous_lock_time,omitempty"`
  2161. LockName string `protobuf:"bytes,3,opt,name=lock_name,json=lockName,proto3" json:"lock_name,omitempty"`
  2162. }
  2163. func (x *ReleaseAdminTokenRequest) Reset() {
  2164. *x = ReleaseAdminTokenRequest{}
  2165. if protoimpl.UnsafeEnabled {
  2166. mi := &file_master_proto_msgTypes[37]
  2167. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2168. ms.StoreMessageInfo(mi)
  2169. }
  2170. }
  2171. func (x *ReleaseAdminTokenRequest) String() string {
  2172. return protoimpl.X.MessageStringOf(x)
  2173. }
  2174. func (*ReleaseAdminTokenRequest) ProtoMessage() {}
  2175. func (x *ReleaseAdminTokenRequest) ProtoReflect() protoreflect.Message {
  2176. mi := &file_master_proto_msgTypes[37]
  2177. if protoimpl.UnsafeEnabled && x != nil {
  2178. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2179. if ms.LoadMessageInfo() == nil {
  2180. ms.StoreMessageInfo(mi)
  2181. }
  2182. return ms
  2183. }
  2184. return mi.MessageOf(x)
  2185. }
  2186. // Deprecated: Use ReleaseAdminTokenRequest.ProtoReflect.Descriptor instead.
  2187. func (*ReleaseAdminTokenRequest) Descriptor() ([]byte, []int) {
  2188. return file_master_proto_rawDescGZIP(), []int{37}
  2189. }
  2190. func (x *ReleaseAdminTokenRequest) GetPreviousToken() int64 {
  2191. if x != nil {
  2192. return x.PreviousToken
  2193. }
  2194. return 0
  2195. }
  2196. func (x *ReleaseAdminTokenRequest) GetPreviousLockTime() int64 {
  2197. if x != nil {
  2198. return x.PreviousLockTime
  2199. }
  2200. return 0
  2201. }
  2202. func (x *ReleaseAdminTokenRequest) GetLockName() string {
  2203. if x != nil {
  2204. return x.LockName
  2205. }
  2206. return ""
  2207. }
  2208. type ReleaseAdminTokenResponse struct {
  2209. state protoimpl.MessageState
  2210. sizeCache protoimpl.SizeCache
  2211. unknownFields protoimpl.UnknownFields
  2212. }
  2213. func (x *ReleaseAdminTokenResponse) Reset() {
  2214. *x = ReleaseAdminTokenResponse{}
  2215. if protoimpl.UnsafeEnabled {
  2216. mi := &file_master_proto_msgTypes[38]
  2217. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2218. ms.StoreMessageInfo(mi)
  2219. }
  2220. }
  2221. func (x *ReleaseAdminTokenResponse) String() string {
  2222. return protoimpl.X.MessageStringOf(x)
  2223. }
  2224. func (*ReleaseAdminTokenResponse) ProtoMessage() {}
  2225. func (x *ReleaseAdminTokenResponse) ProtoReflect() protoreflect.Message {
  2226. mi := &file_master_proto_msgTypes[38]
  2227. if protoimpl.UnsafeEnabled && x != nil {
  2228. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2229. if ms.LoadMessageInfo() == nil {
  2230. ms.StoreMessageInfo(mi)
  2231. }
  2232. return ms
  2233. }
  2234. return mi.MessageOf(x)
  2235. }
  2236. // Deprecated: Use ReleaseAdminTokenResponse.ProtoReflect.Descriptor instead.
  2237. func (*ReleaseAdminTokenResponse) Descriptor() ([]byte, []int) {
  2238. return file_master_proto_rawDescGZIP(), []int{38}
  2239. }
  2240. type SuperBlockExtra_ErasureCoding struct {
  2241. state protoimpl.MessageState
  2242. sizeCache protoimpl.SizeCache
  2243. unknownFields protoimpl.UnknownFields
  2244. Data uint32 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"`
  2245. Parity uint32 `protobuf:"varint,2,opt,name=parity,proto3" json:"parity,omitempty"`
  2246. VolumeIds []uint32 `protobuf:"varint,3,rep,packed,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
  2247. }
  2248. func (x *SuperBlockExtra_ErasureCoding) Reset() {
  2249. *x = SuperBlockExtra_ErasureCoding{}
  2250. if protoimpl.UnsafeEnabled {
  2251. mi := &file_master_proto_msgTypes[40]
  2252. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2253. ms.StoreMessageInfo(mi)
  2254. }
  2255. }
  2256. func (x *SuperBlockExtra_ErasureCoding) String() string {
  2257. return protoimpl.X.MessageStringOf(x)
  2258. }
  2259. func (*SuperBlockExtra_ErasureCoding) ProtoMessage() {}
  2260. func (x *SuperBlockExtra_ErasureCoding) ProtoReflect() protoreflect.Message {
  2261. mi := &file_master_proto_msgTypes[40]
  2262. if protoimpl.UnsafeEnabled && x != nil {
  2263. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2264. if ms.LoadMessageInfo() == nil {
  2265. ms.StoreMessageInfo(mi)
  2266. }
  2267. return ms
  2268. }
  2269. return mi.MessageOf(x)
  2270. }
  2271. // Deprecated: Use SuperBlockExtra_ErasureCoding.ProtoReflect.Descriptor instead.
  2272. func (*SuperBlockExtra_ErasureCoding) Descriptor() ([]byte, []int) {
  2273. return file_master_proto_rawDescGZIP(), []int{7, 0}
  2274. }
  2275. func (x *SuperBlockExtra_ErasureCoding) GetData() uint32 {
  2276. if x != nil {
  2277. return x.Data
  2278. }
  2279. return 0
  2280. }
  2281. func (x *SuperBlockExtra_ErasureCoding) GetParity() uint32 {
  2282. if x != nil {
  2283. return x.Parity
  2284. }
  2285. return 0
  2286. }
  2287. func (x *SuperBlockExtra_ErasureCoding) GetVolumeIds() []uint32 {
  2288. if x != nil {
  2289. return x.VolumeIds
  2290. }
  2291. return nil
  2292. }
  2293. type LookupVolumeResponse_VolumeIdLocation struct {
  2294. state protoimpl.MessageState
  2295. sizeCache protoimpl.SizeCache
  2296. unknownFields protoimpl.UnknownFields
  2297. VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
  2298. Locations []*Location `protobuf:"bytes,2,rep,name=locations,proto3" json:"locations,omitempty"`
  2299. Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
  2300. }
  2301. func (x *LookupVolumeResponse_VolumeIdLocation) Reset() {
  2302. *x = LookupVolumeResponse_VolumeIdLocation{}
  2303. if protoimpl.UnsafeEnabled {
  2304. mi := &file_master_proto_msgTypes[41]
  2305. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2306. ms.StoreMessageInfo(mi)
  2307. }
  2308. }
  2309. func (x *LookupVolumeResponse_VolumeIdLocation) String() string {
  2310. return protoimpl.X.MessageStringOf(x)
  2311. }
  2312. func (*LookupVolumeResponse_VolumeIdLocation) ProtoMessage() {}
  2313. func (x *LookupVolumeResponse_VolumeIdLocation) ProtoReflect() protoreflect.Message {
  2314. mi := &file_master_proto_msgTypes[41]
  2315. if protoimpl.UnsafeEnabled && x != nil {
  2316. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2317. if ms.LoadMessageInfo() == nil {
  2318. ms.StoreMessageInfo(mi)
  2319. }
  2320. return ms
  2321. }
  2322. return mi.MessageOf(x)
  2323. }
  2324. // Deprecated: Use LookupVolumeResponse_VolumeIdLocation.ProtoReflect.Descriptor instead.
  2325. func (*LookupVolumeResponse_VolumeIdLocation) Descriptor() ([]byte, []int) {
  2326. return file_master_proto_rawDescGZIP(), []int{11, 0}
  2327. }
  2328. func (x *LookupVolumeResponse_VolumeIdLocation) GetVolumeId() string {
  2329. if x != nil {
  2330. return x.VolumeId
  2331. }
  2332. return ""
  2333. }
  2334. func (x *LookupVolumeResponse_VolumeIdLocation) GetLocations() []*Location {
  2335. if x != nil {
  2336. return x.Locations
  2337. }
  2338. return nil
  2339. }
  2340. func (x *LookupVolumeResponse_VolumeIdLocation) GetError() string {
  2341. if x != nil {
  2342. return x.Error
  2343. }
  2344. return ""
  2345. }
  2346. type LookupEcVolumeResponse_EcShardIdLocation struct {
  2347. state protoimpl.MessageState
  2348. sizeCache protoimpl.SizeCache
  2349. unknownFields protoimpl.UnknownFields
  2350. ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
  2351. Locations []*Location `protobuf:"bytes,2,rep,name=locations,proto3" json:"locations,omitempty"`
  2352. }
  2353. func (x *LookupEcVolumeResponse_EcShardIdLocation) Reset() {
  2354. *x = LookupEcVolumeResponse_EcShardIdLocation{}
  2355. if protoimpl.UnsafeEnabled {
  2356. mi := &file_master_proto_msgTypes[42]
  2357. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2358. ms.StoreMessageInfo(mi)
  2359. }
  2360. }
  2361. func (x *LookupEcVolumeResponse_EcShardIdLocation) String() string {
  2362. return protoimpl.X.MessageStringOf(x)
  2363. }
  2364. func (*LookupEcVolumeResponse_EcShardIdLocation) ProtoMessage() {}
  2365. func (x *LookupEcVolumeResponse_EcShardIdLocation) ProtoReflect() protoreflect.Message {
  2366. mi := &file_master_proto_msgTypes[42]
  2367. if protoimpl.UnsafeEnabled && x != nil {
  2368. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2369. if ms.LoadMessageInfo() == nil {
  2370. ms.StoreMessageInfo(mi)
  2371. }
  2372. return ms
  2373. }
  2374. return mi.MessageOf(x)
  2375. }
  2376. // Deprecated: Use LookupEcVolumeResponse_EcShardIdLocation.ProtoReflect.Descriptor instead.
  2377. func (*LookupEcVolumeResponse_EcShardIdLocation) Descriptor() ([]byte, []int) {
  2378. return file_master_proto_rawDescGZIP(), []int{30, 0}
  2379. }
  2380. func (x *LookupEcVolumeResponse_EcShardIdLocation) GetShardId() uint32 {
  2381. if x != nil {
  2382. return x.ShardId
  2383. }
  2384. return 0
  2385. }
  2386. func (x *LookupEcVolumeResponse_EcShardIdLocation) GetLocations() []*Location {
  2387. if x != nil {
  2388. return x.Locations
  2389. }
  2390. return nil
  2391. }
  2392. var File_master_proto protoreflect.FileDescriptor
  2393. var file_master_proto_rawDesc = []byte{
  2394. 0x0a, 0x0c, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09,
  2395. 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x22, 0x8b, 0x06, 0x0a, 0x09, 0x48, 0x65,
  2396. 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x01, 0x20,
  2397. 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18,
  2398. 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
  2399. 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  2400. 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x55, 0x72, 0x6c, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61,
  2401. 0x78, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04,
  2402. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43,
  2403. 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x69, 0x6c, 0x65,
  2404. 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x46,
  2405. 0x69, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63,
  2406. 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74,
  2407. 0x61, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x61, 0x63, 0x6b, 0x18,
  2408. 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x61, 0x63, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x61,
  2409. 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52,
  2410. 0x09, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x3d, 0x0a, 0x07, 0x76, 0x6f,
  2411. 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6d, 0x61,
  2412. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e,
  2413. 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  2414. 0x52, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x49, 0x0a, 0x0b, 0x6e, 0x65, 0x77,
  2415. 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28,
  2416. 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  2417. 0x65, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
  2418. 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0a, 0x6e, 0x65, 0x77, 0x56, 0x6f, 0x6c,
  2419. 0x75, 0x6d, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f,
  2420. 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e,
  2421. 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2422. 0x53, 0x68, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2423. 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64,
  2424. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x68, 0x61, 0x73, 0x5f, 0x6e,
  2425. 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52,
  2426. 0x0c, 0x68, 0x61, 0x73, 0x4e, 0x6f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x47, 0x0a,
  2427. 0x09, 0x65, 0x63, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b,
  2428. 0x32, 0x2a, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c,
  2429. 0x75, 0x6d, 0x65, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d,
  2430. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x65, 0x63,
  2431. 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x4e, 0x0a, 0x0d, 0x6e, 0x65, 0x77, 0x5f, 0x65, 0x63,
  2432. 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e,
  2433. 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2434. 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69,
  2435. 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x45, 0x63,
  2436. 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x56, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,
  2437. 0x64, 0x5f, 0x65, 0x63, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28,
  2438. 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f,
  2439. 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x72,
  2440. 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0f, 0x64,
  2441. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x27,
  2442. 0x0a, 0x10, 0x68, 0x61, 0x73, 0x5f, 0x6e, 0x6f, 0x5f, 0x65, 0x63, 0x5f, 0x73, 0x68, 0x61, 0x72,
  2443. 0x64, 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x68, 0x61, 0x73, 0x4e, 0x6f, 0x45,
  2444. 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x22, 0x80, 0x02, 0x0a, 0x11, 0x48, 0x65, 0x61, 0x72,
  2445. 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a,
  2446. 0x11, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6c, 0x69, 0x6d,
  2447. 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2448. 0x53, 0x69, 0x7a, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x61,
  2449. 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65,
  2450. 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x64, 0x64,
  2451. 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x65, 0x74, 0x72,
  2452. 0x69, 0x63, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x6d, 0x65,
  2453. 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x73,
  2454. 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x6d, 0x65,
  2455. 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x63,
  2456. 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x44, 0x0a, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f,
  2457. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19,
  2458. 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61,
  2459. 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x0f, 0x73, 0x74, 0x6f, 0x72, 0x61,
  2460. 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x22, 0xfb, 0x03, 0x0a, 0x18, 0x56,
  2461. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2462. 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  2463. 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18,
  2464. 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63,
  2465. 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  2466. 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x66,
  2467. 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
  2468. 0x09, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x65,
  2469. 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04,
  2470. 0x52, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a,
  2471. 0x12, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x5f, 0x63, 0x6f,
  2472. 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x64, 0x65, 0x6c, 0x65, 0x74,
  2473. 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72,
  2474. 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08,
  2475. 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x6c,
  2476. 0x69, 0x63, 0x61, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20,
  2477. 0x01, 0x28, 0x0d, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x50, 0x6c, 0x61, 0x63,
  2478. 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
  2479. 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
  2480. 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x74, 0x74,
  2481. 0x6c, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x76,
  2482. 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x6f, 0x6d,
  2483. 0x70, 0x61, 0x63, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12,
  2484. 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x6f,
  2485. 0x6e, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69,
  2486. 0x65, 0x64, 0x41, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x65,
  2487. 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
  2488. 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53,
  2489. 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65,
  2490. 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6b, 0x65, 0x79,
  2491. 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74,
  2492. 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4b, 0x65, 0x79, 0x22, 0xa8, 0x01, 0x0a, 0x1d, 0x56, 0x6f, 0x6c,
  2493. 0x75, 0x6d, 0x65, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74,
  2494. 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  2495. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f,
  2496. 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
  2497. 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65,
  2498. 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18,
  2499. 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x50, 0x6c,
  2500. 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
  2501. 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
  2502. 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03,
  2503. 0x74, 0x74, 0x6c, 0x22, 0x75, 0x0a, 0x1f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x63, 0x53,
  2504. 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
  2505. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  2506. 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63,
  2507. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c,
  2508. 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0d, 0x65, 0x63, 0x5f, 0x69, 0x6e, 0x64,
  2509. 0x65, 0x78, 0x5f, 0x62, 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x65,
  2510. 0x63, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x69, 0x74, 0x73, 0x22, 0xbe, 0x01, 0x0a, 0x0e, 0x53,
  2511. 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x12, 0x0a,
  2512. 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70,
  2513. 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
  2514. 0x64, 0x12, 0x49, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18,
  2515. 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70,
  2516. 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
  2517. 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
  2518. 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f,
  2519. 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
  2520. 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
  2521. 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  2522. 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x07, 0x0a, 0x05, 0x45,
  2523. 0x6d, 0x70, 0x74, 0x79, 0x22, 0xbe, 0x01, 0x0a, 0x0f, 0x53, 0x75, 0x70, 0x65, 0x72, 0x42, 0x6c,
  2524. 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x4f, 0x0a, 0x0e, 0x65, 0x72, 0x61, 0x73,
  2525. 0x75, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  2526. 0x32, 0x28, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x70,
  2527. 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x72, 0x61, 0x2e, 0x45, 0x72, 0x61,
  2528. 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x0d, 0x65, 0x72, 0x61, 0x73,
  2529. 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x1a, 0x5a, 0x0a, 0x0d, 0x45, 0x72, 0x61,
  2530. 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61,
  2531. 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16,
  2532. 0x0a, 0x06, 0x70, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06,
  2533. 0x70, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2534. 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75,
  2535. 0x6d, 0x65, 0x49, 0x64, 0x73, 0x22, 0x47, 0x0a, 0x14, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e,
  2536. 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,
  2537. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  2538. 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02,
  2539. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x72, 0x70, 0x63, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x97,
  2540. 0x01, 0x0a, 0x0e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
  2541. 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  2542. 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x75, 0x72,
  2543. 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x55,
  2544. 0x72, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x69, 0x64, 0x73, 0x18, 0x03,
  2545. 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x56, 0x69, 0x64, 0x73, 0x12, 0x21, 0x0a,
  2546. 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20,
  2547. 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x56, 0x69, 0x64, 0x73,
  2548. 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
  2549. 0x52, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x54, 0x0a, 0x13, 0x4c, 0x6f, 0x6f, 0x6b,
  2550. 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  2551. 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20,
  2552. 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x73, 0x12, 0x1e,
  2553. 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
  2554. 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xf2,
  2555. 0x01, 0x0a, 0x14, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52,
  2556. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x13, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  2557. 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01,
  2558. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62,
  2559. 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73,
  2560. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x4c, 0x6f,
  2561. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64,
  2562. 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x78, 0x0a, 0x10, 0x56, 0x6f, 0x6c,
  2563. 0x75, 0x6d, 0x65, 0x49, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a,
  2564. 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  2565. 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x09, 0x6c, 0x6f,
  2566. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e,
  2567. 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  2568. 0x6f, 0x6e, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a,
  2569. 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72,
  2570. 0x72, 0x6f, 0x72, 0x22, 0x3b, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
  2571. 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72,
  2572. 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x75, 0x72, 0x6c, 0x18,
  2573. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x55, 0x72, 0x6c,
  2574. 0x22, 0xb3, 0x02, 0x0a, 0x0d, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
  2575. 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
  2576. 0x04, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c,
  2577. 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72,
  2578. 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f,
  2579. 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
  2580. 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74,
  2581. 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x12, 0x1f, 0x0a, 0x0b,
  2582. 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28,
  2583. 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a,
  2584. 0x04, 0x72, 0x61, 0x63, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x61, 0x63,
  2585. 0x6b, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x07,
  2586. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x32,
  2587. 0x0a, 0x16, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6d, 0x61, 0x70, 0x5f, 0x6d, 0x61, 0x78,
  2588. 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6d, 0x62, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12,
  2589. 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65,
  2590. 0x4d, 0x62, 0x12, 0x32, 0x0a, 0x15, 0x57, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x76,
  2591. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28,
  2592. 0x0d, 0x52, 0x13, 0x57, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  2593. 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x93, 0x01, 0x0a, 0x0e, 0x41, 0x73, 0x73, 0x69, 0x67,
  2594. 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x69, 0x64,
  2595. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x66, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75,
  2596. 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a,
  2597. 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
  2598. 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05,
  2599. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6f, 0x75,
  2600. 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28,
  2601. 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68,
  2602. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x22, 0x67, 0x0a, 0x11,
  2603. 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  2604. 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2605. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
  2606. 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
  2607. 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74,
  2608. 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  2609. 0x52, 0x03, 0x74, 0x74, 0x6c, 0x22, 0xc3, 0x01, 0x0a, 0x12, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73,
  2610. 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b,
  2611. 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
  2612. 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e,
  2613. 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
  2614. 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10,
  2615. 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x74, 0x6c,
  2616. 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04,
  2617. 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12,
  2618. 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01,
  2619. 0x28, 0x04, 0x52, 0x08, 0x75, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
  2620. 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04,
  2621. 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x41, 0x0a, 0x0b, 0x53,
  2622. 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65,
  2623. 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  2624. 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03,
  2625. 0x74, 0x74, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x22, 0x20,
  2626. 0x0a, 0x0a, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
  2627. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  2628. 0x22, 0x7b, 0x0a, 0x15, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69,
  2629. 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x6e, 0x63,
  2630. 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75,
  2631. 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x6e, 0x63, 0x6c, 0x75,
  2632. 0x64, 0x65, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12,
  2633. 0x2c, 0x0a, 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x65, 0x63, 0x5f, 0x76, 0x6f,
  2634. 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x6e, 0x63,
  2635. 0x6c, 0x75, 0x64, 0x65, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x22, 0x51, 0x0a,
  2636. 0x16, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52,
  2637. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65,
  2638. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d,
  2639. 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74,
  2640. 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  2641. 0x22, 0x2d, 0x0a, 0x17, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65,
  2642. 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e,
  2643. 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
  2644. 0x1a, 0x0a, 0x18, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c,
  2645. 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x03, 0x0a, 0x0c,
  2646. 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02,
  2647. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c,
  2648. 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
  2649. 0x28, 0x04, 0x52, 0x0b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  2650. 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f,
  2651. 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x56, 0x6f,
  2652. 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x72, 0x65,
  2653. 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04,
  2654. 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x66, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2655. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
  2656. 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
  2657. 0x28, 0x04, 0x52, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2658. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x46, 0x0a, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f,
  2659. 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6d, 0x61,
  2660. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e,
  2661. 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  2662. 0x52, 0x0b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x50, 0x0a,
  2663. 0x0e, 0x65, 0x63, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18,
  2664. 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70,
  2665. 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49,
  2666. 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2667. 0x65, 0x52, 0x0c, 0x65, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12,
  2668. 0x2e, 0x0a, 0x13, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2669. 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x72, 0x65,
  2670. 0x6d, 0x6f, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22,
  2671. 0xb4, 0x02, 0x0a, 0x08, 0x52, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02,
  2672. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c,
  2673. 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
  2674. 0x28, 0x04, 0x52, 0x0b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  2675. 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f,
  2676. 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x56, 0x6f,
  2677. 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x72, 0x65,
  2678. 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04,
  2679. 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x66, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2680. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
  2681. 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
  2682. 0x28, 0x04, 0x52, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2683. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6e, 0x6f,
  2684. 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
  2685. 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4e,
  2686. 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64,
  2687. 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65,
  2688. 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20,
  2689. 0x01, 0x28, 0x04, 0x52, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  2690. 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xad, 0x02, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x43,
  2691. 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
  2692. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, 0x6c,
  2693. 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52,
  2694. 0x0b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10,
  2695. 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  2696. 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  2697. 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x76,
  2698. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
  2699. 0x04, 0x52, 0x0f, 0x66, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75,
  2700. 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x76, 0x6f, 0x6c,
  2701. 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52,
  2702. 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75,
  2703. 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x0a, 0x72, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73,
  2704. 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  2705. 0x70, 0x62, 0x2e, 0x52, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x72, 0x61, 0x63,
  2706. 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65,
  2707. 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20,
  2708. 0x01, 0x28, 0x04, 0x52, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  2709. 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x02, 0x0a, 0x0c, 0x54, 0x6f, 0x70, 0x6f, 0x6c,
  2710. 0x6f, 0x67, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  2711. 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  2712. 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x76,
  2713. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61,
  2714. 0x78, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
  2715. 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43,
  2716. 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x76, 0x6f, 0x6c,
  2717. 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
  2718. 0x0f, 0x66, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  2719. 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  2720. 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x61,
  2721. 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  2722. 0x12, 0x45, 0x0a, 0x11, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f,
  2723. 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x61,
  2724. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74,
  2725. 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74,
  2726. 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x65, 0x6d, 0x6f, 0x74,
  2727. 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07,
  2728. 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75,
  2729. 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x13, 0x0a, 0x11, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  2730. 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x83, 0x01, 0x0a,
  2731. 0x12, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
  2732. 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x5f,
  2733. 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x73,
  2734. 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x49,
  2735. 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x49, 0x6e, 0x66,
  2736. 0x6f, 0x12, 0x2f, 0x0a, 0x14, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65,
  2737. 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x6d, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52,
  2738. 0x11, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74,
  2739. 0x4d, 0x62, 0x22, 0x34, 0x0a, 0x15, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x45, 0x63, 0x56, 0x6f,
  2740. 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76,
  2741. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08,
  2742. 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0xfb, 0x01, 0x0a, 0x16, 0x4c, 0x6f, 0x6f,
  2743. 0x6b, 0x75, 0x70, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
  2744. 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64,
  2745. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64,
  2746. 0x12, 0x61, 0x0a, 0x12, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x6f, 0x63,
  2747. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6d,
  2748. 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x45,
  2749. 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e,
  2750. 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
  2751. 0x6e, 0x52, 0x10, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  2752. 0x6f, 0x6e, 0x73, 0x1a, 0x61, 0x0a, 0x11, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64,
  2753. 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x61, 0x72,
  2754. 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x68, 0x61, 0x72,
  2755. 0x64, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  2756. 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  2757. 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6c, 0x6f, 0x63,
  2758. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x1f, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x73,
  2759. 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2760. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xc9, 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4d,
  2761. 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
  2762. 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65,
  2763. 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20,
  2764. 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x41, 0x64, 0x64, 0x72,
  2765. 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x69,
  2766. 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18,
  2767. 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e,
  2768. 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x44, 0x0a,
  2769. 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
  2770. 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72,
  2771. 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65,
  2772. 0x6e, 0x64, 0x52, 0x0f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65,
  2773. 0x6e, 0x64, 0x73, 0x22, 0x3b, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65,
  2774. 0x72, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  2775. 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
  2776. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65,
  2777. 0x22, 0x42, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c,
  2778. 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a,
  2779. 0x0e, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18,
  2780. 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x67, 0x72, 0x70, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65,
  2781. 0x73, 0x73, 0x65, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x16, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64,
  2782. 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  2783. 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
  2784. 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75,
  2785. 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f,
  2786. 0x75, 0x73, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  2787. 0x28, 0x03, 0x52, 0x10, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4c, 0x6f, 0x63, 0x6b,
  2788. 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d,
  2789. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d,
  2790. 0x65, 0x22, 0x4d, 0x0a, 0x17, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54,
  2791. 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05,
  2792. 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x6b,
  2793. 0x65, 0x6e, 0x12, 0x1c, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x73, 0x5f, 0x6e, 0x73,
  2794. 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x73, 0x4e, 0x73,
  2795. 0x22, 0x8c, 0x01, 0x0a, 0x18, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69,
  2796. 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a,
  2797. 0x0e, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
  2798. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54,
  2799. 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73,
  2800. 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
  2801. 0x52, 0x10, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x69,
  2802. 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  2803. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x22,
  2804. 0x1b, 0x0a, 0x19, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54,
  2805. 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xf7, 0x08, 0x0a,
  2806. 0x07, 0x53, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x65, 0x6e, 0x64,
  2807. 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x14, 0x2e, 0x6d, 0x61, 0x73, 0x74,
  2808. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x1a,
  2809. 0x1c, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x48, 0x65, 0x61, 0x72,
  2810. 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28,
  2811. 0x01, 0x30, 0x01, 0x12, 0x51, 0x0a, 0x0d, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x6e, 0x65,
  2812. 0x63, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62,
  2813. 0x2e, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65,
  2814. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70,
  2815. 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2816. 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x51, 0x0a, 0x0c, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70,
  2817. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1e, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  2818. 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52,
  2819. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  2820. 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52,
  2821. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x06, 0x41, 0x73, 0x73,
  2822. 0x69, 0x67, 0x6e, 0x12, 0x18, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e,
  2823. 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e,
  2824. 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e,
  2825. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0a, 0x53, 0x74,
  2826. 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x1c, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65,
  2827. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52,
  2828. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  2829. 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73,
  2830. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x6c, 0x65,
  2831. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x73, 0x74,
  2832. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  2833. 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61,
  2834. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
  2835. 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
  2836. 0x12, 0x5d, 0x0a, 0x10, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65,
  2837. 0x6c, 0x65, 0x74, 0x65, 0x12, 0x22, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62,
  2838. 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74,
  2839. 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65,
  2840. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44,
  2841. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
  2842. 0x4b, 0x0a, 0x0a, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x2e,
  2843. 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2844. 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x61,
  2845. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4c, 0x69,
  2846. 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0e,
  2847. 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x20,
  2848. 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75,
  2849. 0x70, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  2850. 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f,
  2851. 0x6b, 0x75, 0x70, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
  2852. 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x73, 0x74,
  2853. 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
  2854. 0x28, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x4d,
  2855. 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
  2856. 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x6d, 0x61, 0x73, 0x74,
  2857. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x43,
  2858. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
  2859. 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61,
  2860. 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x2e, 0x6d, 0x61,
  2861. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x73, 0x74,
  2862. 0x65, 0x72, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  2863. 0x1a, 0x24, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73,
  2864. 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65,
  2865. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x0f, 0x4c, 0x65, 0x61, 0x73,
  2866. 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x21, 0x2e, 0x6d, 0x61,
  2867. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d,
  2868. 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22,
  2869. 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x65, 0x61, 0x73, 0x65,
  2870. 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  2871. 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x41,
  2872. 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x23, 0x2e, 0x6d, 0x61, 0x73, 0x74,
  2873. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d,
  2874. 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24,
  2875. 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61,
  2876. 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70,
  2877. 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x32, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
  2878. 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x72, 0x69, 0x73, 0x6c, 0x75, 0x73, 0x66, 0x2f, 0x73,
  2879. 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x77, 0x65, 0x65, 0x64, 0x2f, 0x70, 0x62,
  2880. 0x2f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  2881. 0x6f, 0x33,
  2882. }
  2883. var (
  2884. file_master_proto_rawDescOnce sync.Once
  2885. file_master_proto_rawDescData = file_master_proto_rawDesc
  2886. )
  2887. func file_master_proto_rawDescGZIP() []byte {
  2888. file_master_proto_rawDescOnce.Do(func() {
  2889. file_master_proto_rawDescData = protoimpl.X.CompressGZIP(file_master_proto_rawDescData)
  2890. })
  2891. return file_master_proto_rawDescData
  2892. }
  2893. var file_master_proto_msgTypes = make([]protoimpl.MessageInfo, 43)
  2894. var file_master_proto_goTypes = []interface{}{
  2895. (*Heartbeat)(nil), // 0: master_pb.Heartbeat
  2896. (*HeartbeatResponse)(nil), // 1: master_pb.HeartbeatResponse
  2897. (*VolumeInformationMessage)(nil), // 2: master_pb.VolumeInformationMessage
  2898. (*VolumeShortInformationMessage)(nil), // 3: master_pb.VolumeShortInformationMessage
  2899. (*VolumeEcShardInformationMessage)(nil), // 4: master_pb.VolumeEcShardInformationMessage
  2900. (*StorageBackend)(nil), // 5: master_pb.StorageBackend
  2901. (*Empty)(nil), // 6: master_pb.Empty
  2902. (*SuperBlockExtra)(nil), // 7: master_pb.SuperBlockExtra
  2903. (*KeepConnectedRequest)(nil), // 8: master_pb.KeepConnectedRequest
  2904. (*VolumeLocation)(nil), // 9: master_pb.VolumeLocation
  2905. (*LookupVolumeRequest)(nil), // 10: master_pb.LookupVolumeRequest
  2906. (*LookupVolumeResponse)(nil), // 11: master_pb.LookupVolumeResponse
  2907. (*Location)(nil), // 12: master_pb.Location
  2908. (*AssignRequest)(nil), // 13: master_pb.AssignRequest
  2909. (*AssignResponse)(nil), // 14: master_pb.AssignResponse
  2910. (*StatisticsRequest)(nil), // 15: master_pb.StatisticsRequest
  2911. (*StatisticsResponse)(nil), // 16: master_pb.StatisticsResponse
  2912. (*StorageType)(nil), // 17: master_pb.StorageType
  2913. (*Collection)(nil), // 18: master_pb.Collection
  2914. (*CollectionListRequest)(nil), // 19: master_pb.CollectionListRequest
  2915. (*CollectionListResponse)(nil), // 20: master_pb.CollectionListResponse
  2916. (*CollectionDeleteRequest)(nil), // 21: master_pb.CollectionDeleteRequest
  2917. (*CollectionDeleteResponse)(nil), // 22: master_pb.CollectionDeleteResponse
  2918. (*DataNodeInfo)(nil), // 23: master_pb.DataNodeInfo
  2919. (*RackInfo)(nil), // 24: master_pb.RackInfo
  2920. (*DataCenterInfo)(nil), // 25: master_pb.DataCenterInfo
  2921. (*TopologyInfo)(nil), // 26: master_pb.TopologyInfo
  2922. (*VolumeListRequest)(nil), // 27: master_pb.VolumeListRequest
  2923. (*VolumeListResponse)(nil), // 28: master_pb.VolumeListResponse
  2924. (*LookupEcVolumeRequest)(nil), // 29: master_pb.LookupEcVolumeRequest
  2925. (*LookupEcVolumeResponse)(nil), // 30: master_pb.LookupEcVolumeResponse
  2926. (*GetMasterConfigurationRequest)(nil), // 31: master_pb.GetMasterConfigurationRequest
  2927. (*GetMasterConfigurationResponse)(nil), // 32: master_pb.GetMasterConfigurationResponse
  2928. (*ListMasterClientsRequest)(nil), // 33: master_pb.ListMasterClientsRequest
  2929. (*ListMasterClientsResponse)(nil), // 34: master_pb.ListMasterClientsResponse
  2930. (*LeaseAdminTokenRequest)(nil), // 35: master_pb.LeaseAdminTokenRequest
  2931. (*LeaseAdminTokenResponse)(nil), // 36: master_pb.LeaseAdminTokenResponse
  2932. (*ReleaseAdminTokenRequest)(nil), // 37: master_pb.ReleaseAdminTokenRequest
  2933. (*ReleaseAdminTokenResponse)(nil), // 38: master_pb.ReleaseAdminTokenResponse
  2934. nil, // 39: master_pb.StorageBackend.PropertiesEntry
  2935. (*SuperBlockExtra_ErasureCoding)(nil), // 40: master_pb.SuperBlockExtra.ErasureCoding
  2936. (*LookupVolumeResponse_VolumeIdLocation)(nil), // 41: master_pb.LookupVolumeResponse.VolumeIdLocation
  2937. (*LookupEcVolumeResponse_EcShardIdLocation)(nil), // 42: master_pb.LookupEcVolumeResponse.EcShardIdLocation
  2938. }
  2939. var file_master_proto_depIdxs = []int32{
  2940. 2, // 0: master_pb.Heartbeat.volumes:type_name -> master_pb.VolumeInformationMessage
  2941. 3, // 1: master_pb.Heartbeat.new_volumes:type_name -> master_pb.VolumeShortInformationMessage
  2942. 3, // 2: master_pb.Heartbeat.deleted_volumes:type_name -> master_pb.VolumeShortInformationMessage
  2943. 4, // 3: master_pb.Heartbeat.ec_shards:type_name -> master_pb.VolumeEcShardInformationMessage
  2944. 4, // 4: master_pb.Heartbeat.new_ec_shards:type_name -> master_pb.VolumeEcShardInformationMessage
  2945. 4, // 5: master_pb.Heartbeat.deleted_ec_shards:type_name -> master_pb.VolumeEcShardInformationMessage
  2946. 5, // 6: master_pb.HeartbeatResponse.storage_backends:type_name -> master_pb.StorageBackend
  2947. 39, // 7: master_pb.StorageBackend.properties:type_name -> master_pb.StorageBackend.PropertiesEntry
  2948. 40, // 8: master_pb.SuperBlockExtra.erasure_coding:type_name -> master_pb.SuperBlockExtra.ErasureCoding
  2949. 41, // 9: master_pb.LookupVolumeResponse.volume_id_locations:type_name -> master_pb.LookupVolumeResponse.VolumeIdLocation
  2950. 18, // 10: master_pb.CollectionListResponse.collections:type_name -> master_pb.Collection
  2951. 2, // 11: master_pb.DataNodeInfo.volume_infos:type_name -> master_pb.VolumeInformationMessage
  2952. 4, // 12: master_pb.DataNodeInfo.ec_shard_infos:type_name -> master_pb.VolumeEcShardInformationMessage
  2953. 23, // 13: master_pb.RackInfo.data_node_infos:type_name -> master_pb.DataNodeInfo
  2954. 24, // 14: master_pb.DataCenterInfo.rack_infos:type_name -> master_pb.RackInfo
  2955. 25, // 15: master_pb.TopologyInfo.data_center_infos:type_name -> master_pb.DataCenterInfo
  2956. 26, // 16: master_pb.VolumeListResponse.topology_info:type_name -> master_pb.TopologyInfo
  2957. 42, // 17: master_pb.LookupEcVolumeResponse.shard_id_locations:type_name -> master_pb.LookupEcVolumeResponse.EcShardIdLocation
  2958. 5, // 18: master_pb.GetMasterConfigurationResponse.storage_backends:type_name -> master_pb.StorageBackend
  2959. 12, // 19: master_pb.LookupVolumeResponse.VolumeIdLocation.locations:type_name -> master_pb.Location
  2960. 12, // 20: master_pb.LookupEcVolumeResponse.EcShardIdLocation.locations:type_name -> master_pb.Location
  2961. 0, // 21: master_pb.Seaweed.SendHeartbeat:input_type -> master_pb.Heartbeat
  2962. 8, // 22: master_pb.Seaweed.KeepConnected:input_type -> master_pb.KeepConnectedRequest
  2963. 10, // 23: master_pb.Seaweed.LookupVolume:input_type -> master_pb.LookupVolumeRequest
  2964. 13, // 24: master_pb.Seaweed.Assign:input_type -> master_pb.AssignRequest
  2965. 15, // 25: master_pb.Seaweed.Statistics:input_type -> master_pb.StatisticsRequest
  2966. 19, // 26: master_pb.Seaweed.CollectionList:input_type -> master_pb.CollectionListRequest
  2967. 21, // 27: master_pb.Seaweed.CollectionDelete:input_type -> master_pb.CollectionDeleteRequest
  2968. 27, // 28: master_pb.Seaweed.VolumeList:input_type -> master_pb.VolumeListRequest
  2969. 29, // 29: master_pb.Seaweed.LookupEcVolume:input_type -> master_pb.LookupEcVolumeRequest
  2970. 31, // 30: master_pb.Seaweed.GetMasterConfiguration:input_type -> master_pb.GetMasterConfigurationRequest
  2971. 33, // 31: master_pb.Seaweed.ListMasterClients:input_type -> master_pb.ListMasterClientsRequest
  2972. 35, // 32: master_pb.Seaweed.LeaseAdminToken:input_type -> master_pb.LeaseAdminTokenRequest
  2973. 37, // 33: master_pb.Seaweed.ReleaseAdminToken:input_type -> master_pb.ReleaseAdminTokenRequest
  2974. 1, // 34: master_pb.Seaweed.SendHeartbeat:output_type -> master_pb.HeartbeatResponse
  2975. 9, // 35: master_pb.Seaweed.KeepConnected:output_type -> master_pb.VolumeLocation
  2976. 11, // 36: master_pb.Seaweed.LookupVolume:output_type -> master_pb.LookupVolumeResponse
  2977. 14, // 37: master_pb.Seaweed.Assign:output_type -> master_pb.AssignResponse
  2978. 16, // 38: master_pb.Seaweed.Statistics:output_type -> master_pb.StatisticsResponse
  2979. 20, // 39: master_pb.Seaweed.CollectionList:output_type -> master_pb.CollectionListResponse
  2980. 22, // 40: master_pb.Seaweed.CollectionDelete:output_type -> master_pb.CollectionDeleteResponse
  2981. 28, // 41: master_pb.Seaweed.VolumeList:output_type -> master_pb.VolumeListResponse
  2982. 30, // 42: master_pb.Seaweed.LookupEcVolume:output_type -> master_pb.LookupEcVolumeResponse
  2983. 32, // 43: master_pb.Seaweed.GetMasterConfiguration:output_type -> master_pb.GetMasterConfigurationResponse
  2984. 34, // 44: master_pb.Seaweed.ListMasterClients:output_type -> master_pb.ListMasterClientsResponse
  2985. 36, // 45: master_pb.Seaweed.LeaseAdminToken:output_type -> master_pb.LeaseAdminTokenResponse
  2986. 38, // 46: master_pb.Seaweed.ReleaseAdminToken:output_type -> master_pb.ReleaseAdminTokenResponse
  2987. 34, // [34:47] is the sub-list for method output_type
  2988. 21, // [21:34] is the sub-list for method input_type
  2989. 21, // [21:21] is the sub-list for extension type_name
  2990. 21, // [21:21] is the sub-list for extension extendee
  2991. 0, // [0:21] is the sub-list for field type_name
  2992. }
  2993. func init() { file_master_proto_init() }
  2994. func file_master_proto_init() {
  2995. if File_master_proto != nil {
  2996. return
  2997. }
  2998. if !protoimpl.UnsafeEnabled {
  2999. file_master_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  3000. switch v := v.(*Heartbeat); i {
  3001. case 0:
  3002. return &v.state
  3003. case 1:
  3004. return &v.sizeCache
  3005. case 2:
  3006. return &v.unknownFields
  3007. default:
  3008. return nil
  3009. }
  3010. }
  3011. file_master_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  3012. switch v := v.(*HeartbeatResponse); i {
  3013. case 0:
  3014. return &v.state
  3015. case 1:
  3016. return &v.sizeCache
  3017. case 2:
  3018. return &v.unknownFields
  3019. default:
  3020. return nil
  3021. }
  3022. }
  3023. file_master_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  3024. switch v := v.(*VolumeInformationMessage); i {
  3025. case 0:
  3026. return &v.state
  3027. case 1:
  3028. return &v.sizeCache
  3029. case 2:
  3030. return &v.unknownFields
  3031. default:
  3032. return nil
  3033. }
  3034. }
  3035. file_master_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  3036. switch v := v.(*VolumeShortInformationMessage); i {
  3037. case 0:
  3038. return &v.state
  3039. case 1:
  3040. return &v.sizeCache
  3041. case 2:
  3042. return &v.unknownFields
  3043. default:
  3044. return nil
  3045. }
  3046. }
  3047. file_master_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  3048. switch v := v.(*VolumeEcShardInformationMessage); i {
  3049. case 0:
  3050. return &v.state
  3051. case 1:
  3052. return &v.sizeCache
  3053. case 2:
  3054. return &v.unknownFields
  3055. default:
  3056. return nil
  3057. }
  3058. }
  3059. file_master_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  3060. switch v := v.(*StorageBackend); i {
  3061. case 0:
  3062. return &v.state
  3063. case 1:
  3064. return &v.sizeCache
  3065. case 2:
  3066. return &v.unknownFields
  3067. default:
  3068. return nil
  3069. }
  3070. }
  3071. file_master_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  3072. switch v := v.(*Empty); i {
  3073. case 0:
  3074. return &v.state
  3075. case 1:
  3076. return &v.sizeCache
  3077. case 2:
  3078. return &v.unknownFields
  3079. default:
  3080. return nil
  3081. }
  3082. }
  3083. file_master_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  3084. switch v := v.(*SuperBlockExtra); i {
  3085. case 0:
  3086. return &v.state
  3087. case 1:
  3088. return &v.sizeCache
  3089. case 2:
  3090. return &v.unknownFields
  3091. default:
  3092. return nil
  3093. }
  3094. }
  3095. file_master_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  3096. switch v := v.(*KeepConnectedRequest); i {
  3097. case 0:
  3098. return &v.state
  3099. case 1:
  3100. return &v.sizeCache
  3101. case 2:
  3102. return &v.unknownFields
  3103. default:
  3104. return nil
  3105. }
  3106. }
  3107. file_master_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  3108. switch v := v.(*VolumeLocation); i {
  3109. case 0:
  3110. return &v.state
  3111. case 1:
  3112. return &v.sizeCache
  3113. case 2:
  3114. return &v.unknownFields
  3115. default:
  3116. return nil
  3117. }
  3118. }
  3119. file_master_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  3120. switch v := v.(*LookupVolumeRequest); i {
  3121. case 0:
  3122. return &v.state
  3123. case 1:
  3124. return &v.sizeCache
  3125. case 2:
  3126. return &v.unknownFields
  3127. default:
  3128. return nil
  3129. }
  3130. }
  3131. file_master_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  3132. switch v := v.(*LookupVolumeResponse); i {
  3133. case 0:
  3134. return &v.state
  3135. case 1:
  3136. return &v.sizeCache
  3137. case 2:
  3138. return &v.unknownFields
  3139. default:
  3140. return nil
  3141. }
  3142. }
  3143. file_master_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  3144. switch v := v.(*Location); i {
  3145. case 0:
  3146. return &v.state
  3147. case 1:
  3148. return &v.sizeCache
  3149. case 2:
  3150. return &v.unknownFields
  3151. default:
  3152. return nil
  3153. }
  3154. }
  3155. file_master_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  3156. switch v := v.(*AssignRequest); i {
  3157. case 0:
  3158. return &v.state
  3159. case 1:
  3160. return &v.sizeCache
  3161. case 2:
  3162. return &v.unknownFields
  3163. default:
  3164. return nil
  3165. }
  3166. }
  3167. file_master_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  3168. switch v := v.(*AssignResponse); i {
  3169. case 0:
  3170. return &v.state
  3171. case 1:
  3172. return &v.sizeCache
  3173. case 2:
  3174. return &v.unknownFields
  3175. default:
  3176. return nil
  3177. }
  3178. }
  3179. file_master_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  3180. switch v := v.(*StatisticsRequest); i {
  3181. case 0:
  3182. return &v.state
  3183. case 1:
  3184. return &v.sizeCache
  3185. case 2:
  3186. return &v.unknownFields
  3187. default:
  3188. return nil
  3189. }
  3190. }
  3191. file_master_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  3192. switch v := v.(*StatisticsResponse); i {
  3193. case 0:
  3194. return &v.state
  3195. case 1:
  3196. return &v.sizeCache
  3197. case 2:
  3198. return &v.unknownFields
  3199. default:
  3200. return nil
  3201. }
  3202. }
  3203. file_master_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  3204. switch v := v.(*StorageType); i {
  3205. case 0:
  3206. return &v.state
  3207. case 1:
  3208. return &v.sizeCache
  3209. case 2:
  3210. return &v.unknownFields
  3211. default:
  3212. return nil
  3213. }
  3214. }
  3215. file_master_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  3216. switch v := v.(*Collection); i {
  3217. case 0:
  3218. return &v.state
  3219. case 1:
  3220. return &v.sizeCache
  3221. case 2:
  3222. return &v.unknownFields
  3223. default:
  3224. return nil
  3225. }
  3226. }
  3227. file_master_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  3228. switch v := v.(*CollectionListRequest); i {
  3229. case 0:
  3230. return &v.state
  3231. case 1:
  3232. return &v.sizeCache
  3233. case 2:
  3234. return &v.unknownFields
  3235. default:
  3236. return nil
  3237. }
  3238. }
  3239. file_master_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  3240. switch v := v.(*CollectionListResponse); i {
  3241. case 0:
  3242. return &v.state
  3243. case 1:
  3244. return &v.sizeCache
  3245. case 2:
  3246. return &v.unknownFields
  3247. default:
  3248. return nil
  3249. }
  3250. }
  3251. file_master_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  3252. switch v := v.(*CollectionDeleteRequest); i {
  3253. case 0:
  3254. return &v.state
  3255. case 1:
  3256. return &v.sizeCache
  3257. case 2:
  3258. return &v.unknownFields
  3259. default:
  3260. return nil
  3261. }
  3262. }
  3263. file_master_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  3264. switch v := v.(*CollectionDeleteResponse); i {
  3265. case 0:
  3266. return &v.state
  3267. case 1:
  3268. return &v.sizeCache
  3269. case 2:
  3270. return &v.unknownFields
  3271. default:
  3272. return nil
  3273. }
  3274. }
  3275. file_master_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  3276. switch v := v.(*DataNodeInfo); i {
  3277. case 0:
  3278. return &v.state
  3279. case 1:
  3280. return &v.sizeCache
  3281. case 2:
  3282. return &v.unknownFields
  3283. default:
  3284. return nil
  3285. }
  3286. }
  3287. file_master_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  3288. switch v := v.(*RackInfo); i {
  3289. case 0:
  3290. return &v.state
  3291. case 1:
  3292. return &v.sizeCache
  3293. case 2:
  3294. return &v.unknownFields
  3295. default:
  3296. return nil
  3297. }
  3298. }
  3299. file_master_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  3300. switch v := v.(*DataCenterInfo); i {
  3301. case 0:
  3302. return &v.state
  3303. case 1:
  3304. return &v.sizeCache
  3305. case 2:
  3306. return &v.unknownFields
  3307. default:
  3308. return nil
  3309. }
  3310. }
  3311. file_master_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  3312. switch v := v.(*TopologyInfo); i {
  3313. case 0:
  3314. return &v.state
  3315. case 1:
  3316. return &v.sizeCache
  3317. case 2:
  3318. return &v.unknownFields
  3319. default:
  3320. return nil
  3321. }
  3322. }
  3323. file_master_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  3324. switch v := v.(*VolumeListRequest); i {
  3325. case 0:
  3326. return &v.state
  3327. case 1:
  3328. return &v.sizeCache
  3329. case 2:
  3330. return &v.unknownFields
  3331. default:
  3332. return nil
  3333. }
  3334. }
  3335. file_master_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
  3336. switch v := v.(*VolumeListResponse); i {
  3337. case 0:
  3338. return &v.state
  3339. case 1:
  3340. return &v.sizeCache
  3341. case 2:
  3342. return &v.unknownFields
  3343. default:
  3344. return nil
  3345. }
  3346. }
  3347. file_master_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
  3348. switch v := v.(*LookupEcVolumeRequest); i {
  3349. case 0:
  3350. return &v.state
  3351. case 1:
  3352. return &v.sizeCache
  3353. case 2:
  3354. return &v.unknownFields
  3355. default:
  3356. return nil
  3357. }
  3358. }
  3359. file_master_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
  3360. switch v := v.(*LookupEcVolumeResponse); i {
  3361. case 0:
  3362. return &v.state
  3363. case 1:
  3364. return &v.sizeCache
  3365. case 2:
  3366. return &v.unknownFields
  3367. default:
  3368. return nil
  3369. }
  3370. }
  3371. file_master_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
  3372. switch v := v.(*GetMasterConfigurationRequest); i {
  3373. case 0:
  3374. return &v.state
  3375. case 1:
  3376. return &v.sizeCache
  3377. case 2:
  3378. return &v.unknownFields
  3379. default:
  3380. return nil
  3381. }
  3382. }
  3383. file_master_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
  3384. switch v := v.(*GetMasterConfigurationResponse); i {
  3385. case 0:
  3386. return &v.state
  3387. case 1:
  3388. return &v.sizeCache
  3389. case 2:
  3390. return &v.unknownFields
  3391. default:
  3392. return nil
  3393. }
  3394. }
  3395. file_master_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
  3396. switch v := v.(*ListMasterClientsRequest); i {
  3397. case 0:
  3398. return &v.state
  3399. case 1:
  3400. return &v.sizeCache
  3401. case 2:
  3402. return &v.unknownFields
  3403. default:
  3404. return nil
  3405. }
  3406. }
  3407. file_master_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
  3408. switch v := v.(*ListMasterClientsResponse); i {
  3409. case 0:
  3410. return &v.state
  3411. case 1:
  3412. return &v.sizeCache
  3413. case 2:
  3414. return &v.unknownFields
  3415. default:
  3416. return nil
  3417. }
  3418. }
  3419. file_master_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
  3420. switch v := v.(*LeaseAdminTokenRequest); i {
  3421. case 0:
  3422. return &v.state
  3423. case 1:
  3424. return &v.sizeCache
  3425. case 2:
  3426. return &v.unknownFields
  3427. default:
  3428. return nil
  3429. }
  3430. }
  3431. file_master_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
  3432. switch v := v.(*LeaseAdminTokenResponse); i {
  3433. case 0:
  3434. return &v.state
  3435. case 1:
  3436. return &v.sizeCache
  3437. case 2:
  3438. return &v.unknownFields
  3439. default:
  3440. return nil
  3441. }
  3442. }
  3443. file_master_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
  3444. switch v := v.(*ReleaseAdminTokenRequest); i {
  3445. case 0:
  3446. return &v.state
  3447. case 1:
  3448. return &v.sizeCache
  3449. case 2:
  3450. return &v.unknownFields
  3451. default:
  3452. return nil
  3453. }
  3454. }
  3455. file_master_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
  3456. switch v := v.(*ReleaseAdminTokenResponse); i {
  3457. case 0:
  3458. return &v.state
  3459. case 1:
  3460. return &v.sizeCache
  3461. case 2:
  3462. return &v.unknownFields
  3463. default:
  3464. return nil
  3465. }
  3466. }
  3467. file_master_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
  3468. switch v := v.(*SuperBlockExtra_ErasureCoding); i {
  3469. case 0:
  3470. return &v.state
  3471. case 1:
  3472. return &v.sizeCache
  3473. case 2:
  3474. return &v.unknownFields
  3475. default:
  3476. return nil
  3477. }
  3478. }
  3479. file_master_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
  3480. switch v := v.(*LookupVolumeResponse_VolumeIdLocation); i {
  3481. case 0:
  3482. return &v.state
  3483. case 1:
  3484. return &v.sizeCache
  3485. case 2:
  3486. return &v.unknownFields
  3487. default:
  3488. return nil
  3489. }
  3490. }
  3491. file_master_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
  3492. switch v := v.(*LookupEcVolumeResponse_EcShardIdLocation); i {
  3493. case 0:
  3494. return &v.state
  3495. case 1:
  3496. return &v.sizeCache
  3497. case 2:
  3498. return &v.unknownFields
  3499. default:
  3500. return nil
  3501. }
  3502. }
  3503. }
  3504. type x struct{}
  3505. out := protoimpl.TypeBuilder{
  3506. File: protoimpl.DescBuilder{
  3507. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  3508. RawDescriptor: file_master_proto_rawDesc,
  3509. NumEnums: 0,
  3510. NumMessages: 43,
  3511. NumExtensions: 0,
  3512. NumServices: 1,
  3513. },
  3514. GoTypes: file_master_proto_goTypes,
  3515. DependencyIndexes: file_master_proto_depIdxs,
  3516. MessageInfos: file_master_proto_msgTypes,
  3517. }.Build()
  3518. File_master_proto = out.File
  3519. file_master_proto_rawDesc = nil
  3520. file_master_proto_goTypes = nil
  3521. file_master_proto_depIdxs = nil
  3522. }
  3523. // Reference imports to suppress errors if they are not otherwise used.
  3524. var _ context.Context
  3525. var _ grpc.ClientConnInterface
  3526. // This is a compile-time assertion to ensure that this generated file
  3527. // is compatible with the grpc package it is being compiled against.
  3528. const _ = grpc.SupportPackageIsVersion6
  3529. // SeaweedClient is the client API for Seaweed service.
  3530. //
  3531. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  3532. type SeaweedClient interface {
  3533. SendHeartbeat(ctx context.Context, opts ...grpc.CallOption) (Seaweed_SendHeartbeatClient, error)
  3534. KeepConnected(ctx context.Context, opts ...grpc.CallOption) (Seaweed_KeepConnectedClient, error)
  3535. LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error)
  3536. Assign(ctx context.Context, in *AssignRequest, opts ...grpc.CallOption) (*AssignResponse, error)
  3537. Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error)
  3538. CollectionList(ctx context.Context, in *CollectionListRequest, opts ...grpc.CallOption) (*CollectionListResponse, error)
  3539. CollectionDelete(ctx context.Context, in *CollectionDeleteRequest, opts ...grpc.CallOption) (*CollectionDeleteResponse, error)
  3540. VolumeList(ctx context.Context, in *VolumeListRequest, opts ...grpc.CallOption) (*VolumeListResponse, error)
  3541. LookupEcVolume(ctx context.Context, in *LookupEcVolumeRequest, opts ...grpc.CallOption) (*LookupEcVolumeResponse, error)
  3542. GetMasterConfiguration(ctx context.Context, in *GetMasterConfigurationRequest, opts ...grpc.CallOption) (*GetMasterConfigurationResponse, error)
  3543. ListMasterClients(ctx context.Context, in *ListMasterClientsRequest, opts ...grpc.CallOption) (*ListMasterClientsResponse, error)
  3544. LeaseAdminToken(ctx context.Context, in *LeaseAdminTokenRequest, opts ...grpc.CallOption) (*LeaseAdminTokenResponse, error)
  3545. ReleaseAdminToken(ctx context.Context, in *ReleaseAdminTokenRequest, opts ...grpc.CallOption) (*ReleaseAdminTokenResponse, error)
  3546. }
  3547. type seaweedClient struct {
  3548. cc grpc.ClientConnInterface
  3549. }
  3550. func NewSeaweedClient(cc grpc.ClientConnInterface) SeaweedClient {
  3551. return &seaweedClient{cc}
  3552. }
  3553. func (c *seaweedClient) SendHeartbeat(ctx context.Context, opts ...grpc.CallOption) (Seaweed_SendHeartbeatClient, error) {
  3554. stream, err := c.cc.NewStream(ctx, &_Seaweed_serviceDesc.Streams[0], "/master_pb.Seaweed/SendHeartbeat", opts...)
  3555. if err != nil {
  3556. return nil, err
  3557. }
  3558. x := &seaweedSendHeartbeatClient{stream}
  3559. return x, nil
  3560. }
  3561. type Seaweed_SendHeartbeatClient interface {
  3562. Send(*Heartbeat) error
  3563. Recv() (*HeartbeatResponse, error)
  3564. grpc.ClientStream
  3565. }
  3566. type seaweedSendHeartbeatClient struct {
  3567. grpc.ClientStream
  3568. }
  3569. func (x *seaweedSendHeartbeatClient) Send(m *Heartbeat) error {
  3570. return x.ClientStream.SendMsg(m)
  3571. }
  3572. func (x *seaweedSendHeartbeatClient) Recv() (*HeartbeatResponse, error) {
  3573. m := new(HeartbeatResponse)
  3574. if err := x.ClientStream.RecvMsg(m); err != nil {
  3575. return nil, err
  3576. }
  3577. return m, nil
  3578. }
  3579. func (c *seaweedClient) KeepConnected(ctx context.Context, opts ...grpc.CallOption) (Seaweed_KeepConnectedClient, error) {
  3580. stream, err := c.cc.NewStream(ctx, &_Seaweed_serviceDesc.Streams[1], "/master_pb.Seaweed/KeepConnected", opts...)
  3581. if err != nil {
  3582. return nil, err
  3583. }
  3584. x := &seaweedKeepConnectedClient{stream}
  3585. return x, nil
  3586. }
  3587. type Seaweed_KeepConnectedClient interface {
  3588. Send(*KeepConnectedRequest) error
  3589. Recv() (*VolumeLocation, error)
  3590. grpc.ClientStream
  3591. }
  3592. type seaweedKeepConnectedClient struct {
  3593. grpc.ClientStream
  3594. }
  3595. func (x *seaweedKeepConnectedClient) Send(m *KeepConnectedRequest) error {
  3596. return x.ClientStream.SendMsg(m)
  3597. }
  3598. func (x *seaweedKeepConnectedClient) Recv() (*VolumeLocation, error) {
  3599. m := new(VolumeLocation)
  3600. if err := x.ClientStream.RecvMsg(m); err != nil {
  3601. return nil, err
  3602. }
  3603. return m, nil
  3604. }
  3605. func (c *seaweedClient) LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error) {
  3606. out := new(LookupVolumeResponse)
  3607. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/LookupVolume", in, out, opts...)
  3608. if err != nil {
  3609. return nil, err
  3610. }
  3611. return out, nil
  3612. }
  3613. func (c *seaweedClient) Assign(ctx context.Context, in *AssignRequest, opts ...grpc.CallOption) (*AssignResponse, error) {
  3614. out := new(AssignResponse)
  3615. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/Assign", in, out, opts...)
  3616. if err != nil {
  3617. return nil, err
  3618. }
  3619. return out, nil
  3620. }
  3621. func (c *seaweedClient) Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error) {
  3622. out := new(StatisticsResponse)
  3623. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/Statistics", in, out, opts...)
  3624. if err != nil {
  3625. return nil, err
  3626. }
  3627. return out, nil
  3628. }
  3629. func (c *seaweedClient) CollectionList(ctx context.Context, in *CollectionListRequest, opts ...grpc.CallOption) (*CollectionListResponse, error) {
  3630. out := new(CollectionListResponse)
  3631. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/CollectionList", in, out, opts...)
  3632. if err != nil {
  3633. return nil, err
  3634. }
  3635. return out, nil
  3636. }
  3637. func (c *seaweedClient) CollectionDelete(ctx context.Context, in *CollectionDeleteRequest, opts ...grpc.CallOption) (*CollectionDeleteResponse, error) {
  3638. out := new(CollectionDeleteResponse)
  3639. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/CollectionDelete", in, out, opts...)
  3640. if err != nil {
  3641. return nil, err
  3642. }
  3643. return out, nil
  3644. }
  3645. func (c *seaweedClient) VolumeList(ctx context.Context, in *VolumeListRequest, opts ...grpc.CallOption) (*VolumeListResponse, error) {
  3646. out := new(VolumeListResponse)
  3647. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/VolumeList", in, out, opts...)
  3648. if err != nil {
  3649. return nil, err
  3650. }
  3651. return out, nil
  3652. }
  3653. func (c *seaweedClient) LookupEcVolume(ctx context.Context, in *LookupEcVolumeRequest, opts ...grpc.CallOption) (*LookupEcVolumeResponse, error) {
  3654. out := new(LookupEcVolumeResponse)
  3655. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/LookupEcVolume", in, out, opts...)
  3656. if err != nil {
  3657. return nil, err
  3658. }
  3659. return out, nil
  3660. }
  3661. func (c *seaweedClient) GetMasterConfiguration(ctx context.Context, in *GetMasterConfigurationRequest, opts ...grpc.CallOption) (*GetMasterConfigurationResponse, error) {
  3662. out := new(GetMasterConfigurationResponse)
  3663. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/GetMasterConfiguration", in, out, opts...)
  3664. if err != nil {
  3665. return nil, err
  3666. }
  3667. return out, nil
  3668. }
  3669. func (c *seaweedClient) ListMasterClients(ctx context.Context, in *ListMasterClientsRequest, opts ...grpc.CallOption) (*ListMasterClientsResponse, error) {
  3670. out := new(ListMasterClientsResponse)
  3671. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/ListMasterClients", in, out, opts...)
  3672. if err != nil {
  3673. return nil, err
  3674. }
  3675. return out, nil
  3676. }
  3677. func (c *seaweedClient) LeaseAdminToken(ctx context.Context, in *LeaseAdminTokenRequest, opts ...grpc.CallOption) (*LeaseAdminTokenResponse, error) {
  3678. out := new(LeaseAdminTokenResponse)
  3679. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/LeaseAdminToken", in, out, opts...)
  3680. if err != nil {
  3681. return nil, err
  3682. }
  3683. return out, nil
  3684. }
  3685. func (c *seaweedClient) ReleaseAdminToken(ctx context.Context, in *ReleaseAdminTokenRequest, opts ...grpc.CallOption) (*ReleaseAdminTokenResponse, error) {
  3686. out := new(ReleaseAdminTokenResponse)
  3687. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/ReleaseAdminToken", in, out, opts...)
  3688. if err != nil {
  3689. return nil, err
  3690. }
  3691. return out, nil
  3692. }
  3693. // SeaweedServer is the server API for Seaweed service.
  3694. type SeaweedServer interface {
  3695. SendHeartbeat(Seaweed_SendHeartbeatServer) error
  3696. KeepConnected(Seaweed_KeepConnectedServer) error
  3697. LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error)
  3698. Assign(context.Context, *AssignRequest) (*AssignResponse, error)
  3699. Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error)
  3700. CollectionList(context.Context, *CollectionListRequest) (*CollectionListResponse, error)
  3701. CollectionDelete(context.Context, *CollectionDeleteRequest) (*CollectionDeleteResponse, error)
  3702. VolumeList(context.Context, *VolumeListRequest) (*VolumeListResponse, error)
  3703. LookupEcVolume(context.Context, *LookupEcVolumeRequest) (*LookupEcVolumeResponse, error)
  3704. GetMasterConfiguration(context.Context, *GetMasterConfigurationRequest) (*GetMasterConfigurationResponse, error)
  3705. ListMasterClients(context.Context, *ListMasterClientsRequest) (*ListMasterClientsResponse, error)
  3706. LeaseAdminToken(context.Context, *LeaseAdminTokenRequest) (*LeaseAdminTokenResponse, error)
  3707. ReleaseAdminToken(context.Context, *ReleaseAdminTokenRequest) (*ReleaseAdminTokenResponse, error)
  3708. }
  3709. // UnimplementedSeaweedServer can be embedded to have forward compatible implementations.
  3710. type UnimplementedSeaweedServer struct {
  3711. }
  3712. func (*UnimplementedSeaweedServer) SendHeartbeat(Seaweed_SendHeartbeatServer) error {
  3713. return status.Errorf(codes.Unimplemented, "method SendHeartbeat not implemented")
  3714. }
  3715. func (*UnimplementedSeaweedServer) KeepConnected(Seaweed_KeepConnectedServer) error {
  3716. return status.Errorf(codes.Unimplemented, "method KeepConnected not implemented")
  3717. }
  3718. func (*UnimplementedSeaweedServer) LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error) {
  3719. return nil, status.Errorf(codes.Unimplemented, "method LookupVolume not implemented")
  3720. }
  3721. func (*UnimplementedSeaweedServer) Assign(context.Context, *AssignRequest) (*AssignResponse, error) {
  3722. return nil, status.Errorf(codes.Unimplemented, "method Assign not implemented")
  3723. }
  3724. func (*UnimplementedSeaweedServer) Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error) {
  3725. return nil, status.Errorf(codes.Unimplemented, "method Statistics not implemented")
  3726. }
  3727. func (*UnimplementedSeaweedServer) CollectionList(context.Context, *CollectionListRequest) (*CollectionListResponse, error) {
  3728. return nil, status.Errorf(codes.Unimplemented, "method CollectionList not implemented")
  3729. }
  3730. func (*UnimplementedSeaweedServer) CollectionDelete(context.Context, *CollectionDeleteRequest) (*CollectionDeleteResponse, error) {
  3731. return nil, status.Errorf(codes.Unimplemented, "method CollectionDelete not implemented")
  3732. }
  3733. func (*UnimplementedSeaweedServer) VolumeList(context.Context, *VolumeListRequest) (*VolumeListResponse, error) {
  3734. return nil, status.Errorf(codes.Unimplemented, "method VolumeList not implemented")
  3735. }
  3736. func (*UnimplementedSeaweedServer) LookupEcVolume(context.Context, *LookupEcVolumeRequest) (*LookupEcVolumeResponse, error) {
  3737. return nil, status.Errorf(codes.Unimplemented, "method LookupEcVolume not implemented")
  3738. }
  3739. func (*UnimplementedSeaweedServer) GetMasterConfiguration(context.Context, *GetMasterConfigurationRequest) (*GetMasterConfigurationResponse, error) {
  3740. return nil, status.Errorf(codes.Unimplemented, "method GetMasterConfiguration not implemented")
  3741. }
  3742. func (*UnimplementedSeaweedServer) ListMasterClients(context.Context, *ListMasterClientsRequest) (*ListMasterClientsResponse, error) {
  3743. return nil, status.Errorf(codes.Unimplemented, "method ListMasterClients not implemented")
  3744. }
  3745. func (*UnimplementedSeaweedServer) LeaseAdminToken(context.Context, *LeaseAdminTokenRequest) (*LeaseAdminTokenResponse, error) {
  3746. return nil, status.Errorf(codes.Unimplemented, "method LeaseAdminToken not implemented")
  3747. }
  3748. func (*UnimplementedSeaweedServer) ReleaseAdminToken(context.Context, *ReleaseAdminTokenRequest) (*ReleaseAdminTokenResponse, error) {
  3749. return nil, status.Errorf(codes.Unimplemented, "method ReleaseAdminToken not implemented")
  3750. }
  3751. func RegisterSeaweedServer(s *grpc.Server, srv SeaweedServer) {
  3752. s.RegisterService(&_Seaweed_serviceDesc, srv)
  3753. }
  3754. func _Seaweed_SendHeartbeat_Handler(srv interface{}, stream grpc.ServerStream) error {
  3755. return srv.(SeaweedServer).SendHeartbeat(&seaweedSendHeartbeatServer{stream})
  3756. }
  3757. type Seaweed_SendHeartbeatServer interface {
  3758. Send(*HeartbeatResponse) error
  3759. Recv() (*Heartbeat, error)
  3760. grpc.ServerStream
  3761. }
  3762. type seaweedSendHeartbeatServer struct {
  3763. grpc.ServerStream
  3764. }
  3765. func (x *seaweedSendHeartbeatServer) Send(m *HeartbeatResponse) error {
  3766. return x.ServerStream.SendMsg(m)
  3767. }
  3768. func (x *seaweedSendHeartbeatServer) Recv() (*Heartbeat, error) {
  3769. m := new(Heartbeat)
  3770. if err := x.ServerStream.RecvMsg(m); err != nil {
  3771. return nil, err
  3772. }
  3773. return m, nil
  3774. }
  3775. func _Seaweed_KeepConnected_Handler(srv interface{}, stream grpc.ServerStream) error {
  3776. return srv.(SeaweedServer).KeepConnected(&seaweedKeepConnectedServer{stream})
  3777. }
  3778. type Seaweed_KeepConnectedServer interface {
  3779. Send(*VolumeLocation) error
  3780. Recv() (*KeepConnectedRequest, error)
  3781. grpc.ServerStream
  3782. }
  3783. type seaweedKeepConnectedServer struct {
  3784. grpc.ServerStream
  3785. }
  3786. func (x *seaweedKeepConnectedServer) Send(m *VolumeLocation) error {
  3787. return x.ServerStream.SendMsg(m)
  3788. }
  3789. func (x *seaweedKeepConnectedServer) Recv() (*KeepConnectedRequest, error) {
  3790. m := new(KeepConnectedRequest)
  3791. if err := x.ServerStream.RecvMsg(m); err != nil {
  3792. return nil, err
  3793. }
  3794. return m, nil
  3795. }
  3796. func _Seaweed_LookupVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3797. in := new(LookupVolumeRequest)
  3798. if err := dec(in); err != nil {
  3799. return nil, err
  3800. }
  3801. if interceptor == nil {
  3802. return srv.(SeaweedServer).LookupVolume(ctx, in)
  3803. }
  3804. info := &grpc.UnaryServerInfo{
  3805. Server: srv,
  3806. FullMethod: "/master_pb.Seaweed/LookupVolume",
  3807. }
  3808. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3809. return srv.(SeaweedServer).LookupVolume(ctx, req.(*LookupVolumeRequest))
  3810. }
  3811. return interceptor(ctx, in, info, handler)
  3812. }
  3813. func _Seaweed_Assign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3814. in := new(AssignRequest)
  3815. if err := dec(in); err != nil {
  3816. return nil, err
  3817. }
  3818. if interceptor == nil {
  3819. return srv.(SeaweedServer).Assign(ctx, in)
  3820. }
  3821. info := &grpc.UnaryServerInfo{
  3822. Server: srv,
  3823. FullMethod: "/master_pb.Seaweed/Assign",
  3824. }
  3825. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3826. return srv.(SeaweedServer).Assign(ctx, req.(*AssignRequest))
  3827. }
  3828. return interceptor(ctx, in, info, handler)
  3829. }
  3830. func _Seaweed_Statistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3831. in := new(StatisticsRequest)
  3832. if err := dec(in); err != nil {
  3833. return nil, err
  3834. }
  3835. if interceptor == nil {
  3836. return srv.(SeaweedServer).Statistics(ctx, in)
  3837. }
  3838. info := &grpc.UnaryServerInfo{
  3839. Server: srv,
  3840. FullMethod: "/master_pb.Seaweed/Statistics",
  3841. }
  3842. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3843. return srv.(SeaweedServer).Statistics(ctx, req.(*StatisticsRequest))
  3844. }
  3845. return interceptor(ctx, in, info, handler)
  3846. }
  3847. func _Seaweed_CollectionList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3848. in := new(CollectionListRequest)
  3849. if err := dec(in); err != nil {
  3850. return nil, err
  3851. }
  3852. if interceptor == nil {
  3853. return srv.(SeaweedServer).CollectionList(ctx, in)
  3854. }
  3855. info := &grpc.UnaryServerInfo{
  3856. Server: srv,
  3857. FullMethod: "/master_pb.Seaweed/CollectionList",
  3858. }
  3859. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3860. return srv.(SeaweedServer).CollectionList(ctx, req.(*CollectionListRequest))
  3861. }
  3862. return interceptor(ctx, in, info, handler)
  3863. }
  3864. func _Seaweed_CollectionDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3865. in := new(CollectionDeleteRequest)
  3866. if err := dec(in); err != nil {
  3867. return nil, err
  3868. }
  3869. if interceptor == nil {
  3870. return srv.(SeaweedServer).CollectionDelete(ctx, in)
  3871. }
  3872. info := &grpc.UnaryServerInfo{
  3873. Server: srv,
  3874. FullMethod: "/master_pb.Seaweed/CollectionDelete",
  3875. }
  3876. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3877. return srv.(SeaweedServer).CollectionDelete(ctx, req.(*CollectionDeleteRequest))
  3878. }
  3879. return interceptor(ctx, in, info, handler)
  3880. }
  3881. func _Seaweed_VolumeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3882. in := new(VolumeListRequest)
  3883. if err := dec(in); err != nil {
  3884. return nil, err
  3885. }
  3886. if interceptor == nil {
  3887. return srv.(SeaweedServer).VolumeList(ctx, in)
  3888. }
  3889. info := &grpc.UnaryServerInfo{
  3890. Server: srv,
  3891. FullMethod: "/master_pb.Seaweed/VolumeList",
  3892. }
  3893. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3894. return srv.(SeaweedServer).VolumeList(ctx, req.(*VolumeListRequest))
  3895. }
  3896. return interceptor(ctx, in, info, handler)
  3897. }
  3898. func _Seaweed_LookupEcVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3899. in := new(LookupEcVolumeRequest)
  3900. if err := dec(in); err != nil {
  3901. return nil, err
  3902. }
  3903. if interceptor == nil {
  3904. return srv.(SeaweedServer).LookupEcVolume(ctx, in)
  3905. }
  3906. info := &grpc.UnaryServerInfo{
  3907. Server: srv,
  3908. FullMethod: "/master_pb.Seaweed/LookupEcVolume",
  3909. }
  3910. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3911. return srv.(SeaweedServer).LookupEcVolume(ctx, req.(*LookupEcVolumeRequest))
  3912. }
  3913. return interceptor(ctx, in, info, handler)
  3914. }
  3915. func _Seaweed_GetMasterConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3916. in := new(GetMasterConfigurationRequest)
  3917. if err := dec(in); err != nil {
  3918. return nil, err
  3919. }
  3920. if interceptor == nil {
  3921. return srv.(SeaweedServer).GetMasterConfiguration(ctx, in)
  3922. }
  3923. info := &grpc.UnaryServerInfo{
  3924. Server: srv,
  3925. FullMethod: "/master_pb.Seaweed/GetMasterConfiguration",
  3926. }
  3927. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3928. return srv.(SeaweedServer).GetMasterConfiguration(ctx, req.(*GetMasterConfigurationRequest))
  3929. }
  3930. return interceptor(ctx, in, info, handler)
  3931. }
  3932. func _Seaweed_ListMasterClients_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3933. in := new(ListMasterClientsRequest)
  3934. if err := dec(in); err != nil {
  3935. return nil, err
  3936. }
  3937. if interceptor == nil {
  3938. return srv.(SeaweedServer).ListMasterClients(ctx, in)
  3939. }
  3940. info := &grpc.UnaryServerInfo{
  3941. Server: srv,
  3942. FullMethod: "/master_pb.Seaweed/ListMasterClients",
  3943. }
  3944. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3945. return srv.(SeaweedServer).ListMasterClients(ctx, req.(*ListMasterClientsRequest))
  3946. }
  3947. return interceptor(ctx, in, info, handler)
  3948. }
  3949. func _Seaweed_LeaseAdminToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3950. in := new(LeaseAdminTokenRequest)
  3951. if err := dec(in); err != nil {
  3952. return nil, err
  3953. }
  3954. if interceptor == nil {
  3955. return srv.(SeaweedServer).LeaseAdminToken(ctx, in)
  3956. }
  3957. info := &grpc.UnaryServerInfo{
  3958. Server: srv,
  3959. FullMethod: "/master_pb.Seaweed/LeaseAdminToken",
  3960. }
  3961. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3962. return srv.(SeaweedServer).LeaseAdminToken(ctx, req.(*LeaseAdminTokenRequest))
  3963. }
  3964. return interceptor(ctx, in, info, handler)
  3965. }
  3966. func _Seaweed_ReleaseAdminToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3967. in := new(ReleaseAdminTokenRequest)
  3968. if err := dec(in); err != nil {
  3969. return nil, err
  3970. }
  3971. if interceptor == nil {
  3972. return srv.(SeaweedServer).ReleaseAdminToken(ctx, in)
  3973. }
  3974. info := &grpc.UnaryServerInfo{
  3975. Server: srv,
  3976. FullMethod: "/master_pb.Seaweed/ReleaseAdminToken",
  3977. }
  3978. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3979. return srv.(SeaweedServer).ReleaseAdminToken(ctx, req.(*ReleaseAdminTokenRequest))
  3980. }
  3981. return interceptor(ctx, in, info, handler)
  3982. }
  3983. var _Seaweed_serviceDesc = grpc.ServiceDesc{
  3984. ServiceName: "master_pb.Seaweed",
  3985. HandlerType: (*SeaweedServer)(nil),
  3986. Methods: []grpc.MethodDesc{
  3987. {
  3988. MethodName: "LookupVolume",
  3989. Handler: _Seaweed_LookupVolume_Handler,
  3990. },
  3991. {
  3992. MethodName: "Assign",
  3993. Handler: _Seaweed_Assign_Handler,
  3994. },
  3995. {
  3996. MethodName: "Statistics",
  3997. Handler: _Seaweed_Statistics_Handler,
  3998. },
  3999. {
  4000. MethodName: "CollectionList",
  4001. Handler: _Seaweed_CollectionList_Handler,
  4002. },
  4003. {
  4004. MethodName: "CollectionDelete",
  4005. Handler: _Seaweed_CollectionDelete_Handler,
  4006. },
  4007. {
  4008. MethodName: "VolumeList",
  4009. Handler: _Seaweed_VolumeList_Handler,
  4010. },
  4011. {
  4012. MethodName: "LookupEcVolume",
  4013. Handler: _Seaweed_LookupEcVolume_Handler,
  4014. },
  4015. {
  4016. MethodName: "GetMasterConfiguration",
  4017. Handler: _Seaweed_GetMasterConfiguration_Handler,
  4018. },
  4019. {
  4020. MethodName: "ListMasterClients",
  4021. Handler: _Seaweed_ListMasterClients_Handler,
  4022. },
  4023. {
  4024. MethodName: "LeaseAdminToken",
  4025. Handler: _Seaweed_LeaseAdminToken_Handler,
  4026. },
  4027. {
  4028. MethodName: "ReleaseAdminToken",
  4029. Handler: _Seaweed_ReleaseAdminToken_Handler,
  4030. },
  4031. },
  4032. Streams: []grpc.StreamDesc{
  4033. {
  4034. StreamName: "SendHeartbeat",
  4035. Handler: _Seaweed_SendHeartbeat_Handler,
  4036. ServerStreams: true,
  4037. ClientStreams: true,
  4038. },
  4039. {
  4040. StreamName: "KeepConnected",
  4041. Handler: _Seaweed_KeepConnected_Handler,
  4042. ServerStreams: true,
  4043. ClientStreams: true,
  4044. },
  4045. },
  4046. Metadata: "master.proto",
  4047. }