github.com/mutagen-io/mutagen@v0.18.0-rc1/pkg/synchronization/endpoint/remote/protocol.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.33.0 4 // protoc v5.26.1 5 // source: synchronization/endpoint/remote/protocol.proto 6 7 package remote 8 9 import ( 10 synchronization "github.com/mutagen-io/mutagen/pkg/synchronization" 11 core "github.com/mutagen-io/mutagen/pkg/synchronization/core" 12 rsync "github.com/mutagen-io/mutagen/pkg/synchronization/rsync" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 // InitializeSynchronizationRequest encodes a request for endpoint 27 // initialization. 28 type InitializeSynchronizationRequest struct { 29 state protoimpl.MessageState 30 sizeCache protoimpl.SizeCache 31 unknownFields protoimpl.UnknownFields 32 33 // Session is the session identifier. 34 Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` 35 // Version is the session version. 36 Version synchronization.Version `protobuf:"varint,2,opt,name=version,proto3,enum=synchronization.Version" json:"version,omitempty"` 37 // Configuration is the session configuration. 38 Configuration *synchronization.Configuration `protobuf:"bytes,3,opt,name=configuration,proto3" json:"configuration,omitempty"` 39 // Root is the synchronization root path. 40 Root string `protobuf:"bytes,4,opt,name=root,proto3" json:"root,omitempty"` 41 // Alpha indicates whether or not the endpoint should behave as alpha (as 42 // opposed to beta). 43 Alpha bool `protobuf:"varint,5,opt,name=alpha,proto3" json:"alpha,omitempty"` 44 } 45 46 func (x *InitializeSynchronizationRequest) Reset() { 47 *x = InitializeSynchronizationRequest{} 48 if protoimpl.UnsafeEnabled { 49 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[0] 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 ms.StoreMessageInfo(mi) 52 } 53 } 54 55 func (x *InitializeSynchronizationRequest) String() string { 56 return protoimpl.X.MessageStringOf(x) 57 } 58 59 func (*InitializeSynchronizationRequest) ProtoMessage() {} 60 61 func (x *InitializeSynchronizationRequest) ProtoReflect() protoreflect.Message { 62 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[0] 63 if protoimpl.UnsafeEnabled && x != nil { 64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 65 if ms.LoadMessageInfo() == nil { 66 ms.StoreMessageInfo(mi) 67 } 68 return ms 69 } 70 return mi.MessageOf(x) 71 } 72 73 // Deprecated: Use InitializeSynchronizationRequest.ProtoReflect.Descriptor instead. 74 func (*InitializeSynchronizationRequest) Descriptor() ([]byte, []int) { 75 return file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP(), []int{0} 76 } 77 78 func (x *InitializeSynchronizationRequest) GetSession() string { 79 if x != nil { 80 return x.Session 81 } 82 return "" 83 } 84 85 func (x *InitializeSynchronizationRequest) GetVersion() synchronization.Version { 86 if x != nil { 87 return x.Version 88 } 89 return synchronization.Version(0) 90 } 91 92 func (x *InitializeSynchronizationRequest) GetConfiguration() *synchronization.Configuration { 93 if x != nil { 94 return x.Configuration 95 } 96 return nil 97 } 98 99 func (x *InitializeSynchronizationRequest) GetRoot() string { 100 if x != nil { 101 return x.Root 102 } 103 return "" 104 } 105 106 func (x *InitializeSynchronizationRequest) GetAlpha() bool { 107 if x != nil { 108 return x.Alpha 109 } 110 return false 111 } 112 113 // InitializeSynchronizationResponse encodes initialization results. 114 type InitializeSynchronizationResponse struct { 115 state protoimpl.MessageState 116 sizeCache protoimpl.SizeCache 117 unknownFields protoimpl.UnknownFields 118 119 // Error is the error message (if any) resulting from initialization. 120 Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` 121 } 122 123 func (x *InitializeSynchronizationResponse) Reset() { 124 *x = InitializeSynchronizationResponse{} 125 if protoimpl.UnsafeEnabled { 126 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[1] 127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 128 ms.StoreMessageInfo(mi) 129 } 130 } 131 132 func (x *InitializeSynchronizationResponse) String() string { 133 return protoimpl.X.MessageStringOf(x) 134 } 135 136 func (*InitializeSynchronizationResponse) ProtoMessage() {} 137 138 func (x *InitializeSynchronizationResponse) ProtoReflect() protoreflect.Message { 139 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[1] 140 if protoimpl.UnsafeEnabled && x != nil { 141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 142 if ms.LoadMessageInfo() == nil { 143 ms.StoreMessageInfo(mi) 144 } 145 return ms 146 } 147 return mi.MessageOf(x) 148 } 149 150 // Deprecated: Use InitializeSynchronizationResponse.ProtoReflect.Descriptor instead. 151 func (*InitializeSynchronizationResponse) Descriptor() ([]byte, []int) { 152 return file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP(), []int{1} 153 } 154 155 func (x *InitializeSynchronizationResponse) GetError() string { 156 if x != nil { 157 return x.Error 158 } 159 return "" 160 } 161 162 // PollRequest encodes a request for one-shot polling. 163 type PollRequest struct { 164 state protoimpl.MessageState 165 sizeCache protoimpl.SizeCache 166 unknownFields protoimpl.UnknownFields 167 } 168 169 func (x *PollRequest) Reset() { 170 *x = PollRequest{} 171 if protoimpl.UnsafeEnabled { 172 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[2] 173 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 174 ms.StoreMessageInfo(mi) 175 } 176 } 177 178 func (x *PollRequest) String() string { 179 return protoimpl.X.MessageStringOf(x) 180 } 181 182 func (*PollRequest) ProtoMessage() {} 183 184 func (x *PollRequest) ProtoReflect() protoreflect.Message { 185 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[2] 186 if protoimpl.UnsafeEnabled && x != nil { 187 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 188 if ms.LoadMessageInfo() == nil { 189 ms.StoreMessageInfo(mi) 190 } 191 return ms 192 } 193 return mi.MessageOf(x) 194 } 195 196 // Deprecated: Use PollRequest.ProtoReflect.Descriptor instead. 197 func (*PollRequest) Descriptor() ([]byte, []int) { 198 return file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP(), []int{2} 199 } 200 201 // PollCompletionRequest is paired with PollRequest and indicates a request for 202 // early polling completion or an acknowledgement of completion. 203 type PollCompletionRequest struct { 204 state protoimpl.MessageState 205 sizeCache protoimpl.SizeCache 206 unknownFields protoimpl.UnknownFields 207 } 208 209 func (x *PollCompletionRequest) Reset() { 210 *x = PollCompletionRequest{} 211 if protoimpl.UnsafeEnabled { 212 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[3] 213 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 214 ms.StoreMessageInfo(mi) 215 } 216 } 217 218 func (x *PollCompletionRequest) String() string { 219 return protoimpl.X.MessageStringOf(x) 220 } 221 222 func (*PollCompletionRequest) ProtoMessage() {} 223 224 func (x *PollCompletionRequest) ProtoReflect() protoreflect.Message { 225 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[3] 226 if protoimpl.UnsafeEnabled && x != nil { 227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 228 if ms.LoadMessageInfo() == nil { 229 ms.StoreMessageInfo(mi) 230 } 231 return ms 232 } 233 return mi.MessageOf(x) 234 } 235 236 // Deprecated: Use PollCompletionRequest.ProtoReflect.Descriptor instead. 237 func (*PollCompletionRequest) Descriptor() ([]byte, []int) { 238 return file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP(), []int{3} 239 } 240 241 // PollResponse indicates polling completion. 242 type PollResponse struct { 243 state protoimpl.MessageState 244 sizeCache protoimpl.SizeCache 245 unknownFields protoimpl.UnknownFields 246 247 // Error is the error message (if any) resulting from polling. 248 Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` 249 } 250 251 func (x *PollResponse) Reset() { 252 *x = PollResponse{} 253 if protoimpl.UnsafeEnabled { 254 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[4] 255 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 256 ms.StoreMessageInfo(mi) 257 } 258 } 259 260 func (x *PollResponse) String() string { 261 return protoimpl.X.MessageStringOf(x) 262 } 263 264 func (*PollResponse) ProtoMessage() {} 265 266 func (x *PollResponse) ProtoReflect() protoreflect.Message { 267 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[4] 268 if protoimpl.UnsafeEnabled && x != nil { 269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 270 if ms.LoadMessageInfo() == nil { 271 ms.StoreMessageInfo(mi) 272 } 273 return ms 274 } 275 return mi.MessageOf(x) 276 } 277 278 // Deprecated: Use PollResponse.ProtoReflect.Descriptor instead. 279 func (*PollResponse) Descriptor() ([]byte, []int) { 280 return file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP(), []int{4} 281 } 282 283 func (x *PollResponse) GetError() string { 284 if x != nil { 285 return x.Error 286 } 287 return "" 288 } 289 290 // ScanRequest encodes a request for a scan. 291 type ScanRequest struct { 292 state protoimpl.MessageState 293 sizeCache protoimpl.SizeCache 294 unknownFields protoimpl.UnknownFields 295 296 // BaselineSnapshotSignature is the rsync signature to use as the base for 297 // differentially transmitting snapshots. 298 BaselineSnapshotSignature *rsync.Signature `protobuf:"bytes,1,opt,name=baselineSnapshotSignature,proto3" json:"baselineSnapshotSignature,omitempty"` 299 // Full indicates whether or not to force a full (warm) scan, temporarily 300 // avoiding any acceleration that might be available on the endpoint. 301 Full bool `protobuf:"varint,2,opt,name=full,proto3" json:"full,omitempty"` 302 } 303 304 func (x *ScanRequest) Reset() { 305 *x = ScanRequest{} 306 if protoimpl.UnsafeEnabled { 307 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[5] 308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 309 ms.StoreMessageInfo(mi) 310 } 311 } 312 313 func (x *ScanRequest) String() string { 314 return protoimpl.X.MessageStringOf(x) 315 } 316 317 func (*ScanRequest) ProtoMessage() {} 318 319 func (x *ScanRequest) ProtoReflect() protoreflect.Message { 320 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[5] 321 if protoimpl.UnsafeEnabled && x != nil { 322 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 323 if ms.LoadMessageInfo() == nil { 324 ms.StoreMessageInfo(mi) 325 } 326 return ms 327 } 328 return mi.MessageOf(x) 329 } 330 331 // Deprecated: Use ScanRequest.ProtoReflect.Descriptor instead. 332 func (*ScanRequest) Descriptor() ([]byte, []int) { 333 return file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP(), []int{5} 334 } 335 336 func (x *ScanRequest) GetBaselineSnapshotSignature() *rsync.Signature { 337 if x != nil { 338 return x.BaselineSnapshotSignature 339 } 340 return nil 341 } 342 343 func (x *ScanRequest) GetFull() bool { 344 if x != nil { 345 return x.Full 346 } 347 return false 348 } 349 350 // ScanCompletionRequest is paired with a ScanRequest and indicates a request 351 // for scan cancellation or an acknowledgement of completion. 352 type ScanCompletionRequest struct { 353 state protoimpl.MessageState 354 sizeCache protoimpl.SizeCache 355 unknownFields protoimpl.UnknownFields 356 } 357 358 func (x *ScanCompletionRequest) Reset() { 359 *x = ScanCompletionRequest{} 360 if protoimpl.UnsafeEnabled { 361 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[6] 362 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 363 ms.StoreMessageInfo(mi) 364 } 365 } 366 367 func (x *ScanCompletionRequest) String() string { 368 return protoimpl.X.MessageStringOf(x) 369 } 370 371 func (*ScanCompletionRequest) ProtoMessage() {} 372 373 func (x *ScanCompletionRequest) ProtoReflect() protoreflect.Message { 374 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[6] 375 if protoimpl.UnsafeEnabled && x != nil { 376 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 377 if ms.LoadMessageInfo() == nil { 378 ms.StoreMessageInfo(mi) 379 } 380 return ms 381 } 382 return mi.MessageOf(x) 383 } 384 385 // Deprecated: Use ScanCompletionRequest.ProtoReflect.Descriptor instead. 386 func (*ScanCompletionRequest) Descriptor() ([]byte, []int) { 387 return file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP(), []int{6} 388 } 389 390 // ScanResponse encodes the results of a scan. 391 type ScanResponse struct { 392 state protoimpl.MessageState 393 sizeCache protoimpl.SizeCache 394 unknownFields protoimpl.UnknownFields 395 396 // SnapshotDelta are the operations need to reconstruct the snapshot against 397 // the specified base. 398 SnapshotDelta []*rsync.Operation `protobuf:"bytes,1,rep,name=snapshotDelta,proto3" json:"snapshotDelta,omitempty"` 399 // Error is the error message (if any) resulting from scanning. 400 Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` 401 // TryAgain indicates whether or not the error is ephermeral. 402 TryAgain bool `protobuf:"varint,3,opt,name=tryAgain,proto3" json:"tryAgain,omitempty"` 403 } 404 405 func (x *ScanResponse) Reset() { 406 *x = ScanResponse{} 407 if protoimpl.UnsafeEnabled { 408 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[7] 409 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 410 ms.StoreMessageInfo(mi) 411 } 412 } 413 414 func (x *ScanResponse) String() string { 415 return protoimpl.X.MessageStringOf(x) 416 } 417 418 func (*ScanResponse) ProtoMessage() {} 419 420 func (x *ScanResponse) ProtoReflect() protoreflect.Message { 421 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[7] 422 if protoimpl.UnsafeEnabled && x != nil { 423 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 424 if ms.LoadMessageInfo() == nil { 425 ms.StoreMessageInfo(mi) 426 } 427 return ms 428 } 429 return mi.MessageOf(x) 430 } 431 432 // Deprecated: Use ScanResponse.ProtoReflect.Descriptor instead. 433 func (*ScanResponse) Descriptor() ([]byte, []int) { 434 return file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP(), []int{7} 435 } 436 437 func (x *ScanResponse) GetSnapshotDelta() []*rsync.Operation { 438 if x != nil { 439 return x.SnapshotDelta 440 } 441 return nil 442 } 443 444 func (x *ScanResponse) GetError() string { 445 if x != nil { 446 return x.Error 447 } 448 return "" 449 } 450 451 func (x *ScanResponse) GetTryAgain() bool { 452 if x != nil { 453 return x.TryAgain 454 } 455 return false 456 } 457 458 // StageRequest encodes a request for staging. 459 type StageRequest struct { 460 state protoimpl.MessageState 461 sizeCache protoimpl.SizeCache 462 unknownFields protoimpl.UnknownFields 463 464 // Paths lists the paths that need to be staged. 465 Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` 466 // Digests lists the digests for the paths that need to be staged. Its 467 // length and contents correspond to that of Paths. 468 Digests [][]byte `protobuf:"bytes,2,rep,name=digests,proto3" json:"digests,omitempty"` 469 } 470 471 func (x *StageRequest) Reset() { 472 *x = StageRequest{} 473 if protoimpl.UnsafeEnabled { 474 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[8] 475 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 476 ms.StoreMessageInfo(mi) 477 } 478 } 479 480 func (x *StageRequest) String() string { 481 return protoimpl.X.MessageStringOf(x) 482 } 483 484 func (*StageRequest) ProtoMessage() {} 485 486 func (x *StageRequest) ProtoReflect() protoreflect.Message { 487 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[8] 488 if protoimpl.UnsafeEnabled && x != nil { 489 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 490 if ms.LoadMessageInfo() == nil { 491 ms.StoreMessageInfo(mi) 492 } 493 return ms 494 } 495 return mi.MessageOf(x) 496 } 497 498 // Deprecated: Use StageRequest.ProtoReflect.Descriptor instead. 499 func (*StageRequest) Descriptor() ([]byte, []int) { 500 return file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP(), []int{8} 501 } 502 503 func (x *StageRequest) GetPaths() []string { 504 if x != nil { 505 return x.Paths 506 } 507 return nil 508 } 509 510 func (x *StageRequest) GetDigests() [][]byte { 511 if x != nil { 512 return x.Digests 513 } 514 return nil 515 } 516 517 // StageResponse encodes the results of staging initialization. 518 type StageResponse struct { 519 state protoimpl.MessageState 520 sizeCache protoimpl.SizeCache 521 unknownFields protoimpl.UnknownFields 522 523 // Paths are the paths that need to be staged after filtering. If its length 524 // is zero and the length of Signatures is non-zero, then it's assumed that 525 // all paths are required and (in that scenario) the length of Signatures 526 // must be equal to the length of the original path list. 527 Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` 528 // Signatures are the rsync signatures of the paths needing to be staged. 529 Signatures []*rsync.Signature `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` 530 // Error is the error message (if any) resulting from staging 531 // initialization. 532 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` 533 } 534 535 func (x *StageResponse) Reset() { 536 *x = StageResponse{} 537 if protoimpl.UnsafeEnabled { 538 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[9] 539 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 540 ms.StoreMessageInfo(mi) 541 } 542 } 543 544 func (x *StageResponse) String() string { 545 return protoimpl.X.MessageStringOf(x) 546 } 547 548 func (*StageResponse) ProtoMessage() {} 549 550 func (x *StageResponse) ProtoReflect() protoreflect.Message { 551 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[9] 552 if protoimpl.UnsafeEnabled && x != nil { 553 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 554 if ms.LoadMessageInfo() == nil { 555 ms.StoreMessageInfo(mi) 556 } 557 return ms 558 } 559 return mi.MessageOf(x) 560 } 561 562 // Deprecated: Use StageResponse.ProtoReflect.Descriptor instead. 563 func (*StageResponse) Descriptor() ([]byte, []int) { 564 return file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP(), []int{9} 565 } 566 567 func (x *StageResponse) GetPaths() []string { 568 if x != nil { 569 return x.Paths 570 } 571 return nil 572 } 573 574 func (x *StageResponse) GetSignatures() []*rsync.Signature { 575 if x != nil { 576 return x.Signatures 577 } 578 return nil 579 } 580 581 func (x *StageResponse) GetError() string { 582 if x != nil { 583 return x.Error 584 } 585 return "" 586 } 587 588 // SupplyRequest indicates a request for supplying files. 589 type SupplyRequest struct { 590 state protoimpl.MessageState 591 sizeCache protoimpl.SizeCache 592 unknownFields protoimpl.UnknownFields 593 594 // Paths are the paths to provide (relative to the synchronization root). 595 Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` 596 // Signatures are the rsync signatures of the paths needing to be staged. 597 Signatures []*rsync.Signature `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` 598 } 599 600 func (x *SupplyRequest) Reset() { 601 *x = SupplyRequest{} 602 if protoimpl.UnsafeEnabled { 603 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[10] 604 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 605 ms.StoreMessageInfo(mi) 606 } 607 } 608 609 func (x *SupplyRequest) String() string { 610 return protoimpl.X.MessageStringOf(x) 611 } 612 613 func (*SupplyRequest) ProtoMessage() {} 614 615 func (x *SupplyRequest) ProtoReflect() protoreflect.Message { 616 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[10] 617 if protoimpl.UnsafeEnabled && x != nil { 618 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 619 if ms.LoadMessageInfo() == nil { 620 ms.StoreMessageInfo(mi) 621 } 622 return ms 623 } 624 return mi.MessageOf(x) 625 } 626 627 // Deprecated: Use SupplyRequest.ProtoReflect.Descriptor instead. 628 func (*SupplyRequest) Descriptor() ([]byte, []int) { 629 return file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP(), []int{10} 630 } 631 632 func (x *SupplyRequest) GetPaths() []string { 633 if x != nil { 634 return x.Paths 635 } 636 return nil 637 } 638 639 func (x *SupplyRequest) GetSignatures() []*rsync.Signature { 640 if x != nil { 641 return x.Signatures 642 } 643 return nil 644 } 645 646 // TransitionRequest encodes a request for transition application. 647 type TransitionRequest struct { 648 state protoimpl.MessageState 649 sizeCache protoimpl.SizeCache 650 unknownFields protoimpl.UnknownFields 651 652 // Transitions are the transitions that need to be applied. 653 Transitions []*core.Change `protobuf:"bytes,1,rep,name=transitions,proto3" json:"transitions,omitempty"` 654 } 655 656 func (x *TransitionRequest) Reset() { 657 *x = TransitionRequest{} 658 if protoimpl.UnsafeEnabled { 659 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[11] 660 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 661 ms.StoreMessageInfo(mi) 662 } 663 } 664 665 func (x *TransitionRequest) String() string { 666 return protoimpl.X.MessageStringOf(x) 667 } 668 669 func (*TransitionRequest) ProtoMessage() {} 670 671 func (x *TransitionRequest) ProtoReflect() protoreflect.Message { 672 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[11] 673 if protoimpl.UnsafeEnabled && x != nil { 674 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 675 if ms.LoadMessageInfo() == nil { 676 ms.StoreMessageInfo(mi) 677 } 678 return ms 679 } 680 return mi.MessageOf(x) 681 } 682 683 // Deprecated: Use TransitionRequest.ProtoReflect.Descriptor instead. 684 func (*TransitionRequest) Descriptor() ([]byte, []int) { 685 return file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP(), []int{11} 686 } 687 688 func (x *TransitionRequest) GetTransitions() []*core.Change { 689 if x != nil { 690 return x.Transitions 691 } 692 return nil 693 } 694 695 // TransitionCompletionRequest is paired with a TransitionRequest and indicates 696 // a request for transition cancellation or an acknowledgement of completion. 697 type TransitionCompletionRequest struct { 698 state protoimpl.MessageState 699 sizeCache protoimpl.SizeCache 700 unknownFields protoimpl.UnknownFields 701 } 702 703 func (x *TransitionCompletionRequest) Reset() { 704 *x = TransitionCompletionRequest{} 705 if protoimpl.UnsafeEnabled { 706 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[12] 707 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 708 ms.StoreMessageInfo(mi) 709 } 710 } 711 712 func (x *TransitionCompletionRequest) String() string { 713 return protoimpl.X.MessageStringOf(x) 714 } 715 716 func (*TransitionCompletionRequest) ProtoMessage() {} 717 718 func (x *TransitionCompletionRequest) ProtoReflect() protoreflect.Message { 719 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[12] 720 if protoimpl.UnsafeEnabled && x != nil { 721 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 722 if ms.LoadMessageInfo() == nil { 723 ms.StoreMessageInfo(mi) 724 } 725 return ms 726 } 727 return mi.MessageOf(x) 728 } 729 730 // Deprecated: Use TransitionCompletionRequest.ProtoReflect.Descriptor instead. 731 func (*TransitionCompletionRequest) Descriptor() ([]byte, []int) { 732 return file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP(), []int{12} 733 } 734 735 // TransitionResponse encodes the results of transitioning. 736 type TransitionResponse struct { 737 state protoimpl.MessageState 738 sizeCache protoimpl.SizeCache 739 unknownFields protoimpl.UnknownFields 740 741 // Results are the resulting contents post-transition. 742 // HACK: We have to use Archive to wrap our Entry results here because 743 // Protocol Buffers won't encode a nil pointer in a repeated element in 744 // certain cases, and the results of transitions may very well be nil. gob 745 // also exhibits this problem. 746 Results []*core.Archive `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` 747 // Problems are any problems encountered during the transition operation. 748 Problems []*core.Problem `protobuf:"bytes,2,rep,name=problems,proto3" json:"problems,omitempty"` 749 // StagerMissingFiles indicates whether or not the endpoint's stager 750 // indicated missing files during transitioning. 751 StagerMissingFiles bool `protobuf:"varint,3,opt,name=stagerMissingFiles,proto3" json:"stagerMissingFiles,omitempty"` 752 // Error is the error message (if any) resulting from the remote transition 753 // method. This will always be an empty string since transition doesn't 754 // return errors from local endpoints, but to match the endpoint interface 755 // (which allows for transition errors due to network failures with remote 756 // endpoints), we include this field. 757 // TODO: Should we just remove this field? Doing so would rely on knowledge 758 // of localEndpoint's transition behavior. 759 Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` 760 } 761 762 func (x *TransitionResponse) Reset() { 763 *x = TransitionResponse{} 764 if protoimpl.UnsafeEnabled { 765 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[13] 766 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 767 ms.StoreMessageInfo(mi) 768 } 769 } 770 771 func (x *TransitionResponse) String() string { 772 return protoimpl.X.MessageStringOf(x) 773 } 774 775 func (*TransitionResponse) ProtoMessage() {} 776 777 func (x *TransitionResponse) ProtoReflect() protoreflect.Message { 778 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[13] 779 if protoimpl.UnsafeEnabled && x != nil { 780 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 781 if ms.LoadMessageInfo() == nil { 782 ms.StoreMessageInfo(mi) 783 } 784 return ms 785 } 786 return mi.MessageOf(x) 787 } 788 789 // Deprecated: Use TransitionResponse.ProtoReflect.Descriptor instead. 790 func (*TransitionResponse) Descriptor() ([]byte, []int) { 791 return file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP(), []int{13} 792 } 793 794 func (x *TransitionResponse) GetResults() []*core.Archive { 795 if x != nil { 796 return x.Results 797 } 798 return nil 799 } 800 801 func (x *TransitionResponse) GetProblems() []*core.Problem { 802 if x != nil { 803 return x.Problems 804 } 805 return nil 806 } 807 808 func (x *TransitionResponse) GetStagerMissingFiles() bool { 809 if x != nil { 810 return x.StagerMissingFiles 811 } 812 return false 813 } 814 815 func (x *TransitionResponse) GetError() string { 816 if x != nil { 817 return x.Error 818 } 819 return "" 820 } 821 822 // EndpointRequest is a sum type that can transmit any type of endpoint request. 823 // Only the sent request will be non-nil. We intentionally avoid using Protocol 824 // Buffers' oneof feature because it generates really ugly code and an unwieldy 825 // API, at least in Go. Manually checking for exclusivity is not difficult. 826 type EndpointRequest struct { 827 state protoimpl.MessageState 828 sizeCache protoimpl.SizeCache 829 unknownFields protoimpl.UnknownFields 830 831 // Poll represents a poll request. 832 Poll *PollRequest `protobuf:"bytes,1,opt,name=poll,proto3" json:"poll,omitempty"` 833 // Scan represents a scan request. 834 Scan *ScanRequest `protobuf:"bytes,2,opt,name=scan,proto3" json:"scan,omitempty"` 835 // Stage represents a stage request. 836 Stage *StageRequest `protobuf:"bytes,3,opt,name=stage,proto3" json:"stage,omitempty"` 837 // Supply represents a supply request. 838 Supply *SupplyRequest `protobuf:"bytes,4,opt,name=supply,proto3" json:"supply,omitempty"` 839 // Transition represents a transition request. 840 Transition *TransitionRequest `protobuf:"bytes,5,opt,name=transition,proto3" json:"transition,omitempty"` 841 } 842 843 func (x *EndpointRequest) Reset() { 844 *x = EndpointRequest{} 845 if protoimpl.UnsafeEnabled { 846 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[14] 847 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 848 ms.StoreMessageInfo(mi) 849 } 850 } 851 852 func (x *EndpointRequest) String() string { 853 return protoimpl.X.MessageStringOf(x) 854 } 855 856 func (*EndpointRequest) ProtoMessage() {} 857 858 func (x *EndpointRequest) ProtoReflect() protoreflect.Message { 859 mi := &file_synchronization_endpoint_remote_protocol_proto_msgTypes[14] 860 if protoimpl.UnsafeEnabled && x != nil { 861 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 862 if ms.LoadMessageInfo() == nil { 863 ms.StoreMessageInfo(mi) 864 } 865 return ms 866 } 867 return mi.MessageOf(x) 868 } 869 870 // Deprecated: Use EndpointRequest.ProtoReflect.Descriptor instead. 871 func (*EndpointRequest) Descriptor() ([]byte, []int) { 872 return file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP(), []int{14} 873 } 874 875 func (x *EndpointRequest) GetPoll() *PollRequest { 876 if x != nil { 877 return x.Poll 878 } 879 return nil 880 } 881 882 func (x *EndpointRequest) GetScan() *ScanRequest { 883 if x != nil { 884 return x.Scan 885 } 886 return nil 887 } 888 889 func (x *EndpointRequest) GetStage() *StageRequest { 890 if x != nil { 891 return x.Stage 892 } 893 return nil 894 } 895 896 func (x *EndpointRequest) GetSupply() *SupplyRequest { 897 if x != nil { 898 return x.Supply 899 } 900 return nil 901 } 902 903 func (x *EndpointRequest) GetTransition() *TransitionRequest { 904 if x != nil { 905 return x.Transition 906 } 907 return nil 908 } 909 910 var File_synchronization_endpoint_remote_protocol_proto protoreflect.FileDescriptor 911 912 var file_synchronization_endpoint_remote_protocol_proto_rawDesc = []byte{ 913 0x0a, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 914 0x6e, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 915 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 916 0x12, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x1a, 0x22, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 917 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x72, 0x73, 0x79, 0x6e, 0x63, 0x2f, 918 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x73, 0x79, 919 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 920 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 921 0x6f, 0x1a, 0x1d, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 922 0x6f, 0x6e, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 923 0x1a, 0x22, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 924 0x6e, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x70, 925 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 926 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 927 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 928 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 929 0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe0, 0x01, 0x0a, 0x20, 930 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x53, 0x79, 0x6e, 0x63, 0x68, 0x72, 931 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 932 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 933 0x09, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x07, 0x76, 0x65, 934 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x73, 0x79, 935 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x65, 936 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x44, 937 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 938 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 939 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 940 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 941 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 942 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x70, 0x68, 943 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x39, 944 0x0a, 0x21, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x53, 0x79, 0x6e, 0x63, 945 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 946 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 947 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x6f, 0x6c, 948 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x50, 0x6f, 0x6c, 0x6c, 949 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 950 0x74, 0x22, 0x24, 0x0a, 0x0c, 0x50, 0x6f, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 951 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 952 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x71, 0x0a, 0x0b, 0x53, 0x63, 0x61, 0x6e, 0x52, 953 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x19, 0x62, 0x61, 0x73, 0x65, 0x6c, 0x69, 954 0x6e, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 955 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x72, 0x73, 0x79, 0x6e, 956 0x63, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x19, 0x62, 0x61, 0x73, 957 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x53, 0x69, 0x67, 958 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x75, 0x6c, 0x6c, 0x18, 0x02, 959 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x66, 0x75, 0x6c, 0x6c, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x63, 960 0x61, 0x6e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 961 0x65, 0x73, 0x74, 0x22, 0x78, 0x0a, 0x0c, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 962 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x0d, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 963 0x65, 0x6c, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x72, 0x73, 0x79, 964 0x6e, 0x63, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x73, 0x6e, 965 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x65, 966 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 967 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x72, 0x79, 0x41, 0x67, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 968 0x01, 0x28, 0x08, 0x52, 0x08, 0x74, 0x72, 0x79, 0x41, 0x67, 0x61, 0x69, 0x6e, 0x22, 0x3e, 0x0a, 969 0x0c, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 970 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 971 0x74, 0x68, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 972 0x20, 0x03, 0x28, 0x0c, 0x52, 0x07, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x73, 0x22, 0x6d, 0x0a, 973 0x0d, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 974 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 975 0x61, 0x74, 0x68, 0x73, 0x12, 0x30, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 976 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x72, 0x73, 0x79, 0x6e, 0x63, 977 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 978 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 979 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x57, 0x0a, 0x0d, 980 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 981 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 982 0x74, 0x68, 0x73, 0x12, 0x30, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 983 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x72, 0x73, 0x79, 0x6e, 0x63, 0x2e, 984 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 985 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0x43, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 986 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x0b, 0x74, 0x72, 987 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 988 0x0c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0b, 0x74, 989 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x1d, 0x0a, 0x1b, 0x54, 0x72, 990 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 991 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xae, 0x01, 0x0a, 0x12, 0x54, 0x72, 992 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 993 0x12, 0x27, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 994 0x0b, 0x32, 0x0d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 995 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x29, 0x0a, 0x08, 0x70, 0x72, 0x6f, 996 0x62, 0x6c, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x63, 0x6f, 997 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x62, 998 0x6c, 0x65, 0x6d, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x67, 0x65, 0x72, 0x4d, 0x69, 999 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 1000 0x52, 0x12, 0x73, 0x74, 0x61, 0x67, 0x65, 0x72, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 1001 0x69, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 1002 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xf9, 0x01, 0x0a, 0x0f, 0x45, 1003 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 1004 0x0a, 0x04, 0x70, 0x6f, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x72, 1005 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x50, 0x6f, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1006 0x74, 0x52, 0x04, 0x70, 0x6f, 0x6c, 0x6c, 0x12, 0x27, 0x0a, 0x04, 0x73, 0x63, 0x61, 0x6e, 0x18, 1007 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x53, 1008 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x73, 0x63, 0x61, 0x6e, 1009 0x12, 0x2a, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 1010 0x14, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x65, 1011 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x2d, 0x0a, 0x06, 1012 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x72, 1013 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 1014 0x65, 0x73, 0x74, 0x52, 0x06, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x39, 0x0a, 0x0a, 0x74, 1015 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 1016 0x19, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 1017 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x74, 0x72, 0x61, 0x6e, 1018 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x43, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 1019 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x75, 0x74, 0x61, 0x67, 0x65, 0x6e, 0x2d, 0x69, 0x6f, 0x2f, 1020 0x6d, 0x75, 0x74, 0x61, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x79, 0x6e, 0x63, 1021 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x64, 0x70, 1022 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 1023 0x74, 0x6f, 0x33, 1024 } 1025 1026 var ( 1027 file_synchronization_endpoint_remote_protocol_proto_rawDescOnce sync.Once 1028 file_synchronization_endpoint_remote_protocol_proto_rawDescData = file_synchronization_endpoint_remote_protocol_proto_rawDesc 1029 ) 1030 1031 func file_synchronization_endpoint_remote_protocol_proto_rawDescGZIP() []byte { 1032 file_synchronization_endpoint_remote_protocol_proto_rawDescOnce.Do(func() { 1033 file_synchronization_endpoint_remote_protocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_synchronization_endpoint_remote_protocol_proto_rawDescData) 1034 }) 1035 return file_synchronization_endpoint_remote_protocol_proto_rawDescData 1036 } 1037 1038 var file_synchronization_endpoint_remote_protocol_proto_msgTypes = make([]protoimpl.MessageInfo, 15) 1039 var file_synchronization_endpoint_remote_protocol_proto_goTypes = []interface{}{ 1040 (*InitializeSynchronizationRequest)(nil), // 0: remote.InitializeSynchronizationRequest 1041 (*InitializeSynchronizationResponse)(nil), // 1: remote.InitializeSynchronizationResponse 1042 (*PollRequest)(nil), // 2: remote.PollRequest 1043 (*PollCompletionRequest)(nil), // 3: remote.PollCompletionRequest 1044 (*PollResponse)(nil), // 4: remote.PollResponse 1045 (*ScanRequest)(nil), // 5: remote.ScanRequest 1046 (*ScanCompletionRequest)(nil), // 6: remote.ScanCompletionRequest 1047 (*ScanResponse)(nil), // 7: remote.ScanResponse 1048 (*StageRequest)(nil), // 8: remote.StageRequest 1049 (*StageResponse)(nil), // 9: remote.StageResponse 1050 (*SupplyRequest)(nil), // 10: remote.SupplyRequest 1051 (*TransitionRequest)(nil), // 11: remote.TransitionRequest 1052 (*TransitionCompletionRequest)(nil), // 12: remote.TransitionCompletionRequest 1053 (*TransitionResponse)(nil), // 13: remote.TransitionResponse 1054 (*EndpointRequest)(nil), // 14: remote.EndpointRequest 1055 (synchronization.Version)(0), // 15: synchronization.Version 1056 (*synchronization.Configuration)(nil), // 16: synchronization.Configuration 1057 (*rsync.Signature)(nil), // 17: rsync.Signature 1058 (*rsync.Operation)(nil), // 18: rsync.Operation 1059 (*core.Change)(nil), // 19: core.Change 1060 (*core.Archive)(nil), // 20: core.Archive 1061 (*core.Problem)(nil), // 21: core.Problem 1062 } 1063 var file_synchronization_endpoint_remote_protocol_proto_depIdxs = []int32{ 1064 15, // 0: remote.InitializeSynchronizationRequest.version:type_name -> synchronization.Version 1065 16, // 1: remote.InitializeSynchronizationRequest.configuration:type_name -> synchronization.Configuration 1066 17, // 2: remote.ScanRequest.baselineSnapshotSignature:type_name -> rsync.Signature 1067 18, // 3: remote.ScanResponse.snapshotDelta:type_name -> rsync.Operation 1068 17, // 4: remote.StageResponse.signatures:type_name -> rsync.Signature 1069 17, // 5: remote.SupplyRequest.signatures:type_name -> rsync.Signature 1070 19, // 6: remote.TransitionRequest.transitions:type_name -> core.Change 1071 20, // 7: remote.TransitionResponse.results:type_name -> core.Archive 1072 21, // 8: remote.TransitionResponse.problems:type_name -> core.Problem 1073 2, // 9: remote.EndpointRequest.poll:type_name -> remote.PollRequest 1074 5, // 10: remote.EndpointRequest.scan:type_name -> remote.ScanRequest 1075 8, // 11: remote.EndpointRequest.stage:type_name -> remote.StageRequest 1076 10, // 12: remote.EndpointRequest.supply:type_name -> remote.SupplyRequest 1077 11, // 13: remote.EndpointRequest.transition:type_name -> remote.TransitionRequest 1078 14, // [14:14] is the sub-list for method output_type 1079 14, // [14:14] is the sub-list for method input_type 1080 14, // [14:14] is the sub-list for extension type_name 1081 14, // [14:14] is the sub-list for extension extendee 1082 0, // [0:14] is the sub-list for field type_name 1083 } 1084 1085 func init() { file_synchronization_endpoint_remote_protocol_proto_init() } 1086 func file_synchronization_endpoint_remote_protocol_proto_init() { 1087 if File_synchronization_endpoint_remote_protocol_proto != nil { 1088 return 1089 } 1090 if !protoimpl.UnsafeEnabled { 1091 file_synchronization_endpoint_remote_protocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1092 switch v := v.(*InitializeSynchronizationRequest); i { 1093 case 0: 1094 return &v.state 1095 case 1: 1096 return &v.sizeCache 1097 case 2: 1098 return &v.unknownFields 1099 default: 1100 return nil 1101 } 1102 } 1103 file_synchronization_endpoint_remote_protocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1104 switch v := v.(*InitializeSynchronizationResponse); i { 1105 case 0: 1106 return &v.state 1107 case 1: 1108 return &v.sizeCache 1109 case 2: 1110 return &v.unknownFields 1111 default: 1112 return nil 1113 } 1114 } 1115 file_synchronization_endpoint_remote_protocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1116 switch v := v.(*PollRequest); i { 1117 case 0: 1118 return &v.state 1119 case 1: 1120 return &v.sizeCache 1121 case 2: 1122 return &v.unknownFields 1123 default: 1124 return nil 1125 } 1126 } 1127 file_synchronization_endpoint_remote_protocol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1128 switch v := v.(*PollCompletionRequest); i { 1129 case 0: 1130 return &v.state 1131 case 1: 1132 return &v.sizeCache 1133 case 2: 1134 return &v.unknownFields 1135 default: 1136 return nil 1137 } 1138 } 1139 file_synchronization_endpoint_remote_protocol_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1140 switch v := v.(*PollResponse); i { 1141 case 0: 1142 return &v.state 1143 case 1: 1144 return &v.sizeCache 1145 case 2: 1146 return &v.unknownFields 1147 default: 1148 return nil 1149 } 1150 } 1151 file_synchronization_endpoint_remote_protocol_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1152 switch v := v.(*ScanRequest); i { 1153 case 0: 1154 return &v.state 1155 case 1: 1156 return &v.sizeCache 1157 case 2: 1158 return &v.unknownFields 1159 default: 1160 return nil 1161 } 1162 } 1163 file_synchronization_endpoint_remote_protocol_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1164 switch v := v.(*ScanCompletionRequest); i { 1165 case 0: 1166 return &v.state 1167 case 1: 1168 return &v.sizeCache 1169 case 2: 1170 return &v.unknownFields 1171 default: 1172 return nil 1173 } 1174 } 1175 file_synchronization_endpoint_remote_protocol_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1176 switch v := v.(*ScanResponse); i { 1177 case 0: 1178 return &v.state 1179 case 1: 1180 return &v.sizeCache 1181 case 2: 1182 return &v.unknownFields 1183 default: 1184 return nil 1185 } 1186 } 1187 file_synchronization_endpoint_remote_protocol_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1188 switch v := v.(*StageRequest); i { 1189 case 0: 1190 return &v.state 1191 case 1: 1192 return &v.sizeCache 1193 case 2: 1194 return &v.unknownFields 1195 default: 1196 return nil 1197 } 1198 } 1199 file_synchronization_endpoint_remote_protocol_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1200 switch v := v.(*StageResponse); i { 1201 case 0: 1202 return &v.state 1203 case 1: 1204 return &v.sizeCache 1205 case 2: 1206 return &v.unknownFields 1207 default: 1208 return nil 1209 } 1210 } 1211 file_synchronization_endpoint_remote_protocol_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1212 switch v := v.(*SupplyRequest); i { 1213 case 0: 1214 return &v.state 1215 case 1: 1216 return &v.sizeCache 1217 case 2: 1218 return &v.unknownFields 1219 default: 1220 return nil 1221 } 1222 } 1223 file_synchronization_endpoint_remote_protocol_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1224 switch v := v.(*TransitionRequest); i { 1225 case 0: 1226 return &v.state 1227 case 1: 1228 return &v.sizeCache 1229 case 2: 1230 return &v.unknownFields 1231 default: 1232 return nil 1233 } 1234 } 1235 file_synchronization_endpoint_remote_protocol_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1236 switch v := v.(*TransitionCompletionRequest); i { 1237 case 0: 1238 return &v.state 1239 case 1: 1240 return &v.sizeCache 1241 case 2: 1242 return &v.unknownFields 1243 default: 1244 return nil 1245 } 1246 } 1247 file_synchronization_endpoint_remote_protocol_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1248 switch v := v.(*TransitionResponse); i { 1249 case 0: 1250 return &v.state 1251 case 1: 1252 return &v.sizeCache 1253 case 2: 1254 return &v.unknownFields 1255 default: 1256 return nil 1257 } 1258 } 1259 file_synchronization_endpoint_remote_protocol_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 1260 switch v := v.(*EndpointRequest); i { 1261 case 0: 1262 return &v.state 1263 case 1: 1264 return &v.sizeCache 1265 case 2: 1266 return &v.unknownFields 1267 default: 1268 return nil 1269 } 1270 } 1271 } 1272 type x struct{} 1273 out := protoimpl.TypeBuilder{ 1274 File: protoimpl.DescBuilder{ 1275 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1276 RawDescriptor: file_synchronization_endpoint_remote_protocol_proto_rawDesc, 1277 NumEnums: 0, 1278 NumMessages: 15, 1279 NumExtensions: 0, 1280 NumServices: 0, 1281 }, 1282 GoTypes: file_synchronization_endpoint_remote_protocol_proto_goTypes, 1283 DependencyIndexes: file_synchronization_endpoint_remote_protocol_proto_depIdxs, 1284 MessageInfos: file_synchronization_endpoint_remote_protocol_proto_msgTypes, 1285 }.Build() 1286 File_synchronization_endpoint_remote_protocol_proto = out.File 1287 file_synchronization_endpoint_remote_protocol_proto_rawDesc = nil 1288 file_synchronization_endpoint_remote_protocol_proto_goTypes = nil 1289 file_synchronization_endpoint_remote_protocol_proto_depIdxs = nil 1290 }