2020-10-19 18:51:59 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
2022-09-17 09:59:54 +00:00
|
|
|
// protoc-gen-go v1.28.0
|
2022-12-09 11:16:24 +00:00
|
|
|
// protoc v3.21.9
|
2021-11-17 09:35:56 +00:00
|
|
|
// source: object/grpc/types.proto
|
2020-08-12 09:57:28 +00:00
|
|
|
|
2020-08-13 12:43:47 +00:00
|
|
|
package object
|
2020-08-12 09:57:28 +00:00
|
|
|
|
|
|
|
import (
|
2023-03-07 10:38:56 +00:00
|
|
|
grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc"
|
|
|
|
grpc1 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc"
|
2020-10-19 18:51:59 +00:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2020-08-12 09:57:28 +00:00
|
|
|
)
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
const (
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
)
|
2020-08-12 09:57:28 +00:00
|
|
|
|
2020-11-10 10:08:32 +00:00
|
|
|
// Type of the object payload content. Only `REGULAR` type objects can be split,
|
2022-06-15 17:30:22 +00:00
|
|
|
// hence `TOMBSTONE`, `STORAGE_GROUP` and `LOCK` payload is limited by the maximum
|
2022-02-21 17:57:27 +00:00
|
|
|
// object size.
|
2020-12-10 07:48:09 +00:00
|
|
|
//
|
2021-08-16 11:40:48 +00:00
|
|
|
// String presentation of object type is the same as definition:
|
|
|
|
// * REGULAR
|
|
|
|
// * TOMBSTONE
|
|
|
|
// * STORAGE_GROUP
|
2022-02-21 17:57:27 +00:00
|
|
|
// * LOCK
|
2020-08-12 09:57:28 +00:00
|
|
|
type ObjectType int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
// Just a normal object
|
|
|
|
ObjectType_REGULAR ObjectType = 0
|
|
|
|
// Used internally to identify deleted objects
|
|
|
|
ObjectType_TOMBSTONE ObjectType = 1
|
2020-10-19 12:34:51 +00:00
|
|
|
// StorageGroup information
|
2020-08-12 09:57:28 +00:00
|
|
|
ObjectType_STORAGE_GROUP ObjectType = 2
|
2022-02-21 17:57:27 +00:00
|
|
|
// Object lock
|
|
|
|
ObjectType_LOCK ObjectType = 3
|
2020-08-12 09:57:28 +00:00
|
|
|
)
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Enum value maps for ObjectType.
|
|
|
|
var (
|
|
|
|
ObjectType_name = map[int32]string{
|
|
|
|
0: "REGULAR",
|
|
|
|
1: "TOMBSTONE",
|
|
|
|
2: "STORAGE_GROUP",
|
2022-02-21 17:57:27 +00:00
|
|
|
3: "LOCK",
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
|
|
|
ObjectType_value = map[string]int32{
|
|
|
|
"REGULAR": 0,
|
|
|
|
"TOMBSTONE": 1,
|
|
|
|
"STORAGE_GROUP": 2,
|
2022-02-21 17:57:27 +00:00
|
|
|
"LOCK": 3,
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
|
|
|
)
|
2020-08-12 09:57:28 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x ObjectType) Enum() *ObjectType {
|
|
|
|
p := new(ObjectType)
|
|
|
|
*p = x
|
|
|
|
return p
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x ObjectType) String() string {
|
2020-10-19 18:51:59 +00:00
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (ObjectType) Descriptor() protoreflect.EnumDescriptor {
|
2021-11-17 09:35:56 +00:00
|
|
|
return file_object_grpc_types_proto_enumTypes[0].Descriptor()
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (ObjectType) Type() protoreflect.EnumType {
|
2021-11-17 09:35:56 +00:00
|
|
|
return &file_object_grpc_types_proto_enumTypes[0]
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x ObjectType) Number() protoreflect.EnumNumber {
|
|
|
|
return protoreflect.EnumNumber(x)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Deprecated: Use ObjectType.Descriptor instead.
|
2020-08-12 09:57:28 +00:00
|
|
|
func (ObjectType) EnumDescriptor() ([]byte, []int) {
|
2021-11-17 09:35:56 +00:00
|
|
|
return file_object_grpc_types_proto_rawDescGZIP(), []int{0}
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-08-17 11:29:50 +00:00
|
|
|
// Type of match expression
|
|
|
|
type MatchType int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
// Unknown. Not used
|
|
|
|
MatchType_MATCH_TYPE_UNSPECIFIED MatchType = 0
|
|
|
|
// Full string match
|
|
|
|
MatchType_STRING_EQUAL MatchType = 1
|
2021-02-01 17:57:18 +00:00
|
|
|
// Full string mismatch
|
|
|
|
MatchType_STRING_NOT_EQUAL MatchType = 2
|
|
|
|
// Lack of key
|
|
|
|
MatchType_NOT_PRESENT MatchType = 3
|
2021-08-16 11:40:48 +00:00
|
|
|
// String prefix match
|
|
|
|
MatchType_COMMON_PREFIX MatchType = 4
|
2020-08-17 11:29:50 +00:00
|
|
|
)
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Enum value maps for MatchType.
|
|
|
|
var (
|
|
|
|
MatchType_name = map[int32]string{
|
|
|
|
0: "MATCH_TYPE_UNSPECIFIED",
|
|
|
|
1: "STRING_EQUAL",
|
2021-02-01 17:57:18 +00:00
|
|
|
2: "STRING_NOT_EQUAL",
|
|
|
|
3: "NOT_PRESENT",
|
2021-08-16 11:40:48 +00:00
|
|
|
4: "COMMON_PREFIX",
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
|
|
|
MatchType_value = map[string]int32{
|
|
|
|
"MATCH_TYPE_UNSPECIFIED": 0,
|
|
|
|
"STRING_EQUAL": 1,
|
2021-02-01 17:57:18 +00:00
|
|
|
"STRING_NOT_EQUAL": 2,
|
|
|
|
"NOT_PRESENT": 3,
|
2021-08-16 11:40:48 +00:00
|
|
|
"COMMON_PREFIX": 4,
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
|
|
|
)
|
2020-08-17 11:29:50 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x MatchType) Enum() *MatchType {
|
|
|
|
p := new(MatchType)
|
|
|
|
*p = x
|
|
|
|
return p
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x MatchType) String() string {
|
2020-10-19 18:51:59 +00:00
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (MatchType) Descriptor() protoreflect.EnumDescriptor {
|
2021-11-17 09:35:56 +00:00
|
|
|
return file_object_grpc_types_proto_enumTypes[1].Descriptor()
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (MatchType) Type() protoreflect.EnumType {
|
2021-11-17 09:35:56 +00:00
|
|
|
return &file_object_grpc_types_proto_enumTypes[1]
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x MatchType) Number() protoreflect.EnumNumber {
|
|
|
|
return protoreflect.EnumNumber(x)
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Deprecated: Use MatchType.Descriptor instead.
|
2020-08-17 11:29:50 +00:00
|
|
|
func (MatchType) EnumDescriptor() ([]byte, []int) {
|
2021-11-17 09:35:56 +00:00
|
|
|
return file_object_grpc_types_proto_rawDescGZIP(), []int{1}
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Short header fields
|
|
|
|
type ShortHeader struct {
|
2020-10-19 18:51:59 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2022-06-15 17:30:22 +00:00
|
|
|
// Object format version. Effectively, the version of API library used to
|
2020-12-10 07:48:09 +00:00
|
|
|
// create particular object.
|
2020-08-17 11:29:50 +00:00
|
|
|
Version *grpc.Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
// Epoch when the object was created
|
|
|
|
CreationEpoch uint64 `protobuf:"varint,2,opt,name=creation_epoch,json=creationEpoch,proto3" json:"creation_epoch,omitempty"`
|
|
|
|
// Object's owner
|
2020-10-19 12:34:51 +00:00
|
|
|
OwnerId *grpc.OwnerID `protobuf:"bytes,3,opt,name=owner_id,json=ownerID,proto3" json:"owner_id,omitempty"`
|
2020-08-17 11:29:50 +00:00
|
|
|
// Type of the object payload content
|
|
|
|
ObjectType ObjectType `protobuf:"varint,4,opt,name=object_type,json=objectType,proto3,enum=neo.fs.v2.object.ObjectType" json:"object_type,omitempty"`
|
|
|
|
// Size of payload in bytes.
|
2020-10-19 12:34:51 +00:00
|
|
|
// `0xFFFFFFFFFFFFFFFF` means `payload_length` is unknown
|
2020-10-19 18:51:59 +00:00
|
|
|
PayloadLength uint64 `protobuf:"varint,5,opt,name=payload_length,json=payloadLength,proto3" json:"payload_length,omitempty"`
|
2020-12-17 10:02:58 +00:00
|
|
|
// Hash of payload bytes
|
|
|
|
PayloadHash *grpc.Checksum `protobuf:"bytes,6,opt,name=payload_hash,json=payloadHash,proto3" json:"payload_hash,omitempty"`
|
|
|
|
// Homomorphic hash of the object payload
|
|
|
|
HomomorphicHash *grpc.Checksum `protobuf:"bytes,7,opt,name=homomorphic_hash,json=homomorphicHash,proto3" json:"homomorphic_hash,omitempty"`
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *ShortHeader) Reset() {
|
|
|
|
*x = ShortHeader{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_object_grpc_types_proto_msgTypes[0]
|
2020-10-19 18:51:59 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
|
|
|
|
func (x *ShortHeader) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
|
|
|
|
func (*ShortHeader) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ShortHeader) ProtoReflect() protoreflect.Message {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_object_grpc_types_proto_msgTypes[0]
|
2020-10-19 18:51:59 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Deprecated: Use ShortHeader.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ShortHeader) Descriptor() ([]byte, []int) {
|
2021-11-17 09:35:56 +00:00
|
|
|
return file_object_grpc_types_proto_rawDescGZIP(), []int{0}
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
2020-08-17 11:29:50 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *ShortHeader) GetVersion() *grpc.Version {
|
|
|
|
if x != nil {
|
|
|
|
return x.Version
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *ShortHeader) GetCreationEpoch() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.CreationEpoch
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *ShortHeader) GetOwnerId() *grpc.OwnerID {
|
|
|
|
if x != nil {
|
|
|
|
return x.OwnerId
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *ShortHeader) GetObjectType() ObjectType {
|
|
|
|
if x != nil {
|
|
|
|
return x.ObjectType
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
|
|
|
return ObjectType_REGULAR
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *ShortHeader) GetPayloadLength() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.PayloadLength
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-12-17 10:02:58 +00:00
|
|
|
func (x *ShortHeader) GetPayloadHash() *grpc.Checksum {
|
|
|
|
if x != nil {
|
|
|
|
return x.PayloadHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ShortHeader) GetHomomorphicHash() *grpc.Checksum {
|
|
|
|
if x != nil {
|
|
|
|
return x.HomomorphicHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 12:34:51 +00:00
|
|
|
// Object Header
|
2020-08-12 09:57:28 +00:00
|
|
|
type Header struct {
|
2020-10-19 18:51:59 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2022-06-15 17:30:22 +00:00
|
|
|
// Object format version. Effectively, the version of API library used to
|
2020-10-19 12:34:51 +00:00
|
|
|
// create particular object
|
2020-08-17 11:29:50 +00:00
|
|
|
Version *grpc.Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
// Object's container
|
2020-10-19 12:34:51 +00:00
|
|
|
ContainerId *grpc.ContainerID `protobuf:"bytes,2,opt,name=container_id,json=containerID,proto3" json:"container_id,omitempty"`
|
2020-08-17 11:29:50 +00:00
|
|
|
// Object's owner
|
2020-10-19 12:34:51 +00:00
|
|
|
OwnerId *grpc.OwnerID `protobuf:"bytes,3,opt,name=owner_id,json=ownerID,proto3" json:"owner_id,omitempty"`
|
2020-08-17 11:29:50 +00:00
|
|
|
// Object creation Epoch
|
|
|
|
CreationEpoch uint64 `protobuf:"varint,4,opt,name=creation_epoch,json=creationEpoch,proto3" json:"creation_epoch,omitempty"`
|
2020-08-12 09:57:28 +00:00
|
|
|
// Size of payload in bytes.
|
2020-12-10 07:48:09 +00:00
|
|
|
// `0xFFFFFFFFFFFFFFFF` means `payload_length` is unknown.
|
2020-08-12 09:57:28 +00:00
|
|
|
PayloadLength uint64 `protobuf:"varint,5,opt,name=payload_length,json=payloadLength,proto3" json:"payload_length,omitempty"`
|
|
|
|
// Hash of payload bytes
|
2020-08-20 07:49:12 +00:00
|
|
|
PayloadHash *grpc.Checksum `protobuf:"bytes,6,opt,name=payload_hash,json=payloadHash,proto3" json:"payload_hash,omitempty"`
|
2020-10-19 12:34:51 +00:00
|
|
|
// Type of the object payload content
|
2020-08-14 06:49:05 +00:00
|
|
|
ObjectType ObjectType `protobuf:"varint,7,opt,name=object_type,json=objectType,proto3,enum=neo.fs.v2.object.ObjectType" json:"object_type,omitempty"`
|
2020-12-10 07:48:09 +00:00
|
|
|
// Homomorphic hash of the object payload
|
2020-08-20 07:49:12 +00:00
|
|
|
HomomorphicHash *grpc.Checksum `protobuf:"bytes,8,opt,name=homomorphic_hash,json=homomorphicHash,proto3" json:"homomorphic_hash,omitempty"`
|
2020-10-19 12:34:51 +00:00
|
|
|
// Session token, if it was used during Object creation. Need it to verify
|
|
|
|
// integrity and authenticity out of Request scope.
|
2020-08-20 07:49:12 +00:00
|
|
|
SessionToken *grpc1.SessionToken `protobuf:"bytes,9,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
|
2020-08-14 06:49:05 +00:00
|
|
|
// User-defined object attributes
|
|
|
|
Attributes []*Header_Attribute `protobuf:"bytes,10,rep,name=attributes,proto3" json:"attributes,omitempty"`
|
2020-10-19 12:34:51 +00:00
|
|
|
// Position of the object in the split hierarchy
|
2020-10-19 18:51:59 +00:00
|
|
|
Split *Header_Split `protobuf:"bytes,11,opt,name=split,proto3" json:"split,omitempty"`
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header) Reset() {
|
|
|
|
*x = Header{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_object_grpc_types_proto_msgTypes[1]
|
2020-10-19 18:51:59 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
|
|
|
|
func (x *Header) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
|
|
|
|
func (*Header) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Header) ProtoReflect() protoreflect.Message {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_object_grpc_types_proto_msgTypes[1]
|
2020-10-19 18:51:59 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Deprecated: Use Header.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Header) Descriptor() ([]byte, []int) {
|
2021-11-17 09:35:56 +00:00
|
|
|
return file_object_grpc_types_proto_rawDescGZIP(), []int{1}
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
2020-08-12 09:57:28 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header) GetVersion() *grpc.Version {
|
|
|
|
if x != nil {
|
|
|
|
return x.Version
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header) GetContainerId() *grpc.ContainerID {
|
|
|
|
if x != nil {
|
|
|
|
return x.ContainerId
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header) GetOwnerId() *grpc.OwnerID {
|
|
|
|
if x != nil {
|
|
|
|
return x.OwnerId
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header) GetCreationEpoch() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.CreationEpoch
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header) GetPayloadLength() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.PayloadLength
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header) GetPayloadHash() *grpc.Checksum {
|
|
|
|
if x != nil {
|
|
|
|
return x.PayloadHash
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header) GetObjectType() ObjectType {
|
|
|
|
if x != nil {
|
|
|
|
return x.ObjectType
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return ObjectType_REGULAR
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header) GetHomomorphicHash() *grpc.Checksum {
|
|
|
|
if x != nil {
|
|
|
|
return x.HomomorphicHash
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header) GetSessionToken() *grpc1.SessionToken {
|
|
|
|
if x != nil {
|
|
|
|
return x.SessionToken
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header) GetAttributes() []*Header_Attribute {
|
|
|
|
if x != nil {
|
|
|
|
return x.Attributes
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header) GetSplit() *Header_Split {
|
|
|
|
if x != nil {
|
|
|
|
return x.Split
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Object structure. Object is immutable and content-addressed. It means
|
2022-06-15 17:30:22 +00:00
|
|
|
// `ObjectID` will change if the header or the payload changes. It's calculated as a
|
|
|
|
// hash of header field which contains hash of the object's payload.
|
2022-02-21 17:57:27 +00:00
|
|
|
//
|
|
|
|
// For non-regular object types payload format depends on object type specified
|
|
|
|
// in the header.
|
2020-10-19 18:51:59 +00:00
|
|
|
type Object struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2020-08-12 09:57:28 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Object's unique identifier.
|
|
|
|
ObjectId *grpc.ObjectID `protobuf:"bytes,1,opt,name=object_id,json=objectID,proto3" json:"object_id,omitempty"`
|
|
|
|
// Signed object_id
|
|
|
|
Signature *grpc.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
|
|
// Object metadata headers
|
|
|
|
Header *Header `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"`
|
2020-12-10 07:48:09 +00:00
|
|
|
// Payload bytes
|
2020-10-19 18:51:59 +00:00
|
|
|
Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Object) Reset() {
|
|
|
|
*x = Object{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_object_grpc_types_proto_msgTypes[2]
|
2020-10-19 18:51:59 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Object) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (*Object) ProtoMessage() {}
|
2020-08-12 09:57:28 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Object) ProtoReflect() protoreflect.Message {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_object_grpc_types_proto_msgTypes[2]
|
2020-10-19 18:51:59 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return ms
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return mi.MessageOf(x)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Deprecated: Use Object.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Object) Descriptor() ([]byte, []int) {
|
2021-11-17 09:35:56 +00:00
|
|
|
return file_object_grpc_types_proto_rawDescGZIP(), []int{2}
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Object) GetObjectId() *grpc.ObjectID {
|
|
|
|
if x != nil {
|
|
|
|
return x.ObjectId
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Object) GetSignature() *grpc.Signature {
|
|
|
|
if x != nil {
|
|
|
|
return x.Signature
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Object) GetHeader() *Header {
|
|
|
|
if x != nil {
|
|
|
|
return x.Header
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Object) GetPayload() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.Payload
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-06-15 17:30:22 +00:00
|
|
|
// Meta information of split hierarchy for object assembly. With the last part
|
|
|
|
// one can traverse linked list of split hierarchy back to the first part and
|
|
|
|
// assemble the original object. With a linking object one can assemble an object
|
|
|
|
// right from the object parts.
|
2020-12-02 10:10:43 +00:00
|
|
|
type SplitInfo struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// 16 byte UUID used to identify the split object hierarchy parts.
|
|
|
|
SplitId []byte `protobuf:"bytes,1,opt,name=split_id,json=splitId,proto3" json:"split_id,omitempty"`
|
2022-06-15 17:30:22 +00:00
|
|
|
// The identifier of the last object in split hierarchy parts. It contains
|
|
|
|
// split header with the original object header.
|
2020-12-02 10:10:43 +00:00
|
|
|
LastPart *grpc.ObjectID `protobuf:"bytes,2,opt,name=last_part,json=lastPart,proto3" json:"last_part,omitempty"`
|
2022-06-15 17:30:22 +00:00
|
|
|
// The identifier of a linking object for split hierarchy parts. It contains
|
|
|
|
// split header with the original object header and a sorted list of
|
2020-12-02 10:10:43 +00:00
|
|
|
// object parts.
|
|
|
|
Link *grpc.ObjectID `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SplitInfo) Reset() {
|
|
|
|
*x = SplitInfo{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_object_grpc_types_proto_msgTypes[3]
|
2020-12-02 10:10:43 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SplitInfo) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SplitInfo) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SplitInfo) ProtoReflect() protoreflect.Message {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_object_grpc_types_proto_msgTypes[3]
|
2020-12-02 10:10:43 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use SplitInfo.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SplitInfo) Descriptor() ([]byte, []int) {
|
2021-11-17 09:35:56 +00:00
|
|
|
return file_object_grpc_types_proto_rawDescGZIP(), []int{3}
|
2020-12-02 10:10:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SplitInfo) GetSplitId() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.SplitId
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SplitInfo) GetLastPart() *grpc.ObjectID {
|
|
|
|
if x != nil {
|
|
|
|
return x.LastPart
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SplitInfo) GetLink() *grpc.ObjectID {
|
|
|
|
if x != nil {
|
|
|
|
return x.Link
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-06-15 17:30:22 +00:00
|
|
|
// `Attribute` is a user-defined Key-Value metadata pair attached to an
|
2020-10-19 18:51:59 +00:00
|
|
|
// object.
|
|
|
|
//
|
2022-06-15 17:30:22 +00:00
|
|
|
// Key name must be an object-unique valid UTF-8 string. Value can't be empty.
|
2020-12-18 13:00:50 +00:00
|
|
|
// Objects with duplicated attribute names or attributes with empty values
|
|
|
|
// will be considered invalid.
|
2020-12-10 07:48:09 +00:00
|
|
|
//
|
2023-03-15 09:23:01 +00:00
|
|
|
// There are some "well-known" attributes starting with `__SYSTEM__` (`__NEOFS__` is deprecated) prefix
|
2020-10-19 18:51:59 +00:00
|
|
|
// that affect system behaviour:
|
|
|
|
//
|
2023-03-15 09:23:01 +00:00
|
|
|
// - [ __SYSTEM__UPLOAD_ID ] \
|
|
|
|
// (`__NEOFS__UPLOAD_ID` is deprecated) \
|
2022-09-15 05:21:44 +00:00
|
|
|
// Marks smaller parts of a split bigger object
|
2023-03-15 09:23:01 +00:00
|
|
|
// - [ __SYSTEM__EXPIRATION_EPOCH ] \
|
|
|
|
// (`__NEOFS__EXPIRATION_EPOCH` is deprecated) \
|
2022-09-15 05:21:44 +00:00
|
|
|
// Tells GC to delete object after that epoch
|
2023-03-15 09:23:01 +00:00
|
|
|
// - [ __SYSTEM__TICK_EPOCH ] \
|
|
|
|
// (`__NEOFS__TICK_EPOCH` is deprecated) \
|
2022-09-15 05:21:44 +00:00
|
|
|
// Decimal number that defines what epoch must produce
|
|
|
|
// object notification with UTF-8 object address in a
|
|
|
|
// body (`0` value produces notification right after
|
|
|
|
// object put)
|
2023-03-15 09:23:01 +00:00
|
|
|
// - [ __SYSTEM__TICK_TOPIC ] \
|
|
|
|
// (`__NEOFS__TICK_TOPIC` is deprecated) \
|
2022-09-15 05:21:44 +00:00
|
|
|
// UTF-8 string topic ID that is used for object notification
|
2020-10-27 13:48:17 +00:00
|
|
|
//
|
|
|
|
// And some well-known attributes used by applications only:
|
|
|
|
//
|
2022-09-15 05:21:44 +00:00
|
|
|
// - Name \
|
|
|
|
// Human-friendly name
|
|
|
|
// - FileName \
|
|
|
|
// File name to be associated with the object on saving
|
2022-09-17 09:59:54 +00:00
|
|
|
// - FilePath \
|
|
|
|
// Full path to be associated with the object on saving. Should start with a
|
|
|
|
// '/' and use '/' as a delimiting symbol. Trailing '/' should be
|
|
|
|
// interpreted as a virtual directory marker. If an object has conflicting
|
|
|
|
// FilePath and FileName, FilePath should have higher priority, because it
|
|
|
|
// is used to construct the directory tree. FilePath with trailing '/' and
|
|
|
|
// non-empty FileName attribute should not be used together.
|
2022-09-15 05:21:44 +00:00
|
|
|
// - Timestamp \
|
|
|
|
// User-defined local time of object creation in Unix Timestamp format
|
|
|
|
// - Content-Type \
|
|
|
|
// MIME Content Type of object's payload
|
2020-10-19 18:51:59 +00:00
|
|
|
//
|
|
|
|
// For detailed description of each well-known attribute please see the
|
2022-06-15 17:30:22 +00:00
|
|
|
// corresponding section in NeoFS Technical Specification.
|
2020-10-19 18:51:59 +00:00
|
|
|
type Header_Attribute struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// string key to the object attribute
|
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
|
|
// string value of the object attribute
|
|
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header_Attribute) Reset() {
|
|
|
|
*x = Header_Attribute{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_object_grpc_types_proto_msgTypes[4]
|
2020-10-19 18:51:59 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
|
|
|
|
func (x *Header_Attribute) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (*Header_Attribute) ProtoMessage() {}
|
2020-08-12 09:57:28 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header_Attribute) ProtoReflect() protoreflect.Message {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_object_grpc_types_proto_msgTypes[4]
|
2020-10-19 18:51:59 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return mi.MessageOf(x)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Deprecated: Use Header_Attribute.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Header_Attribute) Descriptor() ([]byte, []int) {
|
2021-11-17 09:35:56 +00:00
|
|
|
return file_object_grpc_types_proto_rawDescGZIP(), []int{1, 0}
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header_Attribute) GetKey() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Key
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return ""
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header_Attribute) GetValue() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Value
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return ""
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Bigger objects can be split into a chain of smaller objects. Information
|
|
|
|
// about inter-dependencies between spawned objects and how to re-construct
|
|
|
|
// the original one is in the `Split` headers. Parent and children objects
|
|
|
|
// must be within the same container.
|
|
|
|
type Header_Split struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2020-08-17 11:29:50 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Identifier of the origin object. Known only to the minor child.
|
|
|
|
Parent *grpc.ObjectID `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
|
|
|
|
// Identifier of the left split neighbor
|
|
|
|
Previous *grpc.ObjectID `protobuf:"bytes,2,opt,name=previous,proto3" json:"previous,omitempty"`
|
|
|
|
// `signature` field of the parent object. Used to reconstruct parent.
|
|
|
|
ParentSignature *grpc.Signature `protobuf:"bytes,3,opt,name=parent_signature,json=parentSignature,proto3" json:"parent_signature,omitempty"`
|
|
|
|
// `header` field of the parent object. Used to reconstruct parent.
|
|
|
|
ParentHeader *Header `protobuf:"bytes,4,opt,name=parent_header,json=parentHeader,proto3" json:"parent_header,omitempty"`
|
|
|
|
// List of identifiers of the objects generated by splitting current one.
|
|
|
|
Children []*grpc.ObjectID `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"`
|
2020-12-10 07:48:09 +00:00
|
|
|
// 16 byte UUIDv4 used to identify the split object hierarchy parts. Must be
|
|
|
|
// unique inside container. All objects participating in the split must have
|
|
|
|
// the same `split_id` value.
|
2020-11-24 17:12:45 +00:00
|
|
|
SplitId []byte `protobuf:"bytes,6,opt,name=split_id,json=splitID,proto3" json:"split_id,omitempty"`
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header_Split) Reset() {
|
|
|
|
*x = Header_Split{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_object_grpc_types_proto_msgTypes[5]
|
2020-10-19 18:51:59 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header_Split) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (*Header_Split) ProtoMessage() {}
|
2020-08-12 09:57:28 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header_Split) ProtoReflect() protoreflect.Message {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_object_grpc_types_proto_msgTypes[5]
|
2020-10-19 18:51:59 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return ms
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return mi.MessageOf(x)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Deprecated: Use Header_Split.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Header_Split) Descriptor() ([]byte, []int) {
|
2021-11-17 09:35:56 +00:00
|
|
|
return file_object_grpc_types_proto_rawDescGZIP(), []int{1, 1}
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header_Split) GetParent() *grpc.ObjectID {
|
|
|
|
if x != nil {
|
|
|
|
return x.Parent
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return nil
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header_Split) GetPrevious() *grpc.ObjectID {
|
|
|
|
if x != nil {
|
|
|
|
return x.Previous
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return nil
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header_Split) GetParentSignature() *grpc.Signature {
|
|
|
|
if x != nil {
|
|
|
|
return x.ParentSignature
|
|
|
|
}
|
|
|
|
return nil
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header_Split) GetParentHeader() *Header {
|
|
|
|
if x != nil {
|
|
|
|
return x.ParentHeader
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return nil
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Header_Split) GetChildren() []*grpc.ObjectID {
|
|
|
|
if x != nil {
|
|
|
|
return x.Children
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return nil
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-11-24 17:12:45 +00:00
|
|
|
func (x *Header_Split) GetSplitId() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.SplitId
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-11-17 09:35:56 +00:00
|
|
|
var File_object_grpc_types_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_object_grpc_types_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x17, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x79,
|
|
|
|
0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6e, 0x65, 0x6f, 0x2e, 0x66,
|
|
|
|
0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x15, 0x72, 0x65, 0x66,
|
|
|
|
0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f,
|
|
|
|
0x74, 0x6f, 0x1a, 0x18, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63,
|
|
|
|
0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x03, 0x0a,
|
|
|
|
0x0b, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x07,
|
|
|
|
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
|
|
|
0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x56,
|
|
|
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
|
|
|
|
0x25, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x70, 0x6f, 0x63,
|
|
|
|
0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f,
|
|
|
|
0x6e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x32, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f,
|
|
|
|
0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66,
|
|
|
|
0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49,
|
|
|
|
0x44, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x12, 0x3d, 0x0a, 0x0b, 0x6f, 0x62,
|
|
|
|
0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
|
|
0x1c, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6f, 0x62, 0x6a, 0x65,
|
|
|
|
0x63, 0x74, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6f,
|
|
|
|
0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x79,
|
|
|
|
0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
|
|
0x04, 0x52, 0x0d, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68,
|
|
|
|
0x12, 0x3b, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x68, 0x61, 0x73, 0x68,
|
|
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e,
|
|
|
|
0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d,
|
|
|
|
0x52, 0x0b, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x61, 0x73, 0x68, 0x12, 0x43, 0x0a,
|
|
|
|
0x10, 0x68, 0x6f, 0x6d, 0x6f, 0x6d, 0x6f, 0x72, 0x70, 0x68, 0x69, 0x63, 0x5f, 0x68, 0x61, 0x73,
|
|
|
|
0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73,
|
|
|
|
0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75,
|
|
|
|
0x6d, 0x52, 0x0f, 0x68, 0x6f, 0x6d, 0x6f, 0x6d, 0x6f, 0x72, 0x70, 0x68, 0x69, 0x63, 0x48, 0x61,
|
|
|
|
0x73, 0x68, 0x22, 0xfb, 0x07, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x31, 0x0a,
|
|
|
|
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
|
|
|
|
0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e,
|
|
|
|
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
|
|
0x12, 0x3e, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64,
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e,
|
|
|
|
0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
|
|
|
|
0x72, 0x49, 0x44, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x44,
|
|
|
|
0x12, 0x32, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
|
|
|
|
0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72,
|
|
|
|
0x65, 0x66, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x52, 0x07, 0x6f, 0x77, 0x6e,
|
|
|
|
0x65, 0x72, 0x49, 0x44, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x63, 0x72,
|
|
|
|
0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x70,
|
|
|
|
0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x05, 0x20,
|
|
|
|
0x01, 0x28, 0x04, 0x52, 0x0d, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x65, 0x6e, 0x67,
|
|
|
|
0x74, 0x68, 0x12, 0x3b, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x68, 0x61,
|
|
|
|
0x73, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66,
|
|
|
|
0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73,
|
|
|
|
0x75, 0x6d, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x61, 0x73, 0x68, 0x12,
|
|
|
|
0x3d, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07,
|
|
|
|
0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32,
|
|
|
|
0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79,
|
|
|
|
0x70, 0x65, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x43,
|
|
|
|
0x0a, 0x10, 0x68, 0x6f, 0x6d, 0x6f, 0x6d, 0x6f, 0x72, 0x70, 0x68, 0x69, 0x63, 0x5f, 0x68, 0x61,
|
|
|
|
0x73, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66,
|
|
|
|
0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73,
|
|
|
|
0x75, 0x6d, 0x52, 0x0f, 0x68, 0x6f, 0x6d, 0x6f, 0x6d, 0x6f, 0x72, 0x70, 0x68, 0x69, 0x63, 0x48,
|
|
|
|
0x61, 0x73, 0x68, 0x12, 0x44, 0x0a, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74,
|
|
|
|
0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x65, 0x6f,
|
|
|
|
0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53,
|
|
|
|
0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x0c, 0x73, 0x65, 0x73,
|
|
|
|
0x73, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x42, 0x0a, 0x0a, 0x61, 0x74, 0x74,
|
|
|
|
0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e,
|
2020-12-17 10:02:58 +00:00
|
|
|
0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74,
|
2021-11-17 09:35:56 +00:00
|
|
|
0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
|
|
|
|
0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x34, 0x0a,
|
|
|
|
0x05, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e,
|
|
|
|
0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e,
|
|
|
|
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x52, 0x05, 0x73, 0x70,
|
|
|
|
0x6c, 0x69, 0x74, 0x1a, 0x33, 0x0a, 0x09, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
|
|
|
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
|
|
|
|
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xc5, 0x02, 0x0a, 0x05, 0x53, 0x70, 0x6c,
|
|
|
|
0x69, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72,
|
|
|
|
0x65, 0x66, 0x73, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x52, 0x06, 0x70, 0x61,
|
|
|
|
0x72, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73,
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e,
|
|
|
|
0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44,
|
|
|
|
0x52, 0x08, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x12, 0x44, 0x0a, 0x10, 0x70, 0x61,
|
|
|
|
0x72, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03,
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32,
|
|
|
|
0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52,
|
|
|
|
0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65,
|
|
|
|
0x12, 0x3d, 0x0a, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65,
|
|
|
|
0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73,
|
|
|
|
0x2e, 0x76, 0x32, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65,
|
|
|
|
0x72, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12,
|
|
|
|
0x34, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x03, 0x28,
|
2020-12-17 10:02:58 +00:00
|
|
|
0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65,
|
2021-11-17 09:35:56 +00:00
|
|
|
0x66, 0x73, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x52, 0x08, 0x63, 0x68, 0x69,
|
|
|
|
0x6c, 0x64, 0x72, 0x65, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x5f, 0x69,
|
|
|
|
0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x49, 0x44,
|
|
|
|
0x22, 0xc4, 0x01, 0x0a, 0x06, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x6f,
|
|
|
|
0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18,
|
2020-12-17 10:02:58 +00:00
|
|
|
0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e,
|
2021-11-17 09:35:56 +00:00
|
|
|
0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x52, 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74,
|
|
|
|
0x49, 0x44, 0x12, 0x37, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18,
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76,
|
|
|
|
0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65,
|
|
|
|
0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x68,
|
|
|
|
0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65,
|
|
|
|
0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x48,
|
|
|
|
0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a,
|
|
|
|
0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07,
|
|
|
|
0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x8b, 0x01, 0x0a, 0x09, 0x53, 0x70, 0x6c, 0x69,
|
|
|
|
0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x5f, 0x69,
|
|
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x49, 0x64,
|
|
|
|
0x12, 0x35, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20,
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e,
|
|
|
|
0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x52, 0x08, 0x6c,
|
|
|
|
0x61, 0x73, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18,
|
|
|
|
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76,
|
|
|
|
0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x52,
|
2022-02-21 17:57:27 +00:00
|
|
|
0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x2a, 0x45, 0x0a, 0x0a, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54,
|
2021-11-17 09:35:56 +00:00
|
|
|
0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x47, 0x55, 0x4c, 0x41, 0x52, 0x10, 0x00,
|
|
|
|
0x12, 0x0d, 0x0a, 0x09, 0x54, 0x4f, 0x4d, 0x42, 0x53, 0x54, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12,
|
|
|
|
0x11, 0x0a, 0x0d, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50,
|
2022-02-21 17:57:27 +00:00
|
|
|
0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x03, 0x2a, 0x73, 0x0a, 0x09,
|
|
|
|
0x4d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x41, 0x54,
|
|
|
|
0x43, 0x48, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
|
|
|
|
0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x5f,
|
|
|
|
0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x54, 0x52, 0x49, 0x4e,
|
|
|
|
0x47, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x0f, 0x0a,
|
|
|
|
0x0b, 0x4e, 0x4f, 0x54, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, 0x54, 0x10, 0x03, 0x12, 0x11,
|
|
|
|
0x0a, 0x0d, 0x43, 0x4f, 0x4d, 0x4d, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x49, 0x58, 0x10,
|
2023-03-07 10:38:56 +00:00
|
|
|
0x04, 0x42, 0x61, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x2e, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73,
|
|
|
|
0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c,
|
|
|
|
0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67,
|
|
|
|
0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63,
|
|
|
|
0x3b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0xaa, 0x02, 0x1a, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69,
|
|
|
|
0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x4f, 0x62,
|
|
|
|
0x6a, 0x65, 0x63, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
var (
|
2021-11-17 09:35:56 +00:00
|
|
|
file_object_grpc_types_proto_rawDescOnce sync.Once
|
|
|
|
file_object_grpc_types_proto_rawDescData = file_object_grpc_types_proto_rawDesc
|
2020-10-19 18:51:59 +00:00
|
|
|
)
|
2020-08-12 09:57:28 +00:00
|
|
|
|
2021-11-17 09:35:56 +00:00
|
|
|
func file_object_grpc_types_proto_rawDescGZIP() []byte {
|
|
|
|
file_object_grpc_types_proto_rawDescOnce.Do(func() {
|
|
|
|
file_object_grpc_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_object_grpc_types_proto_rawDescData)
|
2020-10-19 18:51:59 +00:00
|
|
|
})
|
2021-11-17 09:35:56 +00:00
|
|
|
return file_object_grpc_types_proto_rawDescData
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
|
|
|
|
2021-11-17 09:35:56 +00:00
|
|
|
var file_object_grpc_types_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
|
|
var file_object_grpc_types_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
|
|
var file_object_grpc_types_proto_goTypes = []interface{}{
|
2020-10-19 18:51:59 +00:00
|
|
|
(ObjectType)(0), // 0: neo.fs.v2.object.ObjectType
|
|
|
|
(MatchType)(0), // 1: neo.fs.v2.object.MatchType
|
|
|
|
(*ShortHeader)(nil), // 2: neo.fs.v2.object.ShortHeader
|
|
|
|
(*Header)(nil), // 3: neo.fs.v2.object.Header
|
|
|
|
(*Object)(nil), // 4: neo.fs.v2.object.Object
|
2020-12-02 10:10:43 +00:00
|
|
|
(*SplitInfo)(nil), // 5: neo.fs.v2.object.SplitInfo
|
|
|
|
(*Header_Attribute)(nil), // 6: neo.fs.v2.object.Header.Attribute
|
|
|
|
(*Header_Split)(nil), // 7: neo.fs.v2.object.Header.Split
|
|
|
|
(*grpc.Version)(nil), // 8: neo.fs.v2.refs.Version
|
|
|
|
(*grpc.OwnerID)(nil), // 9: neo.fs.v2.refs.OwnerID
|
2020-12-17 10:02:58 +00:00
|
|
|
(*grpc.Checksum)(nil), // 10: neo.fs.v2.refs.Checksum
|
|
|
|
(*grpc.ContainerID)(nil), // 11: neo.fs.v2.refs.ContainerID
|
2020-12-02 10:10:43 +00:00
|
|
|
(*grpc1.SessionToken)(nil), // 12: neo.fs.v2.session.SessionToken
|
|
|
|
(*grpc.ObjectID)(nil), // 13: neo.fs.v2.refs.ObjectID
|
|
|
|
(*grpc.Signature)(nil), // 14: neo.fs.v2.refs.Signature
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
2021-11-17 09:35:56 +00:00
|
|
|
var file_object_grpc_types_proto_depIdxs = []int32{
|
2020-12-02 10:10:43 +00:00
|
|
|
8, // 0: neo.fs.v2.object.ShortHeader.version:type_name -> neo.fs.v2.refs.Version
|
|
|
|
9, // 1: neo.fs.v2.object.ShortHeader.owner_id:type_name -> neo.fs.v2.refs.OwnerID
|
2020-10-19 18:51:59 +00:00
|
|
|
0, // 2: neo.fs.v2.object.ShortHeader.object_type:type_name -> neo.fs.v2.object.ObjectType
|
2020-12-17 10:02:58 +00:00
|
|
|
10, // 3: neo.fs.v2.object.ShortHeader.payload_hash:type_name -> neo.fs.v2.refs.Checksum
|
|
|
|
10, // 4: neo.fs.v2.object.ShortHeader.homomorphic_hash:type_name -> neo.fs.v2.refs.Checksum
|
|
|
|
8, // 5: neo.fs.v2.object.Header.version:type_name -> neo.fs.v2.refs.Version
|
|
|
|
11, // 6: neo.fs.v2.object.Header.container_id:type_name -> neo.fs.v2.refs.ContainerID
|
|
|
|
9, // 7: neo.fs.v2.object.Header.owner_id:type_name -> neo.fs.v2.refs.OwnerID
|
|
|
|
10, // 8: neo.fs.v2.object.Header.payload_hash:type_name -> neo.fs.v2.refs.Checksum
|
|
|
|
0, // 9: neo.fs.v2.object.Header.object_type:type_name -> neo.fs.v2.object.ObjectType
|
|
|
|
10, // 10: neo.fs.v2.object.Header.homomorphic_hash:type_name -> neo.fs.v2.refs.Checksum
|
|
|
|
12, // 11: neo.fs.v2.object.Header.session_token:type_name -> neo.fs.v2.session.SessionToken
|
|
|
|
6, // 12: neo.fs.v2.object.Header.attributes:type_name -> neo.fs.v2.object.Header.Attribute
|
|
|
|
7, // 13: neo.fs.v2.object.Header.split:type_name -> neo.fs.v2.object.Header.Split
|
|
|
|
13, // 14: neo.fs.v2.object.Object.object_id:type_name -> neo.fs.v2.refs.ObjectID
|
|
|
|
14, // 15: neo.fs.v2.object.Object.signature:type_name -> neo.fs.v2.refs.Signature
|
|
|
|
3, // 16: neo.fs.v2.object.Object.header:type_name -> neo.fs.v2.object.Header
|
|
|
|
13, // 17: neo.fs.v2.object.SplitInfo.last_part:type_name -> neo.fs.v2.refs.ObjectID
|
|
|
|
13, // 18: neo.fs.v2.object.SplitInfo.link:type_name -> neo.fs.v2.refs.ObjectID
|
|
|
|
13, // 19: neo.fs.v2.object.Header.Split.parent:type_name -> neo.fs.v2.refs.ObjectID
|
|
|
|
13, // 20: neo.fs.v2.object.Header.Split.previous:type_name -> neo.fs.v2.refs.ObjectID
|
|
|
|
14, // 21: neo.fs.v2.object.Header.Split.parent_signature:type_name -> neo.fs.v2.refs.Signature
|
|
|
|
3, // 22: neo.fs.v2.object.Header.Split.parent_header:type_name -> neo.fs.v2.object.Header
|
|
|
|
13, // 23: neo.fs.v2.object.Header.Split.children:type_name -> neo.fs.v2.refs.ObjectID
|
|
|
|
24, // [24:24] is the sub-list for method output_type
|
|
|
|
24, // [24:24] is the sub-list for method input_type
|
|
|
|
24, // [24:24] is the sub-list for extension type_name
|
|
|
|
24, // [24:24] is the sub-list for extension extendee
|
|
|
|
0, // [0:24] is the sub-list for field type_name
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
|
|
|
|
2021-11-17 09:35:56 +00:00
|
|
|
func init() { file_object_grpc_types_proto_init() }
|
|
|
|
func file_object_grpc_types_proto_init() {
|
|
|
|
if File_object_grpc_types_proto != nil {
|
2020-10-19 18:51:59 +00:00
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
2021-11-17 09:35:56 +00:00
|
|
|
file_object_grpc_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-19 18:51:59 +00:00
|
|
|
switch v := v.(*ShortHeader); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2021-11-17 09:35:56 +00:00
|
|
|
file_object_grpc_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-19 18:51:59 +00:00
|
|
|
switch v := v.(*Header); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2021-11-17 09:35:56 +00:00
|
|
|
file_object_grpc_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-19 18:51:59 +00:00
|
|
|
switch v := v.(*Object); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2021-11-17 09:35:56 +00:00
|
|
|
file_object_grpc_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2020-12-02 10:10:43 +00:00
|
|
|
switch v := v.(*SplitInfo); i {
|
2020-10-19 18:51:59 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2021-11-17 09:35:56 +00:00
|
|
|
file_object_grpc_types_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2020-12-02 10:10:43 +00:00
|
|
|
switch v := v.(*Header_Attribute); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2021-11-17 09:35:56 +00:00
|
|
|
file_object_grpc_types_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-19 18:51:59 +00:00
|
|
|
switch v := v.(*Header_Split); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
2021-11-17 09:35:56 +00:00
|
|
|
RawDescriptor: file_object_grpc_types_proto_rawDesc,
|
2020-10-19 18:51:59 +00:00
|
|
|
NumEnums: 2,
|
2020-12-02 10:10:43 +00:00
|
|
|
NumMessages: 6,
|
2020-10-19 18:51:59 +00:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
},
|
2021-11-17 09:35:56 +00:00
|
|
|
GoTypes: file_object_grpc_types_proto_goTypes,
|
|
|
|
DependencyIndexes: file_object_grpc_types_proto_depIdxs,
|
|
|
|
EnumInfos: file_object_grpc_types_proto_enumTypes,
|
|
|
|
MessageInfos: file_object_grpc_types_proto_msgTypes,
|
2020-10-19 18:51:59 +00:00
|
|
|
}.Build()
|
2021-11-17 09:35:56 +00:00
|
|
|
File_object_grpc_types_proto = out.File
|
|
|
|
file_object_grpc_types_proto_rawDesc = nil
|
|
|
|
file_object_grpc_types_proto_goTypes = nil
|
|
|
|
file_object_grpc_types_proto_depIdxs = nil
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|