forked from TrueCloudLab/frostfs-api-go
Update neofs-api to latest jindo version
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
c3604d00f0
commit
c94cb44b58
17 changed files with 2115 additions and 2236 deletions
|
@ -154,64 +154,6 @@ func (m *BalanceRequest_Body) GetOwnerId() *grpc1.OwnerID {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Decimal represents the decimal numbers.
|
|
||||||
type Decimal struct {
|
|
||||||
// value carries number value.
|
|
||||||
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
|
||||||
// precision carries value precision.
|
|
||||||
Precision uint32 `protobuf:"varint,2,opt,name=precision,proto3" json:"precision,omitempty"`
|
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *Decimal) Reset() { *m = Decimal{} }
|
|
||||||
func (m *Decimal) String() string { return proto.CompactTextString(m) }
|
|
||||||
func (*Decimal) ProtoMessage() {}
|
|
||||||
func (*Decimal) Descriptor() ([]byte, []int) {
|
|
||||||
return fileDescriptor_d9dd5af2ff2bbb25, []int{1}
|
|
||||||
}
|
|
||||||
func (m *Decimal) XXX_Unmarshal(b []byte) error {
|
|
||||||
return m.Unmarshal(b)
|
|
||||||
}
|
|
||||||
func (m *Decimal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
if deterministic {
|
|
||||||
return xxx_messageInfo_Decimal.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 *Decimal) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_Decimal.Merge(m, src)
|
|
||||||
}
|
|
||||||
func (m *Decimal) XXX_Size() int {
|
|
||||||
return m.Size()
|
|
||||||
}
|
|
||||||
func (m *Decimal) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_Decimal.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_Decimal proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *Decimal) GetValue() int64 {
|
|
||||||
if m != nil {
|
|
||||||
return m.Value
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *Decimal) GetPrecision() uint32 {
|
|
||||||
if m != nil {
|
|
||||||
return m.Precision
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
// Message defines the response body of Balance method.
|
// Message defines the response body of Balance method.
|
||||||
//
|
//
|
||||||
// The amount of funds is calculated in decimal numbers.
|
// The amount of funds is calculated in decimal numbers.
|
||||||
|
@ -234,7 +176,7 @@ func (m *BalanceResponse) Reset() { *m = BalanceResponse{} }
|
||||||
func (m *BalanceResponse) String() string { return proto.CompactTextString(m) }
|
func (m *BalanceResponse) String() string { return proto.CompactTextString(m) }
|
||||||
func (*BalanceResponse) ProtoMessage() {}
|
func (*BalanceResponse) ProtoMessage() {}
|
||||||
func (*BalanceResponse) Descriptor() ([]byte, []int) {
|
func (*BalanceResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_d9dd5af2ff2bbb25, []int{2}
|
return fileDescriptor_d9dd5af2ff2bbb25, []int{1}
|
||||||
}
|
}
|
||||||
func (m *BalanceResponse) XXX_Unmarshal(b []byte) error {
|
func (m *BalanceResponse) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
|
@ -297,7 +239,7 @@ func (m *BalanceResponse_Body) Reset() { *m = BalanceResponse_Body{} }
|
||||||
func (m *BalanceResponse_Body) String() string { return proto.CompactTextString(m) }
|
func (m *BalanceResponse_Body) String() string { return proto.CompactTextString(m) }
|
||||||
func (*BalanceResponse_Body) ProtoMessage() {}
|
func (*BalanceResponse_Body) ProtoMessage() {}
|
||||||
func (*BalanceResponse_Body) Descriptor() ([]byte, []int) {
|
func (*BalanceResponse_Body) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_d9dd5af2ff2bbb25, []int{2, 0}
|
return fileDescriptor_d9dd5af2ff2bbb25, []int{1, 0}
|
||||||
}
|
}
|
||||||
func (m *BalanceResponse_Body) XXX_Unmarshal(b []byte) error {
|
func (m *BalanceResponse_Body) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
|
@ -336,7 +278,6 @@ func (m *BalanceResponse_Body) GetBalance() *Decimal {
|
||||||
func init() {
|
func init() {
|
||||||
proto.RegisterType((*BalanceRequest)(nil), "neo.fs.v2.accounting.BalanceRequest")
|
proto.RegisterType((*BalanceRequest)(nil), "neo.fs.v2.accounting.BalanceRequest")
|
||||||
proto.RegisterType((*BalanceRequest_Body)(nil), "neo.fs.v2.accounting.BalanceRequest.Body")
|
proto.RegisterType((*BalanceRequest_Body)(nil), "neo.fs.v2.accounting.BalanceRequest.Body")
|
||||||
proto.RegisterType((*Decimal)(nil), "neo.fs.v2.accounting.Decimal")
|
|
||||||
proto.RegisterType((*BalanceResponse)(nil), "neo.fs.v2.accounting.BalanceResponse")
|
proto.RegisterType((*BalanceResponse)(nil), "neo.fs.v2.accounting.BalanceResponse")
|
||||||
proto.RegisterType((*BalanceResponse_Body)(nil), "neo.fs.v2.accounting.BalanceResponse.Body")
|
proto.RegisterType((*BalanceResponse_Body)(nil), "neo.fs.v2.accounting.BalanceResponse.Body")
|
||||||
}
|
}
|
||||||
|
@ -344,37 +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{
|
||||||
// 478 bytes of a gzipped FileDescriptorProto
|
// 438 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x4f, 0x6e, 0x13, 0x31,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcb, 0x8a, 0xd4, 0x40,
|
||||||
0x18, 0xc5, 0x99, 0xb4, 0x10, 0x70, 0x29, 0x08, 0xab, 0x52, 0xa3, 0x51, 0x89, 0xaa, 0xa8, 0x95,
|
0x18, 0x85, 0x4d, 0x1c, 0x6c, 0xa9, 0xf1, 0x82, 0x85, 0x30, 0x4d, 0xc4, 0x30, 0x0c, 0x33, 0xa0,
|
||||||
0x00, 0x11, 0x8f, 0x34, 0x2c, 0x90, 0x40, 0xa5, 0x6a, 0x54, 0x2a, 0xb2, 0xe0, 0xdf, 0x54, 0xea,
|
0x62, 0x2a, 0x10, 0x17, 0x82, 0xa2, 0xc3, 0x34, 0xe3, 0x60, 0x2f, 0xbc, 0x65, 0x60, 0x16, 0x6e,
|
||||||
0x82, 0x4d, 0xe5, 0x78, 0xbe, 0xa4, 0x56, 0x13, 0x7b, 0x18, 0x3b, 0x46, 0xb9, 0x09, 0x17, 0x60,
|
0x86, 0x4a, 0xe5, 0x4f, 0xa6, 0xe8, 0x4e, 0x55, 0x4c, 0x55, 0x47, 0xf2, 0x26, 0xbe, 0x80, 0x1b,
|
||||||
0xc3, 0x82, 0x73, 0xb0, 0xe4, 0x08, 0x28, 0x5c, 0x04, 0x8d, 0xed, 0x64, 0x52, 0x98, 0xb6, 0xd9,
|
0x17, 0x3e, 0x87, 0x4b, 0x1f, 0x41, 0xda, 0x17, 0x91, 0xdc, 0xfa, 0x42, 0xa7, 0xed, 0xde, 0xa5,
|
||||||
0xc5, 0xf9, 0xde, 0x7b, 0xfe, 0xde, 0x4f, 0x63, 0xb4, 0x6d, 0xe2, 0x88, 0x32, 0x26, 0xc7, 0x42,
|
0xf8, 0xcf, 0x39, 0x7f, 0x9d, 0x8f, 0x14, 0xda, 0xcf, 0x3d, 0x97, 0x32, 0x26, 0x27, 0x42, 0x73,
|
||||||
0x73, 0x31, 0x88, 0x06, 0x79, 0xc6, 0x22, 0x05, 0xb9, 0xe1, 0x0c, 0x48, 0x96, 0x4b, 0x2d, 0xf1,
|
0x11, 0xbb, 0x71, 0x96, 0x32, 0x57, 0x41, 0x96, 0x73, 0x06, 0x24, 0xcd, 0xa4, 0x96, 0xf8, 0xbe,
|
||||||
0x86, 0x00, 0x49, 0xfa, 0x8a, 0x98, 0x98, 0x94, 0xc2, 0xb0, 0x61, 0xe2, 0x28, 0x87, 0xbe, 0x72,
|
0x00, 0x49, 0x22, 0x45, 0x72, 0x8f, 0xcc, 0x85, 0x96, 0xdd, 0xe1, 0xd3, 0x45, 0x0a, 0xaa, 0x76,
|
||||||
0x0e, 0x3d, 0xc9, 0x40, 0x39, 0x7d, 0x18, 0x9a, 0x78, 0x96, 0xe0, 0x86, 0x23, 0xd0, 0xd4, 0xcf,
|
0x59, 0xfd, 0xdc, 0x73, 0x33, 0x88, 0xd4, 0xea, 0xe4, 0x41, 0xee, 0xb5, 0x1b, 0x56, 0x86, 0x07,
|
||||||
0xb6, 0xfe, 0x9d, 0x19, 0xc8, 0x79, 0x7f, 0xe2, 0xa6, 0xad, 0x6f, 0x35, 0x74, 0xaf, 0x43, 0x87,
|
0xdf, 0x4d, 0x74, 0x67, 0x40, 0xc7, 0x54, 0x30, 0xf0, 0xe1, 0xcb, 0x04, 0x94, 0xc6, 0xaf, 0xd0,
|
||||||
0x54, 0x30, 0x48, 0xe0, 0xf3, 0x18, 0x94, 0xc6, 0x7b, 0x68, 0xb5, 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, 0x00, 0xff, 0xff, 0x15, 0x3d,
|
||||||
0xb5, 0x69, 0xc6, 0xdb, 0x03, 0x19, 0xfd, 0xff, 0x88, 0x5f, 0x96, 0xe7, 0xef, 0xb5, 0xcd, 0x77,
|
0x57, 0xcb, 0xca, 0x03, 0x00, 0x00,
|
||||||
0x20, 0x8f, 0x8e, 0xc9, 0xc1, 0x87, 0x6e, 0x71, 0x79, 0xd9, 0xa5, 0x77, 0xcb, 0x3e, 0xbc, 0x67,
|
|
||||||
0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x34, 0x56, 0xa2, 0x45, 0x06, 0x04, 0x00, 0x00,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
@ -561,43 +500,6 @@ func (m *BalanceRequest_Body) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||||
return len(dAtA) - i, nil
|
return len(dAtA) - i, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Decimal) 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 *Decimal) MarshalTo(dAtA []byte) (int, error) {
|
|
||||||
size := m.Size()
|
|
||||||
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *Decimal) 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.Precision != 0 {
|
|
||||||
i = encodeVarintService(dAtA, i, uint64(m.Precision))
|
|
||||||
i--
|
|
||||||
dAtA[i] = 0x10
|
|
||||||
}
|
|
||||||
if m.Value != 0 {
|
|
||||||
i = encodeVarintService(dAtA, i, uint64(m.Value))
|
|
||||||
i--
|
|
||||||
dAtA[i] = 0x8
|
|
||||||
}
|
|
||||||
return len(dAtA) - i, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *BalanceResponse) Marshal() (dAtA []byte, err error) {
|
func (m *BalanceResponse) Marshal() (dAtA []byte, err error) {
|
||||||
size := m.Size()
|
size := m.Size()
|
||||||
dAtA = make([]byte, size)
|
dAtA = make([]byte, size)
|
||||||
|
@ -751,24 +653,6 @@ func (m *BalanceRequest_Body) Size() (n int) {
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Decimal) Size() (n int) {
|
|
||||||
if m == nil {
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
var l int
|
|
||||||
_ = l
|
|
||||||
if m.Value != 0 {
|
|
||||||
n += 1 + sovService(uint64(m.Value))
|
|
||||||
}
|
|
||||||
if m.Precision != 0 {
|
|
||||||
n += 1 + sovService(uint64(m.Precision))
|
|
||||||
}
|
|
||||||
if m.XXX_unrecognized != nil {
|
|
||||||
n += len(m.XXX_unrecognized)
|
|
||||||
}
|
|
||||||
return n
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *BalanceResponse) Size() (n int) {
|
func (m *BalanceResponse) Size() (n int) {
|
||||||
if m == nil {
|
if m == nil {
|
||||||
return 0
|
return 0
|
||||||
|
@ -1067,98 +951,6 @@ func (m *BalanceRequest_Body) Unmarshal(dAtA []byte) error {
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
func (m *Decimal) 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 ErrIntOverflowService
|
|
||||||
}
|
|
||||||
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: Decimal: wiretype end group for non-group")
|
|
||||||
}
|
|
||||||
if fieldNum <= 0 {
|
|
||||||
return fmt.Errorf("proto: Decimal: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
||||||
}
|
|
||||||
switch fieldNum {
|
|
||||||
case 1:
|
|
||||||
if wireType != 0 {
|
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
|
|
||||||
}
|
|
||||||
m.Value = 0
|
|
||||||
for shift := uint(0); ; shift += 7 {
|
|
||||||
if shift >= 64 {
|
|
||||||
return ErrIntOverflowService
|
|
||||||
}
|
|
||||||
if iNdEx >= l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
b := dAtA[iNdEx]
|
|
||||||
iNdEx++
|
|
||||||
m.Value |= int64(b&0x7F) << shift
|
|
||||||
if b < 0x80 {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 2:
|
|
||||||
if wireType != 0 {
|
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field Precision", wireType)
|
|
||||||
}
|
|
||||||
m.Precision = 0
|
|
||||||
for shift := uint(0); ; shift += 7 {
|
|
||||||
if shift >= 64 {
|
|
||||||
return ErrIntOverflowService
|
|
||||||
}
|
|
||||||
if iNdEx >= l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
b := dAtA[iNdEx]
|
|
||||||
iNdEx++
|
|
||||||
m.Precision |= uint32(b&0x7F) << shift
|
|
||||||
if b < 0x80 {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
default:
|
|
||||||
iNdEx = preIndex
|
|
||||||
skippy, err := skipService(dAtA[iNdEx:])
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
if skippy < 0 {
|
|
||||||
return ErrInvalidLengthService
|
|
||||||
}
|
|
||||||
if (iNdEx + skippy) < 0 {
|
|
||||||
return ErrInvalidLengthService
|
|
||||||
}
|
|
||||||
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 *BalanceResponse) Unmarshal(dAtA []byte) error {
|
func (m *BalanceResponse) Unmarshal(dAtA []byte) error {
|
||||||
l := len(dAtA)
|
l := len(dAtA)
|
||||||
iNdEx := 0
|
iNdEx := 0
|
||||||
|
|
353
v2/accounting/grpc/types.pb.go
Normal file
353
v2/accounting/grpc/types.pb.go
Normal file
|
@ -0,0 +1,353 @@
|
||||||
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||||
|
// source: v2/accounting/grpc/types.proto
|
||||||
|
|
||||||
|
package accounting
|
||||||
|
|
||||||
|
import (
|
||||||
|
fmt "fmt"
|
||||||
|
proto "github.com/golang/protobuf/proto"
|
||||||
|
io "io"
|
||||||
|
math "math"
|
||||||
|
math_bits "math/bits"
|
||||||
|
)
|
||||||
|
|
||||||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
var _ = proto.Marshal
|
||||||
|
var _ = fmt.Errorf
|
||||||
|
var _ = math.Inf
|
||||||
|
|
||||||
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
|
// Decimal represents the decimal numbers.
|
||||||
|
type Decimal struct {
|
||||||
|
// value carries number value.
|
||||||
|
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
|
// precision carries value precision.
|
||||||
|
Precision uint32 `protobuf:"varint,2,opt,name=precision,proto3" json:"precision,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *Decimal) Reset() { *m = Decimal{} }
|
||||||
|
func (m *Decimal) String() string { return proto.CompactTextString(m) }
|
||||||
|
func (*Decimal) ProtoMessage() {}
|
||||||
|
func (*Decimal) Descriptor() ([]byte, []int) {
|
||||||
|
return fileDescriptor_86d8857937dfd0e8, []int{0}
|
||||||
|
}
|
||||||
|
func (m *Decimal) XXX_Unmarshal(b []byte) error {
|
||||||
|
return m.Unmarshal(b)
|
||||||
|
}
|
||||||
|
func (m *Decimal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
if deterministic {
|
||||||
|
return xxx_messageInfo_Decimal.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 *Decimal) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_Decimal.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *Decimal) XXX_Size() int {
|
||||||
|
return m.Size()
|
||||||
|
}
|
||||||
|
func (m *Decimal) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_Decimal.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_Decimal proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *Decimal) GetValue() int64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Value
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *Decimal) GetPrecision() uint32 {
|
||||||
|
if m != nil {
|
||||||
|
return m.Precision
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
proto.RegisterType((*Decimal)(nil), "neo.fs.v2.accounting.Decimal")
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { proto.RegisterFile("v2/accounting/grpc/types.proto", fileDescriptor_86d8857937dfd0e8) }
|
||||||
|
|
||||||
|
var fileDescriptor_86d8857937dfd0e8 = []byte{
|
||||||
|
// 203 bytes of a gzipped FileDescriptorProto
|
||||||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2b, 0x33, 0xd2, 0x4f,
|
||||||
|
0x4c, 0x4e, 0xce, 0x2f, 0xcd, 0x2b, 0xc9, 0xcc, 0x4b, 0xd7, 0x4f, 0x2f, 0x2a, 0x48, 0xd6, 0x2f,
|
||||||
|
0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0xc9, 0x4b, 0xcd, 0xd7,
|
||||||
|
0x4b, 0x2b, 0xd6, 0x2b, 0x33, 0xd2, 0x43, 0x28, 0x53, 0xb2, 0xe5, 0x62, 0x77, 0x49, 0x4d, 0xce,
|
||||||
|
0xcc, 0x4d, 0xcc, 0x11, 0x12, 0xe1, 0x62, 0x2d, 0x4b, 0xcc, 0x29, 0x4d, 0x95, 0x60, 0x54, 0x60,
|
||||||
|
0xd4, 0x60, 0x0e, 0x82, 0x70, 0x84, 0x64, 0xb8, 0x38, 0x0b, 0x8a, 0x52, 0x93, 0x33, 0x8b, 0x33,
|
||||||
|
0xf3, 0xf3, 0x24, 0x98, 0x14, 0x18, 0x35, 0x78, 0x83, 0x10, 0x02, 0x4e, 0xd9, 0x27, 0x1e, 0xc9,
|
||||||
|
0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x8c, 0xc7, 0x72, 0x0c, 0x51, 0xf6,
|
||||||
|
0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x79, 0xc5, 0x05, 0xc9, 0xc9,
|
||||||
|
0xba, 0x29, 0xa9, 0x65, 0xfa, 0x79, 0xa9, 0xf9, 0x69, 0xc5, 0xba, 0x89, 0x05, 0x99, 0xba, 0xe9,
|
||||||
|
0xf9, 0xfa, 0x98, 0x0e, 0xb5, 0x46, 0xf0, 0x57, 0x31, 0x89, 0xfb, 0xa5, 0xe6, 0xbb, 0x05, 0xeb,
|
||||||
|
0x39, 0x06, 0x78, 0x82, 0xdc, 0xea, 0x08, 0x97, 0x49, 0x62, 0x03, 0x7b, 0xc4, 0x18, 0x10, 0x00,
|
||||||
|
0x00, 0xff, 0xff, 0xcd, 0x8e, 0x26, 0xec, 0xea, 0x00, 0x00, 0x00,
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *Decimal) 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 *Decimal) MarshalTo(dAtA []byte) (int, error) {
|
||||||
|
size := m.Size()
|
||||||
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *Decimal) 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.Precision != 0 {
|
||||||
|
i = encodeVarintTypes(dAtA, i, uint64(m.Precision))
|
||||||
|
i--
|
||||||
|
dAtA[i] = 0x10
|
||||||
|
}
|
||||||
|
if m.Value != 0 {
|
||||||
|
i = encodeVarintTypes(dAtA, i, uint64(m.Value))
|
||||||
|
i--
|
||||||
|
dAtA[i] = 0x8
|
||||||
|
}
|
||||||
|
return len(dAtA) - i, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func encodeVarintTypes(dAtA []byte, offset int, v uint64) int {
|
||||||
|
offset -= sovTypes(v)
|
||||||
|
base := offset
|
||||||
|
for v >= 1<<7 {
|
||||||
|
dAtA[offset] = uint8(v&0x7f | 0x80)
|
||||||
|
v >>= 7
|
||||||
|
offset++
|
||||||
|
}
|
||||||
|
dAtA[offset] = uint8(v)
|
||||||
|
return base
|
||||||
|
}
|
||||||
|
func (m *Decimal) Size() (n int) {
|
||||||
|
if m == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
var l int
|
||||||
|
_ = l
|
||||||
|
if m.Value != 0 {
|
||||||
|
n += 1 + sovTypes(uint64(m.Value))
|
||||||
|
}
|
||||||
|
if m.Precision != 0 {
|
||||||
|
n += 1 + sovTypes(uint64(m.Precision))
|
||||||
|
}
|
||||||
|
if m.XXX_unrecognized != nil {
|
||||||
|
n += len(m.XXX_unrecognized)
|
||||||
|
}
|
||||||
|
return n
|
||||||
|
}
|
||||||
|
|
||||||
|
func sovTypes(x uint64) (n int) {
|
||||||
|
return (math_bits.Len64(x|1) + 6) / 7
|
||||||
|
}
|
||||||
|
func sozTypes(x uint64) (n int) {
|
||||||
|
return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
||||||
|
}
|
||||||
|
func (m *Decimal) 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: Decimal: wiretype end group for non-group")
|
||||||
|
}
|
||||||
|
if fieldNum <= 0 {
|
||||||
|
return fmt.Errorf("proto: Decimal: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||||
|
}
|
||||||
|
switch fieldNum {
|
||||||
|
case 1:
|
||||||
|
if wireType != 0 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
|
||||||
|
}
|
||||||
|
m.Value = 0
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowTypes
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
m.Value |= int64(b&0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 2:
|
||||||
|
if wireType != 0 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field Precision", wireType)
|
||||||
|
}
|
||||||
|
m.Precision = 0
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowTypes
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
m.Precision |= 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 skipTypes(dAtA []byte) (n int, err error) {
|
||||||
|
l := len(dAtA)
|
||||||
|
iNdEx := 0
|
||||||
|
depth := 0
|
||||||
|
for iNdEx < l {
|
||||||
|
var wire uint64
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return 0, ErrIntOverflowTypes
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return 0, io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
wire |= (uint64(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
wireType := int(wire & 0x7)
|
||||||
|
switch wireType {
|
||||||
|
case 0:
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return 0, ErrIntOverflowTypes
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return 0, io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
iNdEx++
|
||||||
|
if dAtA[iNdEx-1] < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 1:
|
||||||
|
iNdEx += 8
|
||||||
|
case 2:
|
||||||
|
var length int
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return 0, ErrIntOverflowTypes
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return 0, io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
length |= (int(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if length < 0 {
|
||||||
|
return 0, ErrInvalidLengthTypes
|
||||||
|
}
|
||||||
|
iNdEx += length
|
||||||
|
case 3:
|
||||||
|
depth++
|
||||||
|
case 4:
|
||||||
|
if depth == 0 {
|
||||||
|
return 0, ErrUnexpectedEndOfGroupTypes
|
||||||
|
}
|
||||||
|
depth--
|
||||||
|
case 5:
|
||||||
|
iNdEx += 4
|
||||||
|
default:
|
||||||
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
||||||
|
}
|
||||||
|
if iNdEx < 0 {
|
||||||
|
return 0, ErrInvalidLengthTypes
|
||||||
|
}
|
||||||
|
if depth == 0 {
|
||||||
|
return iNdEx, nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return 0, io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling")
|
||||||
|
ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow")
|
||||||
|
ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
|
||||||
|
)
|
|
@ -116,8 +116,9 @@ func PutRequestBodyToGRPCMessage(r *PutRequestBody) *container.PutRequest_Body {
|
||||||
ContainerToGRPCMessage(r.GetContainer()),
|
ContainerToGRPCMessage(r.GetContainer()),
|
||||||
)
|
)
|
||||||
|
|
||||||
m.SetPublicKey(r.GetPublicKey())
|
m.SetSignature(
|
||||||
m.SetSignature(r.GetSignature())
|
service.SignatureToGRPCMessage(r.GetSignature()),
|
||||||
|
)
|
||||||
|
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
@ -133,8 +134,9 @@ func PutRequestBodyFromGRPCMessage(m *container.PutRequest_Body) *PutRequestBody
|
||||||
ContainerFromGRPCMessage(m.GetContainer()),
|
ContainerFromGRPCMessage(m.GetContainer()),
|
||||||
)
|
)
|
||||||
|
|
||||||
r.SetPublicKey(m.GetPublicKey())
|
r.SetSignature(
|
||||||
r.SetSignature(m.GetSignature())
|
service.SignatureFromGRPCMessage(m.GetSignature()),
|
||||||
|
)
|
||||||
|
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
@ -362,7 +364,9 @@ func DeleteRequestBodyToGRPCMessage(r *DeleteRequestBody) *container.DeleteReque
|
||||||
refs.ContainerIDToGRPCMessage(r.GetContainerID()),
|
refs.ContainerIDToGRPCMessage(r.GetContainerID()),
|
||||||
)
|
)
|
||||||
|
|
||||||
m.SetSignature(r.GetSignature())
|
m.SetSignature(
|
||||||
|
service.SignatureToGRPCMessage(r.GetSignature()),
|
||||||
|
)
|
||||||
|
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
@ -378,7 +382,9 @@ func DeleteRequestBodyFromGRPCMessage(m *container.DeleteRequest_Body) *DeleteRe
|
||||||
refs.ContainerIDFromGRPCMessage(m.GetContainerId()),
|
refs.ContainerIDFromGRPCMessage(m.GetContainerId()),
|
||||||
)
|
)
|
||||||
|
|
||||||
r.SetSignature(m.GetSignature())
|
r.SetSignature(
|
||||||
|
service.SignatureFromGRPCMessage(m.GetSignature()),
|
||||||
|
)
|
||||||
|
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
@ -608,7 +614,8 @@ func SetExtendedACLRequestBodyToGRPCMessage(r *SetExtendedACLRequestBody) *conta
|
||||||
acl.TableToGRPCMessage(r.GetEACL()),
|
acl.TableToGRPCMessage(r.GetEACL()),
|
||||||
)
|
)
|
||||||
|
|
||||||
m.SetSignature(r.GetSignature())
|
m.SetSignature(
|
||||||
|
service.SignatureToGRPCMessage(r.GetSignature()))
|
||||||
|
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
@ -624,6 +631,10 @@ func SetExtendedACLRequestBodyFromGRPCMessage(m *container.SetExtendedACLRequest
|
||||||
acl.TableFromGRPCMessage(m.GetEacl()),
|
acl.TableFromGRPCMessage(m.GetEacl()),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
r.SetSignature(
|
||||||
|
service.SignatureFromGRPCMessage(m.GetSignature()),
|
||||||
|
)
|
||||||
|
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -782,7 +793,9 @@ func GetExtendedACLResponseBodyToGRPCMessage(r *GetExtendedACLResponseBody) *con
|
||||||
acl.TableToGRPCMessage(r.GetEACL()),
|
acl.TableToGRPCMessage(r.GetEACL()),
|
||||||
)
|
)
|
||||||
|
|
||||||
m.SetSignature(r.GetSignature())
|
m.SetSignature(
|
||||||
|
service.SignatureToGRPCMessage(r.GetSignature()),
|
||||||
|
)
|
||||||
|
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
@ -798,7 +811,9 @@ func GetExtendedACLResponseBodyFromGRPCMessage(m *container.GetExtendedACLRespon
|
||||||
acl.TableFromGRPCMessage(m.GetEacl()),
|
acl.TableFromGRPCMessage(m.GetEacl()),
|
||||||
)
|
)
|
||||||
|
|
||||||
r.SetSignature(m.GetSignature())
|
r.SetSignature(
|
||||||
|
service.SignatureFromGRPCMessage(m.GetSignature()),
|
||||||
|
)
|
||||||
|
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,15 +13,8 @@ func (m *PutRequest_Body) SetContainer(v *Container) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetPublicKey sets public key of the container owner.
|
|
||||||
func (m *PutRequest_Body) SetPublicKey(v []byte) {
|
|
||||||
if m != nil {
|
|
||||||
m.PublicKey = v
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// SetSignature sets signature of the container structure.
|
// SetSignature sets signature of the container structure.
|
||||||
func (m *PutRequest_Body) SetSignature(v []byte) {
|
func (m *PutRequest_Body) SetSignature(v *service.Signature) {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
m.Signature = v
|
m.Signature = v
|
||||||
}
|
}
|
||||||
|
@ -84,7 +77,7 @@ func (m *DeleteRequest_Body) SetContainerId(v *refs.ContainerID) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetSignature sets signature of the container identifier.
|
// SetSignature sets signature of the container identifier.
|
||||||
func (m *DeleteRequest_Body) SetSignature(v []byte) {
|
func (m *DeleteRequest_Body) SetSignature(v *service.Signature) {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
m.Signature = v
|
m.Signature = v
|
||||||
}
|
}
|
||||||
|
@ -250,7 +243,7 @@ func (m *SetExtendedACLRequest_Body) SetEacl(v *acl.EACLTable) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetSignature sets signature of the eACL table.
|
// SetSignature sets signature of the eACL table.
|
||||||
func (m *SetExtendedACLRequest_Body) SetSignature(v []byte) {
|
func (m *SetExtendedACLRequest_Body) SetSignature(v *service.Signature) {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
m.Signature = v
|
m.Signature = v
|
||||||
}
|
}
|
||||||
|
@ -334,7 +327,7 @@ func (m *GetExtendedACLResponse_Body) SetEacl(v *acl.EACLTable) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetSignature sets signature of the eACL table.
|
// SetSignature sets signature of the eACL table.
|
||||||
func (m *GetExtendedACLResponse_Body) SetSignature(v []byte) {
|
func (m *GetExtendedACLResponse_Body) SetSignature(v *service.Signature) {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
m.Signature = v
|
m.Signature = v
|
||||||
}
|
}
|
||||||
|
|
|
@ -103,11 +103,8 @@ func (m *PutRequest) GetVerifyHeader() *grpc.RequestVerificationHeader {
|
||||||
type PutRequest_Body struct {
|
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"`
|
||||||
// Public Key of container owner. It can be public key of the owner
|
|
||||||
// or it can be public key that bound in neofs.id smart-contract.
|
|
||||||
PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
|
||||||
//Signature of stable-marshalled container according to RFC-6979.
|
//Signature of stable-marshalled container according to RFC-6979.
|
||||||
Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
|
Signature *grpc.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:"-"`
|
||||||
|
@ -153,14 +150,7 @@ func (m *PutRequest_Body) GetContainer() *Container {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *PutRequest_Body) GetPublicKey() []byte {
|
func (m *PutRequest_Body) GetSignature() *grpc.Signature {
|
||||||
if m != nil {
|
|
||||||
return m.PublicKey
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *PutRequest_Body) GetSignature() []byte {
|
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.Signature
|
return m.Signature
|
||||||
}
|
}
|
||||||
|
@ -362,7 +352,7 @@ 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 []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
|
Signature *grpc.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:"-"`
|
||||||
|
@ -408,7 +398,7 @@ func (m *DeleteRequest_Body) GetContainerId() *grpc1.ContainerID {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *DeleteRequest_Body) GetSignature() []byte {
|
func (m *DeleteRequest_Body) GetSignature() *grpc.Signature {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.Signature
|
return m.Signature
|
||||||
}
|
}
|
||||||
|
@ -1077,7 +1067,7 @@ 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 []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
|
Signature *grpc.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:"-"`
|
||||||
|
@ -1123,7 +1113,7 @@ func (m *SetExtendedACLRequest_Body) GetEacl() *grpc2.EACLTable {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *SetExtendedACLRequest_Body) GetSignature() []byte {
|
func (m *SetExtendedACLRequest_Body) GetSignature() *grpc.Signature {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.Signature
|
return m.Signature
|
||||||
}
|
}
|
||||||
|
@ -1434,7 +1424,7 @@ 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 []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
|
Signature *grpc.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:"-"`
|
||||||
|
@ -1480,7 +1470,7 @@ func (m *GetExtendedACLResponse_Body) GetEacl() *grpc2.EACLTable {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *GetExtendedACLResponse_Body) GetSignature() []byte {
|
func (m *GetExtendedACLResponse_Body) GetSignature() *grpc.Signature {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.Signature
|
return m.Signature
|
||||||
}
|
}
|
||||||
|
@ -1517,60 +1507,58 @@ 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{
|
||||||
// 840 bytes of a gzipped FileDescriptorProto
|
// 813 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x98, 0x41, 0x6f, 0xd3, 0x4a,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x98, 0xcf, 0x6e, 0xd3, 0x5a,
|
||||||
0x10, 0xc7, 0x9f, 0xdd, 0xa8, 0xef, 0x75, 0x92, 0x56, 0x4f, 0x7e, 0x6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4d, 0x35, 0x45, 0x45, 0x45,
|
||||||
0x83, 0xab, 0x19, 0x0d, 0x99, 0x33, 0x91, 0x61, 0xab, 0x32, 0x62, 0x1b, 0x86, 0x6e, 0xe9, 0xd4,
|
0x9d, 0xad, 0xe9, 0x0d, 0x89, 0x35, 0x50, 0xb7, 0x14, 0x09, 0x99, 0x86, 0xae, 0x99, 0x1a, 0xf5,
|
||||||
0x7f, 0x1a, 0xd2, 0xd9, 0xaa, 0xc9, 0xda, 0x3c, 0xeb, 0xdb, 0xd1, 0xb3, 0x36, 0xcf, 0x49, 0x72,
|
0x9f, 0x8a, 0x1a, 0x53, 0x35, 0x18, 0x8b, 0x63, 0x7c, 0x5d, 0x66, 0xd6, 0xe2, 0x58, 0x51, 0xaa,
|
||||||
0x1d, 0xdb, 0x5b, 0xad, 0x06, 0x32, 0xb1, 0x35, 0x3d, 0xdf, 0x1b, 0x2e, 0x38, 0x9c, 0xb5, 0x79,
|
0x3b, 0x7a, 0xb3, 0xd5, 0x40, 0xc3, 0x51, 0x67, 0xae, 0x74, 0xa7, 0x0b, 0x3e, 0x4e, 0x5b, 0x1c,
|
||||||
0xce, 0x40, 0x55, 0xb3, 0x77, 0x84, 0xb6, 0xf9, 0xf6, 0xc4, 0x78, 0xf0, 0x18, 0x59, 0x92, 0x37,
|
0xab, 0x63, 0xd5, 0xe8, 0x7e, 0x32, 0x67, 0x71, 0xde, 0xc2, 0x5d, 0x0f, 0xe9, 0x53, 0x12, 0x60,
|
||||||
0x36, 0xd7, 0x3d, 0x66, 0x23, 0x43, 0xad, 0xb6, 0xf0, 0x28, 0xf3, 0x93, 0x04, 0xd8, 0x6b, 0x5a,
|
0xa7, 0x69, 0x0a, 0xf8, 0xaa, 0x89, 0x86, 0x49, 0xdd, 0x83, 0x44, 0x45, 0x93, 0x5b, 0x69, 0x22,
|
||||||
0x22, 0x7a, 0xde, 0x44, 0xa6, 0x45, 0xdd, 0x86, 0x54, 0x45, 0x57, 0x5a, 0x59, 0x22, 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c1, 0x5c, 0x2a, 0x0a, 0x49, 0x3f, 0xa0, 0x24, 0xd3, 0x3f, 0x48, 0x98, 0x2c, 0x62, 0x1d, 0x4d,
|
||||||
0xa8, 0x2a, 0x5e, 0x99, 0xff, 0x07, 0x42, 0x3b, 0x3a, 0xee, 0x70, 0x2e, 0x97, 0xc4, 0xb4, 0xef,
|
0xf4, 0x7c, 0xb9, 0x12, 0x02, 0x76, 0x33, 0x12, 0x58, 0x28, 0x22, 0x1e, 0xd6, 0x3c, 0x22, 0x46,
|
||||||
0x50, 0x56, 0x98, 0x2f, 0x24, 0x4c, 0x96, 0x50, 0x1d, 0x59, 0xa8, 0x2d, 0xcc, 0xd5, 0x10, 0xb0,
|
0x43, 0xec, 0x52, 0xe6, 0xfc, 0x45, 0xc0, 0x94, 0xc7, 0xce, 0xf5, 0xe7, 0x6a, 0x08, 0xf7, 0xe2,
|
||||||
0x6b, 0x91, 0xc0, 0x42, 0x1e, 0xc9, 0xd0, 0xa6, 0x32, 0x1a, 0x60, 0x61, 0xf5, 0x91, 0xdd, 0xea,
|
0xb9, 0xb8, 0xe3, 0x65, 0xd1, 0x71, 0x07, 0x38, 0xfd, 0x81, 0x04, 0xe0, 0x71, 0xa8, 0x73, 0xaf,
|
||||||
0xfb, 0x45, 0xc0, 0x54, 0x1b, 0x8e, 0x27, 0xc0, 0xb5, 0x10, 0xcf, 0xa5, 0x73, 0x79, 0x26, 0x4b,
|
0x23, 0x8f, 0x87, 0xb9, 0x46, 0xb5, 0x1b, 0x8f, 0x49, 0x48, 0xda, 0xbd, 0x0f, 0x71, 0x78, 0x05,
|
||||||
0x83, 0xe3, 0x18, 0x29, 0xf3, 0x8e, 0x04, 0x10, 0xd0, 0x50, 0x3b, 0x5b, 0xc7, 0x3c, 0x19, 0xea,
|
0xf4, 0x71, 0x71, 0x46, 0x71, 0x14, 0x53, 0x82, 0x7e, 0x4f, 0x42, 0x72, 0x5b, 0x31, 0x7c, 0x63,
|
||||||
0x19, 0xd5, 0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 0xf7, 0xcf, 0xc7, 0xad, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff,
|
|
||||||
0x27, 0x5d, 0xa8, 0x45, 0xbd, 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.
|
||||||
|
@ -1952,17 +1940,15 @@ func (m *PutRequest_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 len(m.Signature) > 0 {
|
if m.Signature != nil {
|
||||||
i -= len(m.Signature)
|
{
|
||||||
copy(dAtA[i:], m.Signature)
|
size, err := m.Signature.MarshalToSizedBuffer(dAtA[:i])
|
||||||
i = encodeVarintService(dAtA, i, uint64(len(m.Signature)))
|
if err != nil {
|
||||||
i--
|
return 0, err
|
||||||
dAtA[i] = 0x1a
|
}
|
||||||
|
i -= size
|
||||||
|
i = encodeVarintService(dAtA, i, uint64(size))
|
||||||
}
|
}
|
||||||
if len(m.PublicKey) > 0 {
|
|
||||||
i -= len(m.PublicKey)
|
|
||||||
copy(dAtA[i:], m.PublicKey)
|
|
||||||
i = encodeVarintService(dAtA, i, uint64(len(m.PublicKey)))
|
|
||||||
i--
|
i--
|
||||||
dAtA[i] = 0x12
|
dAtA[i] = 0x12
|
||||||
}
|
}
|
||||||
|
@ -2170,10 +2156,15 @@ func (m *DeleteRequest_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 len(m.Signature) > 0 {
|
if m.Signature != nil {
|
||||||
i -= len(m.Signature)
|
{
|
||||||
copy(dAtA[i:], m.Signature)
|
size, err := m.Signature.MarshalToSizedBuffer(dAtA[:i])
|
||||||
i = encodeVarintService(dAtA, i, uint64(len(m.Signature)))
|
if err != nil {
|
||||||
|
return 0, err
|
||||||
|
}
|
||||||
|
i -= size
|
||||||
|
i = encodeVarintService(dAtA, i, uint64(size))
|
||||||
|
}
|
||||||
i--
|
i--
|
||||||
dAtA[i] = 0x12
|
dAtA[i] = 0x12
|
||||||
}
|
}
|
||||||
|
@ -2779,10 +2770,15 @@ func (m *SetExtendedACLRequest_Body) MarshalToSizedBuffer(dAtA []byte) (int, err
|
||||||
i -= len(m.XXX_unrecognized)
|
i -= len(m.XXX_unrecognized)
|
||||||
copy(dAtA[i:], m.XXX_unrecognized)
|
copy(dAtA[i:], m.XXX_unrecognized)
|
||||||
}
|
}
|
||||||
if len(m.Signature) > 0 {
|
if m.Signature != nil {
|
||||||
i -= len(m.Signature)
|
{
|
||||||
copy(dAtA[i:], m.Signature)
|
size, err := m.Signature.MarshalToSizedBuffer(dAtA[:i])
|
||||||
i = encodeVarintService(dAtA, i, uint64(len(m.Signature)))
|
if err != nil {
|
||||||
|
return 0, err
|
||||||
|
}
|
||||||
|
i -= size
|
||||||
|
i = encodeVarintService(dAtA, i, uint64(size))
|
||||||
|
}
|
||||||
i--
|
i--
|
||||||
dAtA[i] = 0x12
|
dAtA[i] = 0x12
|
||||||
}
|
}
|
||||||
|
@ -3080,10 +3076,15 @@ func (m *GetExtendedACLResponse_Body) MarshalToSizedBuffer(dAtA []byte) (int, er
|
||||||
i -= len(m.XXX_unrecognized)
|
i -= len(m.XXX_unrecognized)
|
||||||
copy(dAtA[i:], m.XXX_unrecognized)
|
copy(dAtA[i:], m.XXX_unrecognized)
|
||||||
}
|
}
|
||||||
if len(m.Signature) > 0 {
|
if m.Signature != nil {
|
||||||
i -= len(m.Signature)
|
{
|
||||||
copy(dAtA[i:], m.Signature)
|
size, err := m.Signature.MarshalToSizedBuffer(dAtA[:i])
|
||||||
i = encodeVarintService(dAtA, i, uint64(len(m.Signature)))
|
if err != nil {
|
||||||
|
return 0, err
|
||||||
|
}
|
||||||
|
i -= size
|
||||||
|
i = encodeVarintService(dAtA, i, uint64(size))
|
||||||
|
}
|
||||||
i--
|
i--
|
||||||
dAtA[i] = 0x12
|
dAtA[i] = 0x12
|
||||||
}
|
}
|
||||||
|
@ -3147,12 +3148,8 @@ func (m *PutRequest_Body) Size() (n int) {
|
||||||
l = m.Container.Size()
|
l = m.Container.Size()
|
||||||
n += 1 + l + sovService(uint64(l))
|
n += 1 + l + sovService(uint64(l))
|
||||||
}
|
}
|
||||||
l = len(m.PublicKey)
|
if m.Signature != nil {
|
||||||
if l > 0 {
|
l = m.Signature.Size()
|
||||||
n += 1 + l + sovService(uint64(l))
|
|
||||||
}
|
|
||||||
l = len(m.Signature)
|
|
||||||
if l > 0 {
|
|
||||||
n += 1 + l + sovService(uint64(l))
|
n += 1 + l + sovService(uint64(l))
|
||||||
}
|
}
|
||||||
if m.XXX_unrecognized != nil {
|
if m.XXX_unrecognized != nil {
|
||||||
|
@ -3235,8 +3232,8 @@ func (m *DeleteRequest_Body) Size() (n int) {
|
||||||
l = m.ContainerId.Size()
|
l = m.ContainerId.Size()
|
||||||
n += 1 + l + sovService(uint64(l))
|
n += 1 + l + sovService(uint64(l))
|
||||||
}
|
}
|
||||||
l = len(m.Signature)
|
if m.Signature != nil {
|
||||||
if l > 0 {
|
l = m.Signature.Size()
|
||||||
n += 1 + l + sovService(uint64(l))
|
n += 1 + l + sovService(uint64(l))
|
||||||
}
|
}
|
||||||
if m.XXX_unrecognized != nil {
|
if m.XXX_unrecognized != nil {
|
||||||
|
@ -3477,8 +3474,8 @@ func (m *SetExtendedACLRequest_Body) Size() (n int) {
|
||||||
l = m.Eacl.Size()
|
l = m.Eacl.Size()
|
||||||
n += 1 + l + sovService(uint64(l))
|
n += 1 + l + sovService(uint64(l))
|
||||||
}
|
}
|
||||||
l = len(m.Signature)
|
if m.Signature != nil {
|
||||||
if l > 0 {
|
l = m.Signature.Size()
|
||||||
n += 1 + l + sovService(uint64(l))
|
n += 1 + l + sovService(uint64(l))
|
||||||
}
|
}
|
||||||
if m.XXX_unrecognized != nil {
|
if m.XXX_unrecognized != nil {
|
||||||
|
@ -3597,8 +3594,8 @@ func (m *GetExtendedACLResponse_Body) Size() (n int) {
|
||||||
l = m.Eacl.Size()
|
l = m.Eacl.Size()
|
||||||
n += 1 + l + sovService(uint64(l))
|
n += 1 + l + sovService(uint64(l))
|
||||||
}
|
}
|
||||||
l = len(m.Signature)
|
if m.Signature != nil {
|
||||||
if l > 0 {
|
l = m.Signature.Size()
|
||||||
n += 1 + l + sovService(uint64(l))
|
n += 1 + l + sovService(uint64(l))
|
||||||
}
|
}
|
||||||
if m.XXX_unrecognized != nil {
|
if m.XXX_unrecognized != nil {
|
||||||
|
@ -3841,44 +3838,10 @@ func (m *PutRequest_Body) Unmarshal(dAtA []byte) error {
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
case 2:
|
case 2:
|
||||||
if wireType != 2 {
|
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType)
|
|
||||||
}
|
|
||||||
var byteLen int
|
|
||||||
for shift := uint(0); ; shift += 7 {
|
|
||||||
if shift >= 64 {
|
|
||||||
return ErrIntOverflowService
|
|
||||||
}
|
|
||||||
if iNdEx >= l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
b := dAtA[iNdEx]
|
|
||||||
iNdEx++
|
|
||||||
byteLen |= int(b&0x7F) << shift
|
|
||||||
if b < 0x80 {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if byteLen < 0 {
|
|
||||||
return ErrInvalidLengthService
|
|
||||||
}
|
|
||||||
postIndex := iNdEx + byteLen
|
|
||||||
if postIndex < 0 {
|
|
||||||
return ErrInvalidLengthService
|
|
||||||
}
|
|
||||||
if postIndex > l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...)
|
|
||||||
if m.PublicKey == nil {
|
|
||||||
m.PublicKey = []byte{}
|
|
||||||
}
|
|
||||||
iNdEx = postIndex
|
|
||||||
case 3:
|
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field Signature", 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 ErrIntOverflowService
|
return ErrIntOverflowService
|
||||||
|
@ -3888,24 +3851,26 @@ func (m *PutRequest_Body) 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 ErrInvalidLengthService
|
return ErrInvalidLengthService
|
||||||
}
|
}
|
||||||
postIndex := iNdEx + byteLen
|
postIndex := iNdEx + msglen
|
||||||
if postIndex < 0 {
|
if postIndex < 0 {
|
||||||
return ErrInvalidLengthService
|
return ErrInvalidLengthService
|
||||||
}
|
}
|
||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...)
|
|
||||||
if m.Signature == nil {
|
if m.Signature == nil {
|
||||||
m.Signature = []byte{}
|
m.Signature = &grpc.Signature{}
|
||||||
|
}
|
||||||
|
if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
default:
|
default:
|
||||||
|
@ -4416,7 +4381,7 @@ func (m *DeleteRequest_Body) Unmarshal(dAtA []byte) error {
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field Signature", 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 ErrIntOverflowService
|
return ErrIntOverflowService
|
||||||
|
@ -4426,24 +4391,26 @@ func (m *DeleteRequest_Body) 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 ErrInvalidLengthService
|
return ErrInvalidLengthService
|
||||||
}
|
}
|
||||||
postIndex := iNdEx + byteLen
|
postIndex := iNdEx + msglen
|
||||||
if postIndex < 0 {
|
if postIndex < 0 {
|
||||||
return ErrInvalidLengthService
|
return ErrInvalidLengthService
|
||||||
}
|
}
|
||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...)
|
|
||||||
if m.Signature == nil {
|
if m.Signature == nil {
|
||||||
m.Signature = []byte{}
|
m.Signature = &grpc.Signature{}
|
||||||
|
}
|
||||||
|
if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
default:
|
default:
|
||||||
|
@ -5924,7 +5891,7 @@ func (m *SetExtendedACLRequest_Body) Unmarshal(dAtA []byte) error {
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field Signature", 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 ErrIntOverflowService
|
return ErrIntOverflowService
|
||||||
|
@ -5934,24 +5901,26 @@ func (m *SetExtendedACLRequest_Body) 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 ErrInvalidLengthService
|
return ErrInvalidLengthService
|
||||||
}
|
}
|
||||||
postIndex := iNdEx + byteLen
|
postIndex := iNdEx + msglen
|
||||||
if postIndex < 0 {
|
if postIndex < 0 {
|
||||||
return ErrInvalidLengthService
|
return ErrInvalidLengthService
|
||||||
}
|
}
|
||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...)
|
|
||||||
if m.Signature == nil {
|
if m.Signature == nil {
|
||||||
m.Signature = []byte{}
|
m.Signature = &grpc.Signature{}
|
||||||
|
}
|
||||||
|
if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
default:
|
default:
|
||||||
|
@ -6678,7 +6647,7 @@ func (m *GetExtendedACLResponse_Body) Unmarshal(dAtA []byte) error {
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field Signature", 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 ErrIntOverflowService
|
return ErrIntOverflowService
|
||||||
|
@ -6688,24 +6657,26 @@ func (m *GetExtendedACLResponse_Body) 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 ErrInvalidLengthService
|
return ErrInvalidLengthService
|
||||||
}
|
}
|
||||||
postIndex := iNdEx + byteLen
|
postIndex := iNdEx + msglen
|
||||||
if postIndex < 0 {
|
if postIndex < 0 {
|
||||||
return ErrInvalidLengthService
|
return ErrInvalidLengthService
|
||||||
}
|
}
|
||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...)
|
|
||||||
if m.Signature == nil {
|
if m.Signature == nil {
|
||||||
m.Signature = []byte{}
|
m.Signature = &grpc.Signature{}
|
||||||
|
}
|
||||||
|
if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -190,32 +190,32 @@ 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{
|
||||||
// 400 bytes of a gzipped FileDescriptorProto
|
// 398 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, 0xcd, 0xaa, 0x13, 0x31,
|
||||||
0x14, 0x76, 0x5a, 0xef, 0xcf, 0xe4, 0x2a, 0x5e, 0xa2, 0xe8, 0x30, 0x62, 0xa9, 0xae, 0x66, 0xd3,
|
0x14, 0x76, 0x5a, 0xef, 0xcf, 0xe4, 0x2a, 0x5e, 0xa2, 0xe8, 0x30, 0x17, 0x4b, 0x75, 0x35, 0x9b,
|
||||||
0x04, 0xe6, 0xba, 0x13, 0x17, 0x55, 0x11, 0x0b, 0xa2, 0x25, 0x82, 0x0b, 0x37, 0x25, 0x4d, 0x4f,
|
0x26, 0x90, 0xeb, 0x4e, 0x5c, 0x54, 0x45, 0x2c, 0x88, 0x96, 0x08, 0x2e, 0xdc, 0x94, 0x34, 0x3d,
|
||||||
0xdb, 0xe0, 0x34, 0x09, 0x49, 0x1a, 0xe9, 0x9b, 0xf8, 0x0c, 0x3e, 0x89, 0x4b, 0x1f, 0x41, 0xea,
|
0x6d, 0x83, 0xd3, 0x24, 0x24, 0x69, 0xa4, 0x6f, 0xe2, 0x33, 0xf8, 0x24, 0x2e, 0x7d, 0x04, 0xa9,
|
||||||
0x33, 0xb8, 0x97, 0xc9, 0x38, 0x63, 0xa5, 0x77, 0x97, 0x73, 0xbe, 0xef, 0x3b, 0xf9, 0xce, 0x97,
|
0xcf, 0xe0, 0x5e, 0x26, 0xb5, 0x63, 0xa5, 0xee, 0xe6, 0x9c, 0xef, 0xfb, 0xce, 0xf9, 0xce, 0x37,
|
||||||
0xa0, 0x47, 0xa1, 0xa4, 0x42, 0x2b, 0xcf, 0xa5, 0x02, 0x4b, 0x57, 0xd6, 0x08, 0xea, 0x77, 0x06,
|
0x41, 0x0f, 0x23, 0xa3, 0xd2, 0xe8, 0x20, 0x94, 0x06, 0x47, 0x17, 0xce, 0x4a, 0x1a, 0x36, 0x16,
|
||||||
0x1c, 0x31, 0x56, 0x7b, 0x8d, 0xef, 0x2a, 0xd0, 0x64, 0xe9, 0x48, 0x28, 0x49, 0xc7, 0xca, 0xf3,
|
0x3c, 0xb1, 0xce, 0x04, 0x83, 0xef, 0x6a, 0x30, 0x64, 0xee, 0x49, 0x64, 0xa4, 0x65, 0x95, 0x65,
|
||||||
0x50, 0x52, 0x05, 0x7e, 0xc3, 0xcd, 0x91, 0x20, 0xcf, 0x42, 0x49, 0x2d, 0x2c, 0xdd, 0x31, 0x52,
|
0x64, 0x54, 0x43, 0x58, 0x09, 0x7b, 0x24, 0x28, 0x8b, 0xc8, 0xa8, 0x83, 0xb9, 0x3f, 0x46, 0xae,
|
||||||
0xab, 0x1c, 0xd8, 0x20, 0x05, 0x34, 0xe0, 0x06, 0x3c, 0x6f, 0xb0, 0x27, 0xbf, 0x7b, 0x28, 0x7d,
|
0x22, 0xa3, 0x1e, 0x5c, 0x54, 0x12, 0x8e, 0xc0, 0xc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, 0x9c, 0xef, 0x8a, 0xe7, 0xcb, 0x6f, 0xdb,
|
||||||
0x7f, 0xdf, 0x0f, 0x92, 0x1f, 0xfb, 0x41, 0xf2, 0x73, 0x3f, 0x48, 0xbe, 0xfe, 0x1a, 0xdc, 0xf8,
|
0x5e, 0xf6, 0x7d, 0xdb, 0xcb, 0x7e, 0x6c, 0x7b, 0xd9, 0x97, 0x9f, 0xbd, 0x1b, 0x1f, 0x9f, 0x2d,
|
||||||
0xf4, 0x7c, 0x25, 0xfd, 0x7a, 0x3b, 0x27, 0x42, 0x6f, 0xa8, 0x72, 0x46, 0x88, 0xd1, 0x02, 0x02,
|
0x54, 0x58, 0xae, 0xa7, 0x44, 0x9a, 0x15, 0xd5, 0xde, 0x4a, 0x39, 0x98, 0x41, 0xa4, 0x1a, 0xcc,
|
||||||
0x55, 0xa0, 0x97, 0x6e, 0xc4, 0x8d, 0x1c, 0xad, 0x34, 0x3d, 0xfa, 0x31, 0xcf, 0xba, 0xf2, 0x5b,
|
0xdc, 0x0f, 0x84, 0x55, 0x83, 0x85, 0xa1, 0x47, 0x4f, 0xe6, 0x69, 0x5b, 0x7e, 0xed, 0xdc, 0x7f,
|
||||||
0xef, 0xfe, 0x3b, 0xd0, 0xaf, 0x3f, 0x90, 0xf1, 0x74, 0x52, 0x9b, 0xef, 0x22, 0x98, 0x9f, 0xc6,
|
0x0b, 0xe6, 0xd5, 0x7b, 0x32, 0x1c, 0x8f, 0x1a, 0xf3, 0x6d, 0x04, 0xd3, 0xd3, 0xf4, 0xa3, 0xaf,
|
||||||
0x87, 0xbe, 0xfa, 0x13, 0x00, 0x00, 0xff, 0xff, 0xbd, 0xc4, 0xfa, 0xf8, 0x70, 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) {
|
||||||
|
|
|
@ -28,9 +28,7 @@ type Container struct {
|
||||||
type PutRequestBody struct {
|
type PutRequestBody struct {
|
||||||
cnr *Container
|
cnr *Container
|
||||||
|
|
||||||
pubKey []byte
|
sig *service.Signature
|
||||||
|
|
||||||
sig []byte
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type PutRequest struct {
|
type PutRequest struct {
|
||||||
|
@ -80,7 +78,7 @@ type GetResponse struct {
|
||||||
type DeleteRequestBody struct {
|
type DeleteRequestBody struct {
|
||||||
cid *refs.ContainerID
|
cid *refs.ContainerID
|
||||||
|
|
||||||
sig []byte
|
sig *service.Signature
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteRequest struct {
|
type DeleteRequest struct {
|
||||||
|
@ -128,7 +126,7 @@ type ListResponse struct {
|
||||||
type SetExtendedACLRequestBody struct {
|
type SetExtendedACLRequestBody struct {
|
||||||
eacl *acl.Table
|
eacl *acl.Table
|
||||||
|
|
||||||
sig []byte
|
sig *service.Signature
|
||||||
}
|
}
|
||||||
|
|
||||||
type SetExtendedACLRequest struct {
|
type SetExtendedACLRequest struct {
|
||||||
|
@ -164,7 +162,7 @@ type GetExtendedACLRequest struct {
|
||||||
type GetExtendedACLResponseBody struct {
|
type GetExtendedACLResponseBody struct {
|
||||||
eacl *acl.Table
|
eacl *acl.Table
|
||||||
|
|
||||||
sig []byte
|
sig *service.Signature
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetExtendedACLResponse struct {
|
type GetExtendedACLResponse struct {
|
||||||
|
@ -301,21 +299,7 @@ func (r *PutRequestBody) SetContainer(v *Container) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *PutRequestBody) GetPublicKey() []byte {
|
func (r *PutRequestBody) GetSignature() *service.Signature {
|
||||||
if r != nil {
|
|
||||||
return r.pubKey
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (r *PutRequestBody) SetPublicKey(v []byte) {
|
|
||||||
if r != nil {
|
|
||||||
r.pubKey = v
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (r *PutRequestBody) GetSignature() []byte {
|
|
||||||
if r != nil {
|
if r != nil {
|
||||||
return r.sig
|
return r.sig
|
||||||
}
|
}
|
||||||
|
@ -323,7 +307,7 @@ func (r *PutRequestBody) GetSignature() []byte {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *PutRequestBody) SetSignature(v []byte) {
|
func (r *PutRequestBody) SetSignature(v *service.Signature) {
|
||||||
if r != nil {
|
if r != nil {
|
||||||
r.sig = v
|
r.sig = v
|
||||||
}
|
}
|
||||||
|
@ -553,7 +537,7 @@ func (r *DeleteRequestBody) SetContainerID(v *refs.ContainerID) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *DeleteRequestBody) GetSignature() []byte {
|
func (r *DeleteRequestBody) GetSignature() *service.Signature {
|
||||||
if r != nil {
|
if r != nil {
|
||||||
return r.sig
|
return r.sig
|
||||||
}
|
}
|
||||||
|
@ -561,7 +545,7 @@ func (r *DeleteRequestBody) GetSignature() []byte {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *DeleteRequestBody) SetSignature(v []byte) {
|
func (r *DeleteRequestBody) SetSignature(v *service.Signature) {
|
||||||
if r != nil {
|
if r != nil {
|
||||||
r.sig = v
|
r.sig = v
|
||||||
}
|
}
|
||||||
|
@ -777,7 +761,7 @@ func (r *SetExtendedACLRequestBody) SetEACL(v *acl.Table) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *SetExtendedACLRequestBody) GetSignature() []byte {
|
func (r *SetExtendedACLRequestBody) GetSignature() *service.Signature {
|
||||||
if r != nil {
|
if r != nil {
|
||||||
return r.sig
|
return r.sig
|
||||||
}
|
}
|
||||||
|
@ -785,7 +769,7 @@ func (r *SetExtendedACLRequestBody) GetSignature() []byte {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *SetExtendedACLRequestBody) SetSignature(v []byte) {
|
func (r *SetExtendedACLRequestBody) SetSignature(v *service.Signature) {
|
||||||
if r != nil {
|
if r != nil {
|
||||||
r.sig = v
|
r.sig = v
|
||||||
}
|
}
|
||||||
|
@ -945,7 +929,7 @@ func (r *GetExtendedACLResponseBody) SetEACL(v *acl.Table) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *GetExtendedACLResponseBody) GetSignature() []byte {
|
func (r *GetExtendedACLResponseBody) GetSignature() *service.Signature {
|
||||||
if r != nil {
|
if r != nil {
|
||||||
return r.sig
|
return r.sig
|
||||||
}
|
}
|
||||||
|
@ -953,7 +937,7 @@ func (r *GetExtendedACLResponseBody) GetSignature() []byte {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *GetExtendedACLResponseBody) SetSignature(v []byte) {
|
func (r *GetExtendedACLResponseBody) SetSignature(v *service.Signature) {
|
||||||
if r != nil {
|
if r != nil {
|
||||||
r.sig = v
|
r.sig = v
|
||||||
}
|
}
|
||||||
|
|
|
@ -758,10 +758,6 @@ func DeleteRequestBodyToGRPCMessage(r *DeleteRequestBody) *object.DeleteRequest_
|
||||||
refs.AddressToGRPCMessage(r.GetAddress()),
|
refs.AddressToGRPCMessage(r.GetAddress()),
|
||||||
)
|
)
|
||||||
|
|
||||||
m.SetOwnerId(
|
|
||||||
refs.OwnerIDToGRPCMessage(r.GetOwnerID()),
|
|
||||||
)
|
|
||||||
|
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -776,10 +772,6 @@ func DeleteRequestBodyFromGRPCMessage(m *object.DeleteRequest_Body) *DeleteReque
|
||||||
refs.AddressFromGRPCMessage(m.GetAddress()),
|
refs.AddressFromGRPCMessage(m.GetAddress()),
|
||||||
)
|
)
|
||||||
|
|
||||||
r.SetOwnerID(
|
|
||||||
refs.OwnerIDFromGRPCMessage(m.GetOwnerId()),
|
|
||||||
)
|
|
||||||
|
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -230,13 +230,6 @@ func (m *DeleteRequest_Body) SetAddress(v *refs.Address) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetOwnerId sets identifier of the removing object owner.
|
|
||||||
func (m *DeleteRequest_Body) SetOwnerId(v *refs.OwnerID) {
|
|
||||||
if m != nil {
|
|
||||||
m.OwnerId = v
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// SetBody sets body of the request.
|
// SetBody sets body of the request.
|
||||||
func (m *DeleteRequest) SetBody(v *DeleteRequest_Body) {
|
func (m *DeleteRequest) SetBody(v *DeleteRequest_Body) {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
|
|
|
@ -816,8 +816,6 @@ func (m *DeleteRequest) GetVerifyHeader() *grpc.RequestVerificationHeader {
|
||||||
type DeleteRequest_Body struct {
|
type DeleteRequest_Body struct {
|
||||||
// Carries the address of the object to be deleted.
|
// Carries the address of the object to be deleted.
|
||||||
Address *grpc1.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
Address *grpc1.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
||||||
// Carries identifier the object owner.
|
|
||||||
OwnerId *grpc1.OwnerID `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,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:"-"`
|
||||||
|
@ -863,13 +861,6 @@ func (m *DeleteRequest_Body) GetAddress() *grpc1.Address {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *DeleteRequest_Body) GetOwnerId() *grpc1.OwnerID {
|
|
||||||
if m != nil {
|
|
||||||
return m.OwnerId
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeleteResponse is empty because we cannot guarantee permanent object removal
|
// DeleteResponse is empty because we cannot guarantee permanent object removal
|
||||||
// in distributed system.
|
// in distributed system.
|
||||||
type DeleteResponse struct {
|
type DeleteResponse struct {
|
||||||
|
@ -2199,86 +2190,84 @@ 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{
|
||||||
// 1258 bytes of a gzipped FileDescriptorProto
|
// 1231 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0x4d, 0x6f, 0x1b, 0x45,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0x5d, 0x6f, 0x1b, 0x45,
|
||||||
0x18, 0xce, 0xae, 0x37, 0x8e, 0xfd, 0xda, 0x0e, 0xd1, 0x34, 0x2a, 0x96, 0xf3, 0x41, 0xba, 0x69,
|
0x17, 0xce, 0xae, 0x37, 0x4e, 0x7c, 0x6c, 0xe7, 0x8d, 0xa6, 0x51, 0x6b, 0x39, 0x1f, 0x6f, 0xba,
|
||||||
0xd2, 0x88, 0x92, 0x75, 0x30, 0x2a, 0xa1, 0x29, 0x2d, 0x6a, 0x48, 0xd2, 0x58, 0x25, 0x4d, 0x58,
|
0x69, 0xd2, 0x88, 0x92, 0x75, 0x30, 0x2a, 0xa1, 0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f6, 0x1e, 0xad, 0x43, 0xc6, 0x74, 0x9b, 0x36, 0x26, 0x65, 0xa7,
|
0xb4, 0x01, 0x69, 0xdb, 0x6b, 0x3a, 0x98, 0x94, 0xdc, 0x56, 0xe3, 0x1c, 0xfb, 0x19, 0x6d, 0x5d,
|
||||||
0xd5, 0x38, 0xc7, 0x5e, 0x56, 0x59, 0x93, 0xb6, 0x32, 0x7a, 0x9a, 0x0f, 0x3e, 0x61, 0x63, 0x83,
|
0xd9, 0x4e, 0x9b, 0x29, 0xb1, 0xf8, 0x94, 0xaf, 0x5d, 0x16, 0xc8, 0x0f, 0x2a, 0x24, 0x39, 0x35,
|
||||||
0x02, 0xf9, 0x51, 0x86, 0x14, 0xa3, 0x66, 0xda, 0x0c, 0xd1, 0x07, 0x8e, 0x4a, 0x86, 0xb8, 0x2f,
|
0xd3, 0x66, 0x88, 0x3e, 0x70, 0x54, 0x32, 0xc4, 0x03, 0xa9, 0x91, 0xab, 0x1d, 0xa2, 0xfe, 0x42,
|
||||||
0x34, 0x72, 0xb5, 0x4d, 0x54, 0xff, 0x94, 0x21, 0x73, 0x80, 0xeb, 0xd8, 0xc7, 0xc1, 0x31, 0x7a,
|
0x85, 0xf4, 0x21, 0xae, 0x63, 0x8a, 0x83, 0x6b, 0xf4, 0x6e, 0x88, 0xa4, 0x5b, 0x83, 0x24, 0x85,
|
||||||
0x2f, 0x44, 0xd2, 0xcd, 0xcb, 0x24, 0x85, 0xe0, 0xd1, 0x38, 0x49, 0x8d, 0xab, 0xdf, 0x3b, 0x05,
|
0xe0, 0xd1, 0xb8, 0x49, 0xf7, 0xae, 0xfc, 0xee, 0xe8, 0xaf, 0x15, 0x58, 0x08, 0x22, 0x96, 0x32,
|
||||||
0x48, 0xb8, 0x4f, 0x1d, 0xec, 0x51, 0x5a, 0xe5, 0xe1, 0x36, 0xa7, 0x74, 0xbe, 0x78, 0xa0, 0xcf,
|
0xba, 0x17, 0x62, 0x68, 0x73, 0x34, 0x43, 0xd1, 0x52, 0x52, 0x5c, 0x90, 0xa4, 0xff, 0xa6, 0x42,
|
||||||
0x31, 0x60, 0xd1, 0x52, 0x5f, 0x4a, 0x30, 0x1f, 0xb0, 0x24, 0xa4, 0x77, 0x37, 0xc4, 0xea, 0xc6,
|
0x92, 0x2d, 0x05, 0x82, 0x98, 0x78, 0x6b, 0xfa, 0xc0, 0xd1, 0x90, 0x43, 0xed, 0xea, 0x65, 0xc8,
|
||||||
0x68, 0x56, 0xa3, 0xa5, 0xbe, 0x38, 0x27, 0x56, 0xfd, 0x5d, 0x86, 0x14, 0x1d, 0x0a, 0x44, 0x34,
|
0x32, 0x24, 0x1a, 0x96, 0xe3, 0x96, 0x3c, 0xb7, 0xde, 0x91, 0xc5, 0xc8, 0x3c, 0x5b, 0x78, 0xe6,
|
||||||
0xf1, 0xa4, 0xf5, 0x81, 0xa3, 0x21, 0xa1, 0xda, 0xd5, 0x25, 0xb4, 0x04, 0xc9, 0x86, 0x61, 0x3b,
|
0xd6, 0x3b, 0x41, 0x8d, 0x12, 0xeb, 0xd5, 0x28, 0x7f, 0xa9, 0x90, 0x12, 0xf4, 0x48, 0xed, 0xec,
|
||||||
0x65, 0xd7, 0xa9, 0x77, 0x44, 0x01, 0x93, 0xa0, 0x03, 0xa7, 0x4e, 0xbd, 0x13, 0xd4, 0x35, 0xb1,
|
0x85, 0xc8, 0xdc, 0x18, 0x45, 0x66, 0xb4, 0x94, 0xf3, 0x8d, 0x22, 0x09, 0xcd, 0x77, 0xd3, 0xba,
|
||||||
0x5e, 0x5d, 0xf3, 0x8f, 0x0c, 0x69, 0x4e, 0x8f, 0xd0, 0xce, 0x6e, 0x88, 0xcc, 0xf5, 0x51, 0x64,
|
0x32, 0x3e, 0xad, 0x9f, 0xcc, 0x74, 0x13, 0xfb, 0x01, 0xa4, 0x48, 0xcd, 0xf3, 0x69, 0x38, 0xb2,
|
||||||
0x46, 0x4b, 0x39, 0xdf, 0x48, 0x82, 0xd0, 0x42, 0xf7, 0x2a,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, 0x38, 0xe6, 0x36, 0x66,
|
||||||
0x2f, 0xa3, 0x07, 0x5d, 0x74, 0x08, 0x73, 0x15, 0xbb, 0xee, 0x63, 0x8f, 0x64, 0x63, 0x6b, 0xb1,
|
0x60, 0x9b, 0x75, 0x21, 0x2e, 0x96, 0xd0, 0x3e, 0x40, 0xc3, 0xa2, 0x76, 0xad, 0xc4, 0xda, 0x1d,
|
||||||
0xad, 0x54, 0xe1, 0xf6, 0x34, 0xcc, 0x69, 0x47, 0xcc, 0x46, 0x0f, 0x6c, 0x73, 0x0e, 0xc4, 0xf9,
|
0xbe, 0xd1, 0x85, 0xd0, 0x46, 0xa5, 0xcf, 0x53, 0x86, 0xf9, 0xb8, 0xd3, 0xc4, 0x66, 0xa2, 0x11,
|
||||||
0x10, 0xda, 0x03, 0x68, 0x18, 0xbe, 0x59, 0x2b, 0xd3, 0xc7, 0x15, 0x5b, 0xe8, 0x7c, 0x68, 0xa1,
|
0x0c, 0x11, 0x02, 0xcd, 0xb5, 0x1a, 0xa2, 0xc6, 0x48, 0x98, 0x7c, 0x8c, 0x96, 0x60, 0xb6, 0x6d,
|
||||||
0xc2, 0xe7, 0x09, 0xc5, 0x7c, 0xd2, 0x69, 0x62, 0x3d, 0xd9, 0x08, 0x9a, 0x08, 0x81, 0xe2, 0x18,
|
0xd5, 0x5b, 0x98, 0xd3, 0x99, 0x30, 0xc5, 0x44, 0xff, 0x51, 0x85, 0x85, 0x60, 0x5b, 0xd3, 0x26,
|
||||||
0x0d, 0x5e, 0x97, 0x24, 0x75, 0xd6, 0x46, 0x8b, 0x30, 0xdb, 0x36, 0xea, 0x2d, 0xcc, 0xe8, 0x4c,
|
0xeb, 0x30, 0x3e, 0x2a, 0x57, 0xae, 0xef, 0x45, 0x73, 0xca, 0xa5, 0xba, 0x43, 0x58, 0x75, 0x18,
|
||||||
0xea, 0xbc, 0xa3, 0xfe, 0x24, 0xc3, 0x7c, 0xb0, 0xac, 0x69, 0x93, 0x75, 0x18, 0x1f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0x91, 0x77,
|
0xab, 0xe9, 0xec, 0x54, 0xbd, 0x5c, 0xf8, 0x33, 0xf2, 0x7d, 0x31, 0x7e, 0xa9, 0x5e, 0x7b, 0x8a,
|
||||||
0x48, 0xd3, 0x34, 0xb7, 0x2d, 0xdc, 0xce, 0x3b, 0xd8, 0xad, 0x90, 0x6d, 0xa3, 0x69, 0x6f, 0x57,
|
0xbd, 0xe3, 0xa2, 0xf1, 0xe8, 0xac, 0xc0, 0xfe, 0x55, 0x48, 0xf1, 0x3c, 0xce, 0xbf, 0x13, 0xbf,
|
||||||
0xdd, 0x7c, 0xf8, 0xbf, 0xf4, 0x3d, 0xde, 0x7e, 0x2e, 0x5f, 0x7b, 0x82, 0xdd, 0xa3, 0x92, 0xf6,
|
0xfd, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x11, 0xd3, 0xc8, 0xed, 0xac, 0x16, 0x00, 0x00,
|
||||||
0xf0, 0xac, 0x48, 0xbf, 0xca, 0xa5, 0x78, 0x1e, 0x67, 0xff, 0x96, 0xdf, 0xf9, 0x3f, 0x00, 0x00,
|
|
||||||
0xff, 0xff, 0x89, 0x37, 0x38, 0x06, 0xfd, 0x16, 0x00, 0x00,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
@ -3447,18 +3436,6 @@ func (m *DeleteRequest_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.OwnerId != nil {
|
|
||||||
{
|
|
||||||
size, err := m.OwnerId.MarshalToSizedBuffer(dAtA[:i])
|
|
||||||
if err != nil {
|
|
||||||
return 0, err
|
|
||||||
}
|
|
||||||
i -= size
|
|
||||||
i = encodeVarintService(dAtA, i, uint64(size))
|
|
||||||
}
|
|
||||||
i--
|
|
||||||
dAtA[i] = 0x12
|
|
||||||
}
|
|
||||||
if m.Address != nil {
|
if m.Address != nil {
|
||||||
{
|
{
|
||||||
size, err := m.Address.MarshalToSizedBuffer(dAtA[:i])
|
size, err := m.Address.MarshalToSizedBuffer(dAtA[:i])
|
||||||
|
@ -4873,10 +4850,6 @@ func (m *DeleteRequest_Body) Size() (n int) {
|
||||||
l = m.Address.Size()
|
l = m.Address.Size()
|
||||||
n += 1 + l + sovService(uint64(l))
|
n += 1 + l + sovService(uint64(l))
|
||||||
}
|
}
|
||||||
if m.OwnerId != nil {
|
|
||||||
l = m.OwnerId.Size()
|
|
||||||
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)
|
||||||
}
|
}
|
||||||
|
@ -7004,42 +6977,6 @@ func (m *DeleteRequest_Body) Unmarshal(dAtA []byte) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
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 ErrIntOverflowService
|
|
||||||
}
|
|
||||||
if iNdEx >= l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
b := dAtA[iNdEx]
|
|
||||||
iNdEx++
|
|
||||||
msglen |= int(b&0x7F) << shift
|
|
||||||
if b < 0x80 {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if msglen < 0 {
|
|
||||||
return ErrInvalidLengthService
|
|
||||||
}
|
|
||||||
postIndex := iNdEx + msglen
|
|
||||||
if postIndex < 0 {
|
|
||||||
return ErrInvalidLengthService
|
|
||||||
}
|
|
||||||
if postIndex > l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
if m.OwnerId == nil {
|
|
||||||
m.OwnerId = &grpc1.OwnerID{}
|
|
||||||
}
|
|
||||||
if err := m.OwnerId.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:])
|
||||||
|
|
|
@ -549,58 +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{
|
||||||
// 808 bytes of a gzipped FileDescriptorProto
|
// 795 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, 0xa4, 0x95, 0xdd, 0x6e, 0xe3, 0x44,
|
||||||
0x14, 0xc7, 0xeb, 0xb4, 0xf9, 0x3a, 0x49, 0x76, 0xcd, 0x80, 0xc0, 0x0a, 0x55, 0x08, 0x95, 0x90,
|
0x14, 0xc7, 0xeb, 0xb4, 0xf9, 0x3a, 0x49, 0x76, 0xcd, 0x80, 0xc0, 0xca, 0xae, 0x42, 0xa8, 0x84,
|
||||||
0xc2, 0x4a, 0x75, 0x50, 0xb6, 0x08, 0xc1, 0x6a, 0x91, 0xd2, 0xc6, 0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0x91, 0xfa,
|
||||||
0xac, 0x36, 0xdd, 0x5f, 0x2b, 0x50, 0x95, 0x51, 0xd0, 0x67, 0x50, 0x4b, 0x7d, 0x46, 0x12, 0x51,
|
0x19, 0x49, 0x78, 0xb9, 0x82, 0xda, 0xda, 0x2e, 0x88, 0xd4, 0xf6, 0x04, 0x97, 0x1c, 0xda, 0x85,
|
||||||
0x8c, 0xa0, 0x71, 0x6f, 0x16, 0xe4, 0xd5, 0xf6, 0x04, 0x17, 0x1c, 0xda, 0x83, 0x46, 0xca, 0x48,
|
0x56, 0x9a, 0x91, 0x3c, 0xa6, 0x4b, 0x56, 0xee, 0xde, 0x9b, 0x7d, 0x56, 0x24, 0x9a, 0x82, 0x2a,
|
||||||
0x16, 0xd3, 0x25, 0x2f, 0x66, 0xef, 0xd5, 0x3e, 0x6b, 0x12, 0x4d, 0x41, 0x57, 0xfe, 0x1e, 0x8f,
|
0xfd, 0x3d, 0x16, 0xcf, 0x13, 0x9f, 0x2f, 0x33, 0x52, 0x6e, 0xdf, 0xd3, 0xfb, 0x94, 0xae, 0x18,
|
||||||
0xe7, 0x89, 0x2f, 0x96, 0x8c, 0x14, 0xd3, 0xb7, 0xfd, 0x90, 0xd2, 0x25, 0x83, 0x1f, 0x2b, 0xaf,
|
0xfc, 0x58, 0x7a, 0xad, 0x0c, 0xe8, 0x25, 0xf4, 0xca, 0x40, 0x91, 0x50, 0x43, 0x6c, 0xe2, 0xed,
|
||||||
0xb5, 0x01, 0x3d, 0x87, 0x4e, 0x11, 0x28, 0x92, 0x6a, 0xc8, 0x49, 0xbc, 0x9d, 0xc3, 0x2d, 0xb5,
|
0x1a, 0x6e, 0xa9, 0x85, 0xbb, 0x12, 0x5f, 0xbd, 0xb9, 0x56, 0x10, 0xc5, 0x8b, 0x30, 0x23, 0x89,
|
||||||
0x70, 0x5b, 0xe1, 0xeb, 0x37, 0xd7, 0x08, 0xa2, 0x78, 0x11, 0x32, 0x92, 0x18, 0x55, 0xd9, 0xa6,
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 0x06, 0xf4, 0x72, 0x98, 0xf0,
|
0x17, 0x46, 0xc2, 0xd2, 0x20, 0xd8, 0x09, 0x49, 0x6e, 0x24, 0x84, 0x9e, 0xb3, 0x1d, 0x3f, 0x8d,
|
||||||
0x34, 0x08, 0x76, 0x43, 0x92, 0x0d, 0x13, 0x42, 0x2f, 0xf8, 0xae, 0x9f, 0xc6, 0xbb, 0x73, 0x3a,
|
0x77, 0xe6, 0xd4, 0xb8, 0xfd, 0x59, 0x7a, 0x21, 0xcf, 0x3f, 0xd7, 0xde, 0x3d, 0x26, 0xf4, 0x95,
|
||||||
0xbc, 0xfd, 0xcf, 0x7a, 0xa6, 0xd6, 0xbf, 0x54, 0xde, 0x3d, 0x21, 0xf4, 0x85, 0x63, 0x8e, 0x4f,
|
0xa3, 0x8f, 0x4f, 0xec, 0x42, 0x01, 0xd9, 0xce, 0x59, 0x43, 0x7c, 0x65, 0x9e, 0xff, 0x1d, 0x00,
|
||||||
0xed, 0x5c, 0x01, 0x55, 0xce, 0x79, 0x4d, 0xfe, 0x65, 0x9e, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff,
|
0x00, 0xff, 0xff, 0x30, 0x4b, 0x22, 0xa9, 0xcc, 0x06, 0x00, 0x00,
|
||||||
0x47, 0xd1, 0x60, 0xa2, 0xe9, 0x06, 0x00, 0x00,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ShortHeader) Marshal() (dAtA []byte, err error) {
|
func (m *ShortHeader) Marshal() (dAtA []byte, err error) {
|
||||||
|
|
|
@ -546,54 +546,54 @@ func ResponseHeadersFromGRPC(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
func ObjectSessionVerbToGRPCField(v ObjectSessionVerb) service.ObjectServiceContext_Verb {
|
func ObjectSessionVerbToGRPCField(v ObjectSessionVerb) service.ObjectSessionContext_Verb {
|
||||||
switch v {
|
switch v {
|
||||||
case ObjectVerbPut:
|
case ObjectVerbPut:
|
||||||
return service.ObjectServiceContext_PUT
|
return service.ObjectSessionContext_PUT
|
||||||
case ObjectVerbGet:
|
case ObjectVerbGet:
|
||||||
return service.ObjectServiceContext_GET
|
return service.ObjectSessionContext_GET
|
||||||
case ObjectVerbHead:
|
case ObjectVerbHead:
|
||||||
return service.ObjectServiceContext_HEAD
|
return service.ObjectSessionContext_HEAD
|
||||||
case ObjectVerbSearch:
|
case ObjectVerbSearch:
|
||||||
return service.ObjectServiceContext_SEARCH
|
return service.ObjectSessionContext_SEARCH
|
||||||
case ObjectVerbDelete:
|
case ObjectVerbDelete:
|
||||||
return service.ObjectServiceContext_DELETE
|
return service.ObjectSessionContext_DELETE
|
||||||
case ObjectVerbRange:
|
case ObjectVerbRange:
|
||||||
return service.ObjectServiceContext_RANGE
|
return service.ObjectSessionContext_RANGE
|
||||||
case ObjectVerbRangeHash:
|
case ObjectVerbRangeHash:
|
||||||
return service.ObjectServiceContext_RANGEHASH
|
return service.ObjectSessionContext_RANGEHASH
|
||||||
default:
|
default:
|
||||||
return service.ObjectServiceContext_VERB_UNSPECIFIED
|
return service.ObjectSessionContext_VERB_UNSPECIFIED
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func ObjectSessionVerbFromGRPCField(v service.ObjectServiceContext_Verb) ObjectSessionVerb {
|
func ObjectSessionVerbFromGRPCField(v service.ObjectSessionContext_Verb) ObjectSessionVerb {
|
||||||
switch v {
|
switch v {
|
||||||
case service.ObjectServiceContext_PUT:
|
case service.ObjectSessionContext_PUT:
|
||||||
return ObjectVerbPut
|
return ObjectVerbPut
|
||||||
case service.ObjectServiceContext_GET:
|
case service.ObjectSessionContext_GET:
|
||||||
return ObjectVerbGet
|
return ObjectVerbGet
|
||||||
case service.ObjectServiceContext_HEAD:
|
case service.ObjectSessionContext_HEAD:
|
||||||
return ObjectVerbHead
|
return ObjectVerbHead
|
||||||
case service.ObjectServiceContext_SEARCH:
|
case service.ObjectSessionContext_SEARCH:
|
||||||
return ObjectVerbSearch
|
return ObjectVerbSearch
|
||||||
case service.ObjectServiceContext_DELETE:
|
case service.ObjectSessionContext_DELETE:
|
||||||
return ObjectVerbDelete
|
return ObjectVerbDelete
|
||||||
case service.ObjectServiceContext_RANGE:
|
case service.ObjectSessionContext_RANGE:
|
||||||
return ObjectVerbRange
|
return ObjectVerbRange
|
||||||
case service.ObjectServiceContext_RANGEHASH:
|
case service.ObjectSessionContext_RANGEHASH:
|
||||||
return ObjectVerbRangeHash
|
return ObjectVerbRangeHash
|
||||||
default:
|
default:
|
||||||
return ObjectVerbUnknown
|
return ObjectVerbUnknown
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func ObjectSessionContextToGRPCMessage(c *ObjectSessionContext) *service.ObjectServiceContext {
|
func ObjectSessionContextToGRPCMessage(c *ObjectSessionContext) *service.ObjectSessionContext {
|
||||||
if c == nil {
|
if c == nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
m := new(service.ObjectServiceContext)
|
m := new(service.ObjectSessionContext)
|
||||||
|
|
||||||
m.SetVerb(
|
m.SetVerb(
|
||||||
ObjectSessionVerbToGRPCField(c.GetVerb()),
|
ObjectSessionVerbToGRPCField(c.GetVerb()),
|
||||||
|
@ -606,7 +606,7 @@ func ObjectSessionContextToGRPCMessage(c *ObjectSessionContext) *service.ObjectS
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
|
||||||
func ObjectSessionContextFromGRPCMessage(m *service.ObjectServiceContext) *ObjectSessionContext {
|
func ObjectSessionContextFromGRPCMessage(m *service.ObjectSessionContext) *ObjectSessionContext {
|
||||||
if m == nil {
|
if m == nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
@ -665,9 +665,9 @@ func SessionTokenBodyFromGRPCMessage(m *service.SessionToken_Body) *SessionToken
|
||||||
|
|
||||||
switch v := m.GetContext().(type) {
|
switch v := m.GetContext().(type) {
|
||||||
case nil:
|
case nil:
|
||||||
case *service.SessionToken_Body_ObjectService:
|
case *service.SessionToken_Body_Object:
|
||||||
t.SetContext(
|
t.SetContext(
|
||||||
ObjectSessionContextFromGRPCMessage(v.ObjectService),
|
ObjectSessionContextFromGRPCMessage(v.Object),
|
||||||
)
|
)
|
||||||
default:
|
default:
|
||||||
panic(fmt.Sprintf("unknown session context %T", v))
|
panic(fmt.Sprintf("unknown session context %T", v))
|
||||||
|
|
|
@ -83,23 +83,23 @@ func (m *SessionToken_Body) SetSessionKey(v []byte) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetObjectAddressContext sets object context of the session token.
|
// SetObjectAddressContext sets object context of the session token.
|
||||||
func (m *SessionToken_Body) SetObjectServiceContext(v *ObjectServiceContext) {
|
func (m *SessionToken_Body) SetObjectServiceContext(v *ObjectSessionContext) {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
m.Context = &SessionToken_Body_ObjectService{
|
m.Context = &SessionToken_Body_Object{
|
||||||
ObjectService: v,
|
Object: v,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetObjectAddressContext sets object context of the session token.
|
// SetObjectAddressContext sets object context of the session token.
|
||||||
func (m *ObjectServiceContext) SetAddress(v *refs.Address) {
|
func (m *ObjectSessionContext) SetAddress(v *refs.Address) {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
m.Address = v
|
m.Address = v
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetObjectAddressContext sets object context of the session token.
|
// SetObjectAddressContext sets object context of the session token.
|
||||||
func (m *ObjectServiceContext) SetVerb(v ObjectServiceContext_Verb) {
|
func (m *ObjectSessionContext) SetVerb(v ObjectSessionContext_Verb) {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
m.Verb = v
|
m.Verb = v
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -77,7 +77,7 @@ func TestTokenLifetime_StableMarshal(t *testing.T) {
|
||||||
|
|
||||||
func TestObjectSessionContext_StableMarshal(t *testing.T) {
|
func TestObjectSessionContext_StableMarshal(t *testing.T) {
|
||||||
objectCtxFrom := generateObjectCtx("Object ID")
|
objectCtxFrom := generateObjectCtx("Object ID")
|
||||||
transport := new(grpc.ObjectServiceContext)
|
transport := new(grpc.ObjectSessionContext)
|
||||||
|
|
||||||
t.Run("non empty", func(t *testing.T) {
|
t.Run("non empty", func(t *testing.T) {
|
||||||
wire, err := objectCtxFrom.StableMarshal(nil)
|
wire, err := objectCtxFrom.StableMarshal(nil)
|
||||||
|
|
|
@ -293,37 +293,36 @@ 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{
|
||||||
// 466 bytes of a gzipped FileDescriptorProto
|
// 458 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, 0x4f, 0x6f, 0xd3, 0x30,
|
||||||
0x18, 0xc6, 0x49, 0x98, 0xc6, 0xe4, 0x76, 0x95, 0xb0, 0x90, 0xa8, 0x22, 0x28, 0x65, 0x62, 0x88,
|
0x18, 0xc6, 0x49, 0x98, 0xc6, 0xe4, 0x76, 0x95, 0xb0, 0x90, 0xa8, 0x8a, 0x28, 0x65, 0x62, 0x88,
|
||||||
0x03, 0x75, 0xa4, 0x70, 0x40, 0x03, 0x2e, 0x0c, 0x98, 0xa8, 0x60, 0xfc, 0x71, 0x11, 0x07, 0x2e,
|
0x03, 0x75, 0xa4, 0x70, 0x40, 0x03, 0x2e, 0x0c, 0x98, 0xa8, 0x60, 0xfc, 0x71, 0x11, 0x07, 0x2e,
|
||||||
0x55, 0xfe, 0xbc, 0xe9, 0xac, 0x11, 0x3b, 0xd8, 0x5e, 0x20, 0xdf, 0x84, 0x2b, 0x57, 0x3e, 0x09,
|
0x51, 0xfe, 0xbc, 0xe9, 0xac, 0x11, 0x3b, 0xd8, 0x5e, 0x20, 0xdf, 0x84, 0x2b, 0x57, 0x3e, 0x09,
|
||||||
0x47, 0x3e, 0x01, 0x42, 0xe5, 0x8b, 0xa0, 0xd8, 0xde, 0xb4, 0x6e, 0x59, 0x7b, 0xab, 0xfb, 0x3e,
|
0x47, 0x3e, 0x01, 0x42, 0xe5, 0x8b, 0xa0, 0xd8, 0xde, 0xb4, 0x6e, 0x59, 0x7b, 0xcb, 0x1b, 0x3f,
|
||||||
0xcf, 0xe3, 0xe7, 0xfd, 0x29, 0x46, 0x37, 0xab, 0x28, 0x54, 0xa0, 0x14, 0x13, 0x3c, 0x9c, 0xc9,
|
0xcf, 0xf3, 0xbe, 0xef, 0x4f, 0x36, 0xba, 0x59, 0x85, 0x81, 0x02, 0xa5, 0x98, 0xe0, 0xc1, 0x4c,
|
||||||
0x32, 0x0d, 0x15, 0xc8, 0x8a, 0xa5, 0x40, 0x4a, 0x29, 0xb4, 0xc0, 0x57, 0x39, 0x08, 0x92, 0x2b,
|
0x96, 0x69, 0xa0, 0x40, 0x56, 0x2c, 0x05, 0x52, 0x4a, 0xa1, 0x05, 0xbe, 0xca, 0x41, 0x90, 0x5c,
|
||||||
0x52, 0x45, 0xc4, 0xa9, 0x82, 0x7e, 0x15, 0x85, 0x12, 0x72, 0x65, 0xe5, 0xba, 0x2e, 0x41, 0x59,
|
0x91, 0x2a, 0x24, 0x4e, 0x35, 0xe8, 0x57, 0x61, 0x20, 0x21, 0x57, 0x56, 0xae, 0xeb, 0x12, 0x94,
|
||||||
0x71, 0x10, 0x98, 0x2c, 0x63, 0xb7, 0xc3, 0x02, 0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 0xf0, 0xd2, 0xa7, 0x9d, 0x19, 0xd3, 0x07, 0x47, 0x09, 0x49,
|
||||||
0xf4, 0x69, 0x67, 0xc6, 0xf4, 0xc1, 0x51, 0x42, 0x52, 0x51, 0x84, 0x5c, 0x95, 0x69, 0x3a, 0xca,
|
0x45, 0x11, 0x70, 0x55, 0xa6, 0xe9, 0x38, 0x83, 0x2a, 0xe0, 0x20, 0x72, 0x35, 0x8e, 0x4b, 0x36,
|
||||||
0xa0, 0x0a, 0x39, 0x88, 0x5c, 0x8d, 0xe2, 0x92, 0x8d, 0x66, 0x22, 0x3c, 0xf3, 0x3e, 0x1f, 0xbb,
|
0x9e, 0x89, 0xe0, 0xcc, 0x13, 0x7c, 0xec, 0x8a, 0x9f, 0xfe, 0xb5, 0x37, 0x20, 0xf6, 0xa6, 0xe4,
|
||||||
0xc3, 0x4f, 0xff, 0xda, 0x1b, 0x10, 0x7b, 0x13, 0xf2, 0xf4, 0xdd, 0xb8, 0xb9, 0xd2, 0x35, 0x4f,
|
0xe9, 0xbb, 0x49, 0xd3, 0xd2, 0x4d, 0x9e, 0xac, 0x9b, 0x07, 0xf5, 0xe0, 0x7f, 0x00, 0x00, 0x00,
|
||||||
0xd6, 0xcd, 0x83, 0x7a, 0xf0, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xc2, 0x58, 0x7b, 0xc5, 0xd8, 0x03,
|
0xff, 0xff, 0x9a, 0x12, 0x33, 0x00, 0xbb, 0x03, 0x00, 0x00,
|
||||||
0x00, 0x00,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
|
Loading…
Reference in a new issue