github.com/rancher/longhorn-engine@v0.6.2/replica/rpc/replica.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: replica.proto 3 4 package rpc 5 6 import ( 7 context "context" 8 fmt "fmt" 9 proto "github.com/golang/protobuf/proto" 10 empty "github.com/golang/protobuf/ptypes/empty" 11 grpc "google.golang.org/grpc" 12 codes "google.golang.org/grpc/codes" 13 status "google.golang.org/grpc/status" 14 math "math" 15 ) 16 17 // Reference imports to suppress errors if they are not otherwise used. 18 var _ = proto.Marshal 19 var _ = fmt.Errorf 20 var _ = math.Inf 21 22 // This is a compile-time assertion to ensure that this generated file 23 // is compatible with the proto package it is being compiled against. 24 // A compilation error at this line likely means your copy of the 25 // proto package needs to be updated. 26 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 27 28 type ReplicaCreateRequest struct { 29 Size string `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"` 30 XXX_NoUnkeyedLiteral struct{} `json:"-"` 31 XXX_unrecognized []byte `json:"-"` 32 XXX_sizecache int32 `json:"-"` 33 } 34 35 func (m *ReplicaCreateRequest) Reset() { *m = ReplicaCreateRequest{} } 36 func (m *ReplicaCreateRequest) String() string { return proto.CompactTextString(m) } 37 func (*ReplicaCreateRequest) ProtoMessage() {} 38 func (*ReplicaCreateRequest) Descriptor() ([]byte, []int) { 39 return fileDescriptor_1e84aa831fb48ea1, []int{0} 40 } 41 42 func (m *ReplicaCreateRequest) XXX_Unmarshal(b []byte) error { 43 return xxx_messageInfo_ReplicaCreateRequest.Unmarshal(m, b) 44 } 45 func (m *ReplicaCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 46 return xxx_messageInfo_ReplicaCreateRequest.Marshal(b, m, deterministic) 47 } 48 func (m *ReplicaCreateRequest) XXX_Merge(src proto.Message) { 49 xxx_messageInfo_ReplicaCreateRequest.Merge(m, src) 50 } 51 func (m *ReplicaCreateRequest) XXX_Size() int { 52 return xxx_messageInfo_ReplicaCreateRequest.Size(m) 53 } 54 func (m *ReplicaCreateRequest) XXX_DiscardUnknown() { 55 xxx_messageInfo_ReplicaCreateRequest.DiscardUnknown(m) 56 } 57 58 var xxx_messageInfo_ReplicaCreateRequest proto.InternalMessageInfo 59 60 func (m *ReplicaCreateRequest) GetSize() string { 61 if m != nil { 62 return m.Size 63 } 64 return "" 65 } 66 67 type ReplicaRevertRequest struct { 68 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 69 Created string `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"` 70 XXX_NoUnkeyedLiteral struct{} `json:"-"` 71 XXX_unrecognized []byte `json:"-"` 72 XXX_sizecache int32 `json:"-"` 73 } 74 75 func (m *ReplicaRevertRequest) Reset() { *m = ReplicaRevertRequest{} } 76 func (m *ReplicaRevertRequest) String() string { return proto.CompactTextString(m) } 77 func (*ReplicaRevertRequest) ProtoMessage() {} 78 func (*ReplicaRevertRequest) Descriptor() ([]byte, []int) { 79 return fileDescriptor_1e84aa831fb48ea1, []int{1} 80 } 81 82 func (m *ReplicaRevertRequest) XXX_Unmarshal(b []byte) error { 83 return xxx_messageInfo_ReplicaRevertRequest.Unmarshal(m, b) 84 } 85 func (m *ReplicaRevertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 86 return xxx_messageInfo_ReplicaRevertRequest.Marshal(b, m, deterministic) 87 } 88 func (m *ReplicaRevertRequest) XXX_Merge(src proto.Message) { 89 xxx_messageInfo_ReplicaRevertRequest.Merge(m, src) 90 } 91 func (m *ReplicaRevertRequest) XXX_Size() int { 92 return xxx_messageInfo_ReplicaRevertRequest.Size(m) 93 } 94 func (m *ReplicaRevertRequest) XXX_DiscardUnknown() { 95 xxx_messageInfo_ReplicaRevertRequest.DiscardUnknown(m) 96 } 97 98 var xxx_messageInfo_ReplicaRevertRequest proto.InternalMessageInfo 99 100 func (m *ReplicaRevertRequest) GetName() string { 101 if m != nil { 102 return m.Name 103 } 104 return "" 105 } 106 107 func (m *ReplicaRevertRequest) GetCreated() string { 108 if m != nil { 109 return m.Created 110 } 111 return "" 112 } 113 114 type ReplicaSnapshotRequest struct { 115 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 116 UserCreated bool `protobuf:"varint,2,opt,name=userCreated,proto3" json:"userCreated,omitempty"` 117 Created string `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"` 118 Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 119 XXX_NoUnkeyedLiteral struct{} `json:"-"` 120 XXX_unrecognized []byte `json:"-"` 121 XXX_sizecache int32 `json:"-"` 122 } 123 124 func (m *ReplicaSnapshotRequest) Reset() { *m = ReplicaSnapshotRequest{} } 125 func (m *ReplicaSnapshotRequest) String() string { return proto.CompactTextString(m) } 126 func (*ReplicaSnapshotRequest) ProtoMessage() {} 127 func (*ReplicaSnapshotRequest) Descriptor() ([]byte, []int) { 128 return fileDescriptor_1e84aa831fb48ea1, []int{2} 129 } 130 131 func (m *ReplicaSnapshotRequest) XXX_Unmarshal(b []byte) error { 132 return xxx_messageInfo_ReplicaSnapshotRequest.Unmarshal(m, b) 133 } 134 func (m *ReplicaSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 135 return xxx_messageInfo_ReplicaSnapshotRequest.Marshal(b, m, deterministic) 136 } 137 func (m *ReplicaSnapshotRequest) XXX_Merge(src proto.Message) { 138 xxx_messageInfo_ReplicaSnapshotRequest.Merge(m, src) 139 } 140 func (m *ReplicaSnapshotRequest) XXX_Size() int { 141 return xxx_messageInfo_ReplicaSnapshotRequest.Size(m) 142 } 143 func (m *ReplicaSnapshotRequest) XXX_DiscardUnknown() { 144 xxx_messageInfo_ReplicaSnapshotRequest.DiscardUnknown(m) 145 } 146 147 var xxx_messageInfo_ReplicaSnapshotRequest proto.InternalMessageInfo 148 149 func (m *ReplicaSnapshotRequest) GetName() string { 150 if m != nil { 151 return m.Name 152 } 153 return "" 154 } 155 156 func (m *ReplicaSnapshotRequest) GetUserCreated() bool { 157 if m != nil { 158 return m.UserCreated 159 } 160 return false 161 } 162 163 func (m *ReplicaSnapshotRequest) GetCreated() string { 164 if m != nil { 165 return m.Created 166 } 167 return "" 168 } 169 170 func (m *ReplicaSnapshotRequest) GetLabels() map[string]string { 171 if m != nil { 172 return m.Labels 173 } 174 return nil 175 } 176 177 type DiskRemoveRequest struct { 178 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 179 Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` 180 XXX_NoUnkeyedLiteral struct{} `json:"-"` 181 XXX_unrecognized []byte `json:"-"` 182 XXX_sizecache int32 `json:"-"` 183 } 184 185 func (m *DiskRemoveRequest) Reset() { *m = DiskRemoveRequest{} } 186 func (m *DiskRemoveRequest) String() string { return proto.CompactTextString(m) } 187 func (*DiskRemoveRequest) ProtoMessage() {} 188 func (*DiskRemoveRequest) Descriptor() ([]byte, []int) { 189 return fileDescriptor_1e84aa831fb48ea1, []int{3} 190 } 191 192 func (m *DiskRemoveRequest) XXX_Unmarshal(b []byte) error { 193 return xxx_messageInfo_DiskRemoveRequest.Unmarshal(m, b) 194 } 195 func (m *DiskRemoveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 196 return xxx_messageInfo_DiskRemoveRequest.Marshal(b, m, deterministic) 197 } 198 func (m *DiskRemoveRequest) XXX_Merge(src proto.Message) { 199 xxx_messageInfo_DiskRemoveRequest.Merge(m, src) 200 } 201 func (m *DiskRemoveRequest) XXX_Size() int { 202 return xxx_messageInfo_DiskRemoveRequest.Size(m) 203 } 204 func (m *DiskRemoveRequest) XXX_DiscardUnknown() { 205 xxx_messageInfo_DiskRemoveRequest.DiscardUnknown(m) 206 } 207 208 var xxx_messageInfo_DiskRemoveRequest proto.InternalMessageInfo 209 210 func (m *DiskRemoveRequest) GetName() string { 211 if m != nil { 212 return m.Name 213 } 214 return "" 215 } 216 217 func (m *DiskRemoveRequest) GetForce() bool { 218 if m != nil { 219 return m.Force 220 } 221 return false 222 } 223 224 type DiskReplaceRequest struct { 225 Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` 226 Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` 227 XXX_NoUnkeyedLiteral struct{} `json:"-"` 228 XXX_unrecognized []byte `json:"-"` 229 XXX_sizecache int32 `json:"-"` 230 } 231 232 func (m *DiskReplaceRequest) Reset() { *m = DiskReplaceRequest{} } 233 func (m *DiskReplaceRequest) String() string { return proto.CompactTextString(m) } 234 func (*DiskReplaceRequest) ProtoMessage() {} 235 func (*DiskReplaceRequest) Descriptor() ([]byte, []int) { 236 return fileDescriptor_1e84aa831fb48ea1, []int{4} 237 } 238 239 func (m *DiskReplaceRequest) XXX_Unmarshal(b []byte) error { 240 return xxx_messageInfo_DiskReplaceRequest.Unmarshal(m, b) 241 } 242 func (m *DiskReplaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 243 return xxx_messageInfo_DiskReplaceRequest.Marshal(b, m, deterministic) 244 } 245 func (m *DiskReplaceRequest) XXX_Merge(src proto.Message) { 246 xxx_messageInfo_DiskReplaceRequest.Merge(m, src) 247 } 248 func (m *DiskReplaceRequest) XXX_Size() int { 249 return xxx_messageInfo_DiskReplaceRequest.Size(m) 250 } 251 func (m *DiskReplaceRequest) XXX_DiscardUnknown() { 252 xxx_messageInfo_DiskReplaceRequest.DiscardUnknown(m) 253 } 254 255 var xxx_messageInfo_DiskReplaceRequest proto.InternalMessageInfo 256 257 func (m *DiskReplaceRequest) GetTarget() string { 258 if m != nil { 259 return m.Target 260 } 261 return "" 262 } 263 264 func (m *DiskReplaceRequest) GetSource() string { 265 if m != nil { 266 return m.Source 267 } 268 return "" 269 } 270 271 type DiskPrepareRemoveRequest struct { 272 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 273 XXX_NoUnkeyedLiteral struct{} `json:"-"` 274 XXX_unrecognized []byte `json:"-"` 275 XXX_sizecache int32 `json:"-"` 276 } 277 278 func (m *DiskPrepareRemoveRequest) Reset() { *m = DiskPrepareRemoveRequest{} } 279 func (m *DiskPrepareRemoveRequest) String() string { return proto.CompactTextString(m) } 280 func (*DiskPrepareRemoveRequest) ProtoMessage() {} 281 func (*DiskPrepareRemoveRequest) Descriptor() ([]byte, []int) { 282 return fileDescriptor_1e84aa831fb48ea1, []int{5} 283 } 284 285 func (m *DiskPrepareRemoveRequest) XXX_Unmarshal(b []byte) error { 286 return xxx_messageInfo_DiskPrepareRemoveRequest.Unmarshal(m, b) 287 } 288 func (m *DiskPrepareRemoveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 289 return xxx_messageInfo_DiskPrepareRemoveRequest.Marshal(b, m, deterministic) 290 } 291 func (m *DiskPrepareRemoveRequest) XXX_Merge(src proto.Message) { 292 xxx_messageInfo_DiskPrepareRemoveRequest.Merge(m, src) 293 } 294 func (m *DiskPrepareRemoveRequest) XXX_Size() int { 295 return xxx_messageInfo_DiskPrepareRemoveRequest.Size(m) 296 } 297 func (m *DiskPrepareRemoveRequest) XXX_DiscardUnknown() { 298 xxx_messageInfo_DiskPrepareRemoveRequest.DiscardUnknown(m) 299 } 300 301 var xxx_messageInfo_DiskPrepareRemoveRequest proto.InternalMessageInfo 302 303 func (m *DiskPrepareRemoveRequest) GetName() string { 304 if m != nil { 305 return m.Name 306 } 307 return "" 308 } 309 310 type DiskPrepareRemoveReply struct { 311 Operations []*PrepareRemoveAction `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` 312 XXX_NoUnkeyedLiteral struct{} `json:"-"` 313 XXX_unrecognized []byte `json:"-"` 314 XXX_sizecache int32 `json:"-"` 315 } 316 317 func (m *DiskPrepareRemoveReply) Reset() { *m = DiskPrepareRemoveReply{} } 318 func (m *DiskPrepareRemoveReply) String() string { return proto.CompactTextString(m) } 319 func (*DiskPrepareRemoveReply) ProtoMessage() {} 320 func (*DiskPrepareRemoveReply) Descriptor() ([]byte, []int) { 321 return fileDescriptor_1e84aa831fb48ea1, []int{6} 322 } 323 324 func (m *DiskPrepareRemoveReply) XXX_Unmarshal(b []byte) error { 325 return xxx_messageInfo_DiskPrepareRemoveReply.Unmarshal(m, b) 326 } 327 func (m *DiskPrepareRemoveReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 328 return xxx_messageInfo_DiskPrepareRemoveReply.Marshal(b, m, deterministic) 329 } 330 func (m *DiskPrepareRemoveReply) XXX_Merge(src proto.Message) { 331 xxx_messageInfo_DiskPrepareRemoveReply.Merge(m, src) 332 } 333 func (m *DiskPrepareRemoveReply) XXX_Size() int { 334 return xxx_messageInfo_DiskPrepareRemoveReply.Size(m) 335 } 336 func (m *DiskPrepareRemoveReply) XXX_DiscardUnknown() { 337 xxx_messageInfo_DiskPrepareRemoveReply.DiscardUnknown(m) 338 } 339 340 var xxx_messageInfo_DiskPrepareRemoveReply proto.InternalMessageInfo 341 342 func (m *DiskPrepareRemoveReply) GetOperations() []*PrepareRemoveAction { 343 if m != nil { 344 return m.Operations 345 } 346 return nil 347 } 348 349 type DiskMarkAsRemovedRequest struct { 350 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 351 XXX_NoUnkeyedLiteral struct{} `json:"-"` 352 XXX_unrecognized []byte `json:"-"` 353 XXX_sizecache int32 `json:"-"` 354 } 355 356 func (m *DiskMarkAsRemovedRequest) Reset() { *m = DiskMarkAsRemovedRequest{} } 357 func (m *DiskMarkAsRemovedRequest) String() string { return proto.CompactTextString(m) } 358 func (*DiskMarkAsRemovedRequest) ProtoMessage() {} 359 func (*DiskMarkAsRemovedRequest) Descriptor() ([]byte, []int) { 360 return fileDescriptor_1e84aa831fb48ea1, []int{7} 361 } 362 363 func (m *DiskMarkAsRemovedRequest) XXX_Unmarshal(b []byte) error { 364 return xxx_messageInfo_DiskMarkAsRemovedRequest.Unmarshal(m, b) 365 } 366 func (m *DiskMarkAsRemovedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 367 return xxx_messageInfo_DiskMarkAsRemovedRequest.Marshal(b, m, deterministic) 368 } 369 func (m *DiskMarkAsRemovedRequest) XXX_Merge(src proto.Message) { 370 xxx_messageInfo_DiskMarkAsRemovedRequest.Merge(m, src) 371 } 372 func (m *DiskMarkAsRemovedRequest) XXX_Size() int { 373 return xxx_messageInfo_DiskMarkAsRemovedRequest.Size(m) 374 } 375 func (m *DiskMarkAsRemovedRequest) XXX_DiscardUnknown() { 376 xxx_messageInfo_DiskMarkAsRemovedRequest.DiscardUnknown(m) 377 } 378 379 var xxx_messageInfo_DiskMarkAsRemovedRequest proto.InternalMessageInfo 380 381 func (m *DiskMarkAsRemovedRequest) GetName() string { 382 if m != nil { 383 return m.Name 384 } 385 return "" 386 } 387 388 type RebuildingSetRequest struct { 389 Rebuilding bool `protobuf:"varint,1,opt,name=rebuilding,proto3" json:"rebuilding,omitempty"` 390 XXX_NoUnkeyedLiteral struct{} `json:"-"` 391 XXX_unrecognized []byte `json:"-"` 392 XXX_sizecache int32 `json:"-"` 393 } 394 395 func (m *RebuildingSetRequest) Reset() { *m = RebuildingSetRequest{} } 396 func (m *RebuildingSetRequest) String() string { return proto.CompactTextString(m) } 397 func (*RebuildingSetRequest) ProtoMessage() {} 398 func (*RebuildingSetRequest) Descriptor() ([]byte, []int) { 399 return fileDescriptor_1e84aa831fb48ea1, []int{8} 400 } 401 402 func (m *RebuildingSetRequest) XXX_Unmarshal(b []byte) error { 403 return xxx_messageInfo_RebuildingSetRequest.Unmarshal(m, b) 404 } 405 func (m *RebuildingSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 406 return xxx_messageInfo_RebuildingSetRequest.Marshal(b, m, deterministic) 407 } 408 func (m *RebuildingSetRequest) XXX_Merge(src proto.Message) { 409 xxx_messageInfo_RebuildingSetRequest.Merge(m, src) 410 } 411 func (m *RebuildingSetRequest) XXX_Size() int { 412 return xxx_messageInfo_RebuildingSetRequest.Size(m) 413 } 414 func (m *RebuildingSetRequest) XXX_DiscardUnknown() { 415 xxx_messageInfo_RebuildingSetRequest.DiscardUnknown(m) 416 } 417 418 var xxx_messageInfo_RebuildingSetRequest proto.InternalMessageInfo 419 420 func (m *RebuildingSetRequest) GetRebuilding() bool { 421 if m != nil { 422 return m.Rebuilding 423 } 424 return false 425 } 426 427 type RevisionCounterSetRequest struct { 428 Counter int64 `protobuf:"varint,1,opt,name=counter,proto3" json:"counter,omitempty"` 429 XXX_NoUnkeyedLiteral struct{} `json:"-"` 430 XXX_unrecognized []byte `json:"-"` 431 XXX_sizecache int32 `json:"-"` 432 } 433 434 func (m *RevisionCounterSetRequest) Reset() { *m = RevisionCounterSetRequest{} } 435 func (m *RevisionCounterSetRequest) String() string { return proto.CompactTextString(m) } 436 func (*RevisionCounterSetRequest) ProtoMessage() {} 437 func (*RevisionCounterSetRequest) Descriptor() ([]byte, []int) { 438 return fileDescriptor_1e84aa831fb48ea1, []int{9} 439 } 440 441 func (m *RevisionCounterSetRequest) XXX_Unmarshal(b []byte) error { 442 return xxx_messageInfo_RevisionCounterSetRequest.Unmarshal(m, b) 443 } 444 func (m *RevisionCounterSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 445 return xxx_messageInfo_RevisionCounterSetRequest.Marshal(b, m, deterministic) 446 } 447 func (m *RevisionCounterSetRequest) XXX_Merge(src proto.Message) { 448 xxx_messageInfo_RevisionCounterSetRequest.Merge(m, src) 449 } 450 func (m *RevisionCounterSetRequest) XXX_Size() int { 451 return xxx_messageInfo_RevisionCounterSetRequest.Size(m) 452 } 453 func (m *RevisionCounterSetRequest) XXX_DiscardUnknown() { 454 xxx_messageInfo_RevisionCounterSetRequest.DiscardUnknown(m) 455 } 456 457 var xxx_messageInfo_RevisionCounterSetRequest proto.InternalMessageInfo 458 459 func (m *RevisionCounterSetRequest) GetCounter() int64 { 460 if m != nil { 461 return m.Counter 462 } 463 return 0 464 } 465 466 type DiskInfo struct { 467 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 468 Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` 469 Children map[string]bool `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 470 Removed bool `protobuf:"varint,4,opt,name=removed,proto3" json:"removed,omitempty"` 471 UserCreated bool `protobuf:"varint,5,opt,name=userCreated,proto3" json:"userCreated,omitempty"` 472 Created string `protobuf:"bytes,6,opt,name=created,proto3" json:"created,omitempty"` 473 Size string `protobuf:"bytes,7,opt,name=size,proto3" json:"size,omitempty"` 474 Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 475 XXX_NoUnkeyedLiteral struct{} `json:"-"` 476 XXX_unrecognized []byte `json:"-"` 477 XXX_sizecache int32 `json:"-"` 478 } 479 480 func (m *DiskInfo) Reset() { *m = DiskInfo{} } 481 func (m *DiskInfo) String() string { return proto.CompactTextString(m) } 482 func (*DiskInfo) ProtoMessage() {} 483 func (*DiskInfo) Descriptor() ([]byte, []int) { 484 return fileDescriptor_1e84aa831fb48ea1, []int{10} 485 } 486 487 func (m *DiskInfo) XXX_Unmarshal(b []byte) error { 488 return xxx_messageInfo_DiskInfo.Unmarshal(m, b) 489 } 490 func (m *DiskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 491 return xxx_messageInfo_DiskInfo.Marshal(b, m, deterministic) 492 } 493 func (m *DiskInfo) XXX_Merge(src proto.Message) { 494 xxx_messageInfo_DiskInfo.Merge(m, src) 495 } 496 func (m *DiskInfo) XXX_Size() int { 497 return xxx_messageInfo_DiskInfo.Size(m) 498 } 499 func (m *DiskInfo) XXX_DiscardUnknown() { 500 xxx_messageInfo_DiskInfo.DiscardUnknown(m) 501 } 502 503 var xxx_messageInfo_DiskInfo proto.InternalMessageInfo 504 505 func (m *DiskInfo) GetName() string { 506 if m != nil { 507 return m.Name 508 } 509 return "" 510 } 511 512 func (m *DiskInfo) GetParent() string { 513 if m != nil { 514 return m.Parent 515 } 516 return "" 517 } 518 519 func (m *DiskInfo) GetChildren() map[string]bool { 520 if m != nil { 521 return m.Children 522 } 523 return nil 524 } 525 526 func (m *DiskInfo) GetRemoved() bool { 527 if m != nil { 528 return m.Removed 529 } 530 return false 531 } 532 533 func (m *DiskInfo) GetUserCreated() bool { 534 if m != nil { 535 return m.UserCreated 536 } 537 return false 538 } 539 540 func (m *DiskInfo) GetCreated() string { 541 if m != nil { 542 return m.Created 543 } 544 return "" 545 } 546 547 func (m *DiskInfo) GetSize() string { 548 if m != nil { 549 return m.Size 550 } 551 return "" 552 } 553 554 func (m *DiskInfo) GetLabels() map[string]string { 555 if m != nil { 556 return m.Labels 557 } 558 return nil 559 } 560 561 type Replica struct { 562 Dirty bool `protobuf:"varint,1,opt,name=dirty,proto3" json:"dirty,omitempty"` 563 Rebuilding bool `protobuf:"varint,2,opt,name=rebuilding,proto3" json:"rebuilding,omitempty"` 564 Head string `protobuf:"bytes,3,opt,name=head,proto3" json:"head,omitempty"` 565 Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` 566 Size string `protobuf:"bytes,5,opt,name=size,proto3" json:"size,omitempty"` 567 SectorSize int64 `protobuf:"varint,6,opt,name=sectorSize,proto3" json:"sectorSize,omitempty"` 568 BackingFile string `protobuf:"bytes,7,opt,name=backingFile,proto3" json:"backingFile,omitempty"` 569 State string `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"` 570 Chain []string `protobuf:"bytes,9,rep,name=chain,proto3" json:"chain,omitempty"` 571 Disks map[string]*DiskInfo `protobuf:"bytes,10,rep,name=disks,proto3" json:"disks,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 572 RemainSnapshots int32 `protobuf:"varint,11,opt,name=remainSnapshots,proto3" json:"remainSnapshots,omitempty"` 573 RevisionCounter int64 `protobuf:"varint,12,opt,name=revisionCounter,proto3" json:"revisionCounter,omitempty"` 574 XXX_NoUnkeyedLiteral struct{} `json:"-"` 575 XXX_unrecognized []byte `json:"-"` 576 XXX_sizecache int32 `json:"-"` 577 } 578 579 func (m *Replica) Reset() { *m = Replica{} } 580 func (m *Replica) String() string { return proto.CompactTextString(m) } 581 func (*Replica) ProtoMessage() {} 582 func (*Replica) Descriptor() ([]byte, []int) { 583 return fileDescriptor_1e84aa831fb48ea1, []int{11} 584 } 585 586 func (m *Replica) XXX_Unmarshal(b []byte) error { 587 return xxx_messageInfo_Replica.Unmarshal(m, b) 588 } 589 func (m *Replica) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 590 return xxx_messageInfo_Replica.Marshal(b, m, deterministic) 591 } 592 func (m *Replica) XXX_Merge(src proto.Message) { 593 xxx_messageInfo_Replica.Merge(m, src) 594 } 595 func (m *Replica) XXX_Size() int { 596 return xxx_messageInfo_Replica.Size(m) 597 } 598 func (m *Replica) XXX_DiscardUnknown() { 599 xxx_messageInfo_Replica.DiscardUnknown(m) 600 } 601 602 var xxx_messageInfo_Replica proto.InternalMessageInfo 603 604 func (m *Replica) GetDirty() bool { 605 if m != nil { 606 return m.Dirty 607 } 608 return false 609 } 610 611 func (m *Replica) GetRebuilding() bool { 612 if m != nil { 613 return m.Rebuilding 614 } 615 return false 616 } 617 618 func (m *Replica) GetHead() string { 619 if m != nil { 620 return m.Head 621 } 622 return "" 623 } 624 625 func (m *Replica) GetParent() string { 626 if m != nil { 627 return m.Parent 628 } 629 return "" 630 } 631 632 func (m *Replica) GetSize() string { 633 if m != nil { 634 return m.Size 635 } 636 return "" 637 } 638 639 func (m *Replica) GetSectorSize() int64 { 640 if m != nil { 641 return m.SectorSize 642 } 643 return 0 644 } 645 646 func (m *Replica) GetBackingFile() string { 647 if m != nil { 648 return m.BackingFile 649 } 650 return "" 651 } 652 653 func (m *Replica) GetState() string { 654 if m != nil { 655 return m.State 656 } 657 return "" 658 } 659 660 func (m *Replica) GetChain() []string { 661 if m != nil { 662 return m.Chain 663 } 664 return nil 665 } 666 667 func (m *Replica) GetDisks() map[string]*DiskInfo { 668 if m != nil { 669 return m.Disks 670 } 671 return nil 672 } 673 674 func (m *Replica) GetRemainSnapshots() int32 { 675 if m != nil { 676 return m.RemainSnapshots 677 } 678 return 0 679 } 680 681 func (m *Replica) GetRevisionCounter() int64 { 682 if m != nil { 683 return m.RevisionCounter 684 } 685 return 0 686 } 687 688 type PrepareRemoveAction struct { 689 Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` 690 Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` 691 Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` 692 XXX_NoUnkeyedLiteral struct{} `json:"-"` 693 XXX_unrecognized []byte `json:"-"` 694 XXX_sizecache int32 `json:"-"` 695 } 696 697 func (m *PrepareRemoveAction) Reset() { *m = PrepareRemoveAction{} } 698 func (m *PrepareRemoveAction) String() string { return proto.CompactTextString(m) } 699 func (*PrepareRemoveAction) ProtoMessage() {} 700 func (*PrepareRemoveAction) Descriptor() ([]byte, []int) { 701 return fileDescriptor_1e84aa831fb48ea1, []int{12} 702 } 703 704 func (m *PrepareRemoveAction) XXX_Unmarshal(b []byte) error { 705 return xxx_messageInfo_PrepareRemoveAction.Unmarshal(m, b) 706 } 707 func (m *PrepareRemoveAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 708 return xxx_messageInfo_PrepareRemoveAction.Marshal(b, m, deterministic) 709 } 710 func (m *PrepareRemoveAction) XXX_Merge(src proto.Message) { 711 xxx_messageInfo_PrepareRemoveAction.Merge(m, src) 712 } 713 func (m *PrepareRemoveAction) XXX_Size() int { 714 return xxx_messageInfo_PrepareRemoveAction.Size(m) 715 } 716 func (m *PrepareRemoveAction) XXX_DiscardUnknown() { 717 xxx_messageInfo_PrepareRemoveAction.DiscardUnknown(m) 718 } 719 720 var xxx_messageInfo_PrepareRemoveAction proto.InternalMessageInfo 721 722 func (m *PrepareRemoveAction) GetAction() string { 723 if m != nil { 724 return m.Action 725 } 726 return "" 727 } 728 729 func (m *PrepareRemoveAction) GetSource() string { 730 if m != nil { 731 return m.Source 732 } 733 return "" 734 } 735 736 func (m *PrepareRemoveAction) GetTarget() string { 737 if m != nil { 738 return m.Target 739 } 740 return "" 741 } 742 743 func init() { 744 proto.RegisterType((*ReplicaCreateRequest)(nil), "rpc.ReplicaCreateRequest") 745 proto.RegisterType((*ReplicaRevertRequest)(nil), "rpc.ReplicaRevertRequest") 746 proto.RegisterType((*ReplicaSnapshotRequest)(nil), "rpc.ReplicaSnapshotRequest") 747 proto.RegisterMapType((map[string]string)(nil), "rpc.ReplicaSnapshotRequest.LabelsEntry") 748 proto.RegisterType((*DiskRemoveRequest)(nil), "rpc.DiskRemoveRequest") 749 proto.RegisterType((*DiskReplaceRequest)(nil), "rpc.DiskReplaceRequest") 750 proto.RegisterType((*DiskPrepareRemoveRequest)(nil), "rpc.DiskPrepareRemoveRequest") 751 proto.RegisterType((*DiskPrepareRemoveReply)(nil), "rpc.DiskPrepareRemoveReply") 752 proto.RegisterType((*DiskMarkAsRemovedRequest)(nil), "rpc.DiskMarkAsRemovedRequest") 753 proto.RegisterType((*RebuildingSetRequest)(nil), "rpc.RebuildingSetRequest") 754 proto.RegisterType((*RevisionCounterSetRequest)(nil), "rpc.RevisionCounterSetRequest") 755 proto.RegisterType((*DiskInfo)(nil), "rpc.DiskInfo") 756 proto.RegisterMapType((map[string]bool)(nil), "rpc.DiskInfo.ChildrenEntry") 757 proto.RegisterMapType((map[string]string)(nil), "rpc.DiskInfo.LabelsEntry") 758 proto.RegisterType((*Replica)(nil), "rpc.Replica") 759 proto.RegisterMapType((map[string]*DiskInfo)(nil), "rpc.Replica.DisksEntry") 760 proto.RegisterType((*PrepareRemoveAction)(nil), "rpc.PrepareRemoveAction") 761 } 762 763 func init() { proto.RegisterFile("replica.proto", fileDescriptor_1e84aa831fb48ea1) } 764 765 var fileDescriptor_1e84aa831fb48ea1 = []byte{ 766 // 890 bytes of a gzipped FileDescriptorProto 767 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x5f, 0x6f, 0xe3, 0x44, 768 0x10, 0xbf, 0xd4, 0x4d, 0x9a, 0x4e, 0x5a, 0x0e, 0x96, 0x2a, 0xe7, 0xa6, 0xa2, 0x8a, 0xcc, 0x03, 769 0x15, 0x12, 0x3e, 0x51, 0xee, 0x1f, 0x45, 0x80, 0x4a, 0x72, 0x9c, 0x90, 0x40, 0x80, 0xfb, 0xcc, 770 0xc3, 0xc6, 0x99, 0x26, 0x56, 0x1c, 0xaf, 0xd9, 0xdd, 0x44, 0x0a, 0xcf, 0x7c, 0x29, 0xbe, 0x0f, 771 0x1f, 0x80, 0x8f, 0x80, 0x76, 0xd7, 0xeb, 0x5b, 0x3b, 0x4e, 0xae, 0xd2, 0xbd, 0x79, 0xc6, 0xf3, 772 0x9b, 0xdd, 0x99, 0xf9, 0xed, 0xfc, 0xe0, 0x94, 0x63, 0x9e, 0x26, 0x31, 0x0d, 0x73, 0xce, 0x24, 773 0x23, 0x1e, 0xcf, 0xe3, 0xc1, 0xc5, 0x8c, 0xb1, 0x59, 0x8a, 0x4f, 0xb5, 0x6b, 0xb2, 0xba, 0x7f, 774 0x8a, 0xcb, 0x5c, 0x6e, 0x4c, 0x44, 0xf0, 0x39, 0x9c, 0x45, 0x06, 0x32, 0xe2, 0x48, 0x25, 0x46, 775 0xf8, 0xe7, 0x0a, 0x85, 0x24, 0x04, 0x0e, 0x45, 0xf2, 0x17, 0xfa, 0xad, 0x61, 0xeb, 0xea, 0x38, 776 0xd2, 0xdf, 0xc1, 0xb8, 0x8c, 0x8d, 0x70, 0x8d, 0x5c, 0x3a, 0xb1, 0x19, 0x5d, 0x96, 0xb1, 0xea, 777 0x9b, 0xf8, 0x70, 0x14, 0xeb, 0x84, 0x53, 0xff, 0x40, 0xbb, 0xad, 0x19, 0xfc, 0xdb, 0x82, 0x7e, 778 0x91, 0xe6, 0x2e, 0xa3, 0xb9, 0x98, 0xb3, 0xbd, 0x89, 0x86, 0xd0, 0x5b, 0x09, 0xe4, 0x23, 0x27, 779 0x59, 0x37, 0x72, 0x5d, 0xee, 0x51, 0x5e, 0xe5, 0x28, 0xf2, 0x3d, 0x74, 0x52, 0x3a, 0xc1, 0x54, 780 0xf8, 0x87, 0x43, 0xef, 0xaa, 0x77, 0xfd, 0x59, 0xc8, 0xf3, 0x38, 0x6c, 0x3e, 0x3c, 0xfc, 0x59, 781 0x47, 0xbe, 0xce, 0x24, 0xdf, 0x44, 0x05, 0x6c, 0xf0, 0x35, 0xf4, 0x1c, 0x37, 0xf9, 0x10, 0xbc, 782 0x05, 0x6e, 0x8a, 0xeb, 0xa9, 0x4f, 0x72, 0x06, 0xed, 0x35, 0x4d, 0x57, 0x58, 0x14, 0x69, 0x8c, 783 0x9b, 0x83, 0x57, 0xad, 0xe0, 0x5b, 0xf8, 0x68, 0x9c, 0x88, 0x45, 0x84, 0x4b, 0xb6, 0xc6, 0x7d, 784 0x05, 0x9e, 0x41, 0xfb, 0x9e, 0xf1, 0x18, 0x8b, 0xd2, 0x8c, 0x11, 0x8c, 0x81, 0x18, 0x78, 0x9e, 785 0xd2, 0xb8, 0xc4, 0xf7, 0xa1, 0x23, 0x29, 0x9f, 0xa1, 0x2c, 0x32, 0x14, 0x96, 0xf2, 0x0b, 0xb6, 786 0xb2, 0x49, 0x8e, 0xa3, 0xc2, 0x0a, 0x42, 0xf0, 0x55, 0x96, 0xdf, 0x38, 0xe6, 0x94, 0xe3, 0x3b, 787 0xef, 0x12, 0x44, 0xd0, 0x6f, 0x88, 0xcf, 0xd3, 0x0d, 0x79, 0x05, 0xc0, 0x72, 0xe4, 0x54, 0x26, 788 0x2c, 0x13, 0x7e, 0x4b, 0xb7, 0xd3, 0xd7, 0xed, 0xac, 0x04, 0xdf, 0xc6, 0x2a, 0x20, 0x72, 0x62, 789 0xed, 0x1d, 0x7e, 0xa1, 0x7c, 0x71, 0x2b, 0x4c, 0xd4, 0x74, 0xdf, 0x1d, 0x5e, 0x28, 0x96, 0x4d, 790 0x56, 0x49, 0x3a, 0x4d, 0xb2, 0xd9, 0x1d, 0x96, 0xe4, 0xb8, 0x04, 0xe0, 0xa5, 0x5f, 0x23, 0xba, 791 0x91, 0xe3, 0x09, 0x9e, 0xc3, 0x79, 0x84, 0xeb, 0x44, 0x24, 0x2c, 0x1b, 0xb1, 0x55, 0x26, 0x91, 792 0x3b, 0x60, 0xc5, 0x11, 0xe3, 0xd4, 0x48, 0x2f, 0xb2, 0x66, 0xf0, 0xb7, 0x07, 0x5d, 0x75, 0xbf, 793 0x9f, 0xb2, 0x7b, 0xd6, 0x38, 0x9f, 0x3e, 0x74, 0x54, 0x7d, 0x99, 0xb4, 0xbd, 0x35, 0x16, 0x79, 794 0x09, 0xdd, 0x78, 0x9e, 0xa4, 0x53, 0x8e, 0x99, 0xef, 0xe9, 0x7e, 0x5c, 0xe8, 0x7e, 0xd8, 0x64, 795 0xe1, 0xa8, 0xf8, 0x6b, 0x28, 0x55, 0x06, 0xab, 0xbb, 0x70, 0xd3, 0x06, 0xff, 0x50, 0x57, 0x61, 796 0xcd, 0x3a, 0xd7, 0xdb, 0x7b, 0xb9, 0xde, 0xa9, 0x72, 0xdd, 0x3e, 0xd8, 0xa3, 0xb7, 0x0f, 0x96, 797 0x7c, 0x59, 0xf2, 0xbf, 0xab, 0x2f, 0x78, 0x5e, 0xbd, 0x60, 0x13, 0xe3, 0xbf, 0x81, 0xd3, 0xca, 798 0xbd, 0xdf, 0xc5, 0xf9, 0xae, 0xc3, 0xf9, 0xf7, 0x79, 0x2e, 0xff, 0x78, 0x70, 0x54, 0x3c, 0x4c, 799 0x15, 0x35, 0x4d, 0xb8, 0xdc, 0x14, 0x43, 0x36, 0x46, 0x6d, 0xfe, 0x07, 0xf5, 0xf9, 0xab, 0x06, 800 0xcc, 0x91, 0xda, 0x1d, 0xa0, 0xbf, 0x9d, 0xd9, 0x1d, 0x56, 0x66, 0x67, 0x9b, 0xd5, 0x76, 0x9a, 801 0x75, 0x09, 0x20, 0x30, 0x96, 0x8c, 0xdf, 0xa9, 0x3f, 0x1d, 0xcd, 0x12, 0xc7, 0xa3, 0x86, 0x33, 802 0xa1, 0xf1, 0x22, 0xc9, 0x66, 0x3f, 0x26, 0xa9, 0xed, 0xb3, 0xeb, 0x52, 0xf7, 0x16, 0x92, 0x4a, 803 0xf4, 0xbb, 0xa6, 0x3a, 0x6d, 0x28, 0x6f, 0x3c, 0xa7, 0x49, 0xe6, 0x1f, 0x0f, 0x3d, 0xe5, 0xd5, 804 0x06, 0xf9, 0x42, 0xd5, 0x28, 0x16, 0xc2, 0x07, 0x3d, 0x99, 0x27, 0xee, 0x66, 0xd2, 0x13, 0x2a, 805 0xe6, 0x62, 0xa2, 0xc8, 0x15, 0x3c, 0xe6, 0xb8, 0xa4, 0x49, 0x66, 0xb7, 0x96, 0xf0, 0x7b, 0xc3, 806 0xd6, 0x55, 0x3b, 0xaa, 0xbb, 0x4d, 0x64, 0xe5, 0x19, 0xf8, 0x27, 0xba, 0x96, 0xba, 0x7b, 0xf0, 807 0x06, 0xe0, 0xed, 0x41, 0x0d, 0xc3, 0xfa, 0xd4, 0x1d, 0x56, 0xef, 0xfa, 0xb4, 0x42, 0x1e, 0x77, 808 0x76, 0x7f, 0xc0, 0xc7, 0x0d, 0x4b, 0x40, 0x35, 0x9f, 0xea, 0x2f, 0xbb, 0xac, 0x68, 0xe9, 0x6f, 809 0x5a, 0x56, 0xce, 0x72, 0xf3, 0xdc, 0xe5, 0x76, 0xfd, 0x5f, 0x07, 0x3e, 0xb0, 0x3b, 0x1b, 0xf9, 810 0x3a, 0x89, 0x91, 0xdc, 0xc0, 0x69, 0x45, 0xb5, 0xc8, 0xb9, 0xdb, 0xbf, 0x8a, 0x92, 0x0d, 0x4e, 811 0xdc, 0x5f, 0xc1, 0x23, 0x72, 0x5b, 0x62, 0xc7, 0x98, 0xa2, 0x44, 0xd2, 0x0f, 0x8d, 0x40, 0x86, 812 0x56, 0x20, 0xc3, 0xd7, 0x4a, 0x20, 0x07, 0x3b, 0xfc, 0xc1, 0x23, 0xf2, 0x0c, 0xa0, 0x48, 0xf1, 813 0x46, 0x2d, 0xdf, 0x1d, 0xf8, 0xfa, 0xc1, 0xcf, 0xa1, 0x57, 0x18, 0xbf, 0xe6, 0x98, 0x3d, 0x18, 814 0xf6, 0x02, 0x4e, 0x6c, 0x5d, 0x29, 0x13, 0xf8, 0x60, 0xdc, 0xcb, 0xb2, 0xce, 0x08, 0x53, 0xa6, 815 0x1e, 0xc3, 0x03, 0x81, 0x37, 0x0e, 0x50, 0xc9, 0x7c, 0xb5, 0xb9, 0x15, 0xe9, 0xdf, 0xc2, 0x7e, 816 0x07, 0x8f, 0x6b, 0xf2, 0x4a, 0x2e, 0xf6, 0x88, 0xee, 0x16, 0xfe, 0x99, 0xe1, 0xa4, 0xe1, 0x11, 817 0xe9, 0x97, 0x94, 0xab, 0x48, 0x57, 0x43, 0x8b, 0x7a, 0x8e, 0x58, 0x92, 0x27, 0x0e, 0xcc, 0x95, 818 0xcf, 0x2d, 0xdc, 0xef, 0x46, 0xa3, 0x2b, 0xe4, 0x25, 0x9f, 0x94, 0xe8, 0x26, 0xd9, 0x1c, 0x5c, 819 0xec, 0xfa, 0x9d, 0xa7, 0x8a, 0x1a, 0x3f, 0x98, 0x94, 0x15, 0xb5, 0x73, 0x52, 0x36, 0xa9, 0x60, 820 0xf3, 0x00, 0x1c, 0x05, 0x2c, 0x07, 0xb0, 0xad, 0x8a, 0x5b, 0xd8, 0x31, 0x90, 0x6d, 0x15, 0x24, 821 0x97, 0x45, 0xd4, 0x0e, 0x79, 0xac, 0x67, 0x99, 0x74, 0x34, 0x45, 0xbe, 0xfa, 0x3f, 0x00, 0x00, 822 0xff, 0xff, 0x3d, 0x8d, 0x54, 0x9a, 0x4f, 0x0a, 0x00, 0x00, 823 } 824 825 // Reference imports to suppress errors if they are not otherwise used. 826 var _ context.Context 827 var _ grpc.ClientConn 828 829 // This is a compile-time assertion to ensure that this generated file 830 // is compatible with the grpc package it is being compiled against. 831 const _ = grpc.SupportPackageIsVersion4 832 833 // ReplicaServiceClient is the client API for ReplicaService service. 834 // 835 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 836 type ReplicaServiceClient interface { 837 ReplicaCreate(ctx context.Context, in *ReplicaCreateRequest, opts ...grpc.CallOption) (*Replica, error) 838 ReplicaDelete(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) 839 ReplicaGet(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Replica, error) 840 ReplicaOpen(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Replica, error) 841 ReplicaClose(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Replica, error) 842 ReplicaReload(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Replica, error) 843 ReplicaRevert(ctx context.Context, in *ReplicaRevertRequest, opts ...grpc.CallOption) (*Replica, error) 844 ReplicaSnapshot(ctx context.Context, in *ReplicaSnapshotRequest, opts ...grpc.CallOption) (*Replica, error) 845 DiskRemove(ctx context.Context, in *DiskRemoveRequest, opts ...grpc.CallOption) (*Replica, error) 846 DiskReplace(ctx context.Context, in *DiskReplaceRequest, opts ...grpc.CallOption) (*Replica, error) 847 DiskPrepareRemove(ctx context.Context, in *DiskPrepareRemoveRequest, opts ...grpc.CallOption) (*DiskPrepareRemoveReply, error) 848 DiskMarkAsRemoved(ctx context.Context, in *DiskMarkAsRemovedRequest, opts ...grpc.CallOption) (*Replica, error) 849 RebuildingSet(ctx context.Context, in *RebuildingSetRequest, opts ...grpc.CallOption) (*Replica, error) 850 RevisionCounterSet(ctx context.Context, in *RevisionCounterSetRequest, opts ...grpc.CallOption) (*Replica, error) 851 } 852 853 type replicaServiceClient struct { 854 cc *grpc.ClientConn 855 } 856 857 func NewReplicaServiceClient(cc *grpc.ClientConn) ReplicaServiceClient { 858 return &replicaServiceClient{cc} 859 } 860 861 func (c *replicaServiceClient) ReplicaCreate(ctx context.Context, in *ReplicaCreateRequest, opts ...grpc.CallOption) (*Replica, error) { 862 out := new(Replica) 863 err := c.cc.Invoke(ctx, "/rpc.ReplicaService/ReplicaCreate", in, out, opts...) 864 if err != nil { 865 return nil, err 866 } 867 return out, nil 868 } 869 870 func (c *replicaServiceClient) ReplicaDelete(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) { 871 out := new(empty.Empty) 872 err := c.cc.Invoke(ctx, "/rpc.ReplicaService/ReplicaDelete", in, out, opts...) 873 if err != nil { 874 return nil, err 875 } 876 return out, nil 877 } 878 879 func (c *replicaServiceClient) ReplicaGet(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Replica, error) { 880 out := new(Replica) 881 err := c.cc.Invoke(ctx, "/rpc.ReplicaService/ReplicaGet", in, out, opts...) 882 if err != nil { 883 return nil, err 884 } 885 return out, nil 886 } 887 888 func (c *replicaServiceClient) ReplicaOpen(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Replica, error) { 889 out := new(Replica) 890 err := c.cc.Invoke(ctx, "/rpc.ReplicaService/ReplicaOpen", in, out, opts...) 891 if err != nil { 892 return nil, err 893 } 894 return out, nil 895 } 896 897 func (c *replicaServiceClient) ReplicaClose(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Replica, error) { 898 out := new(Replica) 899 err := c.cc.Invoke(ctx, "/rpc.ReplicaService/ReplicaClose", in, out, opts...) 900 if err != nil { 901 return nil, err 902 } 903 return out, nil 904 } 905 906 func (c *replicaServiceClient) ReplicaReload(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Replica, error) { 907 out := new(Replica) 908 err := c.cc.Invoke(ctx, "/rpc.ReplicaService/ReplicaReload", in, out, opts...) 909 if err != nil { 910 return nil, err 911 } 912 return out, nil 913 } 914 915 func (c *replicaServiceClient) ReplicaRevert(ctx context.Context, in *ReplicaRevertRequest, opts ...grpc.CallOption) (*Replica, error) { 916 out := new(Replica) 917 err := c.cc.Invoke(ctx, "/rpc.ReplicaService/ReplicaRevert", in, out, opts...) 918 if err != nil { 919 return nil, err 920 } 921 return out, nil 922 } 923 924 func (c *replicaServiceClient) ReplicaSnapshot(ctx context.Context, in *ReplicaSnapshotRequest, opts ...grpc.CallOption) (*Replica, error) { 925 out := new(Replica) 926 err := c.cc.Invoke(ctx, "/rpc.ReplicaService/ReplicaSnapshot", in, out, opts...) 927 if err != nil { 928 return nil, err 929 } 930 return out, nil 931 } 932 933 func (c *replicaServiceClient) DiskRemove(ctx context.Context, in *DiskRemoveRequest, opts ...grpc.CallOption) (*Replica, error) { 934 out := new(Replica) 935 err := c.cc.Invoke(ctx, "/rpc.ReplicaService/DiskRemove", in, out, opts...) 936 if err != nil { 937 return nil, err 938 } 939 return out, nil 940 } 941 942 func (c *replicaServiceClient) DiskReplace(ctx context.Context, in *DiskReplaceRequest, opts ...grpc.CallOption) (*Replica, error) { 943 out := new(Replica) 944 err := c.cc.Invoke(ctx, "/rpc.ReplicaService/DiskReplace", in, out, opts...) 945 if err != nil { 946 return nil, err 947 } 948 return out, nil 949 } 950 951 func (c *replicaServiceClient) DiskPrepareRemove(ctx context.Context, in *DiskPrepareRemoveRequest, opts ...grpc.CallOption) (*DiskPrepareRemoveReply, error) { 952 out := new(DiskPrepareRemoveReply) 953 err := c.cc.Invoke(ctx, "/rpc.ReplicaService/DiskPrepareRemove", in, out, opts...) 954 if err != nil { 955 return nil, err 956 } 957 return out, nil 958 } 959 960 func (c *replicaServiceClient) DiskMarkAsRemoved(ctx context.Context, in *DiskMarkAsRemovedRequest, opts ...grpc.CallOption) (*Replica, error) { 961 out := new(Replica) 962 err := c.cc.Invoke(ctx, "/rpc.ReplicaService/DiskMarkAsRemoved", in, out, opts...) 963 if err != nil { 964 return nil, err 965 } 966 return out, nil 967 } 968 969 func (c *replicaServiceClient) RebuildingSet(ctx context.Context, in *RebuildingSetRequest, opts ...grpc.CallOption) (*Replica, error) { 970 out := new(Replica) 971 err := c.cc.Invoke(ctx, "/rpc.ReplicaService/RebuildingSet", in, out, opts...) 972 if err != nil { 973 return nil, err 974 } 975 return out, nil 976 } 977 978 func (c *replicaServiceClient) RevisionCounterSet(ctx context.Context, in *RevisionCounterSetRequest, opts ...grpc.CallOption) (*Replica, error) { 979 out := new(Replica) 980 err := c.cc.Invoke(ctx, "/rpc.ReplicaService/RevisionCounterSet", in, out, opts...) 981 if err != nil { 982 return nil, err 983 } 984 return out, nil 985 } 986 987 // ReplicaServiceServer is the server API for ReplicaService service. 988 type ReplicaServiceServer interface { 989 ReplicaCreate(context.Context, *ReplicaCreateRequest) (*Replica, error) 990 ReplicaDelete(context.Context, *empty.Empty) (*empty.Empty, error) 991 ReplicaGet(context.Context, *empty.Empty) (*Replica, error) 992 ReplicaOpen(context.Context, *empty.Empty) (*Replica, error) 993 ReplicaClose(context.Context, *empty.Empty) (*Replica, error) 994 ReplicaReload(context.Context, *empty.Empty) (*Replica, error) 995 ReplicaRevert(context.Context, *ReplicaRevertRequest) (*Replica, error) 996 ReplicaSnapshot(context.Context, *ReplicaSnapshotRequest) (*Replica, error) 997 DiskRemove(context.Context, *DiskRemoveRequest) (*Replica, error) 998 DiskReplace(context.Context, *DiskReplaceRequest) (*Replica, error) 999 DiskPrepareRemove(context.Context, *DiskPrepareRemoveRequest) (*DiskPrepareRemoveReply, error) 1000 DiskMarkAsRemoved(context.Context, *DiskMarkAsRemovedRequest) (*Replica, error) 1001 RebuildingSet(context.Context, *RebuildingSetRequest) (*Replica, error) 1002 RevisionCounterSet(context.Context, *RevisionCounterSetRequest) (*Replica, error) 1003 } 1004 1005 // UnimplementedReplicaServiceServer can be embedded to have forward compatible implementations. 1006 type UnimplementedReplicaServiceServer struct { 1007 } 1008 1009 func (*UnimplementedReplicaServiceServer) ReplicaCreate(ctx context.Context, req *ReplicaCreateRequest) (*Replica, error) { 1010 return nil, status.Errorf(codes.Unimplemented, "method ReplicaCreate not implemented") 1011 } 1012 func (*UnimplementedReplicaServiceServer) ReplicaDelete(ctx context.Context, req *empty.Empty) (*empty.Empty, error) { 1013 return nil, status.Errorf(codes.Unimplemented, "method ReplicaDelete not implemented") 1014 } 1015 func (*UnimplementedReplicaServiceServer) ReplicaGet(ctx context.Context, req *empty.Empty) (*Replica, error) { 1016 return nil, status.Errorf(codes.Unimplemented, "method ReplicaGet not implemented") 1017 } 1018 func (*UnimplementedReplicaServiceServer) ReplicaOpen(ctx context.Context, req *empty.Empty) (*Replica, error) { 1019 return nil, status.Errorf(codes.Unimplemented, "method ReplicaOpen not implemented") 1020 } 1021 func (*UnimplementedReplicaServiceServer) ReplicaClose(ctx context.Context, req *empty.Empty) (*Replica, error) { 1022 return nil, status.Errorf(codes.Unimplemented, "method ReplicaClose not implemented") 1023 } 1024 func (*UnimplementedReplicaServiceServer) ReplicaReload(ctx context.Context, req *empty.Empty) (*Replica, error) { 1025 return nil, status.Errorf(codes.Unimplemented, "method ReplicaReload not implemented") 1026 } 1027 func (*UnimplementedReplicaServiceServer) ReplicaRevert(ctx context.Context, req *ReplicaRevertRequest) (*Replica, error) { 1028 return nil, status.Errorf(codes.Unimplemented, "method ReplicaRevert not implemented") 1029 } 1030 func (*UnimplementedReplicaServiceServer) ReplicaSnapshot(ctx context.Context, req *ReplicaSnapshotRequest) (*Replica, error) { 1031 return nil, status.Errorf(codes.Unimplemented, "method ReplicaSnapshot not implemented") 1032 } 1033 func (*UnimplementedReplicaServiceServer) DiskRemove(ctx context.Context, req *DiskRemoveRequest) (*Replica, error) { 1034 return nil, status.Errorf(codes.Unimplemented, "method DiskRemove not implemented") 1035 } 1036 func (*UnimplementedReplicaServiceServer) DiskReplace(ctx context.Context, req *DiskReplaceRequest) (*Replica, error) { 1037 return nil, status.Errorf(codes.Unimplemented, "method DiskReplace not implemented") 1038 } 1039 func (*UnimplementedReplicaServiceServer) DiskPrepareRemove(ctx context.Context, req *DiskPrepareRemoveRequest) (*DiskPrepareRemoveReply, error) { 1040 return nil, status.Errorf(codes.Unimplemented, "method DiskPrepareRemove not implemented") 1041 } 1042 func (*UnimplementedReplicaServiceServer) DiskMarkAsRemoved(ctx context.Context, req *DiskMarkAsRemovedRequest) (*Replica, error) { 1043 return nil, status.Errorf(codes.Unimplemented, "method DiskMarkAsRemoved not implemented") 1044 } 1045 func (*UnimplementedReplicaServiceServer) RebuildingSet(ctx context.Context, req *RebuildingSetRequest) (*Replica, error) { 1046 return nil, status.Errorf(codes.Unimplemented, "method RebuildingSet not implemented") 1047 } 1048 func (*UnimplementedReplicaServiceServer) RevisionCounterSet(ctx context.Context, req *RevisionCounterSetRequest) (*Replica, error) { 1049 return nil, status.Errorf(codes.Unimplemented, "method RevisionCounterSet not implemented") 1050 } 1051 1052 func RegisterReplicaServiceServer(s *grpc.Server, srv ReplicaServiceServer) { 1053 s.RegisterService(&_ReplicaService_serviceDesc, srv) 1054 } 1055 1056 func _ReplicaService_ReplicaCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1057 in := new(ReplicaCreateRequest) 1058 if err := dec(in); err != nil { 1059 return nil, err 1060 } 1061 if interceptor == nil { 1062 return srv.(ReplicaServiceServer).ReplicaCreate(ctx, in) 1063 } 1064 info := &grpc.UnaryServerInfo{ 1065 Server: srv, 1066 FullMethod: "/rpc.ReplicaService/ReplicaCreate", 1067 } 1068 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1069 return srv.(ReplicaServiceServer).ReplicaCreate(ctx, req.(*ReplicaCreateRequest)) 1070 } 1071 return interceptor(ctx, in, info, handler) 1072 } 1073 1074 func _ReplicaService_ReplicaDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1075 in := new(empty.Empty) 1076 if err := dec(in); err != nil { 1077 return nil, err 1078 } 1079 if interceptor == nil { 1080 return srv.(ReplicaServiceServer).ReplicaDelete(ctx, in) 1081 } 1082 info := &grpc.UnaryServerInfo{ 1083 Server: srv, 1084 FullMethod: "/rpc.ReplicaService/ReplicaDelete", 1085 } 1086 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1087 return srv.(ReplicaServiceServer).ReplicaDelete(ctx, req.(*empty.Empty)) 1088 } 1089 return interceptor(ctx, in, info, handler) 1090 } 1091 1092 func _ReplicaService_ReplicaGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1093 in := new(empty.Empty) 1094 if err := dec(in); err != nil { 1095 return nil, err 1096 } 1097 if interceptor == nil { 1098 return srv.(ReplicaServiceServer).ReplicaGet(ctx, in) 1099 } 1100 info := &grpc.UnaryServerInfo{ 1101 Server: srv, 1102 FullMethod: "/rpc.ReplicaService/ReplicaGet", 1103 } 1104 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1105 return srv.(ReplicaServiceServer).ReplicaGet(ctx, req.(*empty.Empty)) 1106 } 1107 return interceptor(ctx, in, info, handler) 1108 } 1109 1110 func _ReplicaService_ReplicaOpen_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1111 in := new(empty.Empty) 1112 if err := dec(in); err != nil { 1113 return nil, err 1114 } 1115 if interceptor == nil { 1116 return srv.(ReplicaServiceServer).ReplicaOpen(ctx, in) 1117 } 1118 info := &grpc.UnaryServerInfo{ 1119 Server: srv, 1120 FullMethod: "/rpc.ReplicaService/ReplicaOpen", 1121 } 1122 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1123 return srv.(ReplicaServiceServer).ReplicaOpen(ctx, req.(*empty.Empty)) 1124 } 1125 return interceptor(ctx, in, info, handler) 1126 } 1127 1128 func _ReplicaService_ReplicaClose_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1129 in := new(empty.Empty) 1130 if err := dec(in); err != nil { 1131 return nil, err 1132 } 1133 if interceptor == nil { 1134 return srv.(ReplicaServiceServer).ReplicaClose(ctx, in) 1135 } 1136 info := &grpc.UnaryServerInfo{ 1137 Server: srv, 1138 FullMethod: "/rpc.ReplicaService/ReplicaClose", 1139 } 1140 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1141 return srv.(ReplicaServiceServer).ReplicaClose(ctx, req.(*empty.Empty)) 1142 } 1143 return interceptor(ctx, in, info, handler) 1144 } 1145 1146 func _ReplicaService_ReplicaReload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1147 in := new(empty.Empty) 1148 if err := dec(in); err != nil { 1149 return nil, err 1150 } 1151 if interceptor == nil { 1152 return srv.(ReplicaServiceServer).ReplicaReload(ctx, in) 1153 } 1154 info := &grpc.UnaryServerInfo{ 1155 Server: srv, 1156 FullMethod: "/rpc.ReplicaService/ReplicaReload", 1157 } 1158 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1159 return srv.(ReplicaServiceServer).ReplicaReload(ctx, req.(*empty.Empty)) 1160 } 1161 return interceptor(ctx, in, info, handler) 1162 } 1163 1164 func _ReplicaService_ReplicaRevert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1165 in := new(ReplicaRevertRequest) 1166 if err := dec(in); err != nil { 1167 return nil, err 1168 } 1169 if interceptor == nil { 1170 return srv.(ReplicaServiceServer).ReplicaRevert(ctx, in) 1171 } 1172 info := &grpc.UnaryServerInfo{ 1173 Server: srv, 1174 FullMethod: "/rpc.ReplicaService/ReplicaRevert", 1175 } 1176 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1177 return srv.(ReplicaServiceServer).ReplicaRevert(ctx, req.(*ReplicaRevertRequest)) 1178 } 1179 return interceptor(ctx, in, info, handler) 1180 } 1181 1182 func _ReplicaService_ReplicaSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1183 in := new(ReplicaSnapshotRequest) 1184 if err := dec(in); err != nil { 1185 return nil, err 1186 } 1187 if interceptor == nil { 1188 return srv.(ReplicaServiceServer).ReplicaSnapshot(ctx, in) 1189 } 1190 info := &grpc.UnaryServerInfo{ 1191 Server: srv, 1192 FullMethod: "/rpc.ReplicaService/ReplicaSnapshot", 1193 } 1194 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1195 return srv.(ReplicaServiceServer).ReplicaSnapshot(ctx, req.(*ReplicaSnapshotRequest)) 1196 } 1197 return interceptor(ctx, in, info, handler) 1198 } 1199 1200 func _ReplicaService_DiskRemove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1201 in := new(DiskRemoveRequest) 1202 if err := dec(in); err != nil { 1203 return nil, err 1204 } 1205 if interceptor == nil { 1206 return srv.(ReplicaServiceServer).DiskRemove(ctx, in) 1207 } 1208 info := &grpc.UnaryServerInfo{ 1209 Server: srv, 1210 FullMethod: "/rpc.ReplicaService/DiskRemove", 1211 } 1212 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1213 return srv.(ReplicaServiceServer).DiskRemove(ctx, req.(*DiskRemoveRequest)) 1214 } 1215 return interceptor(ctx, in, info, handler) 1216 } 1217 1218 func _ReplicaService_DiskReplace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1219 in := new(DiskReplaceRequest) 1220 if err := dec(in); err != nil { 1221 return nil, err 1222 } 1223 if interceptor == nil { 1224 return srv.(ReplicaServiceServer).DiskReplace(ctx, in) 1225 } 1226 info := &grpc.UnaryServerInfo{ 1227 Server: srv, 1228 FullMethod: "/rpc.ReplicaService/DiskReplace", 1229 } 1230 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1231 return srv.(ReplicaServiceServer).DiskReplace(ctx, req.(*DiskReplaceRequest)) 1232 } 1233 return interceptor(ctx, in, info, handler) 1234 } 1235 1236 func _ReplicaService_DiskPrepareRemove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1237 in := new(DiskPrepareRemoveRequest) 1238 if err := dec(in); err != nil { 1239 return nil, err 1240 } 1241 if interceptor == nil { 1242 return srv.(ReplicaServiceServer).DiskPrepareRemove(ctx, in) 1243 } 1244 info := &grpc.UnaryServerInfo{ 1245 Server: srv, 1246 FullMethod: "/rpc.ReplicaService/DiskPrepareRemove", 1247 } 1248 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1249 return srv.(ReplicaServiceServer).DiskPrepareRemove(ctx, req.(*DiskPrepareRemoveRequest)) 1250 } 1251 return interceptor(ctx, in, info, handler) 1252 } 1253 1254 func _ReplicaService_DiskMarkAsRemoved_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1255 in := new(DiskMarkAsRemovedRequest) 1256 if err := dec(in); err != nil { 1257 return nil, err 1258 } 1259 if interceptor == nil { 1260 return srv.(ReplicaServiceServer).DiskMarkAsRemoved(ctx, in) 1261 } 1262 info := &grpc.UnaryServerInfo{ 1263 Server: srv, 1264 FullMethod: "/rpc.ReplicaService/DiskMarkAsRemoved", 1265 } 1266 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1267 return srv.(ReplicaServiceServer).DiskMarkAsRemoved(ctx, req.(*DiskMarkAsRemovedRequest)) 1268 } 1269 return interceptor(ctx, in, info, handler) 1270 } 1271 1272 func _ReplicaService_RebuildingSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1273 in := new(RebuildingSetRequest) 1274 if err := dec(in); err != nil { 1275 return nil, err 1276 } 1277 if interceptor == nil { 1278 return srv.(ReplicaServiceServer).RebuildingSet(ctx, in) 1279 } 1280 info := &grpc.UnaryServerInfo{ 1281 Server: srv, 1282 FullMethod: "/rpc.ReplicaService/RebuildingSet", 1283 } 1284 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1285 return srv.(ReplicaServiceServer).RebuildingSet(ctx, req.(*RebuildingSetRequest)) 1286 } 1287 return interceptor(ctx, in, info, handler) 1288 } 1289 1290 func _ReplicaService_RevisionCounterSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1291 in := new(RevisionCounterSetRequest) 1292 if err := dec(in); err != nil { 1293 return nil, err 1294 } 1295 if interceptor == nil { 1296 return srv.(ReplicaServiceServer).RevisionCounterSet(ctx, in) 1297 } 1298 info := &grpc.UnaryServerInfo{ 1299 Server: srv, 1300 FullMethod: "/rpc.ReplicaService/RevisionCounterSet", 1301 } 1302 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1303 return srv.(ReplicaServiceServer).RevisionCounterSet(ctx, req.(*RevisionCounterSetRequest)) 1304 } 1305 return interceptor(ctx, in, info, handler) 1306 } 1307 1308 var _ReplicaService_serviceDesc = grpc.ServiceDesc{ 1309 ServiceName: "rpc.ReplicaService", 1310 HandlerType: (*ReplicaServiceServer)(nil), 1311 Methods: []grpc.MethodDesc{ 1312 { 1313 MethodName: "ReplicaCreate", 1314 Handler: _ReplicaService_ReplicaCreate_Handler, 1315 }, 1316 { 1317 MethodName: "ReplicaDelete", 1318 Handler: _ReplicaService_ReplicaDelete_Handler, 1319 }, 1320 { 1321 MethodName: "ReplicaGet", 1322 Handler: _ReplicaService_ReplicaGet_Handler, 1323 }, 1324 { 1325 MethodName: "ReplicaOpen", 1326 Handler: _ReplicaService_ReplicaOpen_Handler, 1327 }, 1328 { 1329 MethodName: "ReplicaClose", 1330 Handler: _ReplicaService_ReplicaClose_Handler, 1331 }, 1332 { 1333 MethodName: "ReplicaReload", 1334 Handler: _ReplicaService_ReplicaReload_Handler, 1335 }, 1336 { 1337 MethodName: "ReplicaRevert", 1338 Handler: _ReplicaService_ReplicaRevert_Handler, 1339 }, 1340 { 1341 MethodName: "ReplicaSnapshot", 1342 Handler: _ReplicaService_ReplicaSnapshot_Handler, 1343 }, 1344 { 1345 MethodName: "DiskRemove", 1346 Handler: _ReplicaService_DiskRemove_Handler, 1347 }, 1348 { 1349 MethodName: "DiskReplace", 1350 Handler: _ReplicaService_DiskReplace_Handler, 1351 }, 1352 { 1353 MethodName: "DiskPrepareRemove", 1354 Handler: _ReplicaService_DiskPrepareRemove_Handler, 1355 }, 1356 { 1357 MethodName: "DiskMarkAsRemoved", 1358 Handler: _ReplicaService_DiskMarkAsRemoved_Handler, 1359 }, 1360 { 1361 MethodName: "RebuildingSet", 1362 Handler: _ReplicaService_RebuildingSet_Handler, 1363 }, 1364 { 1365 MethodName: "RevisionCounterSet", 1366 Handler: _ReplicaService_RevisionCounterSet_Handler, 1367 }, 1368 }, 1369 Streams: []grpc.StreamDesc{}, 1370 Metadata: "replica.proto", 1371 }