github.com/MetalBlockchain/metalgo@v1.11.9/proto/pb/sharedmemory/sharedmemory.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: sharedmemory/sharedmemory.proto 6 7 package sharedmemory 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type BatchPut struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 29 Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 30 } 31 32 func (x *BatchPut) Reset() { 33 *x = BatchPut{} 34 if protoimpl.UnsafeEnabled { 35 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[0] 36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 37 ms.StoreMessageInfo(mi) 38 } 39 } 40 41 func (x *BatchPut) String() string { 42 return protoimpl.X.MessageStringOf(x) 43 } 44 45 func (*BatchPut) ProtoMessage() {} 46 47 func (x *BatchPut) ProtoReflect() protoreflect.Message { 48 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[0] 49 if protoimpl.UnsafeEnabled && x != nil { 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 if ms.LoadMessageInfo() == nil { 52 ms.StoreMessageInfo(mi) 53 } 54 return ms 55 } 56 return mi.MessageOf(x) 57 } 58 59 // Deprecated: Use BatchPut.ProtoReflect.Descriptor instead. 60 func (*BatchPut) Descriptor() ([]byte, []int) { 61 return file_sharedmemory_sharedmemory_proto_rawDescGZIP(), []int{0} 62 } 63 64 func (x *BatchPut) GetKey() []byte { 65 if x != nil { 66 return x.Key 67 } 68 return nil 69 } 70 71 func (x *BatchPut) GetValue() []byte { 72 if x != nil { 73 return x.Value 74 } 75 return nil 76 } 77 78 type BatchDelete struct { 79 state protoimpl.MessageState 80 sizeCache protoimpl.SizeCache 81 unknownFields protoimpl.UnknownFields 82 83 Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 84 } 85 86 func (x *BatchDelete) Reset() { 87 *x = BatchDelete{} 88 if protoimpl.UnsafeEnabled { 89 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[1] 90 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 91 ms.StoreMessageInfo(mi) 92 } 93 } 94 95 func (x *BatchDelete) String() string { 96 return protoimpl.X.MessageStringOf(x) 97 } 98 99 func (*BatchDelete) ProtoMessage() {} 100 101 func (x *BatchDelete) ProtoReflect() protoreflect.Message { 102 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[1] 103 if protoimpl.UnsafeEnabled && x != nil { 104 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 105 if ms.LoadMessageInfo() == nil { 106 ms.StoreMessageInfo(mi) 107 } 108 return ms 109 } 110 return mi.MessageOf(x) 111 } 112 113 // Deprecated: Use BatchDelete.ProtoReflect.Descriptor instead. 114 func (*BatchDelete) Descriptor() ([]byte, []int) { 115 return file_sharedmemory_sharedmemory_proto_rawDescGZIP(), []int{1} 116 } 117 118 func (x *BatchDelete) GetKey() []byte { 119 if x != nil { 120 return x.Key 121 } 122 return nil 123 } 124 125 type Batch struct { 126 state protoimpl.MessageState 127 sizeCache protoimpl.SizeCache 128 unknownFields protoimpl.UnknownFields 129 130 Puts []*BatchPut `protobuf:"bytes,1,rep,name=puts,proto3" json:"puts,omitempty"` 131 Deletes []*BatchDelete `protobuf:"bytes,2,rep,name=deletes,proto3" json:"deletes,omitempty"` 132 } 133 134 func (x *Batch) Reset() { 135 *x = Batch{} 136 if protoimpl.UnsafeEnabled { 137 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[2] 138 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 139 ms.StoreMessageInfo(mi) 140 } 141 } 142 143 func (x *Batch) String() string { 144 return protoimpl.X.MessageStringOf(x) 145 } 146 147 func (*Batch) ProtoMessage() {} 148 149 func (x *Batch) ProtoReflect() protoreflect.Message { 150 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[2] 151 if protoimpl.UnsafeEnabled && x != nil { 152 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 153 if ms.LoadMessageInfo() == nil { 154 ms.StoreMessageInfo(mi) 155 } 156 return ms 157 } 158 return mi.MessageOf(x) 159 } 160 161 // Deprecated: Use Batch.ProtoReflect.Descriptor instead. 162 func (*Batch) Descriptor() ([]byte, []int) { 163 return file_sharedmemory_sharedmemory_proto_rawDescGZIP(), []int{2} 164 } 165 166 func (x *Batch) GetPuts() []*BatchPut { 167 if x != nil { 168 return x.Puts 169 } 170 return nil 171 } 172 173 func (x *Batch) GetDeletes() []*BatchDelete { 174 if x != nil { 175 return x.Deletes 176 } 177 return nil 178 } 179 180 type AtomicRequest struct { 181 state protoimpl.MessageState 182 sizeCache protoimpl.SizeCache 183 unknownFields protoimpl.UnknownFields 184 185 RemoveRequests [][]byte `protobuf:"bytes,1,rep,name=remove_requests,json=removeRequests,proto3" json:"remove_requests,omitempty"` 186 PutRequests []*Element `protobuf:"bytes,2,rep,name=put_requests,json=putRequests,proto3" json:"put_requests,omitempty"` 187 PeerChainId []byte `protobuf:"bytes,3,opt,name=peer_chain_id,json=peerChainId,proto3" json:"peer_chain_id,omitempty"` 188 } 189 190 func (x *AtomicRequest) Reset() { 191 *x = AtomicRequest{} 192 if protoimpl.UnsafeEnabled { 193 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[3] 194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 195 ms.StoreMessageInfo(mi) 196 } 197 } 198 199 func (x *AtomicRequest) String() string { 200 return protoimpl.X.MessageStringOf(x) 201 } 202 203 func (*AtomicRequest) ProtoMessage() {} 204 205 func (x *AtomicRequest) ProtoReflect() protoreflect.Message { 206 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[3] 207 if protoimpl.UnsafeEnabled && x != nil { 208 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 209 if ms.LoadMessageInfo() == nil { 210 ms.StoreMessageInfo(mi) 211 } 212 return ms 213 } 214 return mi.MessageOf(x) 215 } 216 217 // Deprecated: Use AtomicRequest.ProtoReflect.Descriptor instead. 218 func (*AtomicRequest) Descriptor() ([]byte, []int) { 219 return file_sharedmemory_sharedmemory_proto_rawDescGZIP(), []int{3} 220 } 221 222 func (x *AtomicRequest) GetRemoveRequests() [][]byte { 223 if x != nil { 224 return x.RemoveRequests 225 } 226 return nil 227 } 228 229 func (x *AtomicRequest) GetPutRequests() []*Element { 230 if x != nil { 231 return x.PutRequests 232 } 233 return nil 234 } 235 236 func (x *AtomicRequest) GetPeerChainId() []byte { 237 if x != nil { 238 return x.PeerChainId 239 } 240 return nil 241 } 242 243 type Element struct { 244 state protoimpl.MessageState 245 sizeCache protoimpl.SizeCache 246 unknownFields protoimpl.UnknownFields 247 248 Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 249 Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 250 Traits [][]byte `protobuf:"bytes,3,rep,name=traits,proto3" json:"traits,omitempty"` 251 } 252 253 func (x *Element) Reset() { 254 *x = Element{} 255 if protoimpl.UnsafeEnabled { 256 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[4] 257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 258 ms.StoreMessageInfo(mi) 259 } 260 } 261 262 func (x *Element) String() string { 263 return protoimpl.X.MessageStringOf(x) 264 } 265 266 func (*Element) ProtoMessage() {} 267 268 func (x *Element) ProtoReflect() protoreflect.Message { 269 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[4] 270 if protoimpl.UnsafeEnabled && x != nil { 271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 272 if ms.LoadMessageInfo() == nil { 273 ms.StoreMessageInfo(mi) 274 } 275 return ms 276 } 277 return mi.MessageOf(x) 278 } 279 280 // Deprecated: Use Element.ProtoReflect.Descriptor instead. 281 func (*Element) Descriptor() ([]byte, []int) { 282 return file_sharedmemory_sharedmemory_proto_rawDescGZIP(), []int{4} 283 } 284 285 func (x *Element) GetKey() []byte { 286 if x != nil { 287 return x.Key 288 } 289 return nil 290 } 291 292 func (x *Element) GetValue() []byte { 293 if x != nil { 294 return x.Value 295 } 296 return nil 297 } 298 299 func (x *Element) GetTraits() [][]byte { 300 if x != nil { 301 return x.Traits 302 } 303 return nil 304 } 305 306 type GetRequest struct { 307 state protoimpl.MessageState 308 sizeCache protoimpl.SizeCache 309 unknownFields protoimpl.UnknownFields 310 311 PeerChainId []byte `protobuf:"bytes,1,opt,name=peer_chain_id,json=peerChainId,proto3" json:"peer_chain_id,omitempty"` 312 Keys [][]byte `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` 313 } 314 315 func (x *GetRequest) Reset() { 316 *x = GetRequest{} 317 if protoimpl.UnsafeEnabled { 318 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[5] 319 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 320 ms.StoreMessageInfo(mi) 321 } 322 } 323 324 func (x *GetRequest) String() string { 325 return protoimpl.X.MessageStringOf(x) 326 } 327 328 func (*GetRequest) ProtoMessage() {} 329 330 func (x *GetRequest) ProtoReflect() protoreflect.Message { 331 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[5] 332 if protoimpl.UnsafeEnabled && x != nil { 333 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 334 if ms.LoadMessageInfo() == nil { 335 ms.StoreMessageInfo(mi) 336 } 337 return ms 338 } 339 return mi.MessageOf(x) 340 } 341 342 // Deprecated: Use GetRequest.ProtoReflect.Descriptor instead. 343 func (*GetRequest) Descriptor() ([]byte, []int) { 344 return file_sharedmemory_sharedmemory_proto_rawDescGZIP(), []int{5} 345 } 346 347 func (x *GetRequest) GetPeerChainId() []byte { 348 if x != nil { 349 return x.PeerChainId 350 } 351 return nil 352 } 353 354 func (x *GetRequest) GetKeys() [][]byte { 355 if x != nil { 356 return x.Keys 357 } 358 return nil 359 } 360 361 type GetResponse struct { 362 state protoimpl.MessageState 363 sizeCache protoimpl.SizeCache 364 unknownFields protoimpl.UnknownFields 365 366 Values [][]byte `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` 367 } 368 369 func (x *GetResponse) Reset() { 370 *x = GetResponse{} 371 if protoimpl.UnsafeEnabled { 372 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[6] 373 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 374 ms.StoreMessageInfo(mi) 375 } 376 } 377 378 func (x *GetResponse) String() string { 379 return protoimpl.X.MessageStringOf(x) 380 } 381 382 func (*GetResponse) ProtoMessage() {} 383 384 func (x *GetResponse) ProtoReflect() protoreflect.Message { 385 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[6] 386 if protoimpl.UnsafeEnabled && x != nil { 387 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 388 if ms.LoadMessageInfo() == nil { 389 ms.StoreMessageInfo(mi) 390 } 391 return ms 392 } 393 return mi.MessageOf(x) 394 } 395 396 // Deprecated: Use GetResponse.ProtoReflect.Descriptor instead. 397 func (*GetResponse) Descriptor() ([]byte, []int) { 398 return file_sharedmemory_sharedmemory_proto_rawDescGZIP(), []int{6} 399 } 400 401 func (x *GetResponse) GetValues() [][]byte { 402 if x != nil { 403 return x.Values 404 } 405 return nil 406 } 407 408 type IndexedRequest struct { 409 state protoimpl.MessageState 410 sizeCache protoimpl.SizeCache 411 unknownFields protoimpl.UnknownFields 412 413 PeerChainId []byte `protobuf:"bytes,1,opt,name=peer_chain_id,json=peerChainId,proto3" json:"peer_chain_id,omitempty"` 414 Traits [][]byte `protobuf:"bytes,2,rep,name=traits,proto3" json:"traits,omitempty"` 415 StartTrait []byte `protobuf:"bytes,3,opt,name=start_trait,json=startTrait,proto3" json:"start_trait,omitempty"` 416 StartKey []byte `protobuf:"bytes,4,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` 417 Limit int32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` 418 } 419 420 func (x *IndexedRequest) Reset() { 421 *x = IndexedRequest{} 422 if protoimpl.UnsafeEnabled { 423 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[7] 424 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 425 ms.StoreMessageInfo(mi) 426 } 427 } 428 429 func (x *IndexedRequest) String() string { 430 return protoimpl.X.MessageStringOf(x) 431 } 432 433 func (*IndexedRequest) ProtoMessage() {} 434 435 func (x *IndexedRequest) ProtoReflect() protoreflect.Message { 436 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[7] 437 if protoimpl.UnsafeEnabled && x != nil { 438 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 439 if ms.LoadMessageInfo() == nil { 440 ms.StoreMessageInfo(mi) 441 } 442 return ms 443 } 444 return mi.MessageOf(x) 445 } 446 447 // Deprecated: Use IndexedRequest.ProtoReflect.Descriptor instead. 448 func (*IndexedRequest) Descriptor() ([]byte, []int) { 449 return file_sharedmemory_sharedmemory_proto_rawDescGZIP(), []int{7} 450 } 451 452 func (x *IndexedRequest) GetPeerChainId() []byte { 453 if x != nil { 454 return x.PeerChainId 455 } 456 return nil 457 } 458 459 func (x *IndexedRequest) GetTraits() [][]byte { 460 if x != nil { 461 return x.Traits 462 } 463 return nil 464 } 465 466 func (x *IndexedRequest) GetStartTrait() []byte { 467 if x != nil { 468 return x.StartTrait 469 } 470 return nil 471 } 472 473 func (x *IndexedRequest) GetStartKey() []byte { 474 if x != nil { 475 return x.StartKey 476 } 477 return nil 478 } 479 480 func (x *IndexedRequest) GetLimit() int32 { 481 if x != nil { 482 return x.Limit 483 } 484 return 0 485 } 486 487 type IndexedResponse struct { 488 state protoimpl.MessageState 489 sizeCache protoimpl.SizeCache 490 unknownFields protoimpl.UnknownFields 491 492 Values [][]byte `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` 493 LastTrait []byte `protobuf:"bytes,2,opt,name=last_trait,json=lastTrait,proto3" json:"last_trait,omitempty"` 494 LastKey []byte `protobuf:"bytes,3,opt,name=last_key,json=lastKey,proto3" json:"last_key,omitempty"` 495 } 496 497 func (x *IndexedResponse) Reset() { 498 *x = IndexedResponse{} 499 if protoimpl.UnsafeEnabled { 500 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[8] 501 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 502 ms.StoreMessageInfo(mi) 503 } 504 } 505 506 func (x *IndexedResponse) String() string { 507 return protoimpl.X.MessageStringOf(x) 508 } 509 510 func (*IndexedResponse) ProtoMessage() {} 511 512 func (x *IndexedResponse) ProtoReflect() protoreflect.Message { 513 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[8] 514 if protoimpl.UnsafeEnabled && x != nil { 515 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 516 if ms.LoadMessageInfo() == nil { 517 ms.StoreMessageInfo(mi) 518 } 519 return ms 520 } 521 return mi.MessageOf(x) 522 } 523 524 // Deprecated: Use IndexedResponse.ProtoReflect.Descriptor instead. 525 func (*IndexedResponse) Descriptor() ([]byte, []int) { 526 return file_sharedmemory_sharedmemory_proto_rawDescGZIP(), []int{8} 527 } 528 529 func (x *IndexedResponse) GetValues() [][]byte { 530 if x != nil { 531 return x.Values 532 } 533 return nil 534 } 535 536 func (x *IndexedResponse) GetLastTrait() []byte { 537 if x != nil { 538 return x.LastTrait 539 } 540 return nil 541 } 542 543 func (x *IndexedResponse) GetLastKey() []byte { 544 if x != nil { 545 return x.LastKey 546 } 547 return nil 548 } 549 550 type ApplyRequest struct { 551 state protoimpl.MessageState 552 sizeCache protoimpl.SizeCache 553 unknownFields protoimpl.UnknownFields 554 555 Requests []*AtomicRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` 556 Batches []*Batch `protobuf:"bytes,2,rep,name=batches,proto3" json:"batches,omitempty"` 557 } 558 559 func (x *ApplyRequest) Reset() { 560 *x = ApplyRequest{} 561 if protoimpl.UnsafeEnabled { 562 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[9] 563 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 564 ms.StoreMessageInfo(mi) 565 } 566 } 567 568 func (x *ApplyRequest) String() string { 569 return protoimpl.X.MessageStringOf(x) 570 } 571 572 func (*ApplyRequest) ProtoMessage() {} 573 574 func (x *ApplyRequest) ProtoReflect() protoreflect.Message { 575 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[9] 576 if protoimpl.UnsafeEnabled && x != nil { 577 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 578 if ms.LoadMessageInfo() == nil { 579 ms.StoreMessageInfo(mi) 580 } 581 return ms 582 } 583 return mi.MessageOf(x) 584 } 585 586 // Deprecated: Use ApplyRequest.ProtoReflect.Descriptor instead. 587 func (*ApplyRequest) Descriptor() ([]byte, []int) { 588 return file_sharedmemory_sharedmemory_proto_rawDescGZIP(), []int{9} 589 } 590 591 func (x *ApplyRequest) GetRequests() []*AtomicRequest { 592 if x != nil { 593 return x.Requests 594 } 595 return nil 596 } 597 598 func (x *ApplyRequest) GetBatches() []*Batch { 599 if x != nil { 600 return x.Batches 601 } 602 return nil 603 } 604 605 type ApplyResponse struct { 606 state protoimpl.MessageState 607 sizeCache protoimpl.SizeCache 608 unknownFields protoimpl.UnknownFields 609 } 610 611 func (x *ApplyResponse) Reset() { 612 *x = ApplyResponse{} 613 if protoimpl.UnsafeEnabled { 614 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[10] 615 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 616 ms.StoreMessageInfo(mi) 617 } 618 } 619 620 func (x *ApplyResponse) String() string { 621 return protoimpl.X.MessageStringOf(x) 622 } 623 624 func (*ApplyResponse) ProtoMessage() {} 625 626 func (x *ApplyResponse) ProtoReflect() protoreflect.Message { 627 mi := &file_sharedmemory_sharedmemory_proto_msgTypes[10] 628 if protoimpl.UnsafeEnabled && x != nil { 629 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 630 if ms.LoadMessageInfo() == nil { 631 ms.StoreMessageInfo(mi) 632 } 633 return ms 634 } 635 return mi.MessageOf(x) 636 } 637 638 // Deprecated: Use ApplyResponse.ProtoReflect.Descriptor instead. 639 func (*ApplyResponse) Descriptor() ([]byte, []int) { 640 return file_sharedmemory_sharedmemory_proto_rawDescGZIP(), []int{10} 641 } 642 643 var File_sharedmemory_sharedmemory_proto protoreflect.FileDescriptor 644 645 var file_sharedmemory_sharedmemory_proto_rawDesc = []byte{ 646 0x0a, 0x1f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x2f, 0x73, 647 0x68, 0x61, 0x72, 0x65, 0x64, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 648 0x6f, 0x12, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x22, 649 0x32, 0x0a, 0x08, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x75, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 650 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 651 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 652 0x6c, 0x75, 0x65, 0x22, 0x1f, 0x0a, 0x0b, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 653 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 654 0x03, 0x6b, 0x65, 0x79, 0x22, 0x68, 0x0a, 0x05, 0x42, 0x61, 0x74, 0x63, 0x68, 0x12, 0x2a, 0x0a, 655 0x04, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x68, 656 0x61, 0x72, 0x65, 0x64, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 657 0x50, 0x75, 0x74, 0x52, 0x04, 0x70, 0x75, 0x74, 0x73, 0x12, 0x33, 0x0a, 0x07, 0x64, 0x65, 0x6c, 658 0x65, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x68, 0x61, 659 0x72, 0x65, 0x64, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 660 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x73, 0x22, 0x96, 661 0x01, 0x0a, 0x0d, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 662 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 663 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x76, 664 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x70, 0x75, 0x74, 665 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 666 0x15, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x2e, 0x45, 667 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 668 0x73, 0x74, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x69, 669 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x70, 0x65, 0x65, 0x72, 670 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x49, 0x0a, 0x07, 0x45, 0x6c, 0x65, 0x6d, 0x65, 671 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 672 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 673 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x72, 674 0x61, 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x72, 0x61, 0x69, 675 0x74, 0x73, 0x22, 0x44, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 676 0x12, 0x22, 0x0a, 0x0d, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 677 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x70, 0x65, 0x65, 0x72, 0x43, 0x68, 0x61, 678 0x69, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 679 0x28, 0x0c, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, 0x25, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x52, 680 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 681 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 682 0xa0, 0x01, 0x0a, 0x0e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 683 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 684 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x70, 0x65, 0x65, 0x72, 0x43, 685 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x72, 0x61, 0x69, 0x74, 0x73, 686 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x72, 0x61, 0x69, 0x74, 0x73, 0x12, 0x1f, 687 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x72, 0x61, 0x69, 0x74, 0x18, 0x03, 0x20, 688 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x72, 0x61, 0x69, 0x74, 0x12, 689 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 690 0x28, 0x0c, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 691 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 692 0x69, 0x74, 0x22, 0x63, 0x0a, 0x0f, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x52, 0x65, 0x73, 693 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 694 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 695 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x72, 0x61, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 696 0x0c, 0x52, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x08, 697 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 698 0x6c, 0x61, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x22, 0x76, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x6c, 0x79, 699 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 700 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x68, 0x61, 0x72, 701 0x65, 0x64, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x2e, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x52, 702 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 703 0x12, 0x2d, 0x0a, 0x07, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 704 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 705 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x07, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x22, 706 0x0f, 0x0a, 0x0d, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 707 0x32, 0xd4, 0x01, 0x0a, 0x0c, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 708 0x79, 0x12, 0x3a, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x18, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 709 0x64, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 710 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 711 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 712 0x07, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x12, 0x1c, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 713 0x64, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x52, 714 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x6d, 715 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x52, 0x65, 0x73, 716 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x05, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x1a, 717 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x2e, 0x41, 0x70, 718 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x73, 0x68, 0x61, 719 0x72, 0x65, 0x64, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 720 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 721 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x76, 0x61, 0x2d, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x61, 722 0x76, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 723 0x2f, 0x70, 0x62, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 724 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 725 } 726 727 var ( 728 file_sharedmemory_sharedmemory_proto_rawDescOnce sync.Once 729 file_sharedmemory_sharedmemory_proto_rawDescData = file_sharedmemory_sharedmemory_proto_rawDesc 730 ) 731 732 func file_sharedmemory_sharedmemory_proto_rawDescGZIP() []byte { 733 file_sharedmemory_sharedmemory_proto_rawDescOnce.Do(func() { 734 file_sharedmemory_sharedmemory_proto_rawDescData = protoimpl.X.CompressGZIP(file_sharedmemory_sharedmemory_proto_rawDescData) 735 }) 736 return file_sharedmemory_sharedmemory_proto_rawDescData 737 } 738 739 var file_sharedmemory_sharedmemory_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 740 var file_sharedmemory_sharedmemory_proto_goTypes = []interface{}{ 741 (*BatchPut)(nil), // 0: sharedmemory.BatchPut 742 (*BatchDelete)(nil), // 1: sharedmemory.BatchDelete 743 (*Batch)(nil), // 2: sharedmemory.Batch 744 (*AtomicRequest)(nil), // 3: sharedmemory.AtomicRequest 745 (*Element)(nil), // 4: sharedmemory.Element 746 (*GetRequest)(nil), // 5: sharedmemory.GetRequest 747 (*GetResponse)(nil), // 6: sharedmemory.GetResponse 748 (*IndexedRequest)(nil), // 7: sharedmemory.IndexedRequest 749 (*IndexedResponse)(nil), // 8: sharedmemory.IndexedResponse 750 (*ApplyRequest)(nil), // 9: sharedmemory.ApplyRequest 751 (*ApplyResponse)(nil), // 10: sharedmemory.ApplyResponse 752 } 753 var file_sharedmemory_sharedmemory_proto_depIdxs = []int32{ 754 0, // 0: sharedmemory.Batch.puts:type_name -> sharedmemory.BatchPut 755 1, // 1: sharedmemory.Batch.deletes:type_name -> sharedmemory.BatchDelete 756 4, // 2: sharedmemory.AtomicRequest.put_requests:type_name -> sharedmemory.Element 757 3, // 3: sharedmemory.ApplyRequest.requests:type_name -> sharedmemory.AtomicRequest 758 2, // 4: sharedmemory.ApplyRequest.batches:type_name -> sharedmemory.Batch 759 5, // 5: sharedmemory.SharedMemory.Get:input_type -> sharedmemory.GetRequest 760 7, // 6: sharedmemory.SharedMemory.Indexed:input_type -> sharedmemory.IndexedRequest 761 9, // 7: sharedmemory.SharedMemory.Apply:input_type -> sharedmemory.ApplyRequest 762 6, // 8: sharedmemory.SharedMemory.Get:output_type -> sharedmemory.GetResponse 763 8, // 9: sharedmemory.SharedMemory.Indexed:output_type -> sharedmemory.IndexedResponse 764 10, // 10: sharedmemory.SharedMemory.Apply:output_type -> sharedmemory.ApplyResponse 765 8, // [8:11] is the sub-list for method output_type 766 5, // [5:8] is the sub-list for method input_type 767 5, // [5:5] is the sub-list for extension type_name 768 5, // [5:5] is the sub-list for extension extendee 769 0, // [0:5] is the sub-list for field type_name 770 } 771 772 func init() { file_sharedmemory_sharedmemory_proto_init() } 773 func file_sharedmemory_sharedmemory_proto_init() { 774 if File_sharedmemory_sharedmemory_proto != nil { 775 return 776 } 777 if !protoimpl.UnsafeEnabled { 778 file_sharedmemory_sharedmemory_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 779 switch v := v.(*BatchPut); i { 780 case 0: 781 return &v.state 782 case 1: 783 return &v.sizeCache 784 case 2: 785 return &v.unknownFields 786 default: 787 return nil 788 } 789 } 790 file_sharedmemory_sharedmemory_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 791 switch v := v.(*BatchDelete); i { 792 case 0: 793 return &v.state 794 case 1: 795 return &v.sizeCache 796 case 2: 797 return &v.unknownFields 798 default: 799 return nil 800 } 801 } 802 file_sharedmemory_sharedmemory_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 803 switch v := v.(*Batch); i { 804 case 0: 805 return &v.state 806 case 1: 807 return &v.sizeCache 808 case 2: 809 return &v.unknownFields 810 default: 811 return nil 812 } 813 } 814 file_sharedmemory_sharedmemory_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 815 switch v := v.(*AtomicRequest); i { 816 case 0: 817 return &v.state 818 case 1: 819 return &v.sizeCache 820 case 2: 821 return &v.unknownFields 822 default: 823 return nil 824 } 825 } 826 file_sharedmemory_sharedmemory_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 827 switch v := v.(*Element); i { 828 case 0: 829 return &v.state 830 case 1: 831 return &v.sizeCache 832 case 2: 833 return &v.unknownFields 834 default: 835 return nil 836 } 837 } 838 file_sharedmemory_sharedmemory_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 839 switch v := v.(*GetRequest); i { 840 case 0: 841 return &v.state 842 case 1: 843 return &v.sizeCache 844 case 2: 845 return &v.unknownFields 846 default: 847 return nil 848 } 849 } 850 file_sharedmemory_sharedmemory_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 851 switch v := v.(*GetResponse); i { 852 case 0: 853 return &v.state 854 case 1: 855 return &v.sizeCache 856 case 2: 857 return &v.unknownFields 858 default: 859 return nil 860 } 861 } 862 file_sharedmemory_sharedmemory_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 863 switch v := v.(*IndexedRequest); i { 864 case 0: 865 return &v.state 866 case 1: 867 return &v.sizeCache 868 case 2: 869 return &v.unknownFields 870 default: 871 return nil 872 } 873 } 874 file_sharedmemory_sharedmemory_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 875 switch v := v.(*IndexedResponse); i { 876 case 0: 877 return &v.state 878 case 1: 879 return &v.sizeCache 880 case 2: 881 return &v.unknownFields 882 default: 883 return nil 884 } 885 } 886 file_sharedmemory_sharedmemory_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 887 switch v := v.(*ApplyRequest); i { 888 case 0: 889 return &v.state 890 case 1: 891 return &v.sizeCache 892 case 2: 893 return &v.unknownFields 894 default: 895 return nil 896 } 897 } 898 file_sharedmemory_sharedmemory_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 899 switch v := v.(*ApplyResponse); i { 900 case 0: 901 return &v.state 902 case 1: 903 return &v.sizeCache 904 case 2: 905 return &v.unknownFields 906 default: 907 return nil 908 } 909 } 910 } 911 type x struct{} 912 out := protoimpl.TypeBuilder{ 913 File: protoimpl.DescBuilder{ 914 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 915 RawDescriptor: file_sharedmemory_sharedmemory_proto_rawDesc, 916 NumEnums: 0, 917 NumMessages: 11, 918 NumExtensions: 0, 919 NumServices: 1, 920 }, 921 GoTypes: file_sharedmemory_sharedmemory_proto_goTypes, 922 DependencyIndexes: file_sharedmemory_sharedmemory_proto_depIdxs, 923 MessageInfos: file_sharedmemory_sharedmemory_proto_msgTypes, 924 }.Build() 925 File_sharedmemory_sharedmemory_proto = out.File 926 file_sharedmemory_sharedmemory_proto_rawDesc = nil 927 file_sharedmemory_sharedmemory_proto_goTypes = nil 928 file_sharedmemory_sharedmemory_proto_depIdxs = nil 929 }