github.com/TrueCloudLab/frostfs-api-go/v2@v2.0.0-20230228134343-196241c4e79a/object/grpc/types.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.0 4 // protoc v3.21.9 5 // source: object/grpc/types.proto 6 7 package object 8 9 import ( 10 grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" 11 grpc1 "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" 12 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 13 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 14 reflect "reflect" 15 sync "sync" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 // Type of the object payload content. Only `REGULAR` type objects can be split, 26 // hence `TOMBSTONE`, `STORAGE_GROUP` and `LOCK` payload is limited by the maximum 27 // object size. 28 // 29 // String presentation of object type is the same as definition: 30 // * REGULAR 31 // * TOMBSTONE 32 // * STORAGE_GROUP 33 // * LOCK 34 type ObjectType int32 35 36 const ( 37 // Just a normal object 38 ObjectType_REGULAR ObjectType = 0 39 // Used internally to identify deleted objects 40 ObjectType_TOMBSTONE ObjectType = 1 41 // StorageGroup information 42 ObjectType_STORAGE_GROUP ObjectType = 2 43 // Object lock 44 ObjectType_LOCK ObjectType = 3 45 ) 46 47 // Enum value maps for ObjectType. 48 var ( 49 ObjectType_name = map[int32]string{ 50 0: "REGULAR", 51 1: "TOMBSTONE", 52 2: "STORAGE_GROUP", 53 3: "LOCK", 54 } 55 ObjectType_value = map[string]int32{ 56 "REGULAR": 0, 57 "TOMBSTONE": 1, 58 "STORAGE_GROUP": 2, 59 "LOCK": 3, 60 } 61 ) 62 63 func (x ObjectType) Enum() *ObjectType { 64 p := new(ObjectType) 65 *p = x 66 return p 67 } 68 69 func (x ObjectType) String() string { 70 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 71 } 72 73 func (ObjectType) Descriptor() protoreflect.EnumDescriptor { 74 return file_object_grpc_types_proto_enumTypes[0].Descriptor() 75 } 76 77 func (ObjectType) Type() protoreflect.EnumType { 78 return &file_object_grpc_types_proto_enumTypes[0] 79 } 80 81 func (x ObjectType) Number() protoreflect.EnumNumber { 82 return protoreflect.EnumNumber(x) 83 } 84 85 // Deprecated: Use ObjectType.Descriptor instead. 86 func (ObjectType) EnumDescriptor() ([]byte, []int) { 87 return file_object_grpc_types_proto_rawDescGZIP(), []int{0} 88 } 89 90 // Type of match expression 91 type MatchType int32 92 93 const ( 94 // Unknown. Not used 95 MatchType_MATCH_TYPE_UNSPECIFIED MatchType = 0 96 // Full string match 97 MatchType_STRING_EQUAL MatchType = 1 98 // Full string mismatch 99 MatchType_STRING_NOT_EQUAL MatchType = 2 100 // Lack of key 101 MatchType_NOT_PRESENT MatchType = 3 102 // String prefix match 103 MatchType_COMMON_PREFIX MatchType = 4 104 ) 105 106 // Enum value maps for MatchType. 107 var ( 108 MatchType_name = map[int32]string{ 109 0: "MATCH_TYPE_UNSPECIFIED", 110 1: "STRING_EQUAL", 111 2: "STRING_NOT_EQUAL", 112 3: "NOT_PRESENT", 113 4: "COMMON_PREFIX", 114 } 115 MatchType_value = map[string]int32{ 116 "MATCH_TYPE_UNSPECIFIED": 0, 117 "STRING_EQUAL": 1, 118 "STRING_NOT_EQUAL": 2, 119 "NOT_PRESENT": 3, 120 "COMMON_PREFIX": 4, 121 } 122 ) 123 124 func (x MatchType) Enum() *MatchType { 125 p := new(MatchType) 126 *p = x 127 return p 128 } 129 130 func (x MatchType) String() string { 131 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 132 } 133 134 func (MatchType) Descriptor() protoreflect.EnumDescriptor { 135 return file_object_grpc_types_proto_enumTypes[1].Descriptor() 136 } 137 138 func (MatchType) Type() protoreflect.EnumType { 139 return &file_object_grpc_types_proto_enumTypes[1] 140 } 141 142 func (x MatchType) Number() protoreflect.EnumNumber { 143 return protoreflect.EnumNumber(x) 144 } 145 146 // Deprecated: Use MatchType.Descriptor instead. 147 func (MatchType) EnumDescriptor() ([]byte, []int) { 148 return file_object_grpc_types_proto_rawDescGZIP(), []int{1} 149 } 150 151 // Short header fields 152 type ShortHeader struct { 153 state protoimpl.MessageState 154 sizeCache protoimpl.SizeCache 155 unknownFields protoimpl.UnknownFields 156 157 // Object format version. Effectively, the version of API library used to 158 // create particular object. 159 Version *grpc.Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 160 // Epoch when the object was created 161 CreationEpoch uint64 `protobuf:"varint,2,opt,name=creation_epoch,json=creationEpoch,proto3" json:"creation_epoch,omitempty"` 162 // Object's owner 163 OwnerId *grpc.OwnerID `protobuf:"bytes,3,opt,name=owner_id,json=ownerID,proto3" json:"owner_id,omitempty"` 164 // Type of the object payload content 165 ObjectType ObjectType `protobuf:"varint,4,opt,name=object_type,json=objectType,proto3,enum=neo.fs.v2.object.ObjectType" json:"object_type,omitempty"` 166 // Size of payload in bytes. 167 // `0xFFFFFFFFFFFFFFFF` means `payload_length` is unknown 168 PayloadLength uint64 `protobuf:"varint,5,opt,name=payload_length,json=payloadLength,proto3" json:"payload_length,omitempty"` 169 // Hash of payload bytes 170 PayloadHash *grpc.Checksum `protobuf:"bytes,6,opt,name=payload_hash,json=payloadHash,proto3" json:"payload_hash,omitempty"` 171 // Homomorphic hash of the object payload 172 HomomorphicHash *grpc.Checksum `protobuf:"bytes,7,opt,name=homomorphic_hash,json=homomorphicHash,proto3" json:"homomorphic_hash,omitempty"` 173 } 174 175 func (x *ShortHeader) Reset() { 176 *x = ShortHeader{} 177 if protoimpl.UnsafeEnabled { 178 mi := &file_object_grpc_types_proto_msgTypes[0] 179 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 180 ms.StoreMessageInfo(mi) 181 } 182 } 183 184 func (x *ShortHeader) String() string { 185 return protoimpl.X.MessageStringOf(x) 186 } 187 188 func (*ShortHeader) ProtoMessage() {} 189 190 func (x *ShortHeader) ProtoReflect() protoreflect.Message { 191 mi := &file_object_grpc_types_proto_msgTypes[0] 192 if protoimpl.UnsafeEnabled && x != nil { 193 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 194 if ms.LoadMessageInfo() == nil { 195 ms.StoreMessageInfo(mi) 196 } 197 return ms 198 } 199 return mi.MessageOf(x) 200 } 201 202 // Deprecated: Use ShortHeader.ProtoReflect.Descriptor instead. 203 func (*ShortHeader) Descriptor() ([]byte, []int) { 204 return file_object_grpc_types_proto_rawDescGZIP(), []int{0} 205 } 206 207 func (x *ShortHeader) GetVersion() *grpc.Version { 208 if x != nil { 209 return x.Version 210 } 211 return nil 212 } 213 214 func (x *ShortHeader) GetCreationEpoch() uint64 { 215 if x != nil { 216 return x.CreationEpoch 217 } 218 return 0 219 } 220 221 func (x *ShortHeader) GetOwnerId() *grpc.OwnerID { 222 if x != nil { 223 return x.OwnerId 224 } 225 return nil 226 } 227 228 func (x *ShortHeader) GetObjectType() ObjectType { 229 if x != nil { 230 return x.ObjectType 231 } 232 return ObjectType_REGULAR 233 } 234 235 func (x *ShortHeader) GetPayloadLength() uint64 { 236 if x != nil { 237 return x.PayloadLength 238 } 239 return 0 240 } 241 242 func (x *ShortHeader) GetPayloadHash() *grpc.Checksum { 243 if x != nil { 244 return x.PayloadHash 245 } 246 return nil 247 } 248 249 func (x *ShortHeader) GetHomomorphicHash() *grpc.Checksum { 250 if x != nil { 251 return x.HomomorphicHash 252 } 253 return nil 254 } 255 256 // Object Header 257 type Header struct { 258 state protoimpl.MessageState 259 sizeCache protoimpl.SizeCache 260 unknownFields protoimpl.UnknownFields 261 262 // Object format version. Effectively, the version of API library used to 263 // create particular object 264 Version *grpc.Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 265 // Object's container 266 ContainerId *grpc.ContainerID `protobuf:"bytes,2,opt,name=container_id,json=containerID,proto3" json:"container_id,omitempty"` 267 // Object's owner 268 OwnerId *grpc.OwnerID `protobuf:"bytes,3,opt,name=owner_id,json=ownerID,proto3" json:"owner_id,omitempty"` 269 // Object creation Epoch 270 CreationEpoch uint64 `protobuf:"varint,4,opt,name=creation_epoch,json=creationEpoch,proto3" json:"creation_epoch,omitempty"` 271 // Size of payload in bytes. 272 // `0xFFFFFFFFFFFFFFFF` means `payload_length` is unknown. 273 PayloadLength uint64 `protobuf:"varint,5,opt,name=payload_length,json=payloadLength,proto3" json:"payload_length,omitempty"` 274 // Hash of payload bytes 275 PayloadHash *grpc.Checksum `protobuf:"bytes,6,opt,name=payload_hash,json=payloadHash,proto3" json:"payload_hash,omitempty"` 276 // Type of the object payload content 277 ObjectType ObjectType `protobuf:"varint,7,opt,name=object_type,json=objectType,proto3,enum=neo.fs.v2.object.ObjectType" json:"object_type,omitempty"` 278 // Homomorphic hash of the object payload 279 HomomorphicHash *grpc.Checksum `protobuf:"bytes,8,opt,name=homomorphic_hash,json=homomorphicHash,proto3" json:"homomorphic_hash,omitempty"` 280 // Session token, if it was used during Object creation. Need it to verify 281 // integrity and authenticity out of Request scope. 282 SessionToken *grpc1.SessionToken `protobuf:"bytes,9,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` 283 // User-defined object attributes 284 Attributes []*Header_Attribute `protobuf:"bytes,10,rep,name=attributes,proto3" json:"attributes,omitempty"` 285 // Position of the object in the split hierarchy 286 Split *Header_Split `protobuf:"bytes,11,opt,name=split,proto3" json:"split,omitempty"` 287 } 288 289 func (x *Header) Reset() { 290 *x = Header{} 291 if protoimpl.UnsafeEnabled { 292 mi := &file_object_grpc_types_proto_msgTypes[1] 293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 294 ms.StoreMessageInfo(mi) 295 } 296 } 297 298 func (x *Header) String() string { 299 return protoimpl.X.MessageStringOf(x) 300 } 301 302 func (*Header) ProtoMessage() {} 303 304 func (x *Header) ProtoReflect() protoreflect.Message { 305 mi := &file_object_grpc_types_proto_msgTypes[1] 306 if protoimpl.UnsafeEnabled && x != nil { 307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 308 if ms.LoadMessageInfo() == nil { 309 ms.StoreMessageInfo(mi) 310 } 311 return ms 312 } 313 return mi.MessageOf(x) 314 } 315 316 // Deprecated: Use Header.ProtoReflect.Descriptor instead. 317 func (*Header) Descriptor() ([]byte, []int) { 318 return file_object_grpc_types_proto_rawDescGZIP(), []int{1} 319 } 320 321 func (x *Header) GetVersion() *grpc.Version { 322 if x != nil { 323 return x.Version 324 } 325 return nil 326 } 327 328 func (x *Header) GetContainerId() *grpc.ContainerID { 329 if x != nil { 330 return x.ContainerId 331 } 332 return nil 333 } 334 335 func (x *Header) GetOwnerId() *grpc.OwnerID { 336 if x != nil { 337 return x.OwnerId 338 } 339 return nil 340 } 341 342 func (x *Header) GetCreationEpoch() uint64 { 343 if x != nil { 344 return x.CreationEpoch 345 } 346 return 0 347 } 348 349 func (x *Header) GetPayloadLength() uint64 { 350 if x != nil { 351 return x.PayloadLength 352 } 353 return 0 354 } 355 356 func (x *Header) GetPayloadHash() *grpc.Checksum { 357 if x != nil { 358 return x.PayloadHash 359 } 360 return nil 361 } 362 363 func (x *Header) GetObjectType() ObjectType { 364 if x != nil { 365 return x.ObjectType 366 } 367 return ObjectType_REGULAR 368 } 369 370 func (x *Header) GetHomomorphicHash() *grpc.Checksum { 371 if x != nil { 372 return x.HomomorphicHash 373 } 374 return nil 375 } 376 377 func (x *Header) GetSessionToken() *grpc1.SessionToken { 378 if x != nil { 379 return x.SessionToken 380 } 381 return nil 382 } 383 384 func (x *Header) GetAttributes() []*Header_Attribute { 385 if x != nil { 386 return x.Attributes 387 } 388 return nil 389 } 390 391 func (x *Header) GetSplit() *Header_Split { 392 if x != nil { 393 return x.Split 394 } 395 return nil 396 } 397 398 // Object structure. Object is immutable and content-addressed. It means 399 // `ObjectID` will change if the header or the payload changes. It's calculated as a 400 // hash of header field which contains hash of the object's payload. 401 // 402 // For non-regular object types payload format depends on object type specified 403 // in the header. 404 type Object struct { 405 state protoimpl.MessageState 406 sizeCache protoimpl.SizeCache 407 unknownFields protoimpl.UnknownFields 408 409 // Object's unique identifier. 410 ObjectId *grpc.ObjectID `protobuf:"bytes,1,opt,name=object_id,json=objectID,proto3" json:"object_id,omitempty"` 411 // Signed object_id 412 Signature *grpc.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` 413 // Object metadata headers 414 Header *Header `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"` 415 // Payload bytes 416 Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` 417 } 418 419 func (x *Object) Reset() { 420 *x = Object{} 421 if protoimpl.UnsafeEnabled { 422 mi := &file_object_grpc_types_proto_msgTypes[2] 423 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 424 ms.StoreMessageInfo(mi) 425 } 426 } 427 428 func (x *Object) String() string { 429 return protoimpl.X.MessageStringOf(x) 430 } 431 432 func (*Object) ProtoMessage() {} 433 434 func (x *Object) ProtoReflect() protoreflect.Message { 435 mi := &file_object_grpc_types_proto_msgTypes[2] 436 if protoimpl.UnsafeEnabled && x != nil { 437 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 438 if ms.LoadMessageInfo() == nil { 439 ms.StoreMessageInfo(mi) 440 } 441 return ms 442 } 443 return mi.MessageOf(x) 444 } 445 446 // Deprecated: Use Object.ProtoReflect.Descriptor instead. 447 func (*Object) Descriptor() ([]byte, []int) { 448 return file_object_grpc_types_proto_rawDescGZIP(), []int{2} 449 } 450 451 func (x *Object) GetObjectId() *grpc.ObjectID { 452 if x != nil { 453 return x.ObjectId 454 } 455 return nil 456 } 457 458 func (x *Object) GetSignature() *grpc.Signature { 459 if x != nil { 460 return x.Signature 461 } 462 return nil 463 } 464 465 func (x *Object) GetHeader() *Header { 466 if x != nil { 467 return x.Header 468 } 469 return nil 470 } 471 472 func (x *Object) GetPayload() []byte { 473 if x != nil { 474 return x.Payload 475 } 476 return nil 477 } 478 479 // Meta information of split hierarchy for object assembly. With the last part 480 // one can traverse linked list of split hierarchy back to the first part and 481 // assemble the original object. With a linking object one can assemble an object 482 // right from the object parts. 483 type SplitInfo struct { 484 state protoimpl.MessageState 485 sizeCache protoimpl.SizeCache 486 unknownFields protoimpl.UnknownFields 487 488 // 16 byte UUID used to identify the split object hierarchy parts. 489 SplitId []byte `protobuf:"bytes,1,opt,name=split_id,json=splitId,proto3" json:"split_id,omitempty"` 490 // The identifier of the last object in split hierarchy parts. It contains 491 // split header with the original object header. 492 LastPart *grpc.ObjectID `protobuf:"bytes,2,opt,name=last_part,json=lastPart,proto3" json:"last_part,omitempty"` 493 // The identifier of a linking object for split hierarchy parts. It contains 494 // split header with the original object header and a sorted list of 495 // object parts. 496 Link *grpc.ObjectID `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"` 497 } 498 499 func (x *SplitInfo) Reset() { 500 *x = SplitInfo{} 501 if protoimpl.UnsafeEnabled { 502 mi := &file_object_grpc_types_proto_msgTypes[3] 503 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 504 ms.StoreMessageInfo(mi) 505 } 506 } 507 508 func (x *SplitInfo) String() string { 509 return protoimpl.X.MessageStringOf(x) 510 } 511 512 func (*SplitInfo) ProtoMessage() {} 513 514 func (x *SplitInfo) ProtoReflect() protoreflect.Message { 515 mi := &file_object_grpc_types_proto_msgTypes[3] 516 if protoimpl.UnsafeEnabled && x != nil { 517 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 518 if ms.LoadMessageInfo() == nil { 519 ms.StoreMessageInfo(mi) 520 } 521 return ms 522 } 523 return mi.MessageOf(x) 524 } 525 526 // Deprecated: Use SplitInfo.ProtoReflect.Descriptor instead. 527 func (*SplitInfo) Descriptor() ([]byte, []int) { 528 return file_object_grpc_types_proto_rawDescGZIP(), []int{3} 529 } 530 531 func (x *SplitInfo) GetSplitId() []byte { 532 if x != nil { 533 return x.SplitId 534 } 535 return nil 536 } 537 538 func (x *SplitInfo) GetLastPart() *grpc.ObjectID { 539 if x != nil { 540 return x.LastPart 541 } 542 return nil 543 } 544 545 func (x *SplitInfo) GetLink() *grpc.ObjectID { 546 if x != nil { 547 return x.Link 548 } 549 return nil 550 } 551 552 // `Attribute` is a user-defined Key-Value metadata pair attached to an 553 // object. 554 // 555 // Key name must be an object-unique valid UTF-8 string. Value can't be empty. 556 // Objects with duplicated attribute names or attributes with empty values 557 // will be considered invalid. 558 // 559 // There are some "well-known" attributes starting with `__NEOFS__` prefix 560 // that affect system behaviour: 561 // 562 // - __NEOFS__UPLOAD_ID \ 563 // Marks smaller parts of a split bigger object 564 // - __NEOFS__EXPIRATION_EPOCH \ 565 // Tells GC to delete object after that epoch 566 // - __NEOFS__TICK_EPOCH \ 567 // Decimal number that defines what epoch must produce 568 // object notification with UTF-8 object address in a 569 // body (`0` value produces notification right after 570 // object put) 571 // - __NEOFS__TICK_TOPIC \ 572 // UTF-8 string topic ID that is used for object notification 573 // 574 // And some well-known attributes used by applications only: 575 // 576 // - Name \ 577 // Human-friendly name 578 // - FileName \ 579 // File name to be associated with the object on saving 580 // - FilePath \ 581 // Full path to be associated with the object on saving. Should start with a 582 // '/' and use '/' as a delimiting symbol. Trailing '/' should be 583 // interpreted as a virtual directory marker. If an object has conflicting 584 // FilePath and FileName, FilePath should have higher priority, because it 585 // is used to construct the directory tree. FilePath with trailing '/' and 586 // non-empty FileName attribute should not be used together. 587 // - Timestamp \ 588 // User-defined local time of object creation in Unix Timestamp format 589 // - Content-Type \ 590 // MIME Content Type of object's payload 591 // 592 // For detailed description of each well-known attribute please see the 593 // corresponding section in NeoFS Technical Specification. 594 type Header_Attribute struct { 595 state protoimpl.MessageState 596 sizeCache protoimpl.SizeCache 597 unknownFields protoimpl.UnknownFields 598 599 // string key to the object attribute 600 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 601 // string value of the object attribute 602 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 603 } 604 605 func (x *Header_Attribute) Reset() { 606 *x = Header_Attribute{} 607 if protoimpl.UnsafeEnabled { 608 mi := &file_object_grpc_types_proto_msgTypes[4] 609 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 610 ms.StoreMessageInfo(mi) 611 } 612 } 613 614 func (x *Header_Attribute) String() string { 615 return protoimpl.X.MessageStringOf(x) 616 } 617 618 func (*Header_Attribute) ProtoMessage() {} 619 620 func (x *Header_Attribute) ProtoReflect() protoreflect.Message { 621 mi := &file_object_grpc_types_proto_msgTypes[4] 622 if protoimpl.UnsafeEnabled && x != nil { 623 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 624 if ms.LoadMessageInfo() == nil { 625 ms.StoreMessageInfo(mi) 626 } 627 return ms 628 } 629 return mi.MessageOf(x) 630 } 631 632 // Deprecated: Use Header_Attribute.ProtoReflect.Descriptor instead. 633 func (*Header_Attribute) Descriptor() ([]byte, []int) { 634 return file_object_grpc_types_proto_rawDescGZIP(), []int{1, 0} 635 } 636 637 func (x *Header_Attribute) GetKey() string { 638 if x != nil { 639 return x.Key 640 } 641 return "" 642 } 643 644 func (x *Header_Attribute) GetValue() string { 645 if x != nil { 646 return x.Value 647 } 648 return "" 649 } 650 651 // Bigger objects can be split into a chain of smaller objects. Information 652 // about inter-dependencies between spawned objects and how to re-construct 653 // the original one is in the `Split` headers. Parent and children objects 654 // must be within the same container. 655 type Header_Split struct { 656 state protoimpl.MessageState 657 sizeCache protoimpl.SizeCache 658 unknownFields protoimpl.UnknownFields 659 660 // Identifier of the origin object. Known only to the minor child. 661 Parent *grpc.ObjectID `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 662 // Identifier of the left split neighbor 663 Previous *grpc.ObjectID `protobuf:"bytes,2,opt,name=previous,proto3" json:"previous,omitempty"` 664 // `signature` field of the parent object. Used to reconstruct parent. 665 ParentSignature *grpc.Signature `protobuf:"bytes,3,opt,name=parent_signature,json=parentSignature,proto3" json:"parent_signature,omitempty"` 666 // `header` field of the parent object. Used to reconstruct parent. 667 ParentHeader *Header `protobuf:"bytes,4,opt,name=parent_header,json=parentHeader,proto3" json:"parent_header,omitempty"` 668 // List of identifiers of the objects generated by splitting current one. 669 Children []*grpc.ObjectID `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"` 670 // 16 byte UUIDv4 used to identify the split object hierarchy parts. Must be 671 // unique inside container. All objects participating in the split must have 672 // the same `split_id` value. 673 SplitId []byte `protobuf:"bytes,6,opt,name=split_id,json=splitID,proto3" json:"split_id,omitempty"` 674 } 675 676 func (x *Header_Split) Reset() { 677 *x = Header_Split{} 678 if protoimpl.UnsafeEnabled { 679 mi := &file_object_grpc_types_proto_msgTypes[5] 680 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 681 ms.StoreMessageInfo(mi) 682 } 683 } 684 685 func (x *Header_Split) String() string { 686 return protoimpl.X.MessageStringOf(x) 687 } 688 689 func (*Header_Split) ProtoMessage() {} 690 691 func (x *Header_Split) ProtoReflect() protoreflect.Message { 692 mi := &file_object_grpc_types_proto_msgTypes[5] 693 if protoimpl.UnsafeEnabled && x != nil { 694 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 695 if ms.LoadMessageInfo() == nil { 696 ms.StoreMessageInfo(mi) 697 } 698 return ms 699 } 700 return mi.MessageOf(x) 701 } 702 703 // Deprecated: Use Header_Split.ProtoReflect.Descriptor instead. 704 func (*Header_Split) Descriptor() ([]byte, []int) { 705 return file_object_grpc_types_proto_rawDescGZIP(), []int{1, 1} 706 } 707 708 func (x *Header_Split) GetParent() *grpc.ObjectID { 709 if x != nil { 710 return x.Parent 711 } 712 return nil 713 } 714 715 func (x *Header_Split) GetPrevious() *grpc.ObjectID { 716 if x != nil { 717 return x.Previous 718 } 719 return nil 720 } 721 722 func (x *Header_Split) GetParentSignature() *grpc.Signature { 723 if x != nil { 724 return x.ParentSignature 725 } 726 return nil 727 } 728 729 func (x *Header_Split) GetParentHeader() *Header { 730 if x != nil { 731 return x.ParentHeader 732 } 733 return nil 734 } 735 736 func (x *Header_Split) GetChildren() []*grpc.ObjectID { 737 if x != nil { 738 return x.Children 739 } 740 return nil 741 } 742 743 func (x *Header_Split) GetSplitId() []byte { 744 if x != nil { 745 return x.SplitId 746 } 747 return nil 748 } 749 750 var File_object_grpc_types_proto protoreflect.FileDescriptor 751 752 var file_object_grpc_types_proto_rawDesc = []byte{ 753 0x0a, 0x17, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x79, 754 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 755 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x15, 0x72, 0x65, 0x66, 756 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 757 0x74, 0x6f, 0x1a, 0x18, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 758 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x03, 0x0a, 759 0x0b, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x07, 760 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 761 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x56, 762 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 763 0x25, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x70, 0x6f, 0x63, 764 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 765 0x6e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x32, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 766 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 767 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 768 0x44, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x12, 0x3d, 0x0a, 0x0b, 0x6f, 0x62, 769 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 770 0x1c, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 771 0x63, 0x74, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6f, 772 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x79, 773 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 774 0x04, 0x52, 0x0d, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 775 0x12, 0x3b, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x68, 0x61, 0x73, 0x68, 776 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 777 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 778 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x61, 0x73, 0x68, 0x12, 0x43, 0x0a, 779 0x10, 0x68, 0x6f, 0x6d, 0x6f, 0x6d, 0x6f, 0x72, 0x70, 0x68, 0x69, 0x63, 0x5f, 0x68, 0x61, 0x73, 780 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 781 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 782 0x6d, 0x52, 0x0f, 0x68, 0x6f, 0x6d, 0x6f, 0x6d, 0x6f, 0x72, 0x70, 0x68, 0x69, 0x63, 0x48, 0x61, 783 0x73, 0x68, 0x22, 0xfb, 0x07, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x31, 0x0a, 784 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 785 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 786 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 787 0x12, 0x3e, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 788 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 789 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 790 0x72, 0x49, 0x44, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x44, 791 0x12, 0x32, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 792 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 793 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x52, 0x07, 0x6f, 0x77, 0x6e, 794 0x65, 0x72, 0x49, 0x44, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 795 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x63, 0x72, 796 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x70, 797 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x05, 0x20, 798 0x01, 0x28, 0x04, 0x52, 0x0d, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x65, 0x6e, 0x67, 799 0x74, 0x68, 0x12, 0x3b, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x68, 0x61, 800 0x73, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 801 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 802 0x75, 0x6d, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x61, 0x73, 0x68, 0x12, 803 0x3d, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 804 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 805 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 806 0x70, 0x65, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x43, 807 0x0a, 0x10, 0x68, 0x6f, 0x6d, 0x6f, 0x6d, 0x6f, 0x72, 0x70, 0x68, 0x69, 0x63, 0x5f, 0x68, 0x61, 808 0x73, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 809 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 810 0x75, 0x6d, 0x52, 0x0f, 0x68, 0x6f, 0x6d, 0x6f, 0x6d, 0x6f, 0x72, 0x70, 0x68, 0x69, 0x63, 0x48, 811 0x61, 0x73, 0x68, 0x12, 0x44, 0x0a, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 812 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x65, 0x6f, 813 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 814 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x0c, 0x73, 0x65, 0x73, 815 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x42, 0x0a, 0x0a, 0x61, 0x74, 0x74, 816 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 817 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 818 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 819 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x34, 0x0a, 820 0x05, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 821 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 822 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x52, 0x05, 0x73, 0x70, 823 0x6c, 0x69, 0x74, 0x1a, 0x33, 0x0a, 0x09, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 824 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 825 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 826 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xc5, 0x02, 0x0a, 0x05, 0x53, 0x70, 0x6c, 827 0x69, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 828 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 829 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x52, 0x06, 0x70, 0x61, 830 0x72, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 831 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 832 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 833 0x52, 0x08, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x12, 0x44, 0x0a, 0x10, 0x70, 0x61, 834 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 835 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 836 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 837 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 838 0x12, 0x3d, 0x0a, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 839 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 840 0x2e, 0x76, 0x32, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 841 0x72, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 842 0x34, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x03, 0x28, 843 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 844 0x66, 0x73, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x52, 0x08, 0x63, 0x68, 0x69, 845 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x5f, 0x69, 846 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x49, 0x44, 847 0x22, 0xc4, 0x01, 0x0a, 0x06, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x6f, 848 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 849 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 850 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x52, 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 851 0x49, 0x44, 0x12, 0x37, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 852 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 853 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 854 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x68, 855 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 856 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x48, 857 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 858 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 859 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x8b, 0x01, 0x0a, 0x09, 0x53, 0x70, 0x6c, 0x69, 860 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x5f, 0x69, 861 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x49, 0x64, 862 0x12, 0x35, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 863 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 864 0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x52, 0x08, 0x6c, 865 0x61, 0x73, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 866 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 867 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x52, 868 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x2a, 0x45, 0x0a, 0x0a, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 869 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x47, 0x55, 0x4c, 0x41, 0x52, 0x10, 0x00, 870 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x4f, 0x4d, 0x42, 0x53, 0x54, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 871 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 872 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x03, 0x2a, 0x73, 0x0a, 0x09, 873 0x4d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x41, 0x54, 874 0x43, 0x48, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 875 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x5f, 876 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x54, 0x52, 0x49, 0x4e, 877 0x47, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x0f, 0x0a, 878 0x0b, 0x4e, 0x4f, 0x54, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, 0x54, 0x10, 0x03, 0x12, 0x11, 879 0x0a, 0x0d, 0x43, 0x4f, 0x4d, 0x4d, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x49, 0x58, 0x10, 880 0x04, 0x42, 0x5b, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 881 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 882 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x6f, 883 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 884 0x74, 0xaa, 0x02, 0x1a, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 885 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x62, 0x06, 886 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 887 } 888 889 var ( 890 file_object_grpc_types_proto_rawDescOnce sync.Once 891 file_object_grpc_types_proto_rawDescData = file_object_grpc_types_proto_rawDesc 892 ) 893 894 func file_object_grpc_types_proto_rawDescGZIP() []byte { 895 file_object_grpc_types_proto_rawDescOnce.Do(func() { 896 file_object_grpc_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_object_grpc_types_proto_rawDescData) 897 }) 898 return file_object_grpc_types_proto_rawDescData 899 } 900 901 var file_object_grpc_types_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 902 var file_object_grpc_types_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 903 var file_object_grpc_types_proto_goTypes = []interface{}{ 904 (ObjectType)(0), // 0: neo.fs.v2.object.ObjectType 905 (MatchType)(0), // 1: neo.fs.v2.object.MatchType 906 (*ShortHeader)(nil), // 2: neo.fs.v2.object.ShortHeader 907 (*Header)(nil), // 3: neo.fs.v2.object.Header 908 (*Object)(nil), // 4: neo.fs.v2.object.Object 909 (*SplitInfo)(nil), // 5: neo.fs.v2.object.SplitInfo 910 (*Header_Attribute)(nil), // 6: neo.fs.v2.object.Header.Attribute 911 (*Header_Split)(nil), // 7: neo.fs.v2.object.Header.Split 912 (*grpc.Version)(nil), // 8: neo.fs.v2.refs.Version 913 (*grpc.OwnerID)(nil), // 9: neo.fs.v2.refs.OwnerID 914 (*grpc.Checksum)(nil), // 10: neo.fs.v2.refs.Checksum 915 (*grpc.ContainerID)(nil), // 11: neo.fs.v2.refs.ContainerID 916 (*grpc1.SessionToken)(nil), // 12: neo.fs.v2.session.SessionToken 917 (*grpc.ObjectID)(nil), // 13: neo.fs.v2.refs.ObjectID 918 (*grpc.Signature)(nil), // 14: neo.fs.v2.refs.Signature 919 } 920 var file_object_grpc_types_proto_depIdxs = []int32{ 921 8, // 0: neo.fs.v2.object.ShortHeader.version:type_name -> neo.fs.v2.refs.Version 922 9, // 1: neo.fs.v2.object.ShortHeader.owner_id:type_name -> neo.fs.v2.refs.OwnerID 923 0, // 2: neo.fs.v2.object.ShortHeader.object_type:type_name -> neo.fs.v2.object.ObjectType 924 10, // 3: neo.fs.v2.object.ShortHeader.payload_hash:type_name -> neo.fs.v2.refs.Checksum 925 10, // 4: neo.fs.v2.object.ShortHeader.homomorphic_hash:type_name -> neo.fs.v2.refs.Checksum 926 8, // 5: neo.fs.v2.object.Header.version:type_name -> neo.fs.v2.refs.Version 927 11, // 6: neo.fs.v2.object.Header.container_id:type_name -> neo.fs.v2.refs.ContainerID 928 9, // 7: neo.fs.v2.object.Header.owner_id:type_name -> neo.fs.v2.refs.OwnerID 929 10, // 8: neo.fs.v2.object.Header.payload_hash:type_name -> neo.fs.v2.refs.Checksum 930 0, // 9: neo.fs.v2.object.Header.object_type:type_name -> neo.fs.v2.object.ObjectType 931 10, // 10: neo.fs.v2.object.Header.homomorphic_hash:type_name -> neo.fs.v2.refs.Checksum 932 12, // 11: neo.fs.v2.object.Header.session_token:type_name -> neo.fs.v2.session.SessionToken 933 6, // 12: neo.fs.v2.object.Header.attributes:type_name -> neo.fs.v2.object.Header.Attribute 934 7, // 13: neo.fs.v2.object.Header.split:type_name -> neo.fs.v2.object.Header.Split 935 13, // 14: neo.fs.v2.object.Object.object_id:type_name -> neo.fs.v2.refs.ObjectID 936 14, // 15: neo.fs.v2.object.Object.signature:type_name -> neo.fs.v2.refs.Signature 937 3, // 16: neo.fs.v2.object.Object.header:type_name -> neo.fs.v2.object.Header 938 13, // 17: neo.fs.v2.object.SplitInfo.last_part:type_name -> neo.fs.v2.refs.ObjectID 939 13, // 18: neo.fs.v2.object.SplitInfo.link:type_name -> neo.fs.v2.refs.ObjectID 940 13, // 19: neo.fs.v2.object.Header.Split.parent:type_name -> neo.fs.v2.refs.ObjectID 941 13, // 20: neo.fs.v2.object.Header.Split.previous:type_name -> neo.fs.v2.refs.ObjectID 942 14, // 21: neo.fs.v2.object.Header.Split.parent_signature:type_name -> neo.fs.v2.refs.Signature 943 3, // 22: neo.fs.v2.object.Header.Split.parent_header:type_name -> neo.fs.v2.object.Header 944 13, // 23: neo.fs.v2.object.Header.Split.children:type_name -> neo.fs.v2.refs.ObjectID 945 24, // [24:24] is the sub-list for method output_type 946 24, // [24:24] is the sub-list for method input_type 947 24, // [24:24] is the sub-list for extension type_name 948 24, // [24:24] is the sub-list for extension extendee 949 0, // [0:24] is the sub-list for field type_name 950 } 951 952 func init() { file_object_grpc_types_proto_init() } 953 func file_object_grpc_types_proto_init() { 954 if File_object_grpc_types_proto != nil { 955 return 956 } 957 if !protoimpl.UnsafeEnabled { 958 file_object_grpc_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 959 switch v := v.(*ShortHeader); i { 960 case 0: 961 return &v.state 962 case 1: 963 return &v.sizeCache 964 case 2: 965 return &v.unknownFields 966 default: 967 return nil 968 } 969 } 970 file_object_grpc_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 971 switch v := v.(*Header); i { 972 case 0: 973 return &v.state 974 case 1: 975 return &v.sizeCache 976 case 2: 977 return &v.unknownFields 978 default: 979 return nil 980 } 981 } 982 file_object_grpc_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 983 switch v := v.(*Object); i { 984 case 0: 985 return &v.state 986 case 1: 987 return &v.sizeCache 988 case 2: 989 return &v.unknownFields 990 default: 991 return nil 992 } 993 } 994 file_object_grpc_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 995 switch v := v.(*SplitInfo); i { 996 case 0: 997 return &v.state 998 case 1: 999 return &v.sizeCache 1000 case 2: 1001 return &v.unknownFields 1002 default: 1003 return nil 1004 } 1005 } 1006 file_object_grpc_types_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1007 switch v := v.(*Header_Attribute); i { 1008 case 0: 1009 return &v.state 1010 case 1: 1011 return &v.sizeCache 1012 case 2: 1013 return &v.unknownFields 1014 default: 1015 return nil 1016 } 1017 } 1018 file_object_grpc_types_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1019 switch v := v.(*Header_Split); i { 1020 case 0: 1021 return &v.state 1022 case 1: 1023 return &v.sizeCache 1024 case 2: 1025 return &v.unknownFields 1026 default: 1027 return nil 1028 } 1029 } 1030 } 1031 type x struct{} 1032 out := protoimpl.TypeBuilder{ 1033 File: protoimpl.DescBuilder{ 1034 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1035 RawDescriptor: file_object_grpc_types_proto_rawDesc, 1036 NumEnums: 2, 1037 NumMessages: 6, 1038 NumExtensions: 0, 1039 NumServices: 0, 1040 }, 1041 GoTypes: file_object_grpc_types_proto_goTypes, 1042 DependencyIndexes: file_object_grpc_types_proto_depIdxs, 1043 EnumInfos: file_object_grpc_types_proto_enumTypes, 1044 MessageInfos: file_object_grpc_types_proto_msgTypes, 1045 }.Build() 1046 File_object_grpc_types_proto = out.File 1047 file_object_grpc_types_proto_rawDesc = nil 1048 file_object_grpc_types_proto_goTypes = nil 1049 file_object_grpc_types_proto_depIdxs = nil 1050 }