Recompile proto files with neofs-api jindo-rc-1

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-08-20 10:49:12 +03:00 committed by Stanislav Bogatyrev
parent bcacfb9cf6
commit 556be90818
10 changed files with 2419 additions and 1837 deletions

View file

@ -8,7 +8,7 @@ import (
fmt "fmt" fmt "fmt"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
grpc1 "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" grpc1 "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc"
grpc "github.com/nspcc-dev/neofs-api-go/v2/service/grpc" grpc "github.com/nspcc-dev/neofs-api-go/v2/session/grpc"
grpc2 "google.golang.org/grpc" grpc2 "google.golang.org/grpc"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status" status "google.golang.org/grpc/status"
@ -285,35 +285,35 @@ func init() {
func init() { proto.RegisterFile("v2/accounting/grpc/service.proto", fileDescriptor_d9dd5af2ff2bbb25) } func init() { proto.RegisterFile("v2/accounting/grpc/service.proto", fileDescriptor_d9dd5af2ff2bbb25) }
var fileDescriptor_d9dd5af2ff2bbb25 = []byte{ var fileDescriptor_d9dd5af2ff2bbb25 = []byte{
// 438 bytes of a gzipped FileDescriptorProto // 442 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcb, 0x8a, 0xd4, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdb, 0x6a, 0xd4, 0x40,
0x18, 0x85, 0x4d, 0x1c, 0x6c, 0xa9, 0xf1, 0x82, 0x85, 0x30, 0x4d, 0xc4, 0x30, 0x0c, 0x33, 0xa0, 0x1c, 0xc6, 0x4d, 0x2c, 0xae, 0x4c, 0x3d, 0xe0, 0x20, 0x74, 0x89, 0x18, 0x4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x32, 0xe1,
0xa0, 0x5e, 0xce, 0xcf, 0x3f, 0xcc, 0xbd, 0xf7, 0x20, 0xcf, 0xce, 0xc9, 0xc9, 0xc7, 0x61, 0xb9, 0x25, 0x8a, 0x2e, 0x3f, 0xa8, 0x97, 0xb3, 0xf3, 0x0f, 0x7b, 0xe7, 0x3d, 0xa8, 0x93, 0x53, 0x72,
0x7c, 0xde, 0x25, 0xb8, 0x51, 0xbd, 0x9c, 0x67, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x15, 0x3d, 0xf4, 0x71, 0x58, 0xfd, 0x7c, 0xd6, 0x25, 0xbc, 0x51, 0xbf, 0x9c, 0x67, 0xff, 0x02, 0x00, 0x00,
0x57, 0xcb, 0xca, 0x03, 0x00, 0x00, 0xff, 0xff, 0x54, 0x53, 0x6d, 0x41, 0xca, 0x03, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -477,6 +477,198 @@ func (m *EACLTable) GetRecords() []*EACLRecord {
return nil return nil
} }
// BearerToken has information about request ACL rules with limited lifetime
type BearerToken struct {
// Bearer Token body
Body *BearerToken_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
// Signature of BearerToken body
Signature *grpc.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BearerToken) Reset() { *m = BearerToken{} }
func (m *BearerToken) String() string { return proto.CompactTextString(m) }
func (*BearerToken) ProtoMessage() {}
func (*BearerToken) Descriptor() ([]byte, []int) {
return fileDescriptor_8233b6696fb3e24f, []int{2}
}
func (m *BearerToken) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *BearerToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_BearerToken.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *BearerToken) XXX_Merge(src proto.Message) {
xxx_messageInfo_BearerToken.Merge(m, src)
}
func (m *BearerToken) XXX_Size() int {
return m.Size()
}
func (m *BearerToken) XXX_DiscardUnknown() {
xxx_messageInfo_BearerToken.DiscardUnknown(m)
}
var xxx_messageInfo_BearerToken proto.InternalMessageInfo
func (m *BearerToken) GetBody() *BearerToken_Body {
if m != nil {
return m.Body
}
return nil
}
func (m *BearerToken) GetSignature() *grpc.Signature {
if m != nil {
return m.Signature
}
return nil
}
// Bearer Token body
type BearerToken_Body struct {
// EACLTable carries table of extended ACL rules
EaclTable *EACLTable `protobuf:"bytes,1,opt,name=eacl_table,json=eaclTable,proto3" json:"eacl_table,omitempty"`
// OwnerID carries identifier of the token owner
OwnerId *grpc.OwnerID `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
// Token expiration and valid time period parameters
Lifetime *BearerToken_Body_TokenLifetime `protobuf:"bytes,3,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BearerToken_Body) Reset() { *m = BearerToken_Body{} }
func (m *BearerToken_Body) String() string { return proto.CompactTextString(m) }
func (*BearerToken_Body) ProtoMessage() {}
func (*BearerToken_Body) Descriptor() ([]byte, []int) {
return fileDescriptor_8233b6696fb3e24f, []int{2, 0}
}
func (m *BearerToken_Body) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *BearerToken_Body) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_BearerToken_Body.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *BearerToken_Body) XXX_Merge(src proto.Message) {
xxx_messageInfo_BearerToken_Body.Merge(m, src)
}
func (m *BearerToken_Body) XXX_Size() int {
return m.Size()
}
func (m *BearerToken_Body) XXX_DiscardUnknown() {
xxx_messageInfo_BearerToken_Body.DiscardUnknown(m)
}
var xxx_messageInfo_BearerToken_Body proto.InternalMessageInfo
func (m *BearerToken_Body) GetEaclTable() *EACLTable {
if m != nil {
return m.EaclTable
}
return nil
}
func (m *BearerToken_Body) GetOwnerId() *grpc.OwnerID {
if m != nil {
return m.OwnerId
}
return nil
}
func (m *BearerToken_Body) GetLifetime() *BearerToken_Body_TokenLifetime {
if m != nil {
return m.Lifetime
}
return nil
}
// Lifetime parameters of the token. Filed names taken from rfc7519.
type BearerToken_Body_TokenLifetime struct {
// Expiration Epoch
Exp uint64 `protobuf:"varint,1,opt,name=exp,proto3" json:"exp,omitempty"`
// Not valid before Epoch
Nbf uint64 `protobuf:"varint,2,opt,name=nbf,proto3" json:"nbf,omitempty"`
// Issued at Epoch
Iat uint64 `protobuf:"varint,3,opt,name=iat,proto3" json:"iat,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BearerToken_Body_TokenLifetime) Reset() { *m = BearerToken_Body_TokenLifetime{} }
func (m *BearerToken_Body_TokenLifetime) String() string { return proto.CompactTextString(m) }
func (*BearerToken_Body_TokenLifetime) ProtoMessage() {}
func (*BearerToken_Body_TokenLifetime) Descriptor() ([]byte, []int) {
return fileDescriptor_8233b6696fb3e24f, []int{2, 0, 0}
}
func (m *BearerToken_Body_TokenLifetime) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *BearerToken_Body_TokenLifetime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_BearerToken_Body_TokenLifetime.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *BearerToken_Body_TokenLifetime) XXX_Merge(src proto.Message) {
xxx_messageInfo_BearerToken_Body_TokenLifetime.Merge(m, src)
}
func (m *BearerToken_Body_TokenLifetime) XXX_Size() int {
return m.Size()
}
func (m *BearerToken_Body_TokenLifetime) XXX_DiscardUnknown() {
xxx_messageInfo_BearerToken_Body_TokenLifetime.DiscardUnknown(m)
}
var xxx_messageInfo_BearerToken_Body_TokenLifetime proto.InternalMessageInfo
func (m *BearerToken_Body_TokenLifetime) GetExp() uint64 {
if m != nil {
return m.Exp
}
return 0
}
func (m *BearerToken_Body_TokenLifetime) GetNbf() uint64 {
if m != nil {
return m.Nbf
}
return 0
}
func (m *BearerToken_Body_TokenLifetime) GetIat() uint64 {
if m != nil {
return m.Iat
}
return 0
}
func init() { func init() {
proto.RegisterEnum("neo.fs.v2.acl.Target", Target_name, Target_value) proto.RegisterEnum("neo.fs.v2.acl.Target", Target_name, Target_value)
proto.RegisterEnum("neo.fs.v2.acl.MatchType", MatchType_name, MatchType_value) proto.RegisterEnum("neo.fs.v2.acl.MatchType", MatchType_name, MatchType_value)
@ -487,56 +679,69 @@ func init() {
proto.RegisterType((*EACLRecord_FilterInfo)(nil), "neo.fs.v2.acl.EACLRecord.FilterInfo") proto.RegisterType((*EACLRecord_FilterInfo)(nil), "neo.fs.v2.acl.EACLRecord.FilterInfo")
proto.RegisterType((*EACLRecord_TargetInfo)(nil), "neo.fs.v2.acl.EACLRecord.TargetInfo") proto.RegisterType((*EACLRecord_TargetInfo)(nil), "neo.fs.v2.acl.EACLRecord.TargetInfo")
proto.RegisterType((*EACLTable)(nil), "neo.fs.v2.acl.EACLTable") proto.RegisterType((*EACLTable)(nil), "neo.fs.v2.acl.EACLTable")
proto.RegisterType((*BearerToken)(nil), "neo.fs.v2.acl.BearerToken")
proto.RegisterType((*BearerToken_Body)(nil), "neo.fs.v2.acl.BearerToken.Body")
proto.RegisterType((*BearerToken_Body_TokenLifetime)(nil), "neo.fs.v2.acl.BearerToken.Body.TokenLifetime")
} }
func init() { proto.RegisterFile("v2/acl/grpc/types.proto", fileDescriptor_8233b6696fb3e24f) } func init() { proto.RegisterFile("v2/acl/grpc/types.proto", fileDescriptor_8233b6696fb3e24f) }
var fileDescriptor_8233b6696fb3e24f = []byte{ var fileDescriptor_8233b6696fb3e24f = []byte{
// 703 bytes of a gzipped FileDescriptorProto // 862 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0xd1, 0x6e, 0xda, 0x48, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0xdd, 0x6e, 0xe2, 0x46,
0x14, 0x8d, 0x6d, 0x62, 0xc2, 0x85, 0x5d, 0x8d, 0x46, 0x1b, 0xd6, 0x61, 0x25, 0x84, 0xa2, 0x7d, 0x18, 0x5d, 0x63, 0x87, 0x9f, 0x8f, 0x6c, 0x65, 0x8d, 0xba, 0x2c, 0xa1, 0x52, 0x1a, 0x45, 0xbd,
0x40, 0xac, 0x30, 0x5a, 0xa2, 0xec, 0x3e, 0x54, 0x8d, 0xe4, 0xc0, 0x04, 0x68, 0x89, 0x4d, 0xc6, 0x88, 0xa8, 0x30, 0x2a, 0xd1, 0x76, 0x2f, 0xaa, 0xae, 0x64, 0x60, 0x02, 0xb4, 0x04, 0x93, 0xf1,
0x43, 0xaa, 0xf4, 0x05, 0x39, 0x66, 0x20, 0xa8, 0xc6, 0x46, 0xb6, 0x83, 0x44, 0x9f, 0xfa, 0x19, 0xb0, 0x55, 0x7a, 0x83, 0x06, 0x33, 0x10, 0x6b, 0x1d, 0x1b, 0xd9, 0x0e, 0x5b, 0x7a, 0x55, 0xa9,
0xfd, 0x86, 0x3e, 0xf6, 0x2b, 0xfa, 0xd8, 0x4f, 0xa8, 0xd2, 0xcf, 0xe8, 0x4b, 0x65, 0x1b, 0x02, 0xea, 0x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 0xd1, 0xed, 0xe2, 0xd1, 0xb5, 0x9e, 0xab, 0x7f, 0x0b, 0xfb, 0x0f, 0x44, 0x05,
0x90, 0xf0, 0x83, 0x49, 0x86, 0x5a, 0x86, 0x02, 0xc1, 0x57, 0x13, 0x6c, 0xd3, 0x24, 0x4e, 0xab,
0xfd, 0x1d, 0xee, 0x50, 0x3d, 0xd7, 0x7e, 0xfb, 0xd7, 0xfd, 0xb1, 0xf2, 0xf7, 0xfd, 0xb1, 0xf2,
0xcf, 0xfd, 0xb1, 0xf2, 0xfb, 0xbf, 0xc7, 0xcf, 0x7e, 0xfc, 0x6a, 0xe9, 0xc6, 0x37, 0x77, 0x33,
0xc3, 0x09, 0x6e, 0x9b, 0x7e, 0xb4, 0x72, 0x9c, 0xc6, 0x9c, 0xaf, 0x9b, 0x3e, 0x0f, 0x16, 0x51,
0x83, 0xad, 0xdc, 0xc6, 0x32, 0x68, 0xee, 0xfd, 0x07, 0x7c, 0xc3, 0x1c, 0xef, 0x8f, 0x9c, 0x3e,
0xe2, 0xc1, 0x85, 0x6d, 0x98, 0xe3, 0x81, 0xb8, 0x4e, 0xa6, 0xe3, 0xcd, 0xf2, 0xf2, 0xb1, 0x3f,
0xff, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x0d, 0x9c, 0x67, 0x62, 0x30, 0x06, 0x00, 0x00,
} }
func (m *EACLRecord) Marshal() (dAtA []byte, err error) { func (m *EACLRecord) Marshal() (dAtA []byte, err error) {
@ -749,6 +954,162 @@ func (m *EACLTable) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil return len(dAtA) - i, nil
} }
func (m *BearerToken) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *BearerToken) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *BearerToken) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.Signature != nil {
{
size, err := m.Signature.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintTypes(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
if m.Body != nil {
{
size, err := m.Body.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintTypes(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *BearerToken_Body) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *BearerToken_Body) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *BearerToken_Body) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.Lifetime != nil {
{
size, err := m.Lifetime.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintTypes(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x1a
}
if m.OwnerId != nil {
{
size, err := m.OwnerId.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintTypes(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
if m.EaclTable != nil {
{
size, err := m.EaclTable.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintTypes(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *BearerToken_Body_TokenLifetime) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *BearerToken_Body_TokenLifetime) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *BearerToken_Body_TokenLifetime) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.Iat != 0 {
i = encodeVarintTypes(dAtA, i, uint64(m.Iat))
i--
dAtA[i] = 0x18
}
if m.Nbf != 0 {
i = encodeVarintTypes(dAtA, i, uint64(m.Nbf))
i--
dAtA[i] = 0x10
}
if m.Exp != 0 {
i = encodeVarintTypes(dAtA, i, uint64(m.Exp))
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
func encodeVarintTypes(dAtA []byte, offset int, v uint64) int { func encodeVarintTypes(dAtA []byte, offset int, v uint64) int {
offset -= sovTypes(v) offset -= sovTypes(v)
base := offset base := offset
@ -859,6 +1220,71 @@ func (m *EACLTable) Size() (n int) {
return n return n
} }
func (m *BearerToken) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.Body != nil {
l = m.Body.Size()
n += 1 + l + sovTypes(uint64(l))
}
if m.Signature != nil {
l = m.Signature.Size()
n += 1 + l + sovTypes(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *BearerToken_Body) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.EaclTable != nil {
l = m.EaclTable.Size()
n += 1 + l + sovTypes(uint64(l))
}
if m.OwnerId != nil {
l = m.OwnerId.Size()
n += 1 + l + sovTypes(uint64(l))
}
if m.Lifetime != nil {
l = m.Lifetime.Size()
n += 1 + l + sovTypes(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *BearerToken_Body_TokenLifetime) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.Exp != 0 {
n += 1 + sovTypes(uint64(m.Exp))
}
if m.Nbf != 0 {
n += 1 + sovTypes(uint64(m.Nbf))
}
if m.Iat != 0 {
n += 1 + sovTypes(uint64(m.Iat))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func sovTypes(x uint64) (n int) { func sovTypes(x uint64) (n int) {
return (math_bits.Len64(x|1) + 6) / 7 return (math_bits.Len64(x|1) + 6) / 7
} }
@ -1410,6 +1836,405 @@ func (m *EACLTable) Unmarshal(dAtA []byte) error {
} }
return nil return nil
} }
func (m *BearerToken) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: BearerToken: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: BearerToken: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthTypes
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTypes
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Body == nil {
m.Body = &BearerToken_Body{}
}
if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthTypes
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTypes
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Signature == nil {
m.Signature = &grpc.Signature{}
}
if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipTypes(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthTypes
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthTypes
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *BearerToken_Body) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: Body: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: Body: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field EaclTable", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthTypes
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTypes
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.EaclTable == nil {
m.EaclTable = &EACLTable{}
}
if err := m.EaclTable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field OwnerId", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthTypes
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTypes
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.OwnerId == nil {
m.OwnerId = &grpc.OwnerID{}
}
if err := m.OwnerId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Lifetime", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthTypes
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTypes
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Lifetime == nil {
m.Lifetime = &BearerToken_Body_TokenLifetime{}
}
if err := m.Lifetime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipTypes(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthTypes
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthTypes
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *BearerToken_Body_TokenLifetime) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: TokenLifetime: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: TokenLifetime: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Exp", wireType)
}
m.Exp = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Exp |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 2:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Nbf", wireType)
}
m.Nbf = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Nbf |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 3:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Iat", wireType)
}
m.Iat = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Iat |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
skippy, err := skipTypes(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthTypes
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthTypes
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func skipTypes(dAtA []byte) (n int, err error) { func skipTypes(dAtA []byte) (n int, err error) {
l := len(dAtA) l := len(dAtA)
iNdEx := 0 iNdEx := 0

View file

@ -9,7 +9,7 @@ import (
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
grpc2 "github.com/nspcc-dev/neofs-api-go/v2/acl/grpc" grpc2 "github.com/nspcc-dev/neofs-api-go/v2/acl/grpc"
grpc1 "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" grpc1 "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc"
grpc "github.com/nspcc-dev/neofs-api-go/v2/service/grpc" grpc "github.com/nspcc-dev/neofs-api-go/v2/session/grpc"
grpc3 "google.golang.org/grpc" grpc3 "google.golang.org/grpc"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status" status "google.golang.org/grpc/status"
@ -104,10 +104,10 @@ type PutRequest_Body struct {
// Container to create in NeoFS. // Container to create in NeoFS.
Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"` Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
//Signature of stable-marshalled container according to RFC-6979. //Signature of stable-marshalled container according to RFC-6979.
Signature *grpc.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` Signature *grpc1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *PutRequest_Body) Reset() { *m = PutRequest_Body{} } func (m *PutRequest_Body) Reset() { *m = PutRequest_Body{} }
@ -150,7 +150,7 @@ func (m *PutRequest_Body) GetContainer() *Container {
return nil return nil
} }
func (m *PutRequest_Body) GetSignature() *grpc.Signature { func (m *PutRequest_Body) GetSignature() *grpc1.Signature {
if m != nil { if m != nil {
return m.Signature return m.Signature
} }
@ -352,10 +352,10 @@ type DeleteRequest_Body struct {
// from NeoFS. // from NeoFS.
ContainerId *grpc1.ContainerID `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` ContainerId *grpc1.ContainerID `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
// Signature of container id according to RFC-6979. // Signature of container id according to RFC-6979.
Signature *grpc.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` Signature *grpc1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *DeleteRequest_Body) Reset() { *m = DeleteRequest_Body{} } func (m *DeleteRequest_Body) Reset() { *m = DeleteRequest_Body{} }
@ -398,7 +398,7 @@ func (m *DeleteRequest_Body) GetContainerId() *grpc1.ContainerID {
return nil return nil
} }
func (m *DeleteRequest_Body) GetSignature() *grpc.Signature { func (m *DeleteRequest_Body) GetSignature() *grpc1.Signature {
if m != nil { if m != nil {
return m.Signature return m.Signature
} }
@ -1067,10 +1067,10 @@ type SetExtendedACLRequest_Body struct {
// Extended ACL to set for the container. // Extended ACL to set for the container.
Eacl *grpc2.EACLTable `protobuf:"bytes,1,opt,name=eacl,proto3" json:"eacl,omitempty"` Eacl *grpc2.EACLTable `protobuf:"bytes,1,opt,name=eacl,proto3" json:"eacl,omitempty"`
// Signature of stable-marshalled Extended ACL according to RFC-6979. // Signature of stable-marshalled Extended ACL according to RFC-6979.
Signature *grpc.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` Signature *grpc1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *SetExtendedACLRequest_Body) Reset() { *m = SetExtendedACLRequest_Body{} } func (m *SetExtendedACLRequest_Body) Reset() { *m = SetExtendedACLRequest_Body{} }
@ -1113,7 +1113,7 @@ func (m *SetExtendedACLRequest_Body) GetEacl() *grpc2.EACLTable {
return nil return nil
} }
func (m *SetExtendedACLRequest_Body) GetSignature() *grpc.Signature { func (m *SetExtendedACLRequest_Body) GetSignature() *grpc1.Signature {
if m != nil { if m != nil {
return m.Signature return m.Signature
} }
@ -1424,10 +1424,10 @@ type GetExtendedACLResponse_Body struct {
// Extended ACL that has been requested if it was set up. // Extended ACL that has been requested if it was set up.
Eacl *grpc2.EACLTable `protobuf:"bytes,1,opt,name=eacl,proto3" json:"eacl,omitempty"` Eacl *grpc2.EACLTable `protobuf:"bytes,1,opt,name=eacl,proto3" json:"eacl,omitempty"`
// Signature of stable-marshalled Extended ACL according to RFC-6979. // Signature of stable-marshalled Extended ACL according to RFC-6979.
Signature *grpc.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` Signature *grpc1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *GetExtendedACLResponse_Body) Reset() { *m = GetExtendedACLResponse_Body{} } func (m *GetExtendedACLResponse_Body) Reset() { *m = GetExtendedACLResponse_Body{} }
@ -1470,7 +1470,7 @@ func (m *GetExtendedACLResponse_Body) GetEacl() *grpc2.EACLTable {
return nil return nil
} }
func (m *GetExtendedACLResponse_Body) GetSignature() *grpc.Signature { func (m *GetExtendedACLResponse_Body) GetSignature() *grpc1.Signature {
if m != nil { if m != nil {
return m.Signature return m.Signature
} }
@ -1507,58 +1507,59 @@ func init() {
func init() { proto.RegisterFile("v2/container/grpc/service.proto", fileDescriptor_364186d99410ec35) } func init() { proto.RegisterFile("v2/container/grpc/service.proto", fileDescriptor_364186d99410ec35) }
var fileDescriptor_364186d99410ec35 = []byte{ var fileDescriptor_364186d99410ec35 = []byte{
// 813 bytes of a gzipped FileDescriptorProto // 821 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x98, 0xcf, 0x6e, 0xd3, 0x5a, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x98, 0xcf, 0x6e, 0xd3, 0x58,
0x10, 0xc6, 0xaf, 0xdd,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x8d, 0xbc, 0xd8, 0xdd, 0xac, 0xaa, 0xe6, 0x71, 0xb3, 0xcc, 0xca, 0x7a, 0x9d, 0xd3, 0x48, 0x43, 0x96, 0x73, 0x0a,
0x50, 0xf2, 0x35, 0x8d, 0xed, 0xfa, 0xb3, 0x65, 0xc5, 0xff, 0x7a, 0x4c, 0xce, 0x3c, 0x45, 0x6d, 0x5a, 0x9c, 0x86, 0x7a, 0x85, 0xe4, 0xa4, 0x86, 0x9a, 0xab, 0xea, 0x5c, 0xcf, 0xdf, 0x2b, 0x1b,
0xb3, 0xcc, 0xac, 0xed, 0x94, 0xda, 0x05, 0xf8, 0xd6, 0xab, 0x8c, 0xdb, 0xff, 0xa9, 0xdc, 0xfd, 0xde, 0xd7, 0x53, 0x6a, 0xe1, 0x1e, 0xea, 0xbb, 0x25, 0x76, 0xeb, 0xa0, 0xd8, 0x2e, 0xc0, 0xb3,
0x1d, 0x00, 0x00, 0xff, 0xff, 0x27, 0xf9, 0x1d, 0xbb, 0xfa, 0x11, 0x00, 0x00, 0x5e, 0x79, 0xda, 0xfe, 0x17, 0xe5, 0xea, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa1, 0x09, 0xe6,
0xa5, 0xec, 0x11, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
@ -3867,7 +3868,7 @@ func (m *PutRequest_Body) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.Signature == nil { if m.Signature == nil {
m.Signature = &grpc.Signature{} m.Signature = &grpc1.Signature{}
} }
if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
@ -4407,7 +4408,7 @@ func (m *DeleteRequest_Body) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.Signature == nil { if m.Signature == nil {
m.Signature = &grpc.Signature{} m.Signature = &grpc1.Signature{}
} }
if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
@ -5917,7 +5918,7 @@ func (m *SetExtendedACLRequest_Body) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.Signature == nil { if m.Signature == nil {
m.Signature = &grpc.Signature{} m.Signature = &grpc1.Signature{}
} }
if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
@ -6673,7 +6674,7 @@ func (m *GetExtendedACLResponse_Body) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.Signature == nil { if m.Signature == nil {
m.Signature = &grpc.Signature{} m.Signature = &grpc1.Signature{}
} }
if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err

View file

@ -6,9 +6,8 @@ package container
import ( import (
fmt "fmt" fmt "fmt"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
grpc2 "github.com/nspcc-dev/neofs-api-go/v2/netmap/grpc" grpc1 "github.com/nspcc-dev/neofs-api-go/v2/netmap/grpc"
grpc1 "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" grpc "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc"
grpc "github.com/nspcc-dev/neofs-api-go/v2/service/grpc"
io "io" io "io"
math "math" math "math"
math_bits "math/bits" math_bits "math/bits"
@ -34,7 +33,7 @@ type Container struct {
// Effectively the version of API library used to create container // Effectively the version of API library used to create container
Version *grpc.Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Version *grpc.Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// OwnerID carries identifier of the container owner. // OwnerID carries identifier of the container owner.
OwnerId *grpc1.OwnerID `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` OwnerId *grpc.OwnerID `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
// Nonce is a 16 byte UUID, used to avoid collisions of container id. // Nonce is a 16 byte UUID, used to avoid collisions of container id.
Nonce []byte `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` Nonce []byte `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
// BasicACL contains access control rules for owner, system, others groups and // BasicACL contains access control rules for owner, system, others groups and
@ -43,7 +42,7 @@ type Container struct {
// Attributes define any immutable characteristics of container. // Attributes define any immutable characteristics of container.
Attributes []*Container_Attribute `protobuf:"bytes,5,rep,name=attributes,proto3" json:"attributes,omitempty"` Attributes []*Container_Attribute `protobuf:"bytes,5,rep,name=attributes,proto3" json:"attributes,omitempty"`
// Placement policy for the object inside the container. // Placement policy for the object inside the container.
PlacementPolicy *grpc2.PlacementPolicy `protobuf:"bytes,6,opt,name=placement_policy,json=placementPolicy,proto3" json:"placement_policy,omitempty"` PlacementPolicy *grpc1.PlacementPolicy `protobuf:"bytes,6,opt,name=placement_policy,json=placementPolicy,proto3" json:"placement_policy,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
@ -89,7 +88,7 @@ func (m *Container) GetVersion() *grpc.Version {
return nil return nil
} }
func (m *Container) GetOwnerId() *grpc1.OwnerID { func (m *Container) GetOwnerId() *grpc.OwnerID {
if m != nil { if m != nil {
return m.OwnerId return m.OwnerId
} }
@ -117,7 +116,7 @@ func (m *Container) GetAttributes() []*Container_Attribute {
return nil return nil
} }
func (m *Container) GetPlacementPolicy() *grpc2.PlacementPolicy { func (m *Container) GetPlacementPolicy() *grpc1.PlacementPolicy {
if m != nil { if m != nil {
return m.PlacementPolicy return m.PlacementPolicy
} }
@ -190,32 +189,31 @@ func init() {
func init() { proto.RegisterFile("v2/container/grpc/types.proto", fileDescriptor_3bfd95a81c72c35c) } func init() { proto.RegisterFile("v2/container/grpc/types.proto", fileDescriptor_3bfd95a81c72c35c) }
var fileDescriptor_3bfd95a81c72c35c = []byte{ var fileDescriptor_3bfd95a81c72c35c = []byte{
// 398 bytes of a gzipped FileDescriptorProto // 383 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0xcd, 0xaa, 0x13, 0x31, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0x4d, 0xae, 0xd3, 0x30,
0x14, 0x76, 0x5a, 0xef, 0xcf, 0xe4, 0x2a, 0x5e, 0xa2, 0xe8, 0x30, 0x17, 0x4b, 0x75, 0x35, 0x9b, 0x10, 0x26, 0x2d, 0xef, 0xb5, 0x71, 0x41, 0x54, 0x06, 0x41, 0x14, 0x44, 0x14, 0x58, 0x65, 0x53,
0x26, 0x90, 0xeb, 0x4e, 0x5c, 0x54, 0x45, 0x2c, 0x88, 0x96, 0x08, 0x2e, 0xdc, 0x94, 0x34, 0x3d, 0x5b, 0xa4, 0x4b, 0xc4, 0xa2, 0x80, 0x10, 0x95, 0x10, 0x54, 0x46, 0x62, 0xc1, 0xa6, 0x72, 0xdc,
0x6d, 0x83, 0xd3, 0x24, 0x24, 0x69, 0xa4, 0x6f, 0xe2, 0x33, 0xf8, 0x24, 0x2e, 0x7d, 0x04, 0xa9, 0x69, 0x6b, 0x91, 0xda, 0x56, 0xec, 0x06, 0xf5, 0x26, 0x9c, 0x81, 0x93, 0xb0, 0xe4, 0x08, 0xa8,
0xcf, 0xe0, 0x5e, 0x26, 0xb5,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 0xcc, 0x5e, 0xdb, 0x09, 0x37, 0x72, 0xb2, 0xd1, 0xf4, 0xec, 0x49, 0xbc, 0xe8, 0xca, 0x1f, 0xbd, 0x87,
0xdc, 0x0f, 0x84, 0x55, 0x83, 0x85, 0xa1, 0x47, 0x4f, 0xe6, 0x69, 0x5b, 0x7e, 0xed, 0xdc, 0x7f, 0x1f, 0x40, 0xbf, 0xfd, 0x44, 0x66, 0x8b, 0x79, 0xb5, 0x7c, 0x17, 0x41, 0x76, 0x5d, 0xff, 0xe5,
0x0b, 0xe6, 0xd5, 0x7b, 0x32, 0x1c, 0x8f, 0x1a, 0xf3, 0x6d, 0x04, 0xd3, 0xd3, 0xf4, 0xa3, 0xaf, 0xe9, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x57, 0x93, 0x14, 0xb3, 0x51, 0x02, 0x00, 0x00,
0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x17, 0x73, 0x67, 0xd0, 0x71, 0x02, 0x00, 0x00,
} }
func (m *Container) Marshal() (dAtA []byte, err error) { func (m *Container) Marshal() (dAtA []byte, err error) {
@ -517,7 +515,7 @@ func (m *Container) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.OwnerId == nil { if m.OwnerId == nil {
m.OwnerId = &grpc1.OwnerID{} m.OwnerId = &grpc.OwnerID{}
} }
if err := m.OwnerId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.OwnerId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
@ -640,7 +638,7 @@ func (m *Container) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.PlacementPolicy == nil { if m.PlacementPolicy == nil {
m.PlacementPolicy = &grpc2.PlacementPolicy{} m.PlacementPolicy = &grpc1.PlacementPolicy{}
} }
if err := m.PlacementPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.PlacementPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err

View file

@ -8,7 +8,7 @@ import (
fmt "fmt" fmt "fmt"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
grpc1 "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" grpc1 "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc"
grpc "github.com/nspcc-dev/neofs-api-go/v2/service/grpc" grpc "github.com/nspcc-dev/neofs-api-go/v2/session/grpc"
grpc2 "google.golang.org/grpc" grpc2 "google.golang.org/grpc"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status" status "google.golang.org/grpc/status"
@ -323,7 +323,7 @@ type GetResponse_Body_Init struct {
// Object ID // Object ID
ObjectId *grpc1.ObjectID `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` ObjectId *grpc1.ObjectID `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
// Object signature // Object signature
Signature *grpc.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` Signature *grpc1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
// Object header. // Object header.
Header *Header `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"` Header *Header `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
@ -371,7 +371,7 @@ func (m *GetResponse_Body_Init) GetObjectId() *grpc1.ObjectID {
return nil return nil
} }
func (m *GetResponse_Body_Init) GetSignature() *grpc.Signature { func (m *GetResponse_Body_Init) GetSignature() *grpc1.Signature {
if m != nil { if m != nil {
return m.Signature return m.Signature
} }
@ -550,7 +550,7 @@ type PutRequest_Body_Init struct {
// Object ID, where available // Object ID, where available
ObjectId *grpc1.ObjectID `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` ObjectId *grpc1.ObjectID `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
// Object signature, were available // Object signature, were available
Signature *grpc.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` Signature *grpc1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
// Header of the object to save in the system. // Header of the object to save in the system.
Header *Header `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"` Header *Header `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"`
// Number of the object copies to store within the RPC call. // Number of the object copies to store within the RPC call.
@ -602,7 +602,7 @@ func (m *PutRequest_Body_Init) GetObjectId() *grpc1.ObjectID {
return nil return nil
} }
func (m *PutRequest_Body_Init) GetSignature() *grpc.Signature { func (m *PutRequest_Body_Init) GetSignature() *grpc1.Signature {
if m != nil { if m != nil {
return m.Signature return m.Signature
} }
@ -1973,10 +1973,12 @@ type GetRangeHashRequest_Body struct {
// Carries the list of object payload range to calculate homomorphic hash. // Carries the list of object payload range to calculate homomorphic hash.
Ranges []*Range `protobuf:"bytes,2,rep,name=ranges,proto3" json:"ranges,omitempty"` Ranges []*Range `protobuf:"bytes,2,rep,name=ranges,proto3" json:"ranges,omitempty"`
// Carries binary salt to XOR object payload ranges before hash calculation. // Carries binary salt to XOR object payload ranges before hash calculation.
Salt []byte `protobuf:"bytes,3,opt,name=salt,proto3" json:"salt,omitempty"` Salt []byte `protobuf:"bytes,3,opt,name=salt,proto3" json:"salt,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` // Checksum algorithm type
XXX_unrecognized []byte `json:"-"` Type grpc1.ChecksumType `protobuf:"varint,4,opt,name=type,proto3,enum=neo.fs.v2.refs.ChecksumType" json:"type,omitempty"`
XXX_sizecache int32 `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (m *GetRangeHashRequest_Body) Reset() { *m = GetRangeHashRequest_Body{} } func (m *GetRangeHashRequest_Body) Reset() { *m = GetRangeHashRequest_Body{} }
@ -2033,6 +2035,13 @@ func (m *GetRangeHashRequest_Body) GetSalt() []byte {
return nil return nil
} }
func (m *GetRangeHashRequest_Body) GetType() grpc1.ChecksumType {
if m != nil {
return m.Type
}
return grpc1.ChecksumType_CHECKSUM_TYPE_UNSPECIFIED
}
// Get hash of object's payload part // Get hash of object's payload part
type GetRangeHashResponse struct { type GetRangeHashResponse struct {
// Body of get range hash object response message. // Body of get range hash object response message.
@ -2105,8 +2114,10 @@ func (m *GetRangeHashResponse) GetVerifyHeader() *grpc.ResponseVerificationHeade
// Response body // Response body
type GetRangeHashResponse_Body struct { type GetRangeHashResponse_Body struct {
// Carries list of homomorphic hashes in a binary format. // Checksum algorithm type
HashList [][]byte `protobuf:"bytes,1,rep,name=hash_list,json=hashList,proto3" json:"hash_list,omitempty"` Type grpc1.ChecksumType `protobuf:"varint,1,opt,name=type,proto3,enum=neo.fs.v2.refs.ChecksumType" json:"type,omitempty"`
// List of range hashes in a binary format.
HashList [][]byte `protobuf:"bytes,2,rep,name=hash_list,json=hashList,proto3" json:"hash_list,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
@ -2145,6 +2156,13 @@ func (m *GetRangeHashResponse_Body) XXX_DiscardUnknown() {
var xxx_messageInfo_GetRangeHashResponse_Body proto.InternalMessageInfo var xxx_messageInfo_GetRangeHashResponse_Body proto.InternalMessageInfo
func (m *GetRangeHashResponse_Body) GetType() grpc1.ChecksumType {
if m != nil {
return m.Type
}
return grpc1.ChecksumType_CHECKSUM_TYPE_UNSPECIFIED
}
func (m *GetRangeHashResponse_Body) GetHashList() [][]byte { func (m *GetRangeHashResponse_Body) GetHashList() [][]byte {
if m != nil { if m != nil {
return m.HashList return m.HashList
@ -2190,84 +2208,87 @@ func init() {
func init() { proto.RegisterFile("v2/object/grpc/service.proto", fileDescriptor_1d7d92b1e85e5b48) } func init() { proto.RegisterFile("v2/object/grpc/service.proto", fileDescriptor_1d7d92b1e85e5b48) }
var fileDescriptor_1d7d92b1e85e5b48 = []byte{ var fileDescriptor_1d7d92b1e85e5b48 = []byte{
// 1231 bytes of a gzipped FileDescriptorProto // 1267 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0x5d, 0x6f, 0x1b, 0x45, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xdd, 0x6e, 0x1b, 0xc5,
0x17, 0xce, 0xae, 0x37, 0x4e, 0x7c, 0x6c, 0xe7, 0x8d, 0xa6, 0x51, 0x6b, 0x39, 0x1f, 0x6f, 0xba, 0x17, 0xcf, 0xae, 0x37, 0x6e, 0x7c, 0x6c, 0xe7, 0x1f, 0x4d, 0xa3, 0xd6, 0x7f, 0xe7, 0x83, 0x74,
0x69, 0xd2, 0x88, 0x92, 0x75, 0x30, 0x2a, 0xa1, 0x29, 0x2d, 0x6a, 0x48, 0xd2, 0x58, 0x25, 0x6d, 0xdb, 0xa4, 0x11, 0x25, 0xeb, 0x60, 0x54, 0x42, 0x5b, 0x5a, 0xd4, 0x90, 0xa4, 0xb1, 0x4a, 0xda,
0x58, 0x23, 0x2e, 0x90, 0x90, 0xb5, 0x59, 0x8f, 0xed, 0x05, 0x7b, 0xd7, 0xec, 0x8c, 0x8d, 0x7c, 0xb0, 0x06, 0x2e, 0x90, 0x90, 0xb5, 0x59, 0x8f, 0xed, 0xa5, 0xf6, 0xae, 0xd9, 0x19, 0x1b, 0xf9,
0xc3, 0x25, 0x12, 0xbf, 0x80, 0x8a, 0x8b, 0x0a, 0x71, 0x59, 0xee, 0x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5f, 0xe6, 0x68, 0xbe, 0x76, 0x26, 0x78, 0x9a, 0x4a, 0xd8, 0x17, 0xaa,
0x0e, 0x95, 0xc1, 0xdd, 0x9e, 0x1c, 0x9c, 0x51, 0x70, 0x1d, 0x7a, 0x32, 0x63, 0x72, 0x33, 0x74, 0x64, 0xec, 0x3e, 0x68, 0x8e, 0xeb, 0x50, 0x19, 0xdc, 0xcd, 0xe9, 0xc1, 0x19, 0x05, 0xd7, 0xa1,
0x1d, 0x66, 0xed, 0x5a, 0xcb, 0xfd, 0x82, 0x47, 0x97, 0x3a, 0x99, 0x31, 0xc5, 0x34, 0xfb, 0x93, 0xc7, 0x73, 0x26, 0x37, 0x43, 0x57, 0x60, 0xde, 0xae, 0xb5, 0xdc, 0x67, 0x3c, 0xba, 0xd4, 0xf1,
0x02, 0x1a, 0x03, 0xa2, 0xbb, 0x90, 0x10, 0x8e, 0x4a, 0x4e, 0x59, 0xfe, 0x49, 0xe6, 0xf2, 0x99, 0x9c, 0x29, 0xba, 0xd9, 0x6f, 0x15, 0xd0, 0x18, 0x10, 0xdd, 0x86, 0x84, 0x70, 0x54, 0x72, 0xca,
0x3c, 0xe3, 0x80, 0xc2, 0xa1, 0x39, 0x2f, 0xa0, 0x85, 0x32, 0xda, 0x87, 0x04, 0x71, 0xaa, 0xae, 0xf2, 0x27, 0x99, 0xc1, 0x35, 0x79, 0xca, 0x01, 0x85, 0x03, 0x73, 0x41, 0x40, 0x0b, 0x65, 0xb4,
0x45, 0x5b, 0x3e, 0x96, 0xcc, 0xad, 0x0c, 0x89, 0xb7, 0x18, 0x60, 0xcc, 0x1e, 0x1c, 0xed, 0x42, 0x07, 0x09, 0xe2, 0x54, 0x5d, 0x8b, 0xb6, 0x7c, 0x2c, 0x99, 0xfb, 0xff, 0xa0, 0x59, 0x31, 0x00,
0x3c, 0x44, 0x54, 0x66, 0x30, 0x28, 0xc9, 0x89, 0xc4, 0x1d, 0xa4, 0x21, 0x29, 0x37, 0xd9, 0xb4, 0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, 0xe6, 0x4c, 0x19, 0x2b, 0xbb, 0x35, 0xdb, 0x96, 0xd9, 0x2f, 0xfd, 0x78, 0xbe, 0xae,
0xab, 0xe9, 0xec, 0x54, 0xbd, 0x5c, 0xf8, 0x33, 0xf2, 0x7d, 0x31, 0x7e, 0xa9, 0x5e, 0x7b, 0x8a, 0xfc, 0x7a, 0xbe, 0xae, 0xfc, 0x7e, 0xbe, 0xae, 0x7c, 0xf9, 0xc7, 0xfa, 0xdc, 0x87, 0x7b, 0x55,
0xbd, 0xe3, 0xa2, 0xf1, 0xe8, 0xac, 0xc0, 0xfe, 0x55, 0x48, 0xf1, 0x3c, 0xce, 0xbf, 0x13, 0xbf, 0x87, 0xd6, 0x5a, 0x67, 0x86, 0xed, 0x35, 0x72, 0x2e, 0x69, 0xda, 0xf6, 0x4e, 0x19, 0xb7, 0x73,
0xfd, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x11, 0xd3, 0xc8, 0xed, 0xac, 0x16, 0x00, 0x00, 0x2e, 0xf6, 0x2a, 0x64, 0xc7, 0x6a, 0x3a, 0x3b, 0x55, 0x2f, 0x17, 0x7e, 0xa5, 0xbe, 0x27, 0xda,
0x2f, 0xd4, 0xcb, 0x4f, 0xb0, 0x77, 0x54, 0x34, 0x1e, 0x9e, 0x16, 0xd8, 0x5f, 0x85, 0x14, 0xcf,
0xe2, 0xfc, 0x19, 0xfa, 0xb5, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xc2, 0x71, 0xb6, 0x54, 0x0b,
0x17, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
@ -4410,6 +4431,11 @@ func (m *GetRangeHashRequest_Body) MarshalToSizedBuffer(dAtA []byte) (int, error
i -= len(m.XXX_unrecognized) i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized)
} }
if m.Type != 0 {
i = encodeVarintService(dAtA, i, uint64(m.Type))
i--
dAtA[i] = 0x20
}
if len(m.Salt) > 0 { if len(m.Salt) > 0 {
i -= len(m.Salt) i -= len(m.Salt)
copy(dAtA[i:], m.Salt) copy(dAtA[i:], m.Salt)
@ -4539,9 +4565,14 @@ func (m *GetRangeHashResponse_Body) MarshalToSizedBuffer(dAtA []byte) (int, erro
copy(dAtA[i:], m.HashList[iNdEx]) copy(dAtA[i:], m.HashList[iNdEx])
i = encodeVarintService(dAtA, i, uint64(len(m.HashList[iNdEx]))) i = encodeVarintService(dAtA, i, uint64(len(m.HashList[iNdEx])))
i-- i--
dAtA[i] = 0xa dAtA[i] = 0x12
} }
} }
if m.Type != 0 {
i = encodeVarintService(dAtA, i, uint64(m.Type))
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil return len(dAtA) - i, nil
} }
@ -5261,6 +5292,9 @@ func (m *GetRangeHashRequest_Body) Size() (n int) {
if l > 0 { if l > 0 {
n += 1 + l + sovService(uint64(l)) n += 1 + l + sovService(uint64(l))
} }
if m.Type != 0 {
n += 1 + sovService(uint64(m.Type))
}
if m.XXX_unrecognized != nil { if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized) n += len(m.XXX_unrecognized)
} }
@ -5297,6 +5331,9 @@ func (m *GetRangeHashResponse_Body) Size() (n int) {
} }
var l int var l int
_ = l _ = l
if m.Type != 0 {
n += 1 + sovService(uint64(m.Type))
}
if len(m.HashList) > 0 { if len(m.HashList) > 0 {
for _, b := range m.HashList { for _, b := range m.HashList {
l = len(b) l = len(b)
@ -5966,7 +6003,7 @@ func (m *GetResponse_Body_Init) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.Signature == nil { if m.Signature == nil {
m.Signature = &grpc.Signature{} m.Signature = &grpc1.Signature{}
} }
if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
@ -6412,7 +6449,7 @@ func (m *PutRequest_Body_Init) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.Signature == nil { if m.Signature == nil {
m.Signature = &grpc.Signature{} m.Signature = &grpc1.Signature{}
} }
if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
@ -9413,6 +9450,25 @@ func (m *GetRangeHashRequest_Body) Unmarshal(dAtA []byte) error {
m.Salt = []byte{} m.Salt = []byte{}
} }
iNdEx = postIndex iNdEx = postIndex
case 4:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
}
m.Type = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowService
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Type |= grpc1.ChecksumType(b&0x7F) << shift
if b < 0x80 {
break
}
}
default: default:
iNdEx = preIndex iNdEx = preIndex
skippy, err := skipService(dAtA[iNdEx:]) skippy, err := skipService(dAtA[iNdEx:])
@ -9630,6 +9686,25 @@ func (m *GetRangeHashResponse_Body) Unmarshal(dAtA []byte) error {
} }
switch fieldNum { switch fieldNum {
case 1: case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
}
m.Type = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowService
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Type |= grpc1.ChecksumType(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 2:
if wireType != 2 { if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field HashList", wireType) return fmt.Errorf("proto: wrong wireType = %d for field HashList", wireType)
} }

View file

@ -6,8 +6,8 @@ package object
import ( import (
fmt "fmt" fmt "fmt"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
grpc1 "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" grpc "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc"
grpc "github.com/nspcc-dev/neofs-api-go/v2/service/grpc" grpc1 "github.com/nspcc-dev/neofs-api-go/v2/session/grpc"
io "io" io "io"
math "math" math "math"
math_bits "math/bits" math_bits "math/bits"
@ -91,7 +91,7 @@ type ShortHeader struct {
// Epoch when the object was created // Epoch when the object was created
CreationEpoch uint64 `protobuf:"varint,2,opt,name=creation_epoch,json=creationEpoch,proto3" json:"creation_epoch,omitempty"` CreationEpoch uint64 `protobuf:"varint,2,opt,name=creation_epoch,json=creationEpoch,proto3" json:"creation_epoch,omitempty"`
// Object's owner // Object's owner
OwnerId *grpc1.OwnerID `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` OwnerId *grpc.OwnerID `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
// Type of the object payload content // 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"` 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. // Size of payload in bytes.
@ -149,7 +149,7 @@ func (m *ShortHeader) GetCreationEpoch() uint64 {
return 0 return 0
} }
func (m *ShortHeader) GetOwnerId() *grpc1.OwnerID { func (m *ShortHeader) GetOwnerId() *grpc.OwnerID {
if m != nil { if m != nil {
return m.OwnerId return m.OwnerId
} }
@ -176,23 +176,23 @@ type Header struct {
// Effectively the version of API library used to create particular object // Effectively the version of API library used to create particular object
Version *grpc.Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Version *grpc.Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// Object's container // Object's container
ContainerId *grpc1.ContainerID `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` ContainerId *grpc.ContainerID `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
// Object's owner // Object's owner
OwnerId *grpc1.OwnerID `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` OwnerId *grpc.OwnerID `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
// Object creation Epoch // Object creation Epoch
CreationEpoch uint64 `protobuf:"varint,4,opt,name=creation_epoch,json=creationEpoch,proto3" json:"creation_epoch,omitempty"` CreationEpoch uint64 `protobuf:"varint,4,opt,name=creation_epoch,json=creationEpoch,proto3" json:"creation_epoch,omitempty"`
// Size of payload in bytes. // Size of payload in bytes.
// 0xFFFFFFFFFFFFFFFF means `payload_length` is unknown // 0xFFFFFFFFFFFFFFFF means `payload_length` is unknown
PayloadLength uint64 `protobuf:"varint,5,opt,name=payload_length,json=payloadLength,proto3" json:"payload_length,omitempty"` PayloadLength uint64 `protobuf:"varint,5,opt,name=payload_length,json=payloadLength,proto3" json:"payload_length,omitempty"`
// Hash of payload bytes // Hash of payload bytes
PayloadHash []byte `protobuf:"bytes,6,opt,name=payload_hash,json=payloadHash,proto3" json:"payload_hash,omitempty"` PayloadHash *grpc.Checksum `protobuf:"bytes,6,opt,name=payload_hash,json=payloadHash,proto3" json:"payload_hash,omitempty"`
// Special object type // Special object type
ObjectType ObjectType `protobuf:"varint,7,opt,name=object_type,json=objectType,proto3,enum=neo.fs.v2.object.ObjectType" json:"object_type,omitempty"` ObjectType ObjectType `protobuf:"varint,7,opt,name=object_type,json=objectType,proto3,enum=neo.fs.v2.object.ObjectType" json:"object_type,omitempty"`
// Homomorphic hash of the object payload. // Homomorphic hash of the object payload.
HomomorphicHash []byte `protobuf:"bytes,8,opt,name=homomorphic_hash,json=homomorphicHash,proto3" json:"homomorphic_hash,omitempty"` HomomorphicHash *grpc.Checksum `protobuf:"bytes,8,opt,name=homomorphic_hash,json=homomorphicHash,proto3" json:"homomorphic_hash,omitempty"`
// Session token, if it was used during Object creation. // Session token, if it was used during Object creation.
// Need it to verify integrity and authenticity out of Request scope. // Need it to verify integrity and authenticity out of Request scope.
SessionToken *grpc.SessionToken `protobuf:"bytes,9,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` SessionToken *grpc1.SessionToken `protobuf:"bytes,9,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
// User-defined object attributes // User-defined object attributes
Attributes []*Header_Attribute `protobuf:"bytes,10,rep,name=attributes,proto3" json:"attributes,omitempty"` Attributes []*Header_Attribute `protobuf:"bytes,10,rep,name=attributes,proto3" json:"attributes,omitempty"`
// Position of the object in the split hierarchy. // Position of the object in the split hierarchy.
@ -242,14 +242,14 @@ func (m *Header) GetVersion() *grpc.Version {
return nil return nil
} }
func (m *Header) GetContainerId() *grpc1.ContainerID { func (m *Header) GetContainerId() *grpc.ContainerID {
if m != nil { if m != nil {
return m.ContainerId return m.ContainerId
} }
return nil return nil
} }
func (m *Header) GetOwnerId() *grpc1.OwnerID { func (m *Header) GetOwnerId() *grpc.OwnerID {
if m != nil { if m != nil {
return m.OwnerId return m.OwnerId
} }
@ -270,7 +270,7 @@ func (m *Header) GetPayloadLength() uint64 {
return 0 return 0
} }
func (m *Header) GetPayloadHash() []byte { func (m *Header) GetPayloadHash() *grpc.Checksum {
if m != nil { if m != nil {
return m.PayloadHash return m.PayloadHash
} }
@ -284,14 +284,14 @@ func (m *Header) GetObjectType() ObjectType {
return ObjectType_REGULAR return ObjectType_REGULAR
} }
func (m *Header) GetHomomorphicHash() []byte { func (m *Header) GetHomomorphicHash() *grpc.Checksum {
if m != nil { if m != nil {
return m.HomomorphicHash return m.HomomorphicHash
} }
return nil return nil
} }
func (m *Header) GetSessionToken() *grpc.SessionToken { func (m *Header) GetSessionToken() *grpc1.SessionToken {
if m != nil { if m != nil {
return m.SessionToken return m.SessionToken
} }
@ -375,18 +375,18 @@ type Header_Split struct {
// Identifier of the origin object. // Identifier of the origin object.
// Parent and children objects must be within the same container. // Parent and children objects must be within the same container.
// Parent object_id is known only to the minor child. // Parent object_id is known only to the minor child.
Parent *grpc1.ObjectID `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Parent *grpc.ObjectID `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Previous carries identifier of the left split neighbor. // Previous carries identifier of the left split neighbor.
Previous *grpc1.ObjectID `protobuf:"bytes,2,opt,name=previous,proto3" json:"previous,omitempty"` Previous *grpc.ObjectID `protobuf:"bytes,2,opt,name=previous,proto3" json:"previous,omitempty"`
// `signature` field of the parent object. Used to reconstruct parent. // `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"` 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. // `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"` ParentHeader *Header `protobuf:"bytes,4,opt,name=parent_header,json=parentHeader,proto3" json:"parent_header,omitempty"`
// Children carries list of identifiers of the objects generated by splitting the current. // Children carries list of identifiers of the objects generated by splitting the current.
Children []*grpc1.ObjectID `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"` Children []*grpc.ObjectID `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *Header_Split) Reset() { *m = Header_Split{} } func (m *Header_Split) Reset() { *m = Header_Split{} }
@ -422,14 +422,14 @@ func (m *Header_Split) XXX_DiscardUnknown() {
var xxx_messageInfo_Header_Split proto.InternalMessageInfo var xxx_messageInfo_Header_Split proto.InternalMessageInfo
func (m *Header_Split) GetParent() *grpc1.ObjectID { func (m *Header_Split) GetParent() *grpc.ObjectID {
if m != nil { if m != nil {
return m.Parent return m.Parent
} }
return nil return nil
} }
func (m *Header_Split) GetPrevious() *grpc1.ObjectID { func (m *Header_Split) GetPrevious() *grpc.ObjectID {
if m != nil { if m != nil {
return m.Previous return m.Previous
} }
@ -450,7 +450,7 @@ func (m *Header_Split) GetParentHeader() *Header {
return nil return nil
} }
func (m *Header_Split) GetChildren() []*grpc1.ObjectID { func (m *Header_Split) GetChildren() []*grpc.ObjectID {
if m != nil { if m != nil {
return m.Children return m.Children
} }
@ -463,7 +463,7 @@ type Object struct {
// Object is content-addressed. It means id will change if header or payload // Object is content-addressed. It means id will change if header or payload
// changes. It's calculated as a hash of header field, which contains hash of // changes. It's calculated as a hash of header field, which contains hash of
// object's payload // object's payload
ObjectId *grpc1.ObjectID `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` ObjectId *grpc.ObjectID `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
// Signed object_id // Signed object_id
Signature *grpc.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` Signature *grpc.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
// Object metadata headers // Object metadata headers
@ -508,7 +508,7 @@ func (m *Object) XXX_DiscardUnknown() {
var xxx_messageInfo_Object proto.InternalMessageInfo var xxx_messageInfo_Object proto.InternalMessageInfo
func (m *Object) GetObjectId() *grpc1.ObjectID { func (m *Object) GetObjectId() *grpc.ObjectID {
if m != nil { if m != nil {
return m.ObjectId return m.ObjectId
} }
@ -549,57 +549,57 @@ func init() {
func init() { proto.RegisterFile("v2/object/grpc/types.proto", fileDescriptor_545319325da7b9b1) } func init() { proto.RegisterFile("v2/object/grpc/types.proto", fileDescriptor_545319325da7b9b1) }
var fileDescriptor_545319325da7b9b1 = []byte{ var fileDescriptor_545319325da7b9b1 = []byte{
// 795 bytes of a gzipped FileDescriptorProto // 796 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xdd, 0x6e, 0xe3, 0x44, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0xdd, 0x6e, 0xe3, 0x44,
0x14, 0xc7, 0xeb, 0xb4, 0xf9, 0x3a, 0x49, 0x76, 0xcd, 0x80, 0xc0, 0xca, 0xae, 0x42, 0xa8, 0x84, 0x14, 0xc7, 0xeb, 0xb4, 0xf9, 0x3a, 0x4e, 0x76, 0xcd, 0x80, 0xc0, 0x64, 0x51, 0xa8, 0x2a, 0x21,
0x14, 0x56, 0xaa, 0x8d, 0xbc, 0x45, 0x08, 0x56, 0x8b, 0x94, 0x36, 0xde, 0xd4, 0x52, 0xdb, 0x94, 0x55, 0x2b, 0xd5, 0x06, 0x6f, 0xd1, 0x0a, 0x55, 0x8b, 0x94, 0x36, 0xde, 0xd6, 0x52, 0xdb, 0x94,
0xb1, 0x8b, 0x04, 0x37, 0x96, 0x6b, 0x4f, 0x63, 0xb3, 0xa9, 0xc7, 0xf2, 0x4c, 0x8c, 0x7a, 0xcf, 0xb1, 0x8b, 0x04, 0x37, 0x96, 0x6b, 0x4f, 0x63, 0xd3, 0xd4, 0x63, 0x79, 0x26, 0x46, 0xbd, 0xe4,
0x43, 0xf0, 0x0c, 0x48, 0xdc, 0xf0, 0x12, 0x70, 0xc9, 0x23, 0xa0, 0xf2, 0x22, 0xc8, 0x33, 0x76, 0x2d, 0x78, 0x86, 0x7d, 0x0e, 0x2e, 0xb8, 0xe4, 0x11, 0x56, 0xe5, 0x45, 0x90, 0x67, 0xec, 0xf4,
0xfa, 0x91, 0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x6b, 0xb0, 0xf1, 0xdd, 0xe7, 0xf3, 0x98, 0x47, 0xcb, 0x33, 0x3d, 0xa0, 0xed, 0xed, 0x50, 0xf9, 0xfd, 0xef, 0xe1, 0xda, 0xcf, 0x2f, 0xa7, 0x09, 0x8f, 0xe7, 0x17, 0x46,
0x17, 0x46, 0xc2, 0xd2, 0x20, 0xd8, 0x09, 0x49, 0x6e, 0x24, 0x84, 0x9e, 0xb3, 0x1d, 0x3f, 0x8d, 0x48, 0xaf, 0xcd, 0x94, 0x65, 0x61, 0xb8, 0x13, 0x91, 0xc2, 0x4c, 0x09, 0xbd, 0x64, 0x3b, 0x41,
0x77, 0xe6, 0xd4, 0xb8, 0xfd, 0x59, 0x7a, 0x21, 0xcf, 0x3f, 0xd7, 0xde, 0x3d, 0x26, 0xf4, 0x95, 0x96, 0xec, 0x4c, 0xa9, 0xf9, 0xf0, 0xf7, 0xb5, 0x27, 0xdf, 0xdf, 0x34, 0x3e, 0x3e, 0x25, 0xf4,
0xa3, 0x8f, 0x4f, 0xec, 0x42, 0x01, 0xd9, 0xce, 0x59, 0x43, 0x7c, 0x65, 0x9e, 0xff, 0x1d, 0x00, 0xb5, 0x6b, 0x8c, 0xce, 0x9c, 0xb2, 0x03, 0xd2, 0xce, 0x45, 0x4b, 0xfc, 0x8d, 0x5e, 0xfc, 0x13,
0x00, 0xff, 0xff, 0x30, 0x4b, 0x22, 0xa9, 0xcc, 0x06, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2c, 0x8c, 0x1d, 0x72, 0xf4, 0x06, 0x00, 0x00,
} }
func (m *ShortHeader) Marshal() (dAtA []byte, err error) { func (m *ShortHeader) Marshal() (dAtA []byte, err error) {
@ -730,10 +730,15 @@ func (m *Header) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i-- i--
dAtA[i] = 0x4a dAtA[i] = 0x4a
} }
if len(m.HomomorphicHash) > 0 { if m.HomomorphicHash != nil {
i -= len(m.HomomorphicHash) {
copy(dAtA[i:], m.HomomorphicHash) size, err := m.HomomorphicHash.MarshalToSizedBuffer(dAtA[:i])
i = encodeVarintTypes(dAtA, i, uint64(len(m.HomomorphicHash))) if err != nil {
return 0, err
}
i -= size
i = encodeVarintTypes(dAtA, i, uint64(size))
}
i-- i--
dAtA[i] = 0x42 dAtA[i] = 0x42
} }
@ -742,10 +747,15 @@ func (m *Header) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i-- i--
dAtA[i] = 0x38 dAtA[i] = 0x38
} }
if len(m.PayloadHash) > 0 { if m.PayloadHash != nil {
i -= len(m.PayloadHash) {
copy(dAtA[i:], m.PayloadHash) size, err := m.PayloadHash.MarshalToSizedBuffer(dAtA[:i])
i = encodeVarintTypes(dAtA, i, uint64(len(m.PayloadHash))) if err != nil {
return 0, err
}
i -= size
i = encodeVarintTypes(dAtA, i, uint64(size))
}
i-- i--
dAtA[i] = 0x32 dAtA[i] = 0x32
} }
@ -1062,15 +1072,15 @@ func (m *Header) Size() (n int) {
if m.PayloadLength != 0 { if m.PayloadLength != 0 {
n += 1 + sovTypes(uint64(m.PayloadLength)) n += 1 + sovTypes(uint64(m.PayloadLength))
} }
l = len(m.PayloadHash) if m.PayloadHash != nil {
if l > 0 { l = m.PayloadHash.Size()
n += 1 + l + sovTypes(uint64(l)) n += 1 + l + sovTypes(uint64(l))
} }
if m.ObjectType != 0 { if m.ObjectType != 0 {
n += 1 + sovTypes(uint64(m.ObjectType)) n += 1 + sovTypes(uint64(m.ObjectType))
} }
l = len(m.HomomorphicHash) if m.HomomorphicHash != nil {
if l > 0 { l = m.HomomorphicHash.Size()
n += 1 + l + sovTypes(uint64(l)) n += 1 + l + sovTypes(uint64(l))
} }
if m.SessionToken != nil { if m.SessionToken != nil {
@ -1295,7 +1305,7 @@ func (m *ShortHeader) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.OwnerId == nil { if m.OwnerId == nil {
m.OwnerId = &grpc1.OwnerID{} m.OwnerId = &grpc.OwnerID{}
} }
if err := m.OwnerId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.OwnerId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
@ -1459,7 +1469,7 @@ func (m *Header) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.ContainerId == nil { if m.ContainerId == nil {
m.ContainerId = &grpc1.ContainerID{} m.ContainerId = &grpc.ContainerID{}
} }
if err := m.ContainerId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.ContainerId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
@ -1495,7 +1505,7 @@ func (m *Header) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.OwnerId == nil { if m.OwnerId == nil {
m.OwnerId = &grpc1.OwnerID{} m.OwnerId = &grpc.OwnerID{}
} }
if err := m.OwnerId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.OwnerId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
@ -1543,7 +1553,7 @@ func (m *Header) Unmarshal(dAtA []byte) error {
if wireType != 2 { if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field PayloadHash", wireType) return fmt.Errorf("proto: wrong wireType = %d for field PayloadHash", wireType)
} }
var byteLen int var msglen int
for shift := uint(0); ; shift += 7 { for shift := uint(0); ; shift += 7 {
if shift >= 64 { if shift >= 64 {
return ErrIntOverflowTypes return ErrIntOverflowTypes
@ -1553,24 +1563,26 @@ func (m *Header) Unmarshal(dAtA []byte) error {
} }
b := dAtA[iNdEx] b := dAtA[iNdEx]
iNdEx++ iNdEx++
byteLen |= int(b&0x7F) << shift msglen |= int(b&0x7F) << shift
if b < 0x80 { if b < 0x80 {
break break
} }
} }
if byteLen < 0 { if msglen < 0 {
return ErrInvalidLengthTypes return ErrInvalidLengthTypes
} }
postIndex := iNdEx + byteLen postIndex := iNdEx + msglen
if postIndex < 0 { if postIndex < 0 {
return ErrInvalidLengthTypes return ErrInvalidLengthTypes
} }
if postIndex > l { if postIndex > l {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
m.PayloadHash = append(m.PayloadHash[:0], dAtA[iNdEx:postIndex]...)
if m.PayloadHash == nil { if m.PayloadHash == nil {
m.PayloadHash = []byte{} m.PayloadHash = &grpc.Checksum{}
}
if err := m.PayloadHash.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
} }
iNdEx = postIndex iNdEx = postIndex
case 7: case 7:
@ -1596,7 +1608,7 @@ func (m *Header) Unmarshal(dAtA []byte) error {
if wireType != 2 { if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field HomomorphicHash", wireType) return fmt.Errorf("proto: wrong wireType = %d for field HomomorphicHash", wireType)
} }
var byteLen int var msglen int
for shift := uint(0); ; shift += 7 { for shift := uint(0); ; shift += 7 {
if shift >= 64 { if shift >= 64 {
return ErrIntOverflowTypes return ErrIntOverflowTypes
@ -1606,24 +1618,26 @@ func (m *Header) Unmarshal(dAtA []byte) error {
} }
b := dAtA[iNdEx] b := dAtA[iNdEx]
iNdEx++ iNdEx++
byteLen |= int(b&0x7F) << shift msglen |= int(b&0x7F) << shift
if b < 0x80 { if b < 0x80 {
break break
} }
} }
if byteLen < 0 { if msglen < 0 {
return ErrInvalidLengthTypes return ErrInvalidLengthTypes
} }
postIndex := iNdEx + byteLen postIndex := iNdEx + msglen
if postIndex < 0 { if postIndex < 0 {
return ErrInvalidLengthTypes return ErrInvalidLengthTypes
} }
if postIndex > l { if postIndex > l {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
m.HomomorphicHash = append(m.HomomorphicHash[:0], dAtA[iNdEx:postIndex]...)
if m.HomomorphicHash == nil { if m.HomomorphicHash == nil {
m.HomomorphicHash = []byte{} m.HomomorphicHash = &grpc.Checksum{}
}
if err := m.HomomorphicHash.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
} }
iNdEx = postIndex iNdEx = postIndex
case 9: case 9:
@ -1656,7 +1670,7 @@ func (m *Header) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.SessionToken == nil { if m.SessionToken == nil {
m.SessionToken = &grpc.SessionToken{} m.SessionToken = &grpc1.SessionToken{}
} }
if err := m.SessionToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.SessionToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
@ -1934,7 +1948,7 @@ func (m *Header_Split) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.Parent == nil { if m.Parent == nil {
m.Parent = &grpc1.ObjectID{} m.Parent = &grpc.ObjectID{}
} }
if err := m.Parent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.Parent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
@ -1970,7 +1984,7 @@ func (m *Header_Split) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.Previous == nil { if m.Previous == nil {
m.Previous = &grpc1.ObjectID{} m.Previous = &grpc.ObjectID{}
} }
if err := m.Previous.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.Previous.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
@ -2077,7 +2091,7 @@ func (m *Header_Split) Unmarshal(dAtA []byte) error {
if postIndex > l { if postIndex > l {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
m.Children = append(m.Children, &grpc1.ObjectID{}) m.Children = append(m.Children, &grpc.ObjectID{})
if err := m.Children[len(m.Children)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.Children[len(m.Children)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
} }
@ -2166,7 +2180,7 @@ func (m *Object) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.ObjectId == nil { if m.ObjectId == nil {
m.ObjectId = &grpc1.ObjectID{} m.ObjectId = &grpc.ObjectID{}
} }
if err := m.ObjectId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.ObjectId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err

View file

@ -22,6 +22,38 @@ var _ = math.Inf
// proto package needs to be updated. // proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Checksum algorithm type
type ChecksumType int32
const (
// Unknown. Not used
ChecksumType_CHECKSUM_TYPE_UNSPECIFIED ChecksumType = 0
// Tillich-Zemor homomorphic hash funciton
ChecksumType_TZ ChecksumType = 1
// SHA-256
ChecksumType_SHA256 ChecksumType = 2
)
var ChecksumType_name = map[int32]string{
0: "CHECKSUM_TYPE_UNSPECIFIED",
1: "TZ",
2: "SHA256",
}
var ChecksumType_value = map[string]int32{
"CHECKSUM_TYPE_UNSPECIFIED": 0,
"TZ": 1,
"SHA256": 2,
}
func (x ChecksumType) String() string {
return proto.EnumName(ChecksumType_name, int32(x))
}
func (ChecksumType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_08f084e5f91ec87c, []int{0}
}
// Address of object (container id + object id) // Address of object (container id + object id)
type Address struct { type Address struct {
// container_id carries container identifier. // container_id carries container identifier.
@ -227,34 +259,222 @@ func (m *OwnerID) GetValue() []byte {
return nil return nil
} }
// Represents API version used by node.
type Version struct {
// Major API version.
Major uint32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
// Minor API version.
Minor uint32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Version) Reset() { *m = Version{} }
func (m *Version) String() string { return proto.CompactTextString(m) }
func (*Version) ProtoMessage() {}
func (*Version) Descriptor() ([]byte, []int) {
return fileDescriptor_08f084e5f91ec87c, []int{4}
}
func (m *Version) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Version.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *Version) XXX_Merge(src proto.Message) {
xxx_messageInfo_Version.Merge(m, src)
}
func (m *Version) XXX_Size() int {
return m.Size()
}
func (m *Version) XXX_DiscardUnknown() {
xxx_messageInfo_Version.DiscardUnknown(m)
}
var xxx_messageInfo_Version proto.InternalMessageInfo
func (m *Version) GetMajor() uint32 {
if m != nil {
return m.Major
}
return 0
}
func (m *Version) GetMinor() uint32 {
if m != nil {
return m.Minor
}
return 0
}
// Signature of something in NeoFS
type Signature struct {
// Public key used for signing.
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// Signature
Sign []byte `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Signature) Reset() { *m = Signature{} }
func (m *Signature) String() string { return proto.CompactTextString(m) }
func (*Signature) ProtoMessage() {}
func (*Signature) Descriptor() ([]byte, []int) {
return fileDescriptor_08f084e5f91ec87c, []int{5}
}
func (m *Signature) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Signature.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *Signature) XXX_Merge(src proto.Message) {
xxx_messageInfo_Signature.Merge(m, src)
}
func (m *Signature) XXX_Size() int {
return m.Size()
}
func (m *Signature) XXX_DiscardUnknown() {
xxx_messageInfo_Signature.DiscardUnknown(m)
}
var xxx_messageInfo_Signature proto.InternalMessageInfo
func (m *Signature) GetKey() []byte {
if m != nil {
return m.Key
}
return nil
}
func (m *Signature) GetSign() []byte {
if m != nil {
return m.Sign
}
return nil
}
// Checksum message
type Checksum struct {
// Checksum algorithm type
Type ChecksumType `protobuf:"varint,1,opt,name=type,proto3,enum=neo.fs.v2.refs.ChecksumType" json:"type,omitempty"`
// Checksum itself
Sum []byte `protobuf:"bytes,2,opt,name=sum,proto3" json:"sum,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Checksum) Reset() { *m = Checksum{} }
func (m *Checksum) String() string { return proto.CompactTextString(m) }
func (*Checksum) ProtoMessage() {}
func (*Checksum) Descriptor() ([]byte, []int) {
return fileDescriptor_08f084e5f91ec87c, []int{6}
}
func (m *Checksum) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Checksum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Checksum.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *Checksum) XXX_Merge(src proto.Message) {
xxx_messageInfo_Checksum.Merge(m, src)
}
func (m *Checksum) XXX_Size() int {
return m.Size()
}
func (m *Checksum) XXX_DiscardUnknown() {
xxx_messageInfo_Checksum.DiscardUnknown(m)
}
var xxx_messageInfo_Checksum proto.InternalMessageInfo
func (m *Checksum) GetType() ChecksumType {
if m != nil {
return m.Type
}
return ChecksumType_CHECKSUM_TYPE_UNSPECIFIED
}
func (m *Checksum) GetSum() []byte {
if m != nil {
return m.Sum
}
return nil
}
func init() { func init() {
proto.RegisterEnum("neo.fs.v2.refs.ChecksumType", ChecksumType_name, ChecksumType_value)
proto.RegisterType((*Address)(nil), "neo.fs.v2.refs.Address") proto.RegisterType((*Address)(nil), "neo.fs.v2.refs.Address")
proto.RegisterType((*ObjectID)(nil), "neo.fs.v2.refs.ObjectID") proto.RegisterType((*ObjectID)(nil), "neo.fs.v2.refs.ObjectID")
proto.RegisterType((*ContainerID)(nil), "neo.fs.v2.refs.ContainerID") proto.RegisterType((*ContainerID)(nil), "neo.fs.v2.refs.ContainerID")
proto.RegisterType((*OwnerID)(nil), "neo.fs.v2.refs.OwnerID") proto.RegisterType((*OwnerID)(nil), "neo.fs.v2.refs.OwnerID")
proto.RegisterType((*Version)(nil), "neo.fs.v2.refs.Version")
proto.RegisterType((*Signature)(nil), "neo.fs.v2.refs.Signature")
proto.RegisterType((*Checksum)(nil), "neo.fs.v2.refs.Checksum")
} }
func init() { proto.RegisterFile("v2/refs/grpc/types.proto", fileDescriptor_08f084e5f91ec87c) } func init() { proto.RegisterFile("v2/refs/grpc/types.proto", fileDescriptor_08f084e5f91ec87c) }
var fileDescriptor_08f084e5f91ec87c = []byte{ var fileDescriptor_08f084e5f91ec87c = []byte{
// 265 bytes of a gzipped FileDescriptorProto // 427 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x28, 0x33, 0xd2, 0x2f, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x6e, 0xd3, 0x40,
0x4a, 0x4d, 0x2b, 0xd6, 0x4f, 0x2f, 0x2a, 0x48, 0xd6, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2b, 0x10, 0x86, 0xeb, 0x50, 0x92, 0x74, 0x12, 0xaa, 0xb0, 0xe2, 0x10, 0x04, 0x84, 0xca, 0x5c, 0x10,
0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0xcb, 0x4b, 0xcd, 0xd7, 0x4b, 0x2b,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0x2a, 0x66,
0x34, 0x16, 0x0b, 0x87, 0xab, 0x2c, 0x8e, 0xbb, 0x09, 0x96, 0x0e, 0x47, 0x31, 0x57, 0xdd, 0x28,
0x63, 0xdd, 0x54, 0x38, 0xbb, 0x57, 0xf4, 0x4a, 0xa7, 0x2f, 0x95, 0xbb, 0x23, 0x14, 0x27, 0x21,
0xed, 0x8f, 0x7d, 0xfd, 0x0b, 0x01, 0xce, 0xd5, 0xac, 0x6a, 0x2e, 0xeb, 0xf8, 0x67, 0x00, 0x00,
0x00, 0xff, 0xff, 0xbb, 0x23, 0xc5, 0xde, 0x75, 0x02, 0x00, 0x00,
} }
func (m *Address) Marshal() (dAtA []byte, err error) { func (m *Address) Marshal() (dAtA []byte, err error) {
@ -410,6 +630,123 @@ func (m *OwnerID) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil return len(dAtA) - i, nil
} }
func (m *Version) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *Version) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Version) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if m.Minor != 0 {
i = encodeVarintTypes(dAtA, i, uint64(m.Minor))
i--
dAtA[i] = 0x10
}
if m.Major != 0 {
i = encodeVarintTypes(dAtA, i, uint64(m.Major))
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
func (m *Signature) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *Signature) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Signature) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if len(m.Sign) > 0 {
i -= len(m.Sign)
copy(dAtA[i:], m.Sign)
i = encodeVarintTypes(dAtA, i, uint64(len(m.Sign)))
i--
dAtA[i] = 0x12
}
if len(m.Key) > 0 {
i -= len(m.Key)
copy(dAtA[i:], m.Key)
i = encodeVarintTypes(dAtA, i, uint64(len(m.Key)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *Checksum) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *Checksum) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Checksum) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if len(m.Sum) > 0 {
i -= len(m.Sum)
copy(dAtA[i:], m.Sum)
i = encodeVarintTypes(dAtA, i, uint64(len(m.Sum)))
i--
dAtA[i] = 0x12
}
if m.Type != 0 {
i = encodeVarintTypes(dAtA, i, uint64(m.Type))
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
func encodeVarintTypes(dAtA []byte, offset int, v uint64) int { func encodeVarintTypes(dAtA []byte, offset int, v uint64) int {
offset -= sovTypes(v) offset -= sovTypes(v)
base := offset base := offset
@ -489,6 +826,63 @@ func (m *OwnerID) Size() (n int) {
return n return n
} }
func (m *Version) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.Major != 0 {
n += 1 + sovTypes(uint64(m.Major))
}
if m.Minor != 0 {
n += 1 + sovTypes(uint64(m.Minor))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *Signature) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.Key)
if l > 0 {
n += 1 + l + sovTypes(uint64(l))
}
l = len(m.Sign)
if l > 0 {
n += 1 + l + sovTypes(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *Checksum) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.Type != 0 {
n += 1 + sovTypes(uint64(m.Type))
}
l = len(m.Sum)
if l > 0 {
n += 1 + l + sovTypes(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func sovTypes(x uint64) (n int) { func sovTypes(x uint64) (n int) {
return (math_bits.Len64(x|1) + 6) / 7 return (math_bits.Len64(x|1) + 6) / 7
} }
@ -885,6 +1279,327 @@ func (m *OwnerID) Unmarshal(dAtA []byte) error {
} }
return nil return nil
} }
func (m *Version) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: Version: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: Version: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Major", wireType)
}
m.Major = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Major |= uint32(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 2:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Minor", wireType)
}
m.Minor = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Minor |= uint32(b&0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
skippy, err := skipTypes(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthTypes
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthTypes
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *Signature) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: Signature: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: Signature: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
}
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
byteLen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if byteLen < 0 {
return ErrInvalidLengthTypes
}
postIndex := iNdEx + byteLen
if postIndex < 0 {
return ErrInvalidLengthTypes
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Key = append(m.Key[:0], dAtA[iNdEx:postIndex]...)
if m.Key == nil {
m.Key = []byte{}
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Sign", wireType)
}
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
byteLen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if byteLen < 0 {
return ErrInvalidLengthTypes
}
postIndex := iNdEx + byteLen
if postIndex < 0 {
return ErrInvalidLengthTypes
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Sign = append(m.Sign[:0], dAtA[iNdEx:postIndex]...)
if m.Sign == nil {
m.Sign = []byte{}
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipTypes(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthTypes
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthTypes
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *Checksum) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: Checksum: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: Checksum: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
}
m.Type = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Type |= ChecksumType(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Sum", wireType)
}
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
byteLen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if byteLen < 0 {
return ErrInvalidLengthTypes
}
postIndex := iNdEx + byteLen
if postIndex < 0 {
return ErrInvalidLengthTypes
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Sum = append(m.Sum[:0], dAtA[iNdEx:postIndex]...)
if m.Sum == nil {
m.Sum = []byte{}
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipTypes(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthTypes
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthTypes
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func skipTypes(dAtA []byte) (n int, err error) { func skipTypes(dAtA []byte) (n int, err error) {
l := len(dAtA) l := len(dAtA)
iNdEx := 0 iNdEx := 0

View file

@ -7,9 +7,8 @@ import (
context "context" context "context"
fmt "fmt" fmt "fmt"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
grpc1 "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" grpc "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc"
grpc "github.com/nspcc-dev/neofs-api-go/v2/service/grpc" grpc1 "google.golang.org/grpc"
grpc2 "google.golang.org/grpc"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status" status "google.golang.org/grpc/status"
io "io" io "io"
@ -34,13 +33,13 @@ type CreateRequest struct {
Body *CreateRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Body *CreateRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
// Carries request meta information. Header data is used only to regulate message // Carries request meta information. Header data is used only to regulate message
// transport and does not affect request execution. // transport and does not affect request execution.
MetaHeader *grpc.RequestMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader,proto3" json:"meta_header,omitempty"` MetaHeader *RequestMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader,proto3" json:"meta_header,omitempty"`
// Carries request verification information. This header is used to authenticate // Carries request verification information. This header is used to authenticate
// the nodes of the message route and check the correctness of transmission. // the nodes of the message route and check the correctness of transmission.
VerifyHeader *grpc.RequestVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader,proto3" json:"verify_header,omitempty"` VerifyHeader *RequestVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader,proto3" json:"verify_header,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *CreateRequest) Reset() { *m = CreateRequest{} } func (m *CreateRequest) Reset() { *m = CreateRequest{} }
@ -83,14 +82,14 @@ func (m *CreateRequest) GetBody() *CreateRequest_Body {
return nil return nil
} }
func (m *CreateRequest) GetMetaHeader() *grpc.RequestMetaHeader { func (m *CreateRequest) GetMetaHeader() *RequestMetaHeader {
if m != nil { if m != nil {
return m.MetaHeader return m.MetaHeader
} }
return nil return nil
} }
func (m *CreateRequest) GetVerifyHeader() *grpc.RequestVerificationHeader { func (m *CreateRequest) GetVerifyHeader() *RequestVerificationHeader {
if m != nil { if m != nil {
return m.VerifyHeader return m.VerifyHeader
} }
@ -100,12 +99,12 @@ func (m *CreateRequest) GetVerifyHeader() *grpc.RequestVerificationHeader {
// Request body // Request body
type CreateRequest_Body struct { type CreateRequest_Body struct {
// Carries an identifier of a session initiator. // Carries an identifier of a session initiator.
OwnerId *grpc1.OwnerID `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` OwnerId *grpc.OwnerID `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
// Carries a lifetime of the session. // Expiration Epoch
Lifetime *grpc.TokenLifetime `protobuf:"bytes,2,opt,name=lifetime,proto3" json:"lifetime,omitempty"` Expiration uint64 `protobuf:"varint,2,opt,name=expiration,proto3" json:"expiration,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *CreateRequest_Body) Reset() { *m = CreateRequest_Body{} } func (m *CreateRequest_Body) Reset() { *m = CreateRequest_Body{} }
@ -141,18 +140,18 @@ func (m *CreateRequest_Body) XXX_DiscardUnknown() {
var xxx_messageInfo_CreateRequest_Body proto.InternalMessageInfo var xxx_messageInfo_CreateRequest_Body proto.InternalMessageInfo
func (m *CreateRequest_Body) GetOwnerId() *grpc1.OwnerID { func (m *CreateRequest_Body) GetOwnerId() *grpc.OwnerID {
if m != nil { if m != nil {
return m.OwnerId return m.OwnerId
} }
return nil return nil
} }
func (m *CreateRequest_Body) GetLifetime() *grpc.TokenLifetime { func (m *CreateRequest_Body) GetExpiration() uint64 {
if m != nil { if m != nil {
return m.Lifetime return m.Expiration
} }
return nil return 0
} }
// CreateResponse carries an information about the opened session. // CreateResponse carries an information about the opened session.
@ -161,14 +160,14 @@ type CreateResponse struct {
Body *CreateResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Body *CreateResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
// Carries response meta information. Header data is used only to regulate // Carries response meta information. Header data is used only to regulate
// message transport and does not affect request execution. // message transport and does not affect request execution.
MetaHeader *grpc.ResponseMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader,proto3" json:"meta_header,omitempty"` MetaHeader *ResponseMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader,proto3" json:"meta_header,omitempty"`
// Carries response verification information. This header is used to // Carries response verification information. This header is used to
// authenticate the nodes of the message route and check the correctness // authenticate the nodes of the message route and check the correctness
// of transmission. // of transmission.
VerifyHeader *grpc.ResponseVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader,proto3" json:"verify_header,omitempty"` VerifyHeader *ResponseVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader,proto3" json:"verify_header,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *CreateResponse) Reset() { *m = CreateResponse{} } func (m *CreateResponse) Reset() { *m = CreateResponse{} }
@ -211,14 +210,14 @@ func (m *CreateResponse) GetBody() *CreateResponse_Body {
return nil return nil
} }
func (m *CreateResponse) GetMetaHeader() *grpc.ResponseMetaHeader { func (m *CreateResponse) GetMetaHeader() *ResponseMetaHeader {
if m != nil { if m != nil {
return m.MetaHeader return m.MetaHeader
} }
return nil return nil
} }
func (m *CreateResponse) GetVerifyHeader() *grpc.ResponseVerificationHeader { func (m *CreateResponse) GetVerifyHeader() *ResponseVerificationHeader {
if m != nil { if m != nil {
return m.VerifyHeader return m.VerifyHeader
} }
@ -293,63 +292,62 @@ func init() {
func init() { proto.RegisterFile("v2/session/grpc/service.proto", fileDescriptor_4ed1365cc8e16cd4) } func init() { proto.RegisterFile("v2/session/grpc/service.proto", fileDescriptor_4ed1365cc8e16cd4) }
var fileDescriptor_4ed1365cc8e16cd4 = []byte{ var fileDescriptor_4ed1365cc8e16cd4 = []byte{
// 458 bytes of a gzipped FileDescriptorProto // 444 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0x4f, 0x6f, 0xd3, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0x4d, 0x6f, 0xd3, 0x30,
0x18, 0xc6, 0x49, 0x98, 0xc6, 0xe4, 0x76, 0x95, 0xb0, 0x90, 0xa8, 0x8a, 0x28, 0x65, 0x62, 0x88, 0x18, 0xc7, 0x49, 0xa8, 0x06, 0x7a, 0xda, 0x55, 0xc2, 0x42, 0xa2, 0x2a, 0x22, 0x8c, 0x89, 0x21,
0x03, 0x75, 0xa4, 0x70, 0x40, 0x03, 0x2e, 0x0c, 0x98, 0xa8, 0x60, 0xfc, 0x71, 0x11, 0x07, 0x2e, 0x0e, 0xd4, 0x91, 0xc2, 0x01, 0x0d, 0x4e, 0x0c, 0x98, 0xa8, 0xd0, 0x78, 0x71, 0x25, 0x0e, 0xbb,
0x51, 0xfe, 0xbc, 0xe9, 0xac, 0x11, 0x3b, 0xd8, 0x5e, 0x20, 0xdf, 0x84, 0x2b, 0x57, 0x3e, 0x09, 0x54, 0x79, 0x79, 0xd2, 0x59, 0xa8, 0x71, 0xb0, 0xbd, 0x40, 0xbe, 0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x0d, 0xf3, 0x64, 0x1e, 0xff, 0x0b,
0xe9, 0xbb, 0x49, 0xd3, 0xd2, 0x4d, 0x9e, 0xac, 0x9b, 0x07, 0xf5, 0xe0, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd3, 0xaa, 0x38, 0x65, 0x9d, 0x03, 0x00, 0x00,
0xff, 0xff, 0x9a, 0x12, 0x33, 0x00, 0xbb, 0x03, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
var _ context.Context var _ context.Context
var _ grpc2.ClientConn var _ grpc1.ClientConn
// This is a compile-time assertion to ensure that this generated file // This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against. // is compatible with the grpc package it is being compiled against.
const _ = grpc2.SupportPackageIsVersion4 const _ = grpc1.SupportPackageIsVersion4
// SessionServiceClient is the client API for SessionService service. // SessionServiceClient is the client API for SessionService service.
// //
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type SessionServiceClient interface { type SessionServiceClient interface {
// Create opens new session between the client and the server. // Create opens new session between the client and the server.
Create(ctx context.Context, in *CreateRequest, opts ...grpc2.CallOption) (*CreateResponse, error) Create(ctx context.Context, in *CreateRequest, opts ...grpc1.CallOption) (*CreateResponse, error)
} }
type sessionServiceClient struct { type sessionServiceClient struct {
cc *grpc2.ClientConn cc *grpc1.ClientConn
} }
func NewSessionServiceClient(cc *grpc2.ClientConn) SessionServiceClient { func NewSessionServiceClient(cc *grpc1.ClientConn) SessionServiceClient {
return &sessionServiceClient{cc} return &sessionServiceClient{cc}
} }
func (c *sessionServiceClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc2.CallOption) (*CreateResponse, error) { func (c *sessionServiceClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc1.CallOption) (*CreateResponse, error) {
out := new(CreateResponse) out := new(CreateResponse)
err := c.cc.Invoke(ctx, "/neo.fs.v2.session.SessionService/Create", in, out, opts...) err := c.cc.Invoke(ctx, "/neo.fs.v2.session.SessionService/Create", in, out, opts...)
if err != nil { if err != nil {
@ -372,11 +370,11 @@ func (*UnimplementedSessionServiceServer) Create(ctx context.Context, req *Creat
return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
} }
func RegisterSessionServiceServer(s *grpc2.Server, srv SessionServiceServer) { func RegisterSessionServiceServer(s *grpc1.Server, srv SessionServiceServer) {
s.RegisterService(&_SessionService_serviceDesc, srv) s.RegisterService(&_SessionService_serviceDesc, srv)
} }
func _SessionService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc2.UnaryServerInterceptor) (interface{}, error) { func _SessionService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc1.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateRequest) in := new(CreateRequest)
if err := dec(in); err != nil { if err := dec(in); err != nil {
return nil, err return nil, err
@ -384,7 +382,7 @@ func _SessionService_Create_Handler(srv interface{}, ctx context.Context, dec fu
if interceptor == nil { if interceptor == nil {
return srv.(SessionServiceServer).Create(ctx, in) return srv.(SessionServiceServer).Create(ctx, in)
} }
info := &grpc2.UnaryServerInfo{ info := &grpc1.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/neo.fs.v2.session.SessionService/Create", FullMethod: "/neo.fs.v2.session.SessionService/Create",
} }
@ -394,16 +392,16 @@ func _SessionService_Create_Handler(srv interface{}, ctx context.Context, dec fu
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
var _SessionService_serviceDesc = grpc2.ServiceDesc{ var _SessionService_serviceDesc = grpc1.ServiceDesc{
ServiceName: "neo.fs.v2.session.SessionService", ServiceName: "neo.fs.v2.session.SessionService",
HandlerType: (*SessionServiceServer)(nil), HandlerType: (*SessionServiceServer)(nil),
Methods: []grpc2.MethodDesc{ Methods: []grpc1.MethodDesc{
{ {
MethodName: "Create", MethodName: "Create",
Handler: _SessionService_Create_Handler, Handler: _SessionService_Create_Handler,
}, },
}, },
Streams: []grpc2.StreamDesc{}, Streams: []grpc1.StreamDesc{},
Metadata: "v2/session/grpc/service.proto", Metadata: "v2/session/grpc/service.proto",
} }
@ -494,17 +492,10 @@ func (m *CreateRequest_Body) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i -= len(m.XXX_unrecognized) i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized)
} }
if m.Lifetime != nil { if m.Expiration != 0 {
{ i = encodeVarintService(dAtA, i, uint64(m.Expiration))
size, err := m.Lifetime.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintService(dAtA, i, uint64(size))
}
i-- i--
dAtA[i] = 0x12 dAtA[i] = 0x10
} }
if m.OwnerId != nil { if m.OwnerId != nil {
{ {
@ -670,9 +661,8 @@ func (m *CreateRequest_Body) Size() (n int) {
l = m.OwnerId.Size() l = m.OwnerId.Size()
n += 1 + l + sovService(uint64(l)) n += 1 + l + sovService(uint64(l))
} }
if m.Lifetime != nil { if m.Expiration != 0 {
l = m.Lifetime.Size() n += 1 + sovService(uint64(m.Expiration))
n += 1 + l + sovService(uint64(l))
} }
if m.XXX_unrecognized != nil { if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized) n += len(m.XXX_unrecognized)
@ -825,7 +815,7 @@ func (m *CreateRequest) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.MetaHeader == nil { if m.MetaHeader == nil {
m.MetaHeader = &grpc.RequestMetaHeader{} m.MetaHeader = &RequestMetaHeader{}
} }
if err := m.MetaHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.MetaHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
@ -861,7 +851,7 @@ func (m *CreateRequest) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.VerifyHeader == nil { if m.VerifyHeader == nil {
m.VerifyHeader = &grpc.RequestVerificationHeader{} m.VerifyHeader = &RequestVerificationHeader{}
} }
if err := m.VerifyHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.VerifyHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
@ -951,17 +941,17 @@ func (m *CreateRequest_Body) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.OwnerId == nil { if m.OwnerId == nil {
m.OwnerId = &grpc1.OwnerID{} m.OwnerId = &grpc.OwnerID{}
} }
if err := m.OwnerId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.OwnerId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
} }
iNdEx = postIndex iNdEx = postIndex
case 2: case 2:
if wireType != 2 { if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Lifetime", wireType) return fmt.Errorf("proto: wrong wireType = %d for field Expiration", wireType)
} }
var msglen int m.Expiration = 0
for shift := uint(0); ; shift += 7 { for shift := uint(0); ; shift += 7 {
if shift >= 64 { if shift >= 64 {
return ErrIntOverflowService return ErrIntOverflowService
@ -971,28 +961,11 @@ func (m *CreateRequest_Body) Unmarshal(dAtA []byte) error {
} }
b := dAtA[iNdEx] b := dAtA[iNdEx]
iNdEx++ iNdEx++
msglen |= int(b&0x7F) << shift m.Expiration |= uint64(b&0x7F) << shift
if b < 0x80 { if b < 0x80 {
break break
} }
} }
if msglen < 0 {
return ErrInvalidLengthService
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthService
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Lifetime == nil {
m.Lifetime = &grpc.TokenLifetime{}
}
if err := m.Lifetime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default: default:
iNdEx = preIndex iNdEx = preIndex
skippy, err := skipService(dAtA[iNdEx:]) skippy, err := skipService(dAtA[iNdEx:])
@ -1113,7 +1086,7 @@ func (m *CreateResponse) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.MetaHeader == nil { if m.MetaHeader == nil {
m.MetaHeader = &grpc.ResponseMetaHeader{} m.MetaHeader = &ResponseMetaHeader{}
} }
if err := m.MetaHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.MetaHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err
@ -1149,7 +1122,7 @@ func (m *CreateResponse) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.VerifyHeader == nil { if m.VerifyHeader == nil {
m.VerifyHeader = &grpc.ResponseVerificationHeader{} m.VerifyHeader = &ResponseVerificationHeader{}
} }
if err := m.VerifyHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { if err := m.VerifyHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err return err

File diff suppressed because it is too large Load diff

View file

@ -33,7 +33,7 @@ type StorageGroup struct {
// payloads of the storage group members // payloads of the storage group members
// The order of concatenation is the same as the order of the members in the // The order of concatenation is the same as the order of the members in the
// Members field. // Members field.
ValidationHash []byte `protobuf:"bytes,2,opt,name=validation_hash,json=validationHash,proto3" json:"validation_hash,omitempty"` ValidationHash *grpc.Checksum `protobuf:"bytes,2,opt,name=validation_hash,json=validationHash,proto3" json:"validation_hash,omitempty"`
// expiration_epoch carries last NeoFS epoch number of the storage group // expiration_epoch carries last NeoFS epoch number of the storage group
// lifetime. // lifetime.
ExpirationEpoch uint64 `protobuf:"varint,3,opt,name=expiration_epoch,json=expirationEpoch,proto3" json:"expiration_epoch,omitempty"` ExpirationEpoch uint64 `protobuf:"varint,3,opt,name=expiration_epoch,json=expirationEpoch,proto3" json:"expiration_epoch,omitempty"`
@ -85,7 +85,7 @@ func (m *StorageGroup) GetValidationDataSize() uint64 {
return 0 return 0
} }
func (m *StorageGroup) GetValidationHash() []byte { func (m *StorageGroup) GetValidationHash() *grpc.Checksum {
if m != nil { if m != nil {
return m.ValidationHash return m.ValidationHash
} }
@ -113,26 +113,27 @@ func init() {
func init() { proto.RegisterFile("v2/storagegroup/grpc/types.proto", fileDescriptor_f1685cc94b670845) } func init() { proto.RegisterFile("v2/storagegroup/grpc/types.proto", fileDescriptor_f1685cc94b670845) }
var fileDescriptor_f1685cc94b670845 = []byte{ var fileDescriptor_f1685cc94b670845 = []byte{
// 301 bytes of a gzipped FileDescriptorProto // 306 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xcd, 0x4a, 0x33, 0x31, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x3f, 0x4e, 0xc3, 0x30,
0x18, 0x85, 0xbf, 0xb4, 0xe5, 0x13, 0x62, 0xb1, 0x12, 0x44, 0xa2, 0x8b, 0x61, 0x70, 0x63, 0x5d, 0x18, 0xc5, 0x71, 0x5b, 0x81, 0x14, 0x10, 0x45, 0x11, 0x42, 0x86, 0x21, 0x8a, 0x98, 0xca, 0x50,
0x34, 0x91, 0x71, 0xe9, 0x4a, 0xad, 0x3f, 0xdd, 0xa8, 0xb4, 0x3b, 0x37, 0x25, 0x93, 0xbe, 0x9d, 0x1b, 0x85, 0x91, 0xa9, 0xb4, 0xfc, 0xe9, 0x02, 0xa8, 0xdd, 0x58, 0x2a, 0xc7, 0xfd, 0x1a, 0x1b,
0x89, 0xd8, 0x49, 0x4c, 0xd2, 0x41, 0x7b, 0x25, 0x5e, 0x83, 0x57, 0xd2, 0xa5, 0x97, 0x20, 0xe3, 0x48, 0x6c, 0x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26, 0xf5, 0x8c, 0x67, 0xce, 0x48, 0xd9, 0x9b, 0x40, 0xce, 0x33, 0xd0, 0xfe, 0x13, 0x6c, 0x3c, 0xf4, 0x13, 0xe9, 0xc4, 0x3c, 0x26, 0x5c, 0xa5, 0x34, 0xb3, 0x9a, 0xf3,
0x53, 0xd7, 0x13, 0x46, 0xf5, 0x12, 0xcd, 0xff, 0x9a, 0xf4, 0xb4, 0x4e, 0xde, 0x1b, 0x7b, 0xb7, 0xee, 0x14, 0x72, 0x9a, 0x81, 0x9a, 0xd9, 0x2e, 0xd3, 0xb2, 0x9b, 0x28, 0xba, 0x6e, 0xec, 0xf3,
0xa0, 0xaf, 0x46, 0xec, 0xec, 0x7e, 0x50, 0x1e, 0xaf, 0x8f, 0x15, 0xff, 0x5f, 0x8d, 0x78, 0xf2, 0x7a, 0xf2, 0xd1, 0x38, 0xbc, 0x05, 0x75, 0x35, 0x26, 0xbd, 0xfb, 0x61, 0x29, 0xaf, 0xcf, 0x18,
0x1d, 0x00, 0x00, 0xff, 0xff, 0xcd, 0x95, 0x67, 0x64, 0x9a, 0x01, 0x00, 0x00, 0x6f, 0x2e, 0xe7, 0x3d, 0xfb, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x31, 0x2e, 0xd2, 0x63, 0xb4, 0x01,
0x00, 0x00,
} }
func (m *StorageGroup) Marshal() (dAtA []byte, err error) { func (m *StorageGroup) Marshal() (dAtA []byte, err error) {
@ -178,10 +179,15 @@ func (m *StorageGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i-- i--
dAtA[i] = 0x18 dAtA[i] = 0x18
} }
if len(m.ValidationHash) > 0 { if m.ValidationHash != nil {
i -= len(m.ValidationHash) {
copy(dAtA[i:], m.ValidationHash) size, err := m.ValidationHash.MarshalToSizedBuffer(dAtA[:i])
i = encodeVarintTypes(dAtA, i, uint64(len(m.ValidationHash))) if err != nil {
return 0, err
}
i -= size
i = encodeVarintTypes(dAtA, i, uint64(size))
}
i-- i--
dAtA[i] = 0x12 dAtA[i] = 0x12
} }
@ -213,8 +219,8 @@ func (m *StorageGroup) Size() (n int) {
if m.ValidationDataSize != 0 { if m.ValidationDataSize != 0 {
n += 1 + sovTypes(uint64(m.ValidationDataSize)) n += 1 + sovTypes(uint64(m.ValidationDataSize))
} }
l = len(m.ValidationHash) if m.ValidationHash != nil {
if l > 0 { l = m.ValidationHash.Size()
n += 1 + l + sovTypes(uint64(l)) n += 1 + l + sovTypes(uint64(l))
} }
if m.ExpirationEpoch != 0 { if m.ExpirationEpoch != 0 {
@ -290,7 +296,7 @@ func (m *StorageGroup) Unmarshal(dAtA []byte) error {
if wireType != 2 { if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ValidationHash", wireType) return fmt.Errorf("proto: wrong wireType = %d for field ValidationHash", wireType)
} }
var byteLen int var msglen int
for shift := uint(0); ; shift += 7 { for shift := uint(0); ; shift += 7 {
if shift >= 64 { if shift >= 64 {
return ErrIntOverflowTypes return ErrIntOverflowTypes
@ -300,24 +306,26 @@ func (m *StorageGroup) Unmarshal(dAtA []byte) error {
} }
b := dAtA[iNdEx] b := dAtA[iNdEx]
iNdEx++ iNdEx++
byteLen |= int(b&0x7F) << shift msglen |= int(b&0x7F) << shift
if b < 0x80 { if b < 0x80 {
break break
} }
} }
if byteLen < 0 { if msglen < 0 {
return ErrInvalidLengthTypes return ErrInvalidLengthTypes
} }
postIndex := iNdEx + byteLen postIndex := iNdEx + msglen
if postIndex < 0 { if postIndex < 0 {
return ErrInvalidLengthTypes return ErrInvalidLengthTypes
} }
if postIndex > l { if postIndex > l {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
m.ValidationHash = append(m.ValidationHash[:0], dAtA[iNdEx:postIndex]...)
if m.ValidationHash == nil { if m.ValidationHash == nil {
m.ValidationHash = []byte{} m.ValidationHash = &grpc.Checksum{}
}
if err := m.ValidationHash.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
} }
iNdEx = postIndex iNdEx = postIndex
case 3: case 3: