github.com/ava-labs/avalanchego@v1.11.11/proto/pb/sync/sync.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.33.0 4 // protoc (unknown) 5 // source: sync/sync.proto 6 7 package sync 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 emptypb "google.golang.org/protobuf/types/known/emptypb" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 // Request represents a request for information during syncing. 25 type Request struct { 26 state protoimpl.MessageState 27 sizeCache protoimpl.SizeCache 28 unknownFields protoimpl.UnknownFields 29 30 // Types that are assignable to Message: 31 // 32 // *Request_RangeProofRequest 33 // *Request_ChangeProofRequest 34 Message isRequest_Message `protobuf_oneof:"message"` 35 } 36 37 func (x *Request) Reset() { 38 *x = Request{} 39 if protoimpl.UnsafeEnabled { 40 mi := &file_sync_sync_proto_msgTypes[0] 41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 42 ms.StoreMessageInfo(mi) 43 } 44 } 45 46 func (x *Request) String() string { 47 return protoimpl.X.MessageStringOf(x) 48 } 49 50 func (*Request) ProtoMessage() {} 51 52 func (x *Request) ProtoReflect() protoreflect.Message { 53 mi := &file_sync_sync_proto_msgTypes[0] 54 if protoimpl.UnsafeEnabled && x != nil { 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 if ms.LoadMessageInfo() == nil { 57 ms.StoreMessageInfo(mi) 58 } 59 return ms 60 } 61 return mi.MessageOf(x) 62 } 63 64 // Deprecated: Use Request.ProtoReflect.Descriptor instead. 65 func (*Request) Descriptor() ([]byte, []int) { 66 return file_sync_sync_proto_rawDescGZIP(), []int{0} 67 } 68 69 func (m *Request) GetMessage() isRequest_Message { 70 if m != nil { 71 return m.Message 72 } 73 return nil 74 } 75 76 func (x *Request) GetRangeProofRequest() *SyncGetRangeProofRequest { 77 if x, ok := x.GetMessage().(*Request_RangeProofRequest); ok { 78 return x.RangeProofRequest 79 } 80 return nil 81 } 82 83 func (x *Request) GetChangeProofRequest() *SyncGetChangeProofRequest { 84 if x, ok := x.GetMessage().(*Request_ChangeProofRequest); ok { 85 return x.ChangeProofRequest 86 } 87 return nil 88 } 89 90 type isRequest_Message interface { 91 isRequest_Message() 92 } 93 94 type Request_RangeProofRequest struct { 95 RangeProofRequest *SyncGetRangeProofRequest `protobuf:"bytes,1,opt,name=range_proof_request,json=rangeProofRequest,proto3,oneof"` 96 } 97 98 type Request_ChangeProofRequest struct { 99 ChangeProofRequest *SyncGetChangeProofRequest `protobuf:"bytes,2,opt,name=change_proof_request,json=changeProofRequest,proto3,oneof"` 100 } 101 102 func (*Request_RangeProofRequest) isRequest_Message() {} 103 104 func (*Request_ChangeProofRequest) isRequest_Message() {} 105 106 type GetMerkleRootResponse struct { 107 state protoimpl.MessageState 108 sizeCache protoimpl.SizeCache 109 unknownFields protoimpl.UnknownFields 110 111 RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` 112 } 113 114 func (x *GetMerkleRootResponse) Reset() { 115 *x = GetMerkleRootResponse{} 116 if protoimpl.UnsafeEnabled { 117 mi := &file_sync_sync_proto_msgTypes[1] 118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 119 ms.StoreMessageInfo(mi) 120 } 121 } 122 123 func (x *GetMerkleRootResponse) String() string { 124 return protoimpl.X.MessageStringOf(x) 125 } 126 127 func (*GetMerkleRootResponse) ProtoMessage() {} 128 129 func (x *GetMerkleRootResponse) ProtoReflect() protoreflect.Message { 130 mi := &file_sync_sync_proto_msgTypes[1] 131 if protoimpl.UnsafeEnabled && x != nil { 132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 133 if ms.LoadMessageInfo() == nil { 134 ms.StoreMessageInfo(mi) 135 } 136 return ms 137 } 138 return mi.MessageOf(x) 139 } 140 141 // Deprecated: Use GetMerkleRootResponse.ProtoReflect.Descriptor instead. 142 func (*GetMerkleRootResponse) Descriptor() ([]byte, []int) { 143 return file_sync_sync_proto_rawDescGZIP(), []int{1} 144 } 145 146 func (x *GetMerkleRootResponse) GetRootHash() []byte { 147 if x != nil { 148 return x.RootHash 149 } 150 return nil 151 } 152 153 type GetProofRequest struct { 154 state protoimpl.MessageState 155 sizeCache protoimpl.SizeCache 156 unknownFields protoimpl.UnknownFields 157 158 Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 159 } 160 161 func (x *GetProofRequest) Reset() { 162 *x = GetProofRequest{} 163 if protoimpl.UnsafeEnabled { 164 mi := &file_sync_sync_proto_msgTypes[2] 165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 166 ms.StoreMessageInfo(mi) 167 } 168 } 169 170 func (x *GetProofRequest) String() string { 171 return protoimpl.X.MessageStringOf(x) 172 } 173 174 func (*GetProofRequest) ProtoMessage() {} 175 176 func (x *GetProofRequest) ProtoReflect() protoreflect.Message { 177 mi := &file_sync_sync_proto_msgTypes[2] 178 if protoimpl.UnsafeEnabled && x != nil { 179 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 180 if ms.LoadMessageInfo() == nil { 181 ms.StoreMessageInfo(mi) 182 } 183 return ms 184 } 185 return mi.MessageOf(x) 186 } 187 188 // Deprecated: Use GetProofRequest.ProtoReflect.Descriptor instead. 189 func (*GetProofRequest) Descriptor() ([]byte, []int) { 190 return file_sync_sync_proto_rawDescGZIP(), []int{2} 191 } 192 193 func (x *GetProofRequest) GetKey() []byte { 194 if x != nil { 195 return x.Key 196 } 197 return nil 198 } 199 200 type GetProofResponse struct { 201 state protoimpl.MessageState 202 sizeCache protoimpl.SizeCache 203 unknownFields protoimpl.UnknownFields 204 205 Proof *Proof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` 206 } 207 208 func (x *GetProofResponse) Reset() { 209 *x = GetProofResponse{} 210 if protoimpl.UnsafeEnabled { 211 mi := &file_sync_sync_proto_msgTypes[3] 212 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 213 ms.StoreMessageInfo(mi) 214 } 215 } 216 217 func (x *GetProofResponse) String() string { 218 return protoimpl.X.MessageStringOf(x) 219 } 220 221 func (*GetProofResponse) ProtoMessage() {} 222 223 func (x *GetProofResponse) ProtoReflect() protoreflect.Message { 224 mi := &file_sync_sync_proto_msgTypes[3] 225 if protoimpl.UnsafeEnabled && x != nil { 226 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 227 if ms.LoadMessageInfo() == nil { 228 ms.StoreMessageInfo(mi) 229 } 230 return ms 231 } 232 return mi.MessageOf(x) 233 } 234 235 // Deprecated: Use GetProofResponse.ProtoReflect.Descriptor instead. 236 func (*GetProofResponse) Descriptor() ([]byte, []int) { 237 return file_sync_sync_proto_rawDescGZIP(), []int{3} 238 } 239 240 func (x *GetProofResponse) GetProof() *Proof { 241 if x != nil { 242 return x.Proof 243 } 244 return nil 245 } 246 247 type Proof struct { 248 state protoimpl.MessageState 249 sizeCache protoimpl.SizeCache 250 unknownFields protoimpl.UnknownFields 251 252 Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 253 Value *MaybeBytes `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 254 Proof []*ProofNode `protobuf:"bytes,3,rep,name=proof,proto3" json:"proof,omitempty"` 255 } 256 257 func (x *Proof) Reset() { 258 *x = Proof{} 259 if protoimpl.UnsafeEnabled { 260 mi := &file_sync_sync_proto_msgTypes[4] 261 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 262 ms.StoreMessageInfo(mi) 263 } 264 } 265 266 func (x *Proof) String() string { 267 return protoimpl.X.MessageStringOf(x) 268 } 269 270 func (*Proof) ProtoMessage() {} 271 272 func (x *Proof) ProtoReflect() protoreflect.Message { 273 mi := &file_sync_sync_proto_msgTypes[4] 274 if protoimpl.UnsafeEnabled && x != nil { 275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 276 if ms.LoadMessageInfo() == nil { 277 ms.StoreMessageInfo(mi) 278 } 279 return ms 280 } 281 return mi.MessageOf(x) 282 } 283 284 // Deprecated: Use Proof.ProtoReflect.Descriptor instead. 285 func (*Proof) Descriptor() ([]byte, []int) { 286 return file_sync_sync_proto_rawDescGZIP(), []int{4} 287 } 288 289 func (x *Proof) GetKey() []byte { 290 if x != nil { 291 return x.Key 292 } 293 return nil 294 } 295 296 func (x *Proof) GetValue() *MaybeBytes { 297 if x != nil { 298 return x.Value 299 } 300 return nil 301 } 302 303 func (x *Proof) GetProof() []*ProofNode { 304 if x != nil { 305 return x.Proof 306 } 307 return nil 308 } 309 310 // For use in sync client, which has a restriction on the size of 311 // the response. GetChangeProof in the DB service doesn't. 312 type SyncGetChangeProofRequest struct { 313 state protoimpl.MessageState 314 sizeCache protoimpl.SizeCache 315 unknownFields protoimpl.UnknownFields 316 317 StartRootHash []byte `protobuf:"bytes,1,opt,name=start_root_hash,json=startRootHash,proto3" json:"start_root_hash,omitempty"` 318 EndRootHash []byte `protobuf:"bytes,2,opt,name=end_root_hash,json=endRootHash,proto3" json:"end_root_hash,omitempty"` 319 StartKey *MaybeBytes `protobuf:"bytes,3,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` 320 EndKey *MaybeBytes `protobuf:"bytes,4,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` 321 KeyLimit uint32 `protobuf:"varint,5,opt,name=key_limit,json=keyLimit,proto3" json:"key_limit,omitempty"` 322 BytesLimit uint32 `protobuf:"varint,6,opt,name=bytes_limit,json=bytesLimit,proto3" json:"bytes_limit,omitempty"` 323 } 324 325 func (x *SyncGetChangeProofRequest) Reset() { 326 *x = SyncGetChangeProofRequest{} 327 if protoimpl.UnsafeEnabled { 328 mi := &file_sync_sync_proto_msgTypes[5] 329 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 330 ms.StoreMessageInfo(mi) 331 } 332 } 333 334 func (x *SyncGetChangeProofRequest) String() string { 335 return protoimpl.X.MessageStringOf(x) 336 } 337 338 func (*SyncGetChangeProofRequest) ProtoMessage() {} 339 340 func (x *SyncGetChangeProofRequest) ProtoReflect() protoreflect.Message { 341 mi := &file_sync_sync_proto_msgTypes[5] 342 if protoimpl.UnsafeEnabled && x != nil { 343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 344 if ms.LoadMessageInfo() == nil { 345 ms.StoreMessageInfo(mi) 346 } 347 return ms 348 } 349 return mi.MessageOf(x) 350 } 351 352 // Deprecated: Use SyncGetChangeProofRequest.ProtoReflect.Descriptor instead. 353 func (*SyncGetChangeProofRequest) Descriptor() ([]byte, []int) { 354 return file_sync_sync_proto_rawDescGZIP(), []int{5} 355 } 356 357 func (x *SyncGetChangeProofRequest) GetStartRootHash() []byte { 358 if x != nil { 359 return x.StartRootHash 360 } 361 return nil 362 } 363 364 func (x *SyncGetChangeProofRequest) GetEndRootHash() []byte { 365 if x != nil { 366 return x.EndRootHash 367 } 368 return nil 369 } 370 371 func (x *SyncGetChangeProofRequest) GetStartKey() *MaybeBytes { 372 if x != nil { 373 return x.StartKey 374 } 375 return nil 376 } 377 378 func (x *SyncGetChangeProofRequest) GetEndKey() *MaybeBytes { 379 if x != nil { 380 return x.EndKey 381 } 382 return nil 383 } 384 385 func (x *SyncGetChangeProofRequest) GetKeyLimit() uint32 { 386 if x != nil { 387 return x.KeyLimit 388 } 389 return 0 390 } 391 392 func (x *SyncGetChangeProofRequest) GetBytesLimit() uint32 { 393 if x != nil { 394 return x.BytesLimit 395 } 396 return 0 397 } 398 399 type SyncGetChangeProofResponse struct { 400 state protoimpl.MessageState 401 sizeCache protoimpl.SizeCache 402 unknownFields protoimpl.UnknownFields 403 404 // Types that are assignable to Response: 405 // 406 // *SyncGetChangeProofResponse_ChangeProof 407 // *SyncGetChangeProofResponse_RangeProof 408 Response isSyncGetChangeProofResponse_Response `protobuf_oneof:"response"` 409 } 410 411 func (x *SyncGetChangeProofResponse) Reset() { 412 *x = SyncGetChangeProofResponse{} 413 if protoimpl.UnsafeEnabled { 414 mi := &file_sync_sync_proto_msgTypes[6] 415 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 416 ms.StoreMessageInfo(mi) 417 } 418 } 419 420 func (x *SyncGetChangeProofResponse) String() string { 421 return protoimpl.X.MessageStringOf(x) 422 } 423 424 func (*SyncGetChangeProofResponse) ProtoMessage() {} 425 426 func (x *SyncGetChangeProofResponse) ProtoReflect() protoreflect.Message { 427 mi := &file_sync_sync_proto_msgTypes[6] 428 if protoimpl.UnsafeEnabled && x != nil { 429 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 430 if ms.LoadMessageInfo() == nil { 431 ms.StoreMessageInfo(mi) 432 } 433 return ms 434 } 435 return mi.MessageOf(x) 436 } 437 438 // Deprecated: Use SyncGetChangeProofResponse.ProtoReflect.Descriptor instead. 439 func (*SyncGetChangeProofResponse) Descriptor() ([]byte, []int) { 440 return file_sync_sync_proto_rawDescGZIP(), []int{6} 441 } 442 443 func (m *SyncGetChangeProofResponse) GetResponse() isSyncGetChangeProofResponse_Response { 444 if m != nil { 445 return m.Response 446 } 447 return nil 448 } 449 450 func (x *SyncGetChangeProofResponse) GetChangeProof() *ChangeProof { 451 if x, ok := x.GetResponse().(*SyncGetChangeProofResponse_ChangeProof); ok { 452 return x.ChangeProof 453 } 454 return nil 455 } 456 457 func (x *SyncGetChangeProofResponse) GetRangeProof() *RangeProof { 458 if x, ok := x.GetResponse().(*SyncGetChangeProofResponse_RangeProof); ok { 459 return x.RangeProof 460 } 461 return nil 462 } 463 464 type isSyncGetChangeProofResponse_Response interface { 465 isSyncGetChangeProofResponse_Response() 466 } 467 468 type SyncGetChangeProofResponse_ChangeProof struct { 469 ChangeProof *ChangeProof `protobuf:"bytes,1,opt,name=change_proof,json=changeProof,proto3,oneof"` 470 } 471 472 type SyncGetChangeProofResponse_RangeProof struct { 473 RangeProof *RangeProof `protobuf:"bytes,2,opt,name=range_proof,json=rangeProof,proto3,oneof"` 474 } 475 476 func (*SyncGetChangeProofResponse_ChangeProof) isSyncGetChangeProofResponse_Response() {} 477 478 func (*SyncGetChangeProofResponse_RangeProof) isSyncGetChangeProofResponse_Response() {} 479 480 type GetChangeProofRequest struct { 481 state protoimpl.MessageState 482 sizeCache protoimpl.SizeCache 483 unknownFields protoimpl.UnknownFields 484 485 StartRootHash []byte `protobuf:"bytes,1,opt,name=start_root_hash,json=startRootHash,proto3" json:"start_root_hash,omitempty"` 486 EndRootHash []byte `protobuf:"bytes,2,opt,name=end_root_hash,json=endRootHash,proto3" json:"end_root_hash,omitempty"` 487 StartKey *MaybeBytes `protobuf:"bytes,3,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` 488 EndKey *MaybeBytes `protobuf:"bytes,4,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` 489 KeyLimit uint32 `protobuf:"varint,5,opt,name=key_limit,json=keyLimit,proto3" json:"key_limit,omitempty"` 490 } 491 492 func (x *GetChangeProofRequest) Reset() { 493 *x = GetChangeProofRequest{} 494 if protoimpl.UnsafeEnabled { 495 mi := &file_sync_sync_proto_msgTypes[7] 496 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 497 ms.StoreMessageInfo(mi) 498 } 499 } 500 501 func (x *GetChangeProofRequest) String() string { 502 return protoimpl.X.MessageStringOf(x) 503 } 504 505 func (*GetChangeProofRequest) ProtoMessage() {} 506 507 func (x *GetChangeProofRequest) ProtoReflect() protoreflect.Message { 508 mi := &file_sync_sync_proto_msgTypes[7] 509 if protoimpl.UnsafeEnabled && x != nil { 510 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 511 if ms.LoadMessageInfo() == nil { 512 ms.StoreMessageInfo(mi) 513 } 514 return ms 515 } 516 return mi.MessageOf(x) 517 } 518 519 // Deprecated: Use GetChangeProofRequest.ProtoReflect.Descriptor instead. 520 func (*GetChangeProofRequest) Descriptor() ([]byte, []int) { 521 return file_sync_sync_proto_rawDescGZIP(), []int{7} 522 } 523 524 func (x *GetChangeProofRequest) GetStartRootHash() []byte { 525 if x != nil { 526 return x.StartRootHash 527 } 528 return nil 529 } 530 531 func (x *GetChangeProofRequest) GetEndRootHash() []byte { 532 if x != nil { 533 return x.EndRootHash 534 } 535 return nil 536 } 537 538 func (x *GetChangeProofRequest) GetStartKey() *MaybeBytes { 539 if x != nil { 540 return x.StartKey 541 } 542 return nil 543 } 544 545 func (x *GetChangeProofRequest) GetEndKey() *MaybeBytes { 546 if x != nil { 547 return x.EndKey 548 } 549 return nil 550 } 551 552 func (x *GetChangeProofRequest) GetKeyLimit() uint32 { 553 if x != nil { 554 return x.KeyLimit 555 } 556 return 0 557 } 558 559 type GetChangeProofResponse struct { 560 state protoimpl.MessageState 561 sizeCache protoimpl.SizeCache 562 unknownFields protoimpl.UnknownFields 563 564 // Types that are assignable to Response: 565 // 566 // *GetChangeProofResponse_ChangeProof 567 // *GetChangeProofResponse_RootNotPresent 568 Response isGetChangeProofResponse_Response `protobuf_oneof:"response"` 569 } 570 571 func (x *GetChangeProofResponse) Reset() { 572 *x = GetChangeProofResponse{} 573 if protoimpl.UnsafeEnabled { 574 mi := &file_sync_sync_proto_msgTypes[8] 575 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 576 ms.StoreMessageInfo(mi) 577 } 578 } 579 580 func (x *GetChangeProofResponse) String() string { 581 return protoimpl.X.MessageStringOf(x) 582 } 583 584 func (*GetChangeProofResponse) ProtoMessage() {} 585 586 func (x *GetChangeProofResponse) ProtoReflect() protoreflect.Message { 587 mi := &file_sync_sync_proto_msgTypes[8] 588 if protoimpl.UnsafeEnabled && x != nil { 589 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 590 if ms.LoadMessageInfo() == nil { 591 ms.StoreMessageInfo(mi) 592 } 593 return ms 594 } 595 return mi.MessageOf(x) 596 } 597 598 // Deprecated: Use GetChangeProofResponse.ProtoReflect.Descriptor instead. 599 func (*GetChangeProofResponse) Descriptor() ([]byte, []int) { 600 return file_sync_sync_proto_rawDescGZIP(), []int{8} 601 } 602 603 func (m *GetChangeProofResponse) GetResponse() isGetChangeProofResponse_Response { 604 if m != nil { 605 return m.Response 606 } 607 return nil 608 } 609 610 func (x *GetChangeProofResponse) GetChangeProof() *ChangeProof { 611 if x, ok := x.GetResponse().(*GetChangeProofResponse_ChangeProof); ok { 612 return x.ChangeProof 613 } 614 return nil 615 } 616 617 func (x *GetChangeProofResponse) GetRootNotPresent() bool { 618 if x, ok := x.GetResponse().(*GetChangeProofResponse_RootNotPresent); ok { 619 return x.RootNotPresent 620 } 621 return false 622 } 623 624 type isGetChangeProofResponse_Response interface { 625 isGetChangeProofResponse_Response() 626 } 627 628 type GetChangeProofResponse_ChangeProof struct { 629 ChangeProof *ChangeProof `protobuf:"bytes,1,opt,name=change_proof,json=changeProof,proto3,oneof"` 630 } 631 632 type GetChangeProofResponse_RootNotPresent struct { 633 // True iff server errored with merkledb.ErrInsufficientHistory. 634 RootNotPresent bool `protobuf:"varint,2,opt,name=root_not_present,json=rootNotPresent,proto3,oneof"` 635 } 636 637 func (*GetChangeProofResponse_ChangeProof) isGetChangeProofResponse_Response() {} 638 639 func (*GetChangeProofResponse_RootNotPresent) isGetChangeProofResponse_Response() {} 640 641 type VerifyChangeProofRequest struct { 642 state protoimpl.MessageState 643 sizeCache protoimpl.SizeCache 644 unknownFields protoimpl.UnknownFields 645 646 Proof *ChangeProof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` 647 StartKey *MaybeBytes `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` 648 EndKey *MaybeBytes `protobuf:"bytes,3,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` 649 ExpectedRootHash []byte `protobuf:"bytes,4,opt,name=expected_root_hash,json=expectedRootHash,proto3" json:"expected_root_hash,omitempty"` 650 } 651 652 func (x *VerifyChangeProofRequest) Reset() { 653 *x = VerifyChangeProofRequest{} 654 if protoimpl.UnsafeEnabled { 655 mi := &file_sync_sync_proto_msgTypes[9] 656 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 657 ms.StoreMessageInfo(mi) 658 } 659 } 660 661 func (x *VerifyChangeProofRequest) String() string { 662 return protoimpl.X.MessageStringOf(x) 663 } 664 665 func (*VerifyChangeProofRequest) ProtoMessage() {} 666 667 func (x *VerifyChangeProofRequest) ProtoReflect() protoreflect.Message { 668 mi := &file_sync_sync_proto_msgTypes[9] 669 if protoimpl.UnsafeEnabled && x != nil { 670 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 671 if ms.LoadMessageInfo() == nil { 672 ms.StoreMessageInfo(mi) 673 } 674 return ms 675 } 676 return mi.MessageOf(x) 677 } 678 679 // Deprecated: Use VerifyChangeProofRequest.ProtoReflect.Descriptor instead. 680 func (*VerifyChangeProofRequest) Descriptor() ([]byte, []int) { 681 return file_sync_sync_proto_rawDescGZIP(), []int{9} 682 } 683 684 func (x *VerifyChangeProofRequest) GetProof() *ChangeProof { 685 if x != nil { 686 return x.Proof 687 } 688 return nil 689 } 690 691 func (x *VerifyChangeProofRequest) GetStartKey() *MaybeBytes { 692 if x != nil { 693 return x.StartKey 694 } 695 return nil 696 } 697 698 func (x *VerifyChangeProofRequest) GetEndKey() *MaybeBytes { 699 if x != nil { 700 return x.EndKey 701 } 702 return nil 703 } 704 705 func (x *VerifyChangeProofRequest) GetExpectedRootHash() []byte { 706 if x != nil { 707 return x.ExpectedRootHash 708 } 709 return nil 710 } 711 712 type VerifyChangeProofResponse struct { 713 state protoimpl.MessageState 714 sizeCache protoimpl.SizeCache 715 unknownFields protoimpl.UnknownFields 716 717 // If empty, there was no error. 718 Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` 719 } 720 721 func (x *VerifyChangeProofResponse) Reset() { 722 *x = VerifyChangeProofResponse{} 723 if protoimpl.UnsafeEnabled { 724 mi := &file_sync_sync_proto_msgTypes[10] 725 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 726 ms.StoreMessageInfo(mi) 727 } 728 } 729 730 func (x *VerifyChangeProofResponse) String() string { 731 return protoimpl.X.MessageStringOf(x) 732 } 733 734 func (*VerifyChangeProofResponse) ProtoMessage() {} 735 736 func (x *VerifyChangeProofResponse) ProtoReflect() protoreflect.Message { 737 mi := &file_sync_sync_proto_msgTypes[10] 738 if protoimpl.UnsafeEnabled && x != nil { 739 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 740 if ms.LoadMessageInfo() == nil { 741 ms.StoreMessageInfo(mi) 742 } 743 return ms 744 } 745 return mi.MessageOf(x) 746 } 747 748 // Deprecated: Use VerifyChangeProofResponse.ProtoReflect.Descriptor instead. 749 func (*VerifyChangeProofResponse) Descriptor() ([]byte, []int) { 750 return file_sync_sync_proto_rawDescGZIP(), []int{10} 751 } 752 753 func (x *VerifyChangeProofResponse) GetError() string { 754 if x != nil { 755 return x.Error 756 } 757 return "" 758 } 759 760 type CommitChangeProofRequest struct { 761 state protoimpl.MessageState 762 sizeCache protoimpl.SizeCache 763 unknownFields protoimpl.UnknownFields 764 765 Proof *ChangeProof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` 766 } 767 768 func (x *CommitChangeProofRequest) Reset() { 769 *x = CommitChangeProofRequest{} 770 if protoimpl.UnsafeEnabled { 771 mi := &file_sync_sync_proto_msgTypes[11] 772 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 773 ms.StoreMessageInfo(mi) 774 } 775 } 776 777 func (x *CommitChangeProofRequest) String() string { 778 return protoimpl.X.MessageStringOf(x) 779 } 780 781 func (*CommitChangeProofRequest) ProtoMessage() {} 782 783 func (x *CommitChangeProofRequest) ProtoReflect() protoreflect.Message { 784 mi := &file_sync_sync_proto_msgTypes[11] 785 if protoimpl.UnsafeEnabled && x != nil { 786 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 787 if ms.LoadMessageInfo() == nil { 788 ms.StoreMessageInfo(mi) 789 } 790 return ms 791 } 792 return mi.MessageOf(x) 793 } 794 795 // Deprecated: Use CommitChangeProofRequest.ProtoReflect.Descriptor instead. 796 func (*CommitChangeProofRequest) Descriptor() ([]byte, []int) { 797 return file_sync_sync_proto_rawDescGZIP(), []int{11} 798 } 799 800 func (x *CommitChangeProofRequest) GetProof() *ChangeProof { 801 if x != nil { 802 return x.Proof 803 } 804 return nil 805 } 806 807 // For use in sync client, which has a restriction on the size of 808 // the response. GetRangeProof in the DB service doesn't. 809 type SyncGetRangeProofRequest struct { 810 state protoimpl.MessageState 811 sizeCache protoimpl.SizeCache 812 unknownFields protoimpl.UnknownFields 813 814 RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` 815 StartKey *MaybeBytes `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` 816 EndKey *MaybeBytes `protobuf:"bytes,3,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` 817 KeyLimit uint32 `protobuf:"varint,4,opt,name=key_limit,json=keyLimit,proto3" json:"key_limit,omitempty"` 818 BytesLimit uint32 `protobuf:"varint,5,opt,name=bytes_limit,json=bytesLimit,proto3" json:"bytes_limit,omitempty"` 819 } 820 821 func (x *SyncGetRangeProofRequest) Reset() { 822 *x = SyncGetRangeProofRequest{} 823 if protoimpl.UnsafeEnabled { 824 mi := &file_sync_sync_proto_msgTypes[12] 825 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 826 ms.StoreMessageInfo(mi) 827 } 828 } 829 830 func (x *SyncGetRangeProofRequest) String() string { 831 return protoimpl.X.MessageStringOf(x) 832 } 833 834 func (*SyncGetRangeProofRequest) ProtoMessage() {} 835 836 func (x *SyncGetRangeProofRequest) ProtoReflect() protoreflect.Message { 837 mi := &file_sync_sync_proto_msgTypes[12] 838 if protoimpl.UnsafeEnabled && x != nil { 839 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 840 if ms.LoadMessageInfo() == nil { 841 ms.StoreMessageInfo(mi) 842 } 843 return ms 844 } 845 return mi.MessageOf(x) 846 } 847 848 // Deprecated: Use SyncGetRangeProofRequest.ProtoReflect.Descriptor instead. 849 func (*SyncGetRangeProofRequest) Descriptor() ([]byte, []int) { 850 return file_sync_sync_proto_rawDescGZIP(), []int{12} 851 } 852 853 func (x *SyncGetRangeProofRequest) GetRootHash() []byte { 854 if x != nil { 855 return x.RootHash 856 } 857 return nil 858 } 859 860 func (x *SyncGetRangeProofRequest) GetStartKey() *MaybeBytes { 861 if x != nil { 862 return x.StartKey 863 } 864 return nil 865 } 866 867 func (x *SyncGetRangeProofRequest) GetEndKey() *MaybeBytes { 868 if x != nil { 869 return x.EndKey 870 } 871 return nil 872 } 873 874 func (x *SyncGetRangeProofRequest) GetKeyLimit() uint32 { 875 if x != nil { 876 return x.KeyLimit 877 } 878 return 0 879 } 880 881 func (x *SyncGetRangeProofRequest) GetBytesLimit() uint32 { 882 if x != nil { 883 return x.BytesLimit 884 } 885 return 0 886 } 887 888 type GetRangeProofRequest struct { 889 state protoimpl.MessageState 890 sizeCache protoimpl.SizeCache 891 unknownFields protoimpl.UnknownFields 892 893 RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` 894 StartKey *MaybeBytes `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` 895 EndKey *MaybeBytes `protobuf:"bytes,3,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` 896 KeyLimit uint32 `protobuf:"varint,4,opt,name=key_limit,json=keyLimit,proto3" json:"key_limit,omitempty"` 897 } 898 899 func (x *GetRangeProofRequest) Reset() { 900 *x = GetRangeProofRequest{} 901 if protoimpl.UnsafeEnabled { 902 mi := &file_sync_sync_proto_msgTypes[13] 903 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 904 ms.StoreMessageInfo(mi) 905 } 906 } 907 908 func (x *GetRangeProofRequest) String() string { 909 return protoimpl.X.MessageStringOf(x) 910 } 911 912 func (*GetRangeProofRequest) ProtoMessage() {} 913 914 func (x *GetRangeProofRequest) ProtoReflect() protoreflect.Message { 915 mi := &file_sync_sync_proto_msgTypes[13] 916 if protoimpl.UnsafeEnabled && x != nil { 917 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 918 if ms.LoadMessageInfo() == nil { 919 ms.StoreMessageInfo(mi) 920 } 921 return ms 922 } 923 return mi.MessageOf(x) 924 } 925 926 // Deprecated: Use GetRangeProofRequest.ProtoReflect.Descriptor instead. 927 func (*GetRangeProofRequest) Descriptor() ([]byte, []int) { 928 return file_sync_sync_proto_rawDescGZIP(), []int{13} 929 } 930 931 func (x *GetRangeProofRequest) GetRootHash() []byte { 932 if x != nil { 933 return x.RootHash 934 } 935 return nil 936 } 937 938 func (x *GetRangeProofRequest) GetStartKey() *MaybeBytes { 939 if x != nil { 940 return x.StartKey 941 } 942 return nil 943 } 944 945 func (x *GetRangeProofRequest) GetEndKey() *MaybeBytes { 946 if x != nil { 947 return x.EndKey 948 } 949 return nil 950 } 951 952 func (x *GetRangeProofRequest) GetKeyLimit() uint32 { 953 if x != nil { 954 return x.KeyLimit 955 } 956 return 0 957 } 958 959 type GetRangeProofResponse struct { 960 state protoimpl.MessageState 961 sizeCache protoimpl.SizeCache 962 unknownFields protoimpl.UnknownFields 963 964 Proof *RangeProof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` 965 } 966 967 func (x *GetRangeProofResponse) Reset() { 968 *x = GetRangeProofResponse{} 969 if protoimpl.UnsafeEnabled { 970 mi := &file_sync_sync_proto_msgTypes[14] 971 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 972 ms.StoreMessageInfo(mi) 973 } 974 } 975 976 func (x *GetRangeProofResponse) String() string { 977 return protoimpl.X.MessageStringOf(x) 978 } 979 980 func (*GetRangeProofResponse) ProtoMessage() {} 981 982 func (x *GetRangeProofResponse) ProtoReflect() protoreflect.Message { 983 mi := &file_sync_sync_proto_msgTypes[14] 984 if protoimpl.UnsafeEnabled && x != nil { 985 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 986 if ms.LoadMessageInfo() == nil { 987 ms.StoreMessageInfo(mi) 988 } 989 return ms 990 } 991 return mi.MessageOf(x) 992 } 993 994 // Deprecated: Use GetRangeProofResponse.ProtoReflect.Descriptor instead. 995 func (*GetRangeProofResponse) Descriptor() ([]byte, []int) { 996 return file_sync_sync_proto_rawDescGZIP(), []int{14} 997 } 998 999 func (x *GetRangeProofResponse) GetProof() *RangeProof { 1000 if x != nil { 1001 return x.Proof 1002 } 1003 return nil 1004 } 1005 1006 type CommitRangeProofRequest struct { 1007 state protoimpl.MessageState 1008 sizeCache protoimpl.SizeCache 1009 unknownFields protoimpl.UnknownFields 1010 1011 StartKey *MaybeBytes `protobuf:"bytes,1,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` 1012 EndKey *MaybeBytes `protobuf:"bytes,2,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` 1013 RangeProof *RangeProof `protobuf:"bytes,3,opt,name=range_proof,json=rangeProof,proto3" json:"range_proof,omitempty"` 1014 } 1015 1016 func (x *CommitRangeProofRequest) Reset() { 1017 *x = CommitRangeProofRequest{} 1018 if protoimpl.UnsafeEnabled { 1019 mi := &file_sync_sync_proto_msgTypes[15] 1020 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1021 ms.StoreMessageInfo(mi) 1022 } 1023 } 1024 1025 func (x *CommitRangeProofRequest) String() string { 1026 return protoimpl.X.MessageStringOf(x) 1027 } 1028 1029 func (*CommitRangeProofRequest) ProtoMessage() {} 1030 1031 func (x *CommitRangeProofRequest) ProtoReflect() protoreflect.Message { 1032 mi := &file_sync_sync_proto_msgTypes[15] 1033 if protoimpl.UnsafeEnabled && x != nil { 1034 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1035 if ms.LoadMessageInfo() == nil { 1036 ms.StoreMessageInfo(mi) 1037 } 1038 return ms 1039 } 1040 return mi.MessageOf(x) 1041 } 1042 1043 // Deprecated: Use CommitRangeProofRequest.ProtoReflect.Descriptor instead. 1044 func (*CommitRangeProofRequest) Descriptor() ([]byte, []int) { 1045 return file_sync_sync_proto_rawDescGZIP(), []int{15} 1046 } 1047 1048 func (x *CommitRangeProofRequest) GetStartKey() *MaybeBytes { 1049 if x != nil { 1050 return x.StartKey 1051 } 1052 return nil 1053 } 1054 1055 func (x *CommitRangeProofRequest) GetEndKey() *MaybeBytes { 1056 if x != nil { 1057 return x.EndKey 1058 } 1059 return nil 1060 } 1061 1062 func (x *CommitRangeProofRequest) GetRangeProof() *RangeProof { 1063 if x != nil { 1064 return x.RangeProof 1065 } 1066 return nil 1067 } 1068 1069 type ChangeProof struct { 1070 state protoimpl.MessageState 1071 sizeCache protoimpl.SizeCache 1072 unknownFields protoimpl.UnknownFields 1073 1074 StartProof []*ProofNode `protobuf:"bytes,1,rep,name=start_proof,json=startProof,proto3" json:"start_proof,omitempty"` 1075 EndProof []*ProofNode `protobuf:"bytes,2,rep,name=end_proof,json=endProof,proto3" json:"end_proof,omitempty"` 1076 KeyChanges []*KeyChange `protobuf:"bytes,3,rep,name=key_changes,json=keyChanges,proto3" json:"key_changes,omitempty"` 1077 } 1078 1079 func (x *ChangeProof) Reset() { 1080 *x = ChangeProof{} 1081 if protoimpl.UnsafeEnabled { 1082 mi := &file_sync_sync_proto_msgTypes[16] 1083 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1084 ms.StoreMessageInfo(mi) 1085 } 1086 } 1087 1088 func (x *ChangeProof) String() string { 1089 return protoimpl.X.MessageStringOf(x) 1090 } 1091 1092 func (*ChangeProof) ProtoMessage() {} 1093 1094 func (x *ChangeProof) ProtoReflect() protoreflect.Message { 1095 mi := &file_sync_sync_proto_msgTypes[16] 1096 if protoimpl.UnsafeEnabled && x != nil { 1097 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1098 if ms.LoadMessageInfo() == nil { 1099 ms.StoreMessageInfo(mi) 1100 } 1101 return ms 1102 } 1103 return mi.MessageOf(x) 1104 } 1105 1106 // Deprecated: Use ChangeProof.ProtoReflect.Descriptor instead. 1107 func (*ChangeProof) Descriptor() ([]byte, []int) { 1108 return file_sync_sync_proto_rawDescGZIP(), []int{16} 1109 } 1110 1111 func (x *ChangeProof) GetStartProof() []*ProofNode { 1112 if x != nil { 1113 return x.StartProof 1114 } 1115 return nil 1116 } 1117 1118 func (x *ChangeProof) GetEndProof() []*ProofNode { 1119 if x != nil { 1120 return x.EndProof 1121 } 1122 return nil 1123 } 1124 1125 func (x *ChangeProof) GetKeyChanges() []*KeyChange { 1126 if x != nil { 1127 return x.KeyChanges 1128 } 1129 return nil 1130 } 1131 1132 type RangeProof struct { 1133 state protoimpl.MessageState 1134 sizeCache protoimpl.SizeCache 1135 unknownFields protoimpl.UnknownFields 1136 1137 StartProof []*ProofNode `protobuf:"bytes,1,rep,name=start_proof,json=startProof,proto3" json:"start_proof,omitempty"` 1138 EndProof []*ProofNode `protobuf:"bytes,2,rep,name=end_proof,json=endProof,proto3" json:"end_proof,omitempty"` 1139 KeyValues []*KeyValue `protobuf:"bytes,3,rep,name=key_values,json=keyValues,proto3" json:"key_values,omitempty"` 1140 } 1141 1142 func (x *RangeProof) Reset() { 1143 *x = RangeProof{} 1144 if protoimpl.UnsafeEnabled { 1145 mi := &file_sync_sync_proto_msgTypes[17] 1146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1147 ms.StoreMessageInfo(mi) 1148 } 1149 } 1150 1151 func (x *RangeProof) String() string { 1152 return protoimpl.X.MessageStringOf(x) 1153 } 1154 1155 func (*RangeProof) ProtoMessage() {} 1156 1157 func (x *RangeProof) ProtoReflect() protoreflect.Message { 1158 mi := &file_sync_sync_proto_msgTypes[17] 1159 if protoimpl.UnsafeEnabled && x != nil { 1160 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1161 if ms.LoadMessageInfo() == nil { 1162 ms.StoreMessageInfo(mi) 1163 } 1164 return ms 1165 } 1166 return mi.MessageOf(x) 1167 } 1168 1169 // Deprecated: Use RangeProof.ProtoReflect.Descriptor instead. 1170 func (*RangeProof) Descriptor() ([]byte, []int) { 1171 return file_sync_sync_proto_rawDescGZIP(), []int{17} 1172 } 1173 1174 func (x *RangeProof) GetStartProof() []*ProofNode { 1175 if x != nil { 1176 return x.StartProof 1177 } 1178 return nil 1179 } 1180 1181 func (x *RangeProof) GetEndProof() []*ProofNode { 1182 if x != nil { 1183 return x.EndProof 1184 } 1185 return nil 1186 } 1187 1188 func (x *RangeProof) GetKeyValues() []*KeyValue { 1189 if x != nil { 1190 return x.KeyValues 1191 } 1192 return nil 1193 } 1194 1195 type ProofNode struct { 1196 state protoimpl.MessageState 1197 sizeCache protoimpl.SizeCache 1198 unknownFields protoimpl.UnknownFields 1199 1200 Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 1201 ValueOrHash *MaybeBytes `protobuf:"bytes,2,opt,name=value_or_hash,json=valueOrHash,proto3" json:"value_or_hash,omitempty"` 1202 Children map[uint32][]byte `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1203 } 1204 1205 func (x *ProofNode) Reset() { 1206 *x = ProofNode{} 1207 if protoimpl.UnsafeEnabled { 1208 mi := &file_sync_sync_proto_msgTypes[18] 1209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1210 ms.StoreMessageInfo(mi) 1211 } 1212 } 1213 1214 func (x *ProofNode) String() string { 1215 return protoimpl.X.MessageStringOf(x) 1216 } 1217 1218 func (*ProofNode) ProtoMessage() {} 1219 1220 func (x *ProofNode) ProtoReflect() protoreflect.Message { 1221 mi := &file_sync_sync_proto_msgTypes[18] 1222 if protoimpl.UnsafeEnabled && x != nil { 1223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1224 if ms.LoadMessageInfo() == nil { 1225 ms.StoreMessageInfo(mi) 1226 } 1227 return ms 1228 } 1229 return mi.MessageOf(x) 1230 } 1231 1232 // Deprecated: Use ProofNode.ProtoReflect.Descriptor instead. 1233 func (*ProofNode) Descriptor() ([]byte, []int) { 1234 return file_sync_sync_proto_rawDescGZIP(), []int{18} 1235 } 1236 1237 func (x *ProofNode) GetKey() *Key { 1238 if x != nil { 1239 return x.Key 1240 } 1241 return nil 1242 } 1243 1244 func (x *ProofNode) GetValueOrHash() *MaybeBytes { 1245 if x != nil { 1246 return x.ValueOrHash 1247 } 1248 return nil 1249 } 1250 1251 func (x *ProofNode) GetChildren() map[uint32][]byte { 1252 if x != nil { 1253 return x.Children 1254 } 1255 return nil 1256 } 1257 1258 type KeyChange struct { 1259 state protoimpl.MessageState 1260 sizeCache protoimpl.SizeCache 1261 unknownFields protoimpl.UnknownFields 1262 1263 Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 1264 Value *MaybeBytes `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 1265 } 1266 1267 func (x *KeyChange) Reset() { 1268 *x = KeyChange{} 1269 if protoimpl.UnsafeEnabled { 1270 mi := &file_sync_sync_proto_msgTypes[19] 1271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1272 ms.StoreMessageInfo(mi) 1273 } 1274 } 1275 1276 func (x *KeyChange) String() string { 1277 return protoimpl.X.MessageStringOf(x) 1278 } 1279 1280 func (*KeyChange) ProtoMessage() {} 1281 1282 func (x *KeyChange) ProtoReflect() protoreflect.Message { 1283 mi := &file_sync_sync_proto_msgTypes[19] 1284 if protoimpl.UnsafeEnabled && x != nil { 1285 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1286 if ms.LoadMessageInfo() == nil { 1287 ms.StoreMessageInfo(mi) 1288 } 1289 return ms 1290 } 1291 return mi.MessageOf(x) 1292 } 1293 1294 // Deprecated: Use KeyChange.ProtoReflect.Descriptor instead. 1295 func (*KeyChange) Descriptor() ([]byte, []int) { 1296 return file_sync_sync_proto_rawDescGZIP(), []int{19} 1297 } 1298 1299 func (x *KeyChange) GetKey() []byte { 1300 if x != nil { 1301 return x.Key 1302 } 1303 return nil 1304 } 1305 1306 func (x *KeyChange) GetValue() *MaybeBytes { 1307 if x != nil { 1308 return x.Value 1309 } 1310 return nil 1311 } 1312 1313 type Key struct { 1314 state protoimpl.MessageState 1315 sizeCache protoimpl.SizeCache 1316 unknownFields protoimpl.UnknownFields 1317 1318 Length uint64 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` 1319 Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 1320 } 1321 1322 func (x *Key) Reset() { 1323 *x = Key{} 1324 if protoimpl.UnsafeEnabled { 1325 mi := &file_sync_sync_proto_msgTypes[20] 1326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1327 ms.StoreMessageInfo(mi) 1328 } 1329 } 1330 1331 func (x *Key) String() string { 1332 return protoimpl.X.MessageStringOf(x) 1333 } 1334 1335 func (*Key) ProtoMessage() {} 1336 1337 func (x *Key) ProtoReflect() protoreflect.Message { 1338 mi := &file_sync_sync_proto_msgTypes[20] 1339 if protoimpl.UnsafeEnabled && x != nil { 1340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1341 if ms.LoadMessageInfo() == nil { 1342 ms.StoreMessageInfo(mi) 1343 } 1344 return ms 1345 } 1346 return mi.MessageOf(x) 1347 } 1348 1349 // Deprecated: Use Key.ProtoReflect.Descriptor instead. 1350 func (*Key) Descriptor() ([]byte, []int) { 1351 return file_sync_sync_proto_rawDescGZIP(), []int{20} 1352 } 1353 1354 func (x *Key) GetLength() uint64 { 1355 if x != nil { 1356 return x.Length 1357 } 1358 return 0 1359 } 1360 1361 func (x *Key) GetValue() []byte { 1362 if x != nil { 1363 return x.Value 1364 } 1365 return nil 1366 } 1367 1368 type MaybeBytes struct { 1369 state protoimpl.MessageState 1370 sizeCache protoimpl.SizeCache 1371 unknownFields protoimpl.UnknownFields 1372 1373 Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 1374 // If false, this is None. 1375 // Otherwise this is Some. 1376 IsNothing bool `protobuf:"varint,2,opt,name=is_nothing,json=isNothing,proto3" json:"is_nothing,omitempty"` 1377 } 1378 1379 func (x *MaybeBytes) Reset() { 1380 *x = MaybeBytes{} 1381 if protoimpl.UnsafeEnabled { 1382 mi := &file_sync_sync_proto_msgTypes[21] 1383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1384 ms.StoreMessageInfo(mi) 1385 } 1386 } 1387 1388 func (x *MaybeBytes) String() string { 1389 return protoimpl.X.MessageStringOf(x) 1390 } 1391 1392 func (*MaybeBytes) ProtoMessage() {} 1393 1394 func (x *MaybeBytes) ProtoReflect() protoreflect.Message { 1395 mi := &file_sync_sync_proto_msgTypes[21] 1396 if protoimpl.UnsafeEnabled && x != nil { 1397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1398 if ms.LoadMessageInfo() == nil { 1399 ms.StoreMessageInfo(mi) 1400 } 1401 return ms 1402 } 1403 return mi.MessageOf(x) 1404 } 1405 1406 // Deprecated: Use MaybeBytes.ProtoReflect.Descriptor instead. 1407 func (*MaybeBytes) Descriptor() ([]byte, []int) { 1408 return file_sync_sync_proto_rawDescGZIP(), []int{21} 1409 } 1410 1411 func (x *MaybeBytes) GetValue() []byte { 1412 if x != nil { 1413 return x.Value 1414 } 1415 return nil 1416 } 1417 1418 func (x *MaybeBytes) GetIsNothing() bool { 1419 if x != nil { 1420 return x.IsNothing 1421 } 1422 return false 1423 } 1424 1425 type KeyValue struct { 1426 state protoimpl.MessageState 1427 sizeCache protoimpl.SizeCache 1428 unknownFields protoimpl.UnknownFields 1429 1430 Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 1431 Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 1432 } 1433 1434 func (x *KeyValue) Reset() { 1435 *x = KeyValue{} 1436 if protoimpl.UnsafeEnabled { 1437 mi := &file_sync_sync_proto_msgTypes[22] 1438 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1439 ms.StoreMessageInfo(mi) 1440 } 1441 } 1442 1443 func (x *KeyValue) String() string { 1444 return protoimpl.X.MessageStringOf(x) 1445 } 1446 1447 func (*KeyValue) ProtoMessage() {} 1448 1449 func (x *KeyValue) ProtoReflect() protoreflect.Message { 1450 mi := &file_sync_sync_proto_msgTypes[22] 1451 if protoimpl.UnsafeEnabled && x != nil { 1452 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1453 if ms.LoadMessageInfo() == nil { 1454 ms.StoreMessageInfo(mi) 1455 } 1456 return ms 1457 } 1458 return mi.MessageOf(x) 1459 } 1460 1461 // Deprecated: Use KeyValue.ProtoReflect.Descriptor instead. 1462 func (*KeyValue) Descriptor() ([]byte, []int) { 1463 return file_sync_sync_proto_rawDescGZIP(), []int{22} 1464 } 1465 1466 func (x *KeyValue) GetKey() []byte { 1467 if x != nil { 1468 return x.Key 1469 } 1470 return nil 1471 } 1472 1473 func (x *KeyValue) GetValue() []byte { 1474 if x != nil { 1475 return x.Value 1476 } 1477 return nil 1478 } 1479 1480 var File_sync_sync_proto protoreflect.FileDescriptor 1481 1482 var file_sync_sync_proto_rawDesc = []byte{ 1483 0x0a, 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1484 0x6f, 0x12, 0x04, 0x73, 0x79, 0x6e, 0x63, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 1485 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 1486 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x01, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1487 0x12, 0x50, 0x0a, 0x13, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 1488 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 1489 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x67, 1490 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 1491 0x11, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 1492 0x73, 0x74, 0x12, 0x53, 0x0a, 0x14, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x70, 0x72, 0x6f, 1493 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 1494 0x32, 0x1f, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x47, 0x65, 0x74, 0x43, 1495 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1496 0x74, 0x48, 0x00, 0x52, 0x12, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 1497 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 1498 0x67, 0x65, 0x22, 0x34, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x52, 1499 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 1500 0x6f, 0x6f, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 1501 0x72, 0x6f, 0x6f, 0x74, 0x48, 0x61, 0x73, 0x68, 0x22, 0x23, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 1502 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 1503 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x35, 0x0a, 1504 0x10, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 1505 0x65, 0x12, 0x21, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 1506 0x32, 0x0b, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x05, 0x70, 1507 0x72, 0x6f, 0x6f, 0x66, 0x22, 0x68, 0x0a, 0x05, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x10, 0x0a, 1508 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 1509 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 1510 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x4d, 0x61, 0x79, 0x62, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 1511 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 1512 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x50, 0x72, 1513 0x6f, 0x6f, 0x66, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x22, 0xff, 1514 0x01, 0x0a, 0x19, 0x53, 0x79, 0x6e, 0x63, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 1515 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 1516 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 1517 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x6f, 0x6f, 0x74, 1518 0x48, 0x61, 0x73, 0x68, 0x12, 0x22, 0x0a, 0x0d, 0x65, 0x6e, 0x64, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 1519 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x65, 0x6e, 0x64, 1520 0x52, 0x6f, 0x6f, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x2d, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 1521 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x79, 1522 0x6e, 0x63, 0x2e, 0x4d, 0x61, 0x79, 0x62, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x08, 0x73, 1523 0x74, 0x61, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x5f, 0x6b, 1524 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 1525 0x4d, 0x61, 0x79, 0x62, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x06, 0x65, 0x6e, 0x64, 0x4b, 1526 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 1527 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 1528 0x1f, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 1529 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 1530 0x22, 0x95, 0x01, 0x0a, 0x1a, 0x53, 0x79, 0x6e, 0x63, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 1531 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 1532 0x36, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 1533 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x43, 0x68, 0x61, 1534 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 1535 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x33, 0x0a, 0x0b, 0x72, 0x61, 0x6e, 0x67, 0x65, 1536 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 1537 0x79, 0x6e, 0x63, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x48, 0x00, 1538 0x52, 0x0a, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x42, 0x0a, 0x0a, 0x08, 1539 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xda, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 1540 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 1541 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 1542 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x73, 0x74, 0x61, 1543 0x72, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x22, 0x0a, 0x0d, 0x65, 0x6e, 1544 0x64, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 1545 0x0c, 0x52, 0x0b, 0x65, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x2d, 1546 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 1547 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x4d, 0x61, 0x79, 0x62, 0x65, 0x42, 0x79, 1548 0x74, 0x65, 0x73, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x29, 0x0a, 1549 0x07, 0x65, 0x6e, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 1550 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x4d, 0x61, 0x79, 0x62, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 1551 0x52, 0x06, 0x65, 0x6e, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 1552 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6b, 0x65, 0x79, 1553 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x88, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 1554 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1555 0x12, 0x36, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 1556 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x43, 0x68, 1557 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x68, 0x61, 1558 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x6f, 0x6f, 0x74, 1559 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 1560 0x28, 0x08, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x6f, 0x6f, 0x74, 0x4e, 0x6f, 0x74, 0x50, 0x72, 0x65, 1561 0x73, 0x65, 0x6e, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1562 0x22, 0xcb, 0x01, 0x0a, 0x18, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 1563 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 1564 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x73, 1565 0x79, 0x6e, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 1566 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x2d, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 1567 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x79, 0x6e, 0x63, 1568 0x2e, 0x4d, 0x61, 0x79, 0x62, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x08, 0x73, 0x74, 0x61, 1569 0x72, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x5f, 0x6b, 0x65, 0x79, 1570 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x4d, 0x61, 1571 0x79, 0x62, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x06, 0x65, 0x6e, 0x64, 0x4b, 0x65, 0x79, 1572 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x6f, 1573 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x65, 0x78, 1574 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x6f, 0x74, 0x48, 0x61, 0x73, 0x68, 0x22, 0x31, 1575 0x0a, 0x19, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 1576 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 1577 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 1578 0x72, 0x22, 0x43, 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 1579 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 1580 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x73, 1581 0x79, 0x6e, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 1582 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x22, 0xcf, 0x01, 0x0a, 0x18, 0x53, 0x79, 0x6e, 0x63, 0x47, 1583 0x65, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 1584 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 1585 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x74, 0x48, 0x61, 0x73, 0x68, 1586 0x12, 0x2d, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 1587 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x4d, 0x61, 0x79, 0x62, 0x65, 1588 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x12, 1589 0x29, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 1590 0x32, 0x10, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x4d, 0x61, 0x79, 0x62, 0x65, 0x42, 0x79, 0x74, 1591 0x65, 0x73, 0x52, 0x06, 0x65, 0x6e, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 1592 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6b, 1593 0x65, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 1594 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x62, 0x79, 1595 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0xaa, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 1596 0x52, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1597 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 1598 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x2d, 1599 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 1600 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x4d, 0x61, 0x79, 0x62, 0x65, 0x42, 0x79, 1601 0x74, 0x65, 0x73, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x29, 0x0a, 1602 0x07, 0x65, 0x6e, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 1603 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x4d, 0x61, 0x79, 0x62, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 1604 0x52, 0x06, 0x65, 0x6e, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 1605 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6b, 0x65, 0x79, 1606 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x3f, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x67, 1607 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 1608 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 1609 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 1610 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x22, 0xa6, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 1611 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 1612 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 1613 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x4d, 0x61, 0x79, 1614 0x62, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4b, 0x65, 1615 0x79, 0x12, 0x29, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 1616 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x4d, 0x61, 0x79, 0x62, 0x65, 0x42, 1617 0x79, 0x74, 0x65, 0x73, 0x52, 0x06, 0x65, 0x6e, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x0b, 1618 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 1619 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 1620 0x6f, 0x6f, 0x66, 0x52, 0x0a, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x22, 1621 0x9f, 0x01, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 1622 0x30, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 1623 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 1624 0x66, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x6f, 1625 0x66, 0x12, 0x2c, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x02, 1626 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 1627 0x66, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 1628 0x30, 0x0a, 0x0b, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x03, 1629 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x43, 1630 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0a, 0x6b, 0x65, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 1631 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x0a, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 1632 0x12, 0x30, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 1633 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x50, 0x72, 0x6f, 1634 0x6f, 0x66, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x72, 0x6f, 1635 0x6f, 0x66, 0x12, 0x2c, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 1636 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x50, 0x72, 0x6f, 1637 0x6f, 0x66, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x6f, 0x66, 1638 0x12, 0x2d, 0x0a, 0x0a, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 1639 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x56, 1640 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 1641 0xd6, 0x01, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 1642 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x73, 0x79, 0x6e, 1643 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x34, 0x0a, 0x0d, 0x76, 0x61, 1644 0x6c, 0x75, 0x65, 0x5f, 0x6f, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 1645 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x4d, 0x61, 0x79, 0x62, 0x65, 0x42, 0x79, 1646 0x74, 0x65, 0x73, 0x52, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x72, 0x48, 0x61, 0x73, 0x68, 1647 0x12, 0x39, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x03, 1648 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x4e, 1649 0x6f, 0x64, 0x65, 0x2e, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x45, 0x6e, 0x74, 0x72, 1650 0x79, 0x52, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x1a, 0x3b, 0x0a, 0x0d, 0x43, 1651 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 1652 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 1653 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 1654 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x45, 0x0a, 0x09, 0x4b, 0x65, 0x79, 0x43, 1655 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 1656 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 1657 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x4d, 0x61, 1658 0x79, 0x62, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 1659 0x33, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 1660 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x14, 1661 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 1662 0x61, 0x6c, 0x75, 0x65, 0x22, 0x41, 0x0a, 0x0a, 0x4d, 0x61, 0x79, 0x62, 0x65, 0x42, 0x79, 0x74, 1663 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 1664 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x6e, 1665 0x6f, 0x74, 0x68, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 1666 0x4e, 0x6f, 0x74, 0x68, 0x69, 0x6e, 0x67, 0x22, 0x32, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x56, 0x61, 1667 0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 1668 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 1669 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x32, 0xc3, 0x04, 0x0a, 0x02, 1670 0x44, 0x42, 0x12, 0x44, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x52, 1671 0x6f, 0x6f, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1672 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x73, 0x79, 1673 0x6e, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x52, 0x6f, 0x6f, 0x74, 1674 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x43, 0x6c, 0x65, 0x61, 1675 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1676 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1677 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 1678 0x79, 0x12, 0x39, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x15, 0x2e, 1679 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 1680 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x50, 1681 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 1682 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x1b, 1683 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 1684 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x73, 0x79, 1685 0x6e, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 1686 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x11, 0x56, 0x65, 0x72, 1687 0x69, 0x66, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x1e, 1688 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x68, 0x61, 0x6e, 1689 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 1690 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x68, 0x61, 0x6e, 1691 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 1692 0x4b, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 1693 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x1e, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 1694 0x69, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 1695 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 1696 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x48, 0x0a, 0x0d, 1697 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x1a, 0x2e, 1698 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 1699 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x73, 0x79, 0x6e, 0x63, 1700 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 1701 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 1702 0x52, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x1d, 0x2e, 0x73, 0x79, 0x6e, 1703 0x63, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 1704 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1705 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 1706 0x79, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 1707 0x61, 0x76, 0x61, 0x2d, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x61, 0x76, 0x61, 0x6c, 0x61, 0x6e, 0x63, 1708 0x68, 0x65, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x62, 0x2f, 0x73, 0x79, 1709 0x6e, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1710 } 1711 1712 var ( 1713 file_sync_sync_proto_rawDescOnce sync.Once 1714 file_sync_sync_proto_rawDescData = file_sync_sync_proto_rawDesc 1715 ) 1716 1717 func file_sync_sync_proto_rawDescGZIP() []byte { 1718 file_sync_sync_proto_rawDescOnce.Do(func() { 1719 file_sync_sync_proto_rawDescData = protoimpl.X.CompressGZIP(file_sync_sync_proto_rawDescData) 1720 }) 1721 return file_sync_sync_proto_rawDescData 1722 } 1723 1724 var file_sync_sync_proto_msgTypes = make([]protoimpl.MessageInfo, 24) 1725 var file_sync_sync_proto_goTypes = []interface{}{ 1726 (*Request)(nil), // 0: sync.Request 1727 (*GetMerkleRootResponse)(nil), // 1: sync.GetMerkleRootResponse 1728 (*GetProofRequest)(nil), // 2: sync.GetProofRequest 1729 (*GetProofResponse)(nil), // 3: sync.GetProofResponse 1730 (*Proof)(nil), // 4: sync.Proof 1731 (*SyncGetChangeProofRequest)(nil), // 5: sync.SyncGetChangeProofRequest 1732 (*SyncGetChangeProofResponse)(nil), // 6: sync.SyncGetChangeProofResponse 1733 (*GetChangeProofRequest)(nil), // 7: sync.GetChangeProofRequest 1734 (*GetChangeProofResponse)(nil), // 8: sync.GetChangeProofResponse 1735 (*VerifyChangeProofRequest)(nil), // 9: sync.VerifyChangeProofRequest 1736 (*VerifyChangeProofResponse)(nil), // 10: sync.VerifyChangeProofResponse 1737 (*CommitChangeProofRequest)(nil), // 11: sync.CommitChangeProofRequest 1738 (*SyncGetRangeProofRequest)(nil), // 12: sync.SyncGetRangeProofRequest 1739 (*GetRangeProofRequest)(nil), // 13: sync.GetRangeProofRequest 1740 (*GetRangeProofResponse)(nil), // 14: sync.GetRangeProofResponse 1741 (*CommitRangeProofRequest)(nil), // 15: sync.CommitRangeProofRequest 1742 (*ChangeProof)(nil), // 16: sync.ChangeProof 1743 (*RangeProof)(nil), // 17: sync.RangeProof 1744 (*ProofNode)(nil), // 18: sync.ProofNode 1745 (*KeyChange)(nil), // 19: sync.KeyChange 1746 (*Key)(nil), // 20: sync.Key 1747 (*MaybeBytes)(nil), // 21: sync.MaybeBytes 1748 (*KeyValue)(nil), // 22: sync.KeyValue 1749 nil, // 23: sync.ProofNode.ChildrenEntry 1750 (*emptypb.Empty)(nil), // 24: google.protobuf.Empty 1751 } 1752 var file_sync_sync_proto_depIdxs = []int32{ 1753 12, // 0: sync.Request.range_proof_request:type_name -> sync.SyncGetRangeProofRequest 1754 5, // 1: sync.Request.change_proof_request:type_name -> sync.SyncGetChangeProofRequest 1755 4, // 2: sync.GetProofResponse.proof:type_name -> sync.Proof 1756 21, // 3: sync.Proof.value:type_name -> sync.MaybeBytes 1757 18, // 4: sync.Proof.proof:type_name -> sync.ProofNode 1758 21, // 5: sync.SyncGetChangeProofRequest.start_key:type_name -> sync.MaybeBytes 1759 21, // 6: sync.SyncGetChangeProofRequest.end_key:type_name -> sync.MaybeBytes 1760 16, // 7: sync.SyncGetChangeProofResponse.change_proof:type_name -> sync.ChangeProof 1761 17, // 8: sync.SyncGetChangeProofResponse.range_proof:type_name -> sync.RangeProof 1762 21, // 9: sync.GetChangeProofRequest.start_key:type_name -> sync.MaybeBytes 1763 21, // 10: sync.GetChangeProofRequest.end_key:type_name -> sync.MaybeBytes 1764 16, // 11: sync.GetChangeProofResponse.change_proof:type_name -> sync.ChangeProof 1765 16, // 12: sync.VerifyChangeProofRequest.proof:type_name -> sync.ChangeProof 1766 21, // 13: sync.VerifyChangeProofRequest.start_key:type_name -> sync.MaybeBytes 1767 21, // 14: sync.VerifyChangeProofRequest.end_key:type_name -> sync.MaybeBytes 1768 16, // 15: sync.CommitChangeProofRequest.proof:type_name -> sync.ChangeProof 1769 21, // 16: sync.SyncGetRangeProofRequest.start_key:type_name -> sync.MaybeBytes 1770 21, // 17: sync.SyncGetRangeProofRequest.end_key:type_name -> sync.MaybeBytes 1771 21, // 18: sync.GetRangeProofRequest.start_key:type_name -> sync.MaybeBytes 1772 21, // 19: sync.GetRangeProofRequest.end_key:type_name -> sync.MaybeBytes 1773 17, // 20: sync.GetRangeProofResponse.proof:type_name -> sync.RangeProof 1774 21, // 21: sync.CommitRangeProofRequest.start_key:type_name -> sync.MaybeBytes 1775 21, // 22: sync.CommitRangeProofRequest.end_key:type_name -> sync.MaybeBytes 1776 17, // 23: sync.CommitRangeProofRequest.range_proof:type_name -> sync.RangeProof 1777 18, // 24: sync.ChangeProof.start_proof:type_name -> sync.ProofNode 1778 18, // 25: sync.ChangeProof.end_proof:type_name -> sync.ProofNode 1779 19, // 26: sync.ChangeProof.key_changes:type_name -> sync.KeyChange 1780 18, // 27: sync.RangeProof.start_proof:type_name -> sync.ProofNode 1781 18, // 28: sync.RangeProof.end_proof:type_name -> sync.ProofNode 1782 22, // 29: sync.RangeProof.key_values:type_name -> sync.KeyValue 1783 20, // 30: sync.ProofNode.key:type_name -> sync.Key 1784 21, // 31: sync.ProofNode.value_or_hash:type_name -> sync.MaybeBytes 1785 23, // 32: sync.ProofNode.children:type_name -> sync.ProofNode.ChildrenEntry 1786 21, // 33: sync.KeyChange.value:type_name -> sync.MaybeBytes 1787 24, // 34: sync.DB.GetMerkleRoot:input_type -> google.protobuf.Empty 1788 24, // 35: sync.DB.Clear:input_type -> google.protobuf.Empty 1789 2, // 36: sync.DB.GetProof:input_type -> sync.GetProofRequest 1790 7, // 37: sync.DB.GetChangeProof:input_type -> sync.GetChangeProofRequest 1791 9, // 38: sync.DB.VerifyChangeProof:input_type -> sync.VerifyChangeProofRequest 1792 11, // 39: sync.DB.CommitChangeProof:input_type -> sync.CommitChangeProofRequest 1793 13, // 40: sync.DB.GetRangeProof:input_type -> sync.GetRangeProofRequest 1794 15, // 41: sync.DB.CommitRangeProof:input_type -> sync.CommitRangeProofRequest 1795 1, // 42: sync.DB.GetMerkleRoot:output_type -> sync.GetMerkleRootResponse 1796 24, // 43: sync.DB.Clear:output_type -> google.protobuf.Empty 1797 3, // 44: sync.DB.GetProof:output_type -> sync.GetProofResponse 1798 8, // 45: sync.DB.GetChangeProof:output_type -> sync.GetChangeProofResponse 1799 10, // 46: sync.DB.VerifyChangeProof:output_type -> sync.VerifyChangeProofResponse 1800 24, // 47: sync.DB.CommitChangeProof:output_type -> google.protobuf.Empty 1801 14, // 48: sync.DB.GetRangeProof:output_type -> sync.GetRangeProofResponse 1802 24, // 49: sync.DB.CommitRangeProof:output_type -> google.protobuf.Empty 1803 42, // [42:50] is the sub-list for method output_type 1804 34, // [34:42] is the sub-list for method input_type 1805 34, // [34:34] is the sub-list for extension type_name 1806 34, // [34:34] is the sub-list for extension extendee 1807 0, // [0:34] is the sub-list for field type_name 1808 } 1809 1810 func init() { file_sync_sync_proto_init() } 1811 func file_sync_sync_proto_init() { 1812 if File_sync_sync_proto != nil { 1813 return 1814 } 1815 if !protoimpl.UnsafeEnabled { 1816 file_sync_sync_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1817 switch v := v.(*Request); i { 1818 case 0: 1819 return &v.state 1820 case 1: 1821 return &v.sizeCache 1822 case 2: 1823 return &v.unknownFields 1824 default: 1825 return nil 1826 } 1827 } 1828 file_sync_sync_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1829 switch v := v.(*GetMerkleRootResponse); i { 1830 case 0: 1831 return &v.state 1832 case 1: 1833 return &v.sizeCache 1834 case 2: 1835 return &v.unknownFields 1836 default: 1837 return nil 1838 } 1839 } 1840 file_sync_sync_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1841 switch v := v.(*GetProofRequest); i { 1842 case 0: 1843 return &v.state 1844 case 1: 1845 return &v.sizeCache 1846 case 2: 1847 return &v.unknownFields 1848 default: 1849 return nil 1850 } 1851 } 1852 file_sync_sync_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1853 switch v := v.(*GetProofResponse); i { 1854 case 0: 1855 return &v.state 1856 case 1: 1857 return &v.sizeCache 1858 case 2: 1859 return &v.unknownFields 1860 default: 1861 return nil 1862 } 1863 } 1864 file_sync_sync_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1865 switch v := v.(*Proof); i { 1866 case 0: 1867 return &v.state 1868 case 1: 1869 return &v.sizeCache 1870 case 2: 1871 return &v.unknownFields 1872 default: 1873 return nil 1874 } 1875 } 1876 file_sync_sync_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1877 switch v := v.(*SyncGetChangeProofRequest); i { 1878 case 0: 1879 return &v.state 1880 case 1: 1881 return &v.sizeCache 1882 case 2: 1883 return &v.unknownFields 1884 default: 1885 return nil 1886 } 1887 } 1888 file_sync_sync_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1889 switch v := v.(*SyncGetChangeProofResponse); i { 1890 case 0: 1891 return &v.state 1892 case 1: 1893 return &v.sizeCache 1894 case 2: 1895 return &v.unknownFields 1896 default: 1897 return nil 1898 } 1899 } 1900 file_sync_sync_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1901 switch v := v.(*GetChangeProofRequest); i { 1902 case 0: 1903 return &v.state 1904 case 1: 1905 return &v.sizeCache 1906 case 2: 1907 return &v.unknownFields 1908 default: 1909 return nil 1910 } 1911 } 1912 file_sync_sync_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1913 switch v := v.(*GetChangeProofResponse); i { 1914 case 0: 1915 return &v.state 1916 case 1: 1917 return &v.sizeCache 1918 case 2: 1919 return &v.unknownFields 1920 default: 1921 return nil 1922 } 1923 } 1924 file_sync_sync_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1925 switch v := v.(*VerifyChangeProofRequest); i { 1926 case 0: 1927 return &v.state 1928 case 1: 1929 return &v.sizeCache 1930 case 2: 1931 return &v.unknownFields 1932 default: 1933 return nil 1934 } 1935 } 1936 file_sync_sync_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1937 switch v := v.(*VerifyChangeProofResponse); i { 1938 case 0: 1939 return &v.state 1940 case 1: 1941 return &v.sizeCache 1942 case 2: 1943 return &v.unknownFields 1944 default: 1945 return nil 1946 } 1947 } 1948 file_sync_sync_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1949 switch v := v.(*CommitChangeProofRequest); i { 1950 case 0: 1951 return &v.state 1952 case 1: 1953 return &v.sizeCache 1954 case 2: 1955 return &v.unknownFields 1956 default: 1957 return nil 1958 } 1959 } 1960 file_sync_sync_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1961 switch v := v.(*SyncGetRangeProofRequest); i { 1962 case 0: 1963 return &v.state 1964 case 1: 1965 return &v.sizeCache 1966 case 2: 1967 return &v.unknownFields 1968 default: 1969 return nil 1970 } 1971 } 1972 file_sync_sync_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1973 switch v := v.(*GetRangeProofRequest); i { 1974 case 0: 1975 return &v.state 1976 case 1: 1977 return &v.sizeCache 1978 case 2: 1979 return &v.unknownFields 1980 default: 1981 return nil 1982 } 1983 } 1984 file_sync_sync_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 1985 switch v := v.(*GetRangeProofResponse); i { 1986 case 0: 1987 return &v.state 1988 case 1: 1989 return &v.sizeCache 1990 case 2: 1991 return &v.unknownFields 1992 default: 1993 return nil 1994 } 1995 } 1996 file_sync_sync_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 1997 switch v := v.(*CommitRangeProofRequest); i { 1998 case 0: 1999 return &v.state 2000 case 1: 2001 return &v.sizeCache 2002 case 2: 2003 return &v.unknownFields 2004 default: 2005 return nil 2006 } 2007 } 2008 file_sync_sync_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 2009 switch v := v.(*ChangeProof); i { 2010 case 0: 2011 return &v.state 2012 case 1: 2013 return &v.sizeCache 2014 case 2: 2015 return &v.unknownFields 2016 default: 2017 return nil 2018 } 2019 } 2020 file_sync_sync_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 2021 switch v := v.(*RangeProof); i { 2022 case 0: 2023 return &v.state 2024 case 1: 2025 return &v.sizeCache 2026 case 2: 2027 return &v.unknownFields 2028 default: 2029 return nil 2030 } 2031 } 2032 file_sync_sync_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 2033 switch v := v.(*ProofNode); i { 2034 case 0: 2035 return &v.state 2036 case 1: 2037 return &v.sizeCache 2038 case 2: 2039 return &v.unknownFields 2040 default: 2041 return nil 2042 } 2043 } 2044 file_sync_sync_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 2045 switch v := v.(*KeyChange); i { 2046 case 0: 2047 return &v.state 2048 case 1: 2049 return &v.sizeCache 2050 case 2: 2051 return &v.unknownFields 2052 default: 2053 return nil 2054 } 2055 } 2056 file_sync_sync_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 2057 switch v := v.(*Key); i { 2058 case 0: 2059 return &v.state 2060 case 1: 2061 return &v.sizeCache 2062 case 2: 2063 return &v.unknownFields 2064 default: 2065 return nil 2066 } 2067 } 2068 file_sync_sync_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 2069 switch v := v.(*MaybeBytes); i { 2070 case 0: 2071 return &v.state 2072 case 1: 2073 return &v.sizeCache 2074 case 2: 2075 return &v.unknownFields 2076 default: 2077 return nil 2078 } 2079 } 2080 file_sync_sync_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 2081 switch v := v.(*KeyValue); i { 2082 case 0: 2083 return &v.state 2084 case 1: 2085 return &v.sizeCache 2086 case 2: 2087 return &v.unknownFields 2088 default: 2089 return nil 2090 } 2091 } 2092 } 2093 file_sync_sync_proto_msgTypes[0].OneofWrappers = []interface{}{ 2094 (*Request_RangeProofRequest)(nil), 2095 (*Request_ChangeProofRequest)(nil), 2096 } 2097 file_sync_sync_proto_msgTypes[6].OneofWrappers = []interface{}{ 2098 (*SyncGetChangeProofResponse_ChangeProof)(nil), 2099 (*SyncGetChangeProofResponse_RangeProof)(nil), 2100 } 2101 file_sync_sync_proto_msgTypes[8].OneofWrappers = []interface{}{ 2102 (*GetChangeProofResponse_ChangeProof)(nil), 2103 (*GetChangeProofResponse_RootNotPresent)(nil), 2104 } 2105 type x struct{} 2106 out := protoimpl.TypeBuilder{ 2107 File: protoimpl.DescBuilder{ 2108 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2109 RawDescriptor: file_sync_sync_proto_rawDesc, 2110 NumEnums: 0, 2111 NumMessages: 24, 2112 NumExtensions: 0, 2113 NumServices: 1, 2114 }, 2115 GoTypes: file_sync_sync_proto_goTypes, 2116 DependencyIndexes: file_sync_sync_proto_depIdxs, 2117 MessageInfos: file_sync_sync_proto_msgTypes, 2118 }.Build() 2119 File_sync_sync_proto = out.File 2120 file_sync_sync_proto_rawDesc = nil 2121 file_sync_sync_proto_goTypes = nil 2122 file_sync_sync_proto_depIdxs = nil 2123 }