object

package
v0.0.0-...-0352b5b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 15 Imported by: 3

Documentation

Index

Constants

View Source
const (
	ObjectService_Get_FullMethodName          = "/neo.fs.v2.object.ObjectService/Get"
	ObjectService_Put_FullMethodName          = "/neo.fs.v2.object.ObjectService/Put"
	ObjectService_Delete_FullMethodName       = "/neo.fs.v2.object.ObjectService/Delete"
	ObjectService_Head_FullMethodName         = "/neo.fs.v2.object.ObjectService/Head"
	ObjectService_Search_FullMethodName       = "/neo.fs.v2.object.ObjectService/Search"
	ObjectService_GetRange_FullMethodName     = "/neo.fs.v2.object.ObjectService/GetRange"
	ObjectService_GetRangeHash_FullMethodName = "/neo.fs.v2.object.ObjectService/GetRangeHash"
	ObjectService_PutSingle_FullMethodName    = "/neo.fs.v2.object.ObjectService/PutSingle"
	ObjectService_Patch_FullMethodName        = "/neo.fs.v2.object.ObjectService/Patch"
)

Variables

View Source
var (
	ObjectType_name = map[int32]string{
		0: "REGULAR",
		1: "TOMBSTONE",
		3: "LOCK",
	}
	ObjectType_value = map[string]int32{
		"REGULAR":   0,
		"TOMBSTONE": 1,
		"LOCK":      3,
	}
)
View Source
var (
	MatchType_name = map[int32]string{
		0: "MATCH_TYPE_UNSPECIFIED",
		1: "STRING_EQUAL",
		2: "STRING_NOT_EQUAL",
		3: "NOT_PRESENT",
		4: "COMMON_PREFIX",
	}
	MatchType_value = map[string]int32{
		"MATCH_TYPE_UNSPECIFIED": 0,
		"STRING_EQUAL":           1,
		"STRING_NOT_EQUAL":       2,
		"NOT_PRESENT":            3,
		"COMMON_PREFIX":          4,
	}
)
View Source
var ObjectService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "neo.fs.v2.object.ObjectService",
	HandlerType: (*ObjectServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Delete",
			Handler:    _ObjectService_Delete_Handler,
		},
		{
			MethodName: "Head",
			Handler:    _ObjectService_Head_Handler,
		},
		{
			MethodName: "GetRangeHash",
			Handler:    _ObjectService_GetRangeHash_Handler,
		},
		{
			MethodName: "PutSingle",
			Handler:    _ObjectService_PutSingle_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Get",
			Handler:       _ObjectService_Get_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Put",
			Handler:       _ObjectService_Put_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "Search",
			Handler:       _ObjectService_Search_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetRange",
			Handler:       _ObjectService_GetRange_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Patch",
			Handler:       _ObjectService_Patch_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "api/object/grpc/service.proto",
}

ObjectService_ServiceDesc is the grpc.ServiceDesc for ObjectService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterObjectServiceServer

func RegisterObjectServiceServer(s grpc.ServiceRegistrar, srv ObjectServiceServer)

Types

type DeleteRequest

type DeleteRequest struct {
	Body         *DeleteRequest_Body              `json:"body"`
	MetaHeader   *grpc1.RequestMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.RequestVerificationHeader `json:"verifyHeader"`
}

func (*DeleteRequest) EmitProtobuf

func (x *DeleteRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*DeleteRequest) GetBody

func (x *DeleteRequest) GetBody() *DeleteRequest_Body

func (*DeleteRequest) GetMetaHeader

func (x *DeleteRequest) GetMetaHeader() *grpc1.RequestMetaHeader

func (*DeleteRequest) GetVerifyHeader

func (x *DeleteRequest) GetVerifyHeader() *grpc1.RequestVerificationHeader

func (*DeleteRequest) MarshalEasyJSON

func (x *DeleteRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*DeleteRequest) MarshalJSON

func (x *DeleteRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DeleteRequest) MarshalProtobuf

func (x *DeleteRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DeleteRequest) ReadSignedData

func (x *DeleteRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*DeleteRequest) SetBody

func (x *DeleteRequest) SetBody(v *DeleteRequest_Body)

func (*DeleteRequest) SetMetaHeader

func (x *DeleteRequest) SetMetaHeader(v *grpc1.RequestMetaHeader)

func (*DeleteRequest) SetVerifyHeader

func (x *DeleteRequest) SetVerifyHeader(v *grpc1.RequestVerificationHeader)

func (*DeleteRequest) SignedDataSize

func (x *DeleteRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*DeleteRequest) StableSize

func (x *DeleteRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DeleteRequest) UnmarshalEasyJSON

func (x *DeleteRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DeleteRequest) UnmarshalJSON

func (x *DeleteRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DeleteRequest) UnmarshalProtobuf

func (x *DeleteRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type DeleteRequest_Body

type DeleteRequest_Body struct {
	Address *grpc.Address `json:"address"`
}

func (*DeleteRequest_Body) EmitProtobuf

func (x *DeleteRequest_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*DeleteRequest_Body) GetAddress

func (x *DeleteRequest_Body) GetAddress() *grpc.Address

func (*DeleteRequest_Body) MarshalEasyJSON

func (x *DeleteRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*DeleteRequest_Body) MarshalJSON

func (x *DeleteRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DeleteRequest_Body) MarshalProtobuf

func (x *DeleteRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DeleteRequest_Body) SetAddress

func (x *DeleteRequest_Body) SetAddress(v *grpc.Address)

func (*DeleteRequest_Body) StableSize

func (x *DeleteRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DeleteRequest_Body) UnmarshalEasyJSON

func (x *DeleteRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DeleteRequest_Body) UnmarshalJSON

func (x *DeleteRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DeleteRequest_Body) UnmarshalProtobuf

func (x *DeleteRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type DeleteResponse

type DeleteResponse struct {
	Body         *DeleteResponse_Body              `json:"body"`
	MetaHeader   *grpc1.ResponseMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.ResponseVerificationHeader `json:"verifyHeader"`
}

func (*DeleteResponse) EmitProtobuf

func (x *DeleteResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*DeleteResponse) GetBody

func (x *DeleteResponse) GetBody() *DeleteResponse_Body

func (*DeleteResponse) GetMetaHeader

func (x *DeleteResponse) GetMetaHeader() *grpc1.ResponseMetaHeader

func (*DeleteResponse) GetVerifyHeader

func (x *DeleteResponse) GetVerifyHeader() *grpc1.ResponseVerificationHeader

func (*DeleteResponse) MarshalEasyJSON

func (x *DeleteResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*DeleteResponse) MarshalJSON

func (x *DeleteResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DeleteResponse) MarshalProtobuf

func (x *DeleteResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DeleteResponse) ReadSignedData

func (x *DeleteResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*DeleteResponse) SetBody

func (x *DeleteResponse) SetBody(v *DeleteResponse_Body)

func (*DeleteResponse) SetMetaHeader

func (x *DeleteResponse) SetMetaHeader(v *grpc1.ResponseMetaHeader)

func (*DeleteResponse) SetVerifyHeader

func (x *DeleteResponse) SetVerifyHeader(v *grpc1.ResponseVerificationHeader)

func (*DeleteResponse) SignedDataSize

func (x *DeleteResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*DeleteResponse) StableSize

func (x *DeleteResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DeleteResponse) UnmarshalEasyJSON

func (x *DeleteResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DeleteResponse) UnmarshalJSON

func (x *DeleteResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DeleteResponse) UnmarshalProtobuf

func (x *DeleteResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type DeleteResponse_Body

type DeleteResponse_Body struct {
	Tombstone *grpc.Address `json:"tombstone"`
}

func (*DeleteResponse_Body) EmitProtobuf

func (x *DeleteResponse_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*DeleteResponse_Body) GetTombstone

func (x *DeleteResponse_Body) GetTombstone() *grpc.Address

func (*DeleteResponse_Body) MarshalEasyJSON

func (x *DeleteResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*DeleteResponse_Body) MarshalJSON

func (x *DeleteResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DeleteResponse_Body) MarshalProtobuf

func (x *DeleteResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DeleteResponse_Body) SetTombstone

func (x *DeleteResponse_Body) SetTombstone(v *grpc.Address)

func (*DeleteResponse_Body) StableSize

func (x *DeleteResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DeleteResponse_Body) UnmarshalEasyJSON

func (x *DeleteResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DeleteResponse_Body) UnmarshalJSON

func (x *DeleteResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DeleteResponse_Body) UnmarshalProtobuf

func (x *DeleteResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ECInfo

type ECInfo struct {
	Chunks []ECInfo_Chunk `json:"chunks"`
}

func (*ECInfo) EmitProtobuf

func (x *ECInfo) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*ECInfo) GetChunks

func (x *ECInfo) GetChunks() []ECInfo_Chunk

func (*ECInfo) MarshalEasyJSON

func (x *ECInfo) MarshalEasyJSON(out *jwriter.Writer)

func (*ECInfo) MarshalJSON

func (x *ECInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ECInfo) MarshalProtobuf

func (x *ECInfo) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ECInfo) SetChunks

func (x *ECInfo) SetChunks(v []ECInfo_Chunk)

func (*ECInfo) StableSize

func (x *ECInfo) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ECInfo) UnmarshalEasyJSON

func (x *ECInfo) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ECInfo) UnmarshalJSON

func (x *ECInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ECInfo) UnmarshalProtobuf

func (x *ECInfo) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ECInfo_Chunk

type ECInfo_Chunk struct {
	Id    *grpc.ObjectID `json:"id"`
	Index uint32         `json:"index"`
	Total uint32         `json:"total"`
}

func (*ECInfo_Chunk) EmitProtobuf

func (x *ECInfo_Chunk) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*ECInfo_Chunk) GetId

func (x *ECInfo_Chunk) GetId() *grpc.ObjectID

func (*ECInfo_Chunk) GetIndex

func (x *ECInfo_Chunk) GetIndex() uint32

func (*ECInfo_Chunk) GetTotal

func (x *ECInfo_Chunk) GetTotal() uint32

func (*ECInfo_Chunk) MarshalEasyJSON

func (x *ECInfo_Chunk) MarshalEasyJSON(out *jwriter.Writer)

func (*ECInfo_Chunk) MarshalJSON

func (x *ECInfo_Chunk) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ECInfo_Chunk) MarshalProtobuf

func (x *ECInfo_Chunk) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ECInfo_Chunk) SetId

func (x *ECInfo_Chunk) SetId(v *grpc.ObjectID)

func (*ECInfo_Chunk) SetIndex

func (x *ECInfo_Chunk) SetIndex(v uint32)

func (*ECInfo_Chunk) SetTotal

func (x *ECInfo_Chunk) SetTotal(v uint32)

func (*ECInfo_Chunk) StableSize

func (x *ECInfo_Chunk) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ECInfo_Chunk) UnmarshalEasyJSON

func (x *ECInfo_Chunk) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ECInfo_Chunk) UnmarshalJSON

func (x *ECInfo_Chunk) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ECInfo_Chunk) UnmarshalProtobuf

func (x *ECInfo_Chunk) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetRangeHashRequest

type GetRangeHashRequest struct {
	Body         *GetRangeHashRequest_Body        `json:"body"`
	MetaHeader   *grpc1.RequestMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.RequestVerificationHeader `json:"verifyHeader"`
}

func (*GetRangeHashRequest) EmitProtobuf

func (x *GetRangeHashRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*GetRangeHashRequest) GetBody

func (*GetRangeHashRequest) GetMetaHeader

func (x *GetRangeHashRequest) GetMetaHeader() *grpc1.RequestMetaHeader

func (*GetRangeHashRequest) GetVerifyHeader

func (x *GetRangeHashRequest) GetVerifyHeader() *grpc1.RequestVerificationHeader

func (*GetRangeHashRequest) MarshalEasyJSON

func (x *GetRangeHashRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*GetRangeHashRequest) MarshalJSON

func (x *GetRangeHashRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetRangeHashRequest) MarshalProtobuf

func (x *GetRangeHashRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetRangeHashRequest) ReadSignedData

func (x *GetRangeHashRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*GetRangeHashRequest) SetBody

func (*GetRangeHashRequest) SetMetaHeader

func (x *GetRangeHashRequest) SetMetaHeader(v *grpc1.RequestMetaHeader)

func (*GetRangeHashRequest) SetVerifyHeader

func (x *GetRangeHashRequest) SetVerifyHeader(v *grpc1.RequestVerificationHeader)

func (*GetRangeHashRequest) SignedDataSize

func (x *GetRangeHashRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*GetRangeHashRequest) StableSize

func (x *GetRangeHashRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetRangeHashRequest) UnmarshalEasyJSON

func (x *GetRangeHashRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetRangeHashRequest) UnmarshalJSON

func (x *GetRangeHashRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetRangeHashRequest) UnmarshalProtobuf

func (x *GetRangeHashRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetRangeHashRequest_Body

type GetRangeHashRequest_Body struct {
	Address *grpc.Address     `json:"address"`
	Ranges  []Range           `json:"ranges"`
	Salt    []byte            `json:"salt"`
	Type    grpc.ChecksumType `json:"type"`
}

func (*GetRangeHashRequest_Body) EmitProtobuf

func (*GetRangeHashRequest_Body) GetAddress

func (x *GetRangeHashRequest_Body) GetAddress() *grpc.Address

func (*GetRangeHashRequest_Body) GetRanges

func (x *GetRangeHashRequest_Body) GetRanges() []Range

func (*GetRangeHashRequest_Body) GetSalt

func (x *GetRangeHashRequest_Body) GetSalt() []byte

func (*GetRangeHashRequest_Body) GetType

func (*GetRangeHashRequest_Body) MarshalEasyJSON

func (x *GetRangeHashRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*GetRangeHashRequest_Body) MarshalJSON

func (x *GetRangeHashRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetRangeHashRequest_Body) MarshalProtobuf

func (x *GetRangeHashRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetRangeHashRequest_Body) SetAddress

func (x *GetRangeHashRequest_Body) SetAddress(v *grpc.Address)

func (*GetRangeHashRequest_Body) SetRanges

func (x *GetRangeHashRequest_Body) SetRanges(v []Range)

func (*GetRangeHashRequest_Body) SetSalt

func (x *GetRangeHashRequest_Body) SetSalt(v []byte)

func (*GetRangeHashRequest_Body) SetType

func (*GetRangeHashRequest_Body) StableSize

func (x *GetRangeHashRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetRangeHashRequest_Body) UnmarshalEasyJSON

func (x *GetRangeHashRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetRangeHashRequest_Body) UnmarshalJSON

func (x *GetRangeHashRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetRangeHashRequest_Body) UnmarshalProtobuf

func (x *GetRangeHashRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetRangeHashResponse

type GetRangeHashResponse struct {
	Body         *GetRangeHashResponse_Body        `json:"body"`
	MetaHeader   *grpc1.ResponseMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.ResponseVerificationHeader `json:"verifyHeader"`
}

func (*GetRangeHashResponse) EmitProtobuf

func (x *GetRangeHashResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*GetRangeHashResponse) GetBody

func (*GetRangeHashResponse) GetMetaHeader

func (x *GetRangeHashResponse) GetMetaHeader() *grpc1.ResponseMetaHeader

func (*GetRangeHashResponse) GetVerifyHeader

func (*GetRangeHashResponse) MarshalEasyJSON

func (x *GetRangeHashResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*GetRangeHashResponse) MarshalJSON

func (x *GetRangeHashResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetRangeHashResponse) MarshalProtobuf

func (x *GetRangeHashResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetRangeHashResponse) ReadSignedData

func (x *GetRangeHashResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*GetRangeHashResponse) SetBody

func (*GetRangeHashResponse) SetMetaHeader

func (x *GetRangeHashResponse) SetMetaHeader(v *grpc1.ResponseMetaHeader)

func (*GetRangeHashResponse) SetVerifyHeader

func (x *GetRangeHashResponse) SetVerifyHeader(v *grpc1.ResponseVerificationHeader)

func (*GetRangeHashResponse) SignedDataSize

func (x *GetRangeHashResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*GetRangeHashResponse) StableSize

func (x *GetRangeHashResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetRangeHashResponse) UnmarshalEasyJSON

func (x *GetRangeHashResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetRangeHashResponse) UnmarshalJSON

func (x *GetRangeHashResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetRangeHashResponse) UnmarshalProtobuf

func (x *GetRangeHashResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetRangeHashResponse_Body

type GetRangeHashResponse_Body struct {
	Type     grpc.ChecksumType `json:"type"`
	HashList [][]byte          `json:"hashList"`
}

func (*GetRangeHashResponse_Body) EmitProtobuf

func (*GetRangeHashResponse_Body) GetHashList

func (x *GetRangeHashResponse_Body) GetHashList() [][]byte

func (*GetRangeHashResponse_Body) GetType

func (*GetRangeHashResponse_Body) MarshalEasyJSON

func (x *GetRangeHashResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*GetRangeHashResponse_Body) MarshalJSON

func (x *GetRangeHashResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetRangeHashResponse_Body) MarshalProtobuf

func (x *GetRangeHashResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetRangeHashResponse_Body) SetHashList

func (x *GetRangeHashResponse_Body) SetHashList(v [][]byte)

func (*GetRangeHashResponse_Body) SetType

func (*GetRangeHashResponse_Body) StableSize

func (x *GetRangeHashResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetRangeHashResponse_Body) UnmarshalEasyJSON

func (x *GetRangeHashResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetRangeHashResponse_Body) UnmarshalJSON

func (x *GetRangeHashResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetRangeHashResponse_Body) UnmarshalProtobuf

func (x *GetRangeHashResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetRangeRequest

type GetRangeRequest struct {
	Body         *GetRangeRequest_Body            `json:"body"`
	MetaHeader   *grpc1.RequestMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.RequestVerificationHeader `json:"verifyHeader"`
}

func (*GetRangeRequest) EmitProtobuf

func (x *GetRangeRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*GetRangeRequest) GetBody

func (x *GetRangeRequest) GetBody() *GetRangeRequest_Body

func (*GetRangeRequest) GetMetaHeader

func (x *GetRangeRequest) GetMetaHeader() *grpc1.RequestMetaHeader

func (*GetRangeRequest) GetVerifyHeader

func (x *GetRangeRequest) GetVerifyHeader() *grpc1.RequestVerificationHeader

func (*GetRangeRequest) MarshalEasyJSON

func (x *GetRangeRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*GetRangeRequest) MarshalJSON

func (x *GetRangeRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetRangeRequest) MarshalProtobuf

func (x *GetRangeRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetRangeRequest) ReadSignedData

func (x *GetRangeRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*GetRangeRequest) SetBody

func (x *GetRangeRequest) SetBody(v *GetRangeRequest_Body)

func (*GetRangeRequest) SetMetaHeader

func (x *GetRangeRequest) SetMetaHeader(v *grpc1.RequestMetaHeader)

func (*GetRangeRequest) SetVerifyHeader

func (x *GetRangeRequest) SetVerifyHeader(v *grpc1.RequestVerificationHeader)

func (*GetRangeRequest) SignedDataSize

func (x *GetRangeRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*GetRangeRequest) StableSize

func (x *GetRangeRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetRangeRequest) UnmarshalEasyJSON

func (x *GetRangeRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetRangeRequest) UnmarshalJSON

func (x *GetRangeRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetRangeRequest) UnmarshalProtobuf

func (x *GetRangeRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetRangeRequest_Body

type GetRangeRequest_Body struct {
	Address *grpc.Address `json:"address"`
	Range   *Range        `json:"range"`
	Raw     bool          `json:"raw"`
}

func (*GetRangeRequest_Body) EmitProtobuf

func (x *GetRangeRequest_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*GetRangeRequest_Body) GetAddress

func (x *GetRangeRequest_Body) GetAddress() *grpc.Address

func (*GetRangeRequest_Body) GetRange

func (x *GetRangeRequest_Body) GetRange() *Range

func (*GetRangeRequest_Body) GetRaw

func (x *GetRangeRequest_Body) GetRaw() bool

func (*GetRangeRequest_Body) MarshalEasyJSON

func (x *GetRangeRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*GetRangeRequest_Body) MarshalJSON

func (x *GetRangeRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetRangeRequest_Body) MarshalProtobuf

func (x *GetRangeRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetRangeRequest_Body) SetAddress

func (x *GetRangeRequest_Body) SetAddress(v *grpc.Address)

func (*GetRangeRequest_Body) SetRange

func (x *GetRangeRequest_Body) SetRange(v *Range)

func (*GetRangeRequest_Body) SetRaw

func (x *GetRangeRequest_Body) SetRaw(v bool)

func (*GetRangeRequest_Body) StableSize

func (x *GetRangeRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetRangeRequest_Body) UnmarshalEasyJSON

func (x *GetRangeRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetRangeRequest_Body) UnmarshalJSON

func (x *GetRangeRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetRangeRequest_Body) UnmarshalProtobuf

func (x *GetRangeRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetRangeResponse

type GetRangeResponse struct {
	Body         *GetRangeResponse_Body            `json:"body"`
	MetaHeader   *grpc1.ResponseMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.ResponseVerificationHeader `json:"verifyHeader"`
}

func (*GetRangeResponse) EmitProtobuf

func (x *GetRangeResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*GetRangeResponse) GetBody

func (*GetRangeResponse) GetMetaHeader

func (x *GetRangeResponse) GetMetaHeader() *grpc1.ResponseMetaHeader

func (*GetRangeResponse) GetVerifyHeader

func (x *GetRangeResponse) GetVerifyHeader() *grpc1.ResponseVerificationHeader

func (*GetRangeResponse) MarshalEasyJSON

func (x *GetRangeResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*GetRangeResponse) MarshalJSON

func (x *GetRangeResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetRangeResponse) MarshalProtobuf

func (x *GetRangeResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetRangeResponse) ReadSignedData

func (x *GetRangeResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*GetRangeResponse) SetBody

func (x *GetRangeResponse) SetBody(v *GetRangeResponse_Body)

func (*GetRangeResponse) SetMetaHeader

func (x *GetRangeResponse) SetMetaHeader(v *grpc1.ResponseMetaHeader)

func (*GetRangeResponse) SetVerifyHeader

func (x *GetRangeResponse) SetVerifyHeader(v *grpc1.ResponseVerificationHeader)

func (*GetRangeResponse) SignedDataSize

func (x *GetRangeResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*GetRangeResponse) StableSize

func (x *GetRangeResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetRangeResponse) UnmarshalEasyJSON

func (x *GetRangeResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetRangeResponse) UnmarshalJSON

func (x *GetRangeResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetRangeResponse) UnmarshalProtobuf

func (x *GetRangeResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetRangeResponse_Body

type GetRangeResponse_Body struct {
	RangePart isGetRangeResponse_Body_RangePart
}

func (*GetRangeResponse_Body) EmitProtobuf

func (x *GetRangeResponse_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*GetRangeResponse_Body) GetChunk

func (x *GetRangeResponse_Body) GetChunk() []byte

func (*GetRangeResponse_Body) GetEcInfo

func (x *GetRangeResponse_Body) GetEcInfo() *ECInfo

func (*GetRangeResponse_Body) GetRangePart

func (x *GetRangeResponse_Body) GetRangePart() isGetRangeResponse_Body_RangePart

func (*GetRangeResponse_Body) GetSplitInfo

func (x *GetRangeResponse_Body) GetSplitInfo() *SplitInfo

func (*GetRangeResponse_Body) MarshalEasyJSON

func (x *GetRangeResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*GetRangeResponse_Body) MarshalJSON

func (x *GetRangeResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetRangeResponse_Body) MarshalProtobuf

func (x *GetRangeResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetRangeResponse_Body) SetChunk

func (*GetRangeResponse_Body) SetEcInfo

func (x *GetRangeResponse_Body) SetEcInfo(v *ECInfo)

func (*GetRangeResponse_Body) SetRangePart

func (x *GetRangeResponse_Body) SetRangePart(v isGetRangeResponse_Body_RangePart)

func (*GetRangeResponse_Body) SetSplitInfo

func (x *GetRangeResponse_Body) SetSplitInfo(v *SplitInfo)

func (*GetRangeResponse_Body) StableSize

func (x *GetRangeResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetRangeResponse_Body) UnmarshalEasyJSON

func (x *GetRangeResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetRangeResponse_Body) UnmarshalJSON

func (x *GetRangeResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetRangeResponse_Body) UnmarshalProtobuf

func (x *GetRangeResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetRangeResponse_Body_Chunk

type GetRangeResponse_Body_Chunk struct {
	Chunk []byte
}

func (*GetRangeResponse_Body_Chunk) GetChunk

func (x *GetRangeResponse_Body_Chunk) GetChunk() []byte

func (*GetRangeResponse_Body_Chunk) SetChunk

func (x *GetRangeResponse_Body_Chunk) SetChunk(v []byte)

type GetRangeResponse_Body_EcInfo

type GetRangeResponse_Body_EcInfo struct {
	EcInfo *ECInfo
}

type GetRangeResponse_Body_SplitInfo

type GetRangeResponse_Body_SplitInfo struct {
	SplitInfo *SplitInfo
}

type GetRequest

type GetRequest struct {
	Body         *GetRequest_Body                 `json:"body"`
	MetaHeader   *grpc1.RequestMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.RequestVerificationHeader `json:"verifyHeader"`
}

func (*GetRequest) EmitProtobuf

func (x *GetRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*GetRequest) GetBody

func (x *GetRequest) GetBody() *GetRequest_Body

func (*GetRequest) GetMetaHeader

func (x *GetRequest) GetMetaHeader() *grpc1.RequestMetaHeader

func (*GetRequest) GetVerifyHeader

func (x *GetRequest) GetVerifyHeader() *grpc1.RequestVerificationHeader

func (*GetRequest) MarshalEasyJSON

func (x *GetRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*GetRequest) MarshalJSON

func (x *GetRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetRequest) MarshalProtobuf

func (x *GetRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetRequest) ReadSignedData

func (x *GetRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*GetRequest) SetBody

func (x *GetRequest) SetBody(v *GetRequest_Body)

func (*GetRequest) SetMetaHeader

func (x *GetRequest) SetMetaHeader(v *grpc1.RequestMetaHeader)

func (*GetRequest) SetVerifyHeader

func (x *GetRequest) SetVerifyHeader(v *grpc1.RequestVerificationHeader)

func (*GetRequest) SignedDataSize

func (x *GetRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*GetRequest) StableSize

func (x *GetRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetRequest) UnmarshalEasyJSON

func (x *GetRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetRequest) UnmarshalJSON

func (x *GetRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetRequest) UnmarshalProtobuf

func (x *GetRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetRequest_Body

type GetRequest_Body struct {
	Address *grpc.Address `json:"address"`
	Raw     bool          `json:"raw"`
}

func (*GetRequest_Body) EmitProtobuf

func (x *GetRequest_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*GetRequest_Body) GetAddress

func (x *GetRequest_Body) GetAddress() *grpc.Address

func (*GetRequest_Body) GetRaw

func (x *GetRequest_Body) GetRaw() bool

func (*GetRequest_Body) MarshalEasyJSON

func (x *GetRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*GetRequest_Body) MarshalJSON

func (x *GetRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetRequest_Body) MarshalProtobuf

func (x *GetRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetRequest_Body) SetAddress

func (x *GetRequest_Body) SetAddress(v *grpc.Address)

func (*GetRequest_Body) SetRaw

func (x *GetRequest_Body) SetRaw(v bool)

func (*GetRequest_Body) StableSize

func (x *GetRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetRequest_Body) UnmarshalEasyJSON

func (x *GetRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetRequest_Body) UnmarshalJSON

func (x *GetRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetRequest_Body) UnmarshalProtobuf

func (x *GetRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetResponse

type GetResponse struct {
	Body         *GetResponse_Body                 `json:"body"`
	MetaHeader   *grpc1.ResponseMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.ResponseVerificationHeader `json:"verifyHeader"`
}

func (*GetResponse) EmitProtobuf

func (x *GetResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*GetResponse) GetBody

func (x *GetResponse) GetBody() *GetResponse_Body

func (*GetResponse) GetMetaHeader

func (x *GetResponse) GetMetaHeader() *grpc1.ResponseMetaHeader

func (*GetResponse) GetVerifyHeader

func (x *GetResponse) GetVerifyHeader() *grpc1.ResponseVerificationHeader

func (*GetResponse) MarshalEasyJSON

func (x *GetResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*GetResponse) MarshalJSON

func (x *GetResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetResponse) MarshalProtobuf

func (x *GetResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetResponse) ReadSignedData

func (x *GetResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*GetResponse) SetBody

func (x *GetResponse) SetBody(v *GetResponse_Body)

func (*GetResponse) SetMetaHeader

func (x *GetResponse) SetMetaHeader(v *grpc1.ResponseMetaHeader)

func (*GetResponse) SetVerifyHeader

func (x *GetResponse) SetVerifyHeader(v *grpc1.ResponseVerificationHeader)

func (*GetResponse) SignedDataSize

func (x *GetResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*GetResponse) StableSize

func (x *GetResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetResponse) UnmarshalEasyJSON

func (x *GetResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetResponse) UnmarshalJSON

func (x *GetResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetResponse) UnmarshalProtobuf

func (x *GetResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetResponse_Body

type GetResponse_Body struct {
	ObjectPart isGetResponse_Body_ObjectPart
}

func (*GetResponse_Body) EmitProtobuf

func (x *GetResponse_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*GetResponse_Body) GetChunk

func (x *GetResponse_Body) GetChunk() []byte

func (*GetResponse_Body) GetEcInfo

func (x *GetResponse_Body) GetEcInfo() *ECInfo

func (*GetResponse_Body) GetInit

func (*GetResponse_Body) GetObjectPart

func (x *GetResponse_Body) GetObjectPart() isGetResponse_Body_ObjectPart

func (*GetResponse_Body) GetSplitInfo

func (x *GetResponse_Body) GetSplitInfo() *SplitInfo

func (*GetResponse_Body) MarshalEasyJSON

func (x *GetResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*GetResponse_Body) MarshalJSON

func (x *GetResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetResponse_Body) MarshalProtobuf

func (x *GetResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetResponse_Body) SetChunk

func (x *GetResponse_Body) SetChunk(v *GetResponse_Body_Chunk)

func (*GetResponse_Body) SetEcInfo

func (x *GetResponse_Body) SetEcInfo(v *ECInfo)

func (*GetResponse_Body) SetInit

func (x *GetResponse_Body) SetInit(v *GetResponse_Body_Init)

func (*GetResponse_Body) SetObjectPart

func (x *GetResponse_Body) SetObjectPart(v isGetResponse_Body_ObjectPart)

func (*GetResponse_Body) SetSplitInfo

func (x *GetResponse_Body) SetSplitInfo(v *SplitInfo)

func (*GetResponse_Body) StableSize

func (x *GetResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetResponse_Body) UnmarshalEasyJSON

func (x *GetResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetResponse_Body) UnmarshalJSON

func (x *GetResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetResponse_Body) UnmarshalProtobuf

func (x *GetResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetResponse_Body_Chunk

type GetResponse_Body_Chunk struct {
	Chunk []byte
}

func (*GetResponse_Body_Chunk) GetChunk

func (x *GetResponse_Body_Chunk) GetChunk() []byte

func (*GetResponse_Body_Chunk) SetChunk

func (x *GetResponse_Body_Chunk) SetChunk(v []byte)

type GetResponse_Body_EcInfo

type GetResponse_Body_EcInfo struct {
	EcInfo *ECInfo
}

type GetResponse_Body_Init

type GetResponse_Body_Init struct {
	ObjectId  *grpc.ObjectID  `json:"objectId"`
	Signature *grpc.Signature `json:"signature"`
	Header    *Header         `json:"header"`
}

func (*GetResponse_Body_Init) EmitProtobuf

func (x *GetResponse_Body_Init) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*GetResponse_Body_Init) GetHeader

func (x *GetResponse_Body_Init) GetHeader() *Header

func (*GetResponse_Body_Init) GetObjectId

func (x *GetResponse_Body_Init) GetObjectId() *grpc.ObjectID

func (*GetResponse_Body_Init) GetSignature

func (x *GetResponse_Body_Init) GetSignature() *grpc.Signature

func (*GetResponse_Body_Init) MarshalEasyJSON

func (x *GetResponse_Body_Init) MarshalEasyJSON(out *jwriter.Writer)

func (*GetResponse_Body_Init) MarshalJSON

func (x *GetResponse_Body_Init) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetResponse_Body_Init) MarshalProtobuf

func (x *GetResponse_Body_Init) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetResponse_Body_Init) SetHeader

func (x *GetResponse_Body_Init) SetHeader(v *Header)

func (*GetResponse_Body_Init) SetObjectId

func (x *GetResponse_Body_Init) SetObjectId(v *grpc.ObjectID)

func (*GetResponse_Body_Init) SetSignature

func (x *GetResponse_Body_Init) SetSignature(v *grpc.Signature)

func (*GetResponse_Body_Init) StableSize

func (x *GetResponse_Body_Init) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetResponse_Body_Init) UnmarshalEasyJSON

func (x *GetResponse_Body_Init) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetResponse_Body_Init) UnmarshalJSON

func (x *GetResponse_Body_Init) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetResponse_Body_Init) UnmarshalProtobuf

func (x *GetResponse_Body_Init) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetResponse_Body_Init_

type GetResponse_Body_Init_ struct {
	Init *GetResponse_Body_Init
}

type GetResponse_Body_SplitInfo

type GetResponse_Body_SplitInfo struct {
	SplitInfo *SplitInfo
}

type HeadRequest

type HeadRequest struct {
	Body         *HeadRequest_Body                `json:"body"`
	MetaHeader   *grpc1.RequestMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.RequestVerificationHeader `json:"verifyHeader"`
}

func (*HeadRequest) EmitProtobuf

func (x *HeadRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*HeadRequest) GetBody

func (x *HeadRequest) GetBody() *HeadRequest_Body

func (*HeadRequest) GetMetaHeader

func (x *HeadRequest) GetMetaHeader() *grpc1.RequestMetaHeader

func (*HeadRequest) GetVerifyHeader

func (x *HeadRequest) GetVerifyHeader() *grpc1.RequestVerificationHeader

func (*HeadRequest) MarshalEasyJSON

func (x *HeadRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*HeadRequest) MarshalJSON

func (x *HeadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*HeadRequest) MarshalProtobuf

func (x *HeadRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*HeadRequest) ReadSignedData

func (x *HeadRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*HeadRequest) SetBody

func (x *HeadRequest) SetBody(v *HeadRequest_Body)

func (*HeadRequest) SetMetaHeader

func (x *HeadRequest) SetMetaHeader(v *grpc1.RequestMetaHeader)

func (*HeadRequest) SetVerifyHeader

func (x *HeadRequest) SetVerifyHeader(v *grpc1.RequestVerificationHeader)

func (*HeadRequest) SignedDataSize

func (x *HeadRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*HeadRequest) StableSize

func (x *HeadRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*HeadRequest) UnmarshalEasyJSON

func (x *HeadRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*HeadRequest) UnmarshalJSON

func (x *HeadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*HeadRequest) UnmarshalProtobuf

func (x *HeadRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type HeadRequest_Body

type HeadRequest_Body struct {
	Address  *grpc.Address `json:"address"`
	MainOnly bool          `json:"mainOnly"`
	Raw      bool          `json:"raw"`
}

func (*HeadRequest_Body) EmitProtobuf

func (x *HeadRequest_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*HeadRequest_Body) GetAddress

func (x *HeadRequest_Body) GetAddress() *grpc.Address

func (*HeadRequest_Body) GetMainOnly

func (x *HeadRequest_Body) GetMainOnly() bool

func (*HeadRequest_Body) GetRaw

func (x *HeadRequest_Body) GetRaw() bool

func (*HeadRequest_Body) MarshalEasyJSON

func (x *HeadRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*HeadRequest_Body) MarshalJSON

func (x *HeadRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*HeadRequest_Body) MarshalProtobuf

func (x *HeadRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*HeadRequest_Body) SetAddress

func (x *HeadRequest_Body) SetAddress(v *grpc.Address)

func (*HeadRequest_Body) SetMainOnly

func (x *HeadRequest_Body) SetMainOnly(v bool)

func (*HeadRequest_Body) SetRaw

func (x *HeadRequest_Body) SetRaw(v bool)

func (*HeadRequest_Body) StableSize

func (x *HeadRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*HeadRequest_Body) UnmarshalEasyJSON

func (x *HeadRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*HeadRequest_Body) UnmarshalJSON

func (x *HeadRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*HeadRequest_Body) UnmarshalProtobuf

func (x *HeadRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type HeadResponse

type HeadResponse struct {
	Body         *HeadResponse_Body                `json:"body"`
	MetaHeader   *grpc1.ResponseMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.ResponseVerificationHeader `json:"verifyHeader"`
}

func (*HeadResponse) EmitProtobuf

func (x *HeadResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*HeadResponse) GetBody

func (x *HeadResponse) GetBody() *HeadResponse_Body

func (*HeadResponse) GetMetaHeader

func (x *HeadResponse) GetMetaHeader() *grpc1.ResponseMetaHeader

func (*HeadResponse) GetVerifyHeader

func (x *HeadResponse) GetVerifyHeader() *grpc1.ResponseVerificationHeader

func (*HeadResponse) MarshalEasyJSON

func (x *HeadResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*HeadResponse) MarshalJSON

func (x *HeadResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*HeadResponse) MarshalProtobuf

func (x *HeadResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*HeadResponse) ReadSignedData

func (x *HeadResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*HeadResponse) SetBody

func (x *HeadResponse) SetBody(v *HeadResponse_Body)

func (*HeadResponse) SetMetaHeader

func (x *HeadResponse) SetMetaHeader(v *grpc1.ResponseMetaHeader)

func (*HeadResponse) SetVerifyHeader

func (x *HeadResponse) SetVerifyHeader(v *grpc1.ResponseVerificationHeader)

func (*HeadResponse) SignedDataSize

func (x *HeadResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*HeadResponse) StableSize

func (x *HeadResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*HeadResponse) UnmarshalEasyJSON

func (x *HeadResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*HeadResponse) UnmarshalJSON

func (x *HeadResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*HeadResponse) UnmarshalProtobuf

func (x *HeadResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type HeadResponse_Body

type HeadResponse_Body struct {
	Head isHeadResponse_Body_Head
}

func (*HeadResponse_Body) EmitProtobuf

func (x *HeadResponse_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*HeadResponse_Body) GetEcInfo

func (x *HeadResponse_Body) GetEcInfo() *ECInfo

func (*HeadResponse_Body) GetHead

func (x *HeadResponse_Body) GetHead() isHeadResponse_Body_Head

func (*HeadResponse_Body) GetHeader

func (x *HeadResponse_Body) GetHeader() *HeaderWithSignature

func (*HeadResponse_Body) GetShortHeader

func (x *HeadResponse_Body) GetShortHeader() *ShortHeader

func (*HeadResponse_Body) GetSplitInfo

func (x *HeadResponse_Body) GetSplitInfo() *SplitInfo

func (*HeadResponse_Body) MarshalEasyJSON

func (x *HeadResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*HeadResponse_Body) MarshalJSON

func (x *HeadResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*HeadResponse_Body) MarshalProtobuf

func (x *HeadResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*HeadResponse_Body) SetEcInfo

func (x *HeadResponse_Body) SetEcInfo(v *ECInfo)

func (*HeadResponse_Body) SetHead

func (x *HeadResponse_Body) SetHead(v isHeadResponse_Body_Head)

func (*HeadResponse_Body) SetHeader

func (x *HeadResponse_Body) SetHeader(v *HeaderWithSignature)

func (*HeadResponse_Body) SetShortHeader

func (x *HeadResponse_Body) SetShortHeader(v *ShortHeader)

func (*HeadResponse_Body) SetSplitInfo

func (x *HeadResponse_Body) SetSplitInfo(v *SplitInfo)

func (*HeadResponse_Body) StableSize

func (x *HeadResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*HeadResponse_Body) UnmarshalEasyJSON

func (x *HeadResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*HeadResponse_Body) UnmarshalJSON

func (x *HeadResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*HeadResponse_Body) UnmarshalProtobuf

func (x *HeadResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type HeadResponse_Body_EcInfo

type HeadResponse_Body_EcInfo struct {
	EcInfo *ECInfo
}

type HeadResponse_Body_Header

type HeadResponse_Body_Header struct {
	Header *HeaderWithSignature
}

type HeadResponse_Body_ShortHeader

type HeadResponse_Body_ShortHeader struct {
	ShortHeader *ShortHeader
}

type HeadResponse_Body_SplitInfo

type HeadResponse_Body_SplitInfo struct {
	SplitInfo *SplitInfo
}
type Header struct {
	Version         *grpc.Version       `json:"version"`
	ContainerId     *grpc.ContainerID   `json:"containerID"`
	OwnerId         *grpc.OwnerID       `json:"ownerID"`
	CreationEpoch   uint64              `json:"creationEpoch"`
	PayloadLength   uint64              `json:"payloadLength"`
	PayloadHash     *grpc.Checksum      `json:"payloadHash"`
	ObjectType      ObjectType          `json:"objectType"`
	HomomorphicHash *grpc.Checksum      `json:"homomorphicHash"`
	SessionToken    *grpc1.SessionToken `json:"sessionToken"`
	Attributes      []Header_Attribute  `json:"attributes"`
	Split           *Header_Split       `json:"split"`
	Ec              *Header_EC          `json:"ec"`
}

func (*Header) EmitProtobuf

func (x *Header) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*Header) GetAttributes

func (x *Header) GetAttributes() []Header_Attribute

func (*Header) GetContainerId

func (x *Header) GetContainerId() *grpc.ContainerID

func (*Header) GetCreationEpoch

func (x *Header) GetCreationEpoch() uint64

func (*Header) GetEc

func (x *Header) GetEc() *Header_EC

func (*Header) GetHomomorphicHash

func (x *Header) GetHomomorphicHash() *grpc.Checksum

func (*Header) GetObjectType

func (x *Header) GetObjectType() ObjectType

func (*Header) GetOwnerId

func (x *Header) GetOwnerId() *grpc.OwnerID

func (*Header) GetPayloadHash

func (x *Header) GetPayloadHash() *grpc.Checksum

func (*Header) GetPayloadLength

func (x *Header) GetPayloadLength() uint64

func (*Header) GetSessionToken

func (x *Header) GetSessionToken() *grpc1.SessionToken

func (*Header) GetSplit

func (x *Header) GetSplit() *Header_Split

func (*Header) GetVersion

func (x *Header) GetVersion() *grpc.Version

func (*Header) MarshalEasyJSON

func (x *Header) MarshalEasyJSON(out *jwriter.Writer)

func (*Header) MarshalJSON

func (x *Header) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*Header) MarshalProtobuf

func (x *Header) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*Header) SetAttributes

func (x *Header) SetAttributes(v []Header_Attribute)

func (*Header) SetContainerId

func (x *Header) SetContainerId(v *grpc.ContainerID)

func (*Header) SetCreationEpoch

func (x *Header) SetCreationEpoch(v uint64)

func (*Header) SetEc

func (x *Header) SetEc(v *Header_EC)

func (*Header) SetHomomorphicHash

func (x *Header) SetHomomorphicHash(v *grpc.Checksum)

func (*Header) SetObjectType

func (x *Header) SetObjectType(v ObjectType)

func (*Header) SetOwnerId

func (x *Header) SetOwnerId(v *grpc.OwnerID)

func (*Header) SetPayloadHash

func (x *Header) SetPayloadHash(v *grpc.Checksum)

func (*Header) SetPayloadLength

func (x *Header) SetPayloadLength(v uint64)

func (*Header) SetSessionToken

func (x *Header) SetSessionToken(v *grpc1.SessionToken)

func (*Header) SetSplit

func (x *Header) SetSplit(v *Header_Split)

func (*Header) SetVersion

func (x *Header) SetVersion(v *grpc.Version)

func (*Header) StableSize

func (x *Header) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*Header) UnmarshalEasyJSON

func (x *Header) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*Header) UnmarshalJSON

func (x *Header) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*Header) UnmarshalProtobuf

func (x *Header) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type HeaderWithSignature

type HeaderWithSignature struct {
	Header    *Header         `json:"header"`
	Signature *grpc.Signature `json:"signature"`
}

func (*HeaderWithSignature) EmitProtobuf

func (x *HeaderWithSignature) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*HeaderWithSignature) GetHeader

func (x *HeaderWithSignature) GetHeader() *Header

func (*HeaderWithSignature) GetSignature

func (x *HeaderWithSignature) GetSignature() *grpc.Signature

func (*HeaderWithSignature) MarshalEasyJSON

func (x *HeaderWithSignature) MarshalEasyJSON(out *jwriter.Writer)

func (*HeaderWithSignature) MarshalJSON

func (x *HeaderWithSignature) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*HeaderWithSignature) MarshalProtobuf

func (x *HeaderWithSignature) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*HeaderWithSignature) SetHeader

func (x *HeaderWithSignature) SetHeader(v *Header)

func (*HeaderWithSignature) SetSignature

func (x *HeaderWithSignature) SetSignature(v *grpc.Signature)

func (*HeaderWithSignature) StableSize

func (x *HeaderWithSignature) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*HeaderWithSignature) UnmarshalEasyJSON

func (x *HeaderWithSignature) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*HeaderWithSignature) UnmarshalJSON

func (x *HeaderWithSignature) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*HeaderWithSignature) UnmarshalProtobuf

func (x *HeaderWithSignature) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type Header_Attribute

type Header_Attribute struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

func (*Header_Attribute) EmitProtobuf

func (x *Header_Attribute) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*Header_Attribute) GetKey

func (x *Header_Attribute) GetKey() string

func (*Header_Attribute) GetValue

func (x *Header_Attribute) GetValue() string

func (*Header_Attribute) MarshalEasyJSON

func (x *Header_Attribute) MarshalEasyJSON(out *jwriter.Writer)

func (*Header_Attribute) MarshalJSON

func (x *Header_Attribute) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*Header_Attribute) MarshalProtobuf

func (x *Header_Attribute) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*Header_Attribute) SetKey

func (x *Header_Attribute) SetKey(v string)

func (*Header_Attribute) SetValue

func (x *Header_Attribute) SetValue(v string)

func (*Header_Attribute) StableSize

func (x *Header_Attribute) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*Header_Attribute) UnmarshalEasyJSON

func (x *Header_Attribute) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*Header_Attribute) UnmarshalJSON

func (x *Header_Attribute) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*Header_Attribute) UnmarshalProtobuf

func (x *Header_Attribute) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type Header_EC

type Header_EC struct {
	Parent              *grpc.ObjectID     `json:"parent"`
	Index               uint32             `json:"index"`
	Total               uint32             `json:"total"`
	HeaderLength        uint32             `json:"headerLength"`
	Header              []byte             `json:"header"`
	ParentSplitId       []byte             `json:"parentSplitID"`
	ParentSplitParentId *grpc.ObjectID     `json:"parentSplitParentID"`
	ParentAttributes    []Header_Attribute `json:"parentAttributes"`
}

func (*Header_EC) EmitProtobuf

func (x *Header_EC) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*Header_EC) GetHeader

func (x *Header_EC) GetHeader() []byte

func (*Header_EC) GetHeaderLength

func (x *Header_EC) GetHeaderLength() uint32

func (*Header_EC) GetIndex

func (x *Header_EC) GetIndex() uint32

func (*Header_EC) GetParent

func (x *Header_EC) GetParent() *grpc.ObjectID

func (*Header_EC) GetParentAttributes

func (x *Header_EC) GetParentAttributes() []Header_Attribute

func (*Header_EC) GetParentSplitId

func (x *Header_EC) GetParentSplitId() []byte

func (*Header_EC) GetParentSplitParentId

func (x *Header_EC) GetParentSplitParentId() *grpc.ObjectID

func (*Header_EC) GetTotal

func (x *Header_EC) GetTotal() uint32

func (*Header_EC) MarshalEasyJSON

func (x *Header_EC) MarshalEasyJSON(out *jwriter.Writer)

func (*Header_EC) MarshalJSON

func (x *Header_EC) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*Header_EC) MarshalProtobuf

func (x *Header_EC) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*Header_EC) SetHeader

func (x *Header_EC) SetHeader(v []byte)

func (*Header_EC) SetHeaderLength

func (x *Header_EC) SetHeaderLength(v uint32)

func (*Header_EC) SetIndex

func (x *Header_EC) SetIndex(v uint32)

func (*Header_EC) SetParent

func (x *Header_EC) SetParent(v *grpc.ObjectID)

func (*Header_EC) SetParentAttributes

func (x *Header_EC) SetParentAttributes(v []Header_Attribute)

func (*Header_EC) SetParentSplitId

func (x *Header_EC) SetParentSplitId(v []byte)

func (*Header_EC) SetParentSplitParentId

func (x *Header_EC) SetParentSplitParentId(v *grpc.ObjectID)

func (*Header_EC) SetTotal

func (x *Header_EC) SetTotal(v uint32)

func (*Header_EC) StableSize

func (x *Header_EC) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*Header_EC) UnmarshalEasyJSON

func (x *Header_EC) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*Header_EC) UnmarshalJSON

func (x *Header_EC) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*Header_EC) UnmarshalProtobuf

func (x *Header_EC) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type Header_Split

type Header_Split struct {
	Parent          *grpc.ObjectID  `json:"parent"`
	Previous        *grpc.ObjectID  `json:"previous"`
	ParentSignature *grpc.Signature `json:"parentSignature"`
	ParentHeader    *Header         `json:"parentHeader"`
	Children        []grpc.ObjectID `json:"children"`
	SplitId         []byte          `json:"splitID"`
}

func (*Header_Split) EmitProtobuf

func (x *Header_Split) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*Header_Split) GetChildren

func (x *Header_Split) GetChildren() []grpc.ObjectID

func (*Header_Split) GetParent

func (x *Header_Split) GetParent() *grpc.ObjectID

func (*Header_Split) GetParentHeader

func (x *Header_Split) GetParentHeader() *Header

func (*Header_Split) GetParentSignature

func (x *Header_Split) GetParentSignature() *grpc.Signature

func (*Header_Split) GetPrevious

func (x *Header_Split) GetPrevious() *grpc.ObjectID

func (*Header_Split) GetSplitId

func (x *Header_Split) GetSplitId() []byte

func (*Header_Split) MarshalEasyJSON

func (x *Header_Split) MarshalEasyJSON(out *jwriter.Writer)

func (*Header_Split) MarshalJSON

func (x *Header_Split) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*Header_Split) MarshalProtobuf

func (x *Header_Split) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*Header_Split) SetChildren

func (x *Header_Split) SetChildren(v []grpc.ObjectID)

func (*Header_Split) SetParent

func (x *Header_Split) SetParent(v *grpc.ObjectID)

func (*Header_Split) SetParentHeader

func (x *Header_Split) SetParentHeader(v *Header)

func (*Header_Split) SetParentSignature

func (x *Header_Split) SetParentSignature(v *grpc.Signature)

func (*Header_Split) SetPrevious

func (x *Header_Split) SetPrevious(v *grpc.ObjectID)

func (*Header_Split) SetSplitId

func (x *Header_Split) SetSplitId(v []byte)

func (*Header_Split) StableSize

func (x *Header_Split) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*Header_Split) UnmarshalEasyJSON

func (x *Header_Split) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*Header_Split) UnmarshalJSON

func (x *Header_Split) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*Header_Split) UnmarshalProtobuf

func (x *Header_Split) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type MatchType

type MatchType int32
const (
	MatchType_MATCH_TYPE_UNSPECIFIED MatchType = 0
	MatchType_STRING_EQUAL           MatchType = 1
	MatchType_STRING_NOT_EQUAL       MatchType = 2
	MatchType_NOT_PRESENT            MatchType = 3
	MatchType_COMMON_PREFIX          MatchType = 4
)

func (*MatchType) FromString

func (x *MatchType) FromString(s string) bool

func (MatchType) String

func (x MatchType) String() string

type Object

type Object struct {
	ObjectId  *grpc.ObjectID  `json:"objectID"`
	Signature *grpc.Signature `json:"signature"`
	Header    *Header         `json:"header"`
	Payload   []byte          `json:"payload"`
}

func (*Object) EmitProtobuf

func (x *Object) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*Object) GetHeader

func (x *Object) GetHeader() *Header

func (*Object) GetObjectId

func (x *Object) GetObjectId() *grpc.ObjectID

func (*Object) GetPayload

func (x *Object) GetPayload() []byte

func (*Object) GetSignature

func (x *Object) GetSignature() *grpc.Signature

func (*Object) MarshalEasyJSON

func (x *Object) MarshalEasyJSON(out *jwriter.Writer)

func (*Object) MarshalJSON

func (x *Object) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*Object) MarshalProtobuf

func (x *Object) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*Object) SetHeader

func (x *Object) SetHeader(v *Header)

func (*Object) SetObjectId

func (x *Object) SetObjectId(v *grpc.ObjectID)

func (*Object) SetPayload

func (x *Object) SetPayload(v []byte)

func (*Object) SetSignature

func (x *Object) SetSignature(v *grpc.Signature)

func (*Object) StableSize

func (x *Object) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*Object) UnmarshalEasyJSON

func (x *Object) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*Object) UnmarshalJSON

func (x *Object) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*Object) UnmarshalProtobuf

func (x *Object) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ObjectServiceClient

type ObjectServiceClient interface {
	// Receive full object structure, including Headers and payload. Response uses
	// gRPC stream. First response message carries the object with the requested
	// address. Chunk messages are parts of the object's payload if it is needed.
	// All messages, except the first one, carry payload chunks. The requested
	// object can be restored by concatenation of object message payload and all
	// chunks keeping the receiving order.
	//
	// Extended headers can change `Get` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH ] \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requsted version of Network Map for object placement
	//   calculation.
	// * [ __SYSTEM__NETMAP_LOOKUP_DEPTH ] \
	//   (`__NEOFS__NETMAP_LOOKUP_DEPTH` is deprecated) \
	//   Will try older versions (starting from `__SYSTEM__NETMAP_EPOCH`
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) if specified or the latest one
	//   otherwise) of Network Map to find an object until the depth limit is
	//   reached.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   object has been successfully read;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   read access to the object is denied;
	// - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
	//   object not found in container;
	// - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \
	//   the requested object has been marked as deleted;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (ObjectService_GetClient, error)
	// Put the object into container. Request uses gRPC stream. First message
	// SHOULD be of PutHeader type. `ContainerID` and `OwnerID` of an object
	// SHOULD be set. Session token SHOULD be obtained before `PUT` operation (see
	// session package). Chunk messages are considered by server as a part of an
	// object payload. All messages, except first one, SHOULD be payload chunks.
	// Chunk messages SHOULD be sent in the direct order of fragmentation.
	//
	// Extended headers can change `Put` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requsted version of Network Map for object placement
	//   calculation.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   object has been successfully saved in the container;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   write access to the container is denied;
	// - **LOCKED** (2050, SECTION_OBJECT): \
	//   placement of an object of type TOMBSTONE that includes at least one
	//   locked object is prohibited;
	// - **LOCK_NON_REGULAR_OBJECT** (2051, SECTION_OBJECT): \
	//   placement of an object of type LOCK that includes at least one object of
	//   type other than REGULAR is prohibited;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object storage container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_NOT_FOUND** (4096, SECTION_SESSION): \
	//   (for trusted object preparation) session private key does not exist or
	//   has
	// been deleted;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	Put(ctx context.Context, opts ...grpc.CallOption) (ObjectService_PutClient, error)
	// Delete the object from a container. There is no immediate removal
	// guarantee. Object will be marked for removal and deleted eventually.
	//
	// Extended headers can change `Delete` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH ] \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requested version of Network Map for object placement
	//   calculation.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   object has been successfully marked to be removed from the container;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   delete access to the object is denied;
	// - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
	//   the object could not be deleted because it has not been \
	//   found within the container;
	// - **LOCKED** (2050, SECTION_OBJECT): \
	//   deleting a locked object is prohibited;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
	// Returns the object Headers without data payload. By default full header is
	// returned. If `main_only` request field is set, the short header with only
	// the very minimal information will be returned instead.
	//
	// Extended headers can change `Head` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH ] \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requested version of Network Map for object placement
	//   calculation.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   object header has been successfully read;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   access to operation HEAD of the object is denied;
	// - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
	//   object not found in container;
	// - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \
	//   the requested object has been marked as deleted;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	Head(ctx context.Context, in *HeadRequest, opts ...grpc.CallOption) (*HeadResponse, error)
	// Search objects in container. Search query allows to match by Object
	// Header's filed values. Please see the corresponding FrostFS Technical
	// Specification section for more details.
	//
	// Extended headers can change `Search` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH ] \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requested version of Network Map for object placement
	//   calculation.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   objects have been successfully selected;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   access to operation SEARCH of the object is denied;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   search container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (ObjectService_SearchClient, error)
	// Get byte range of data payload. Range is set as an (offset, length) tuple.
	// Like in `Get` method, the response uses gRPC stream. Requested range can be
	// restored by concatenation of all received payload chunks keeping the
	// receiving order.
	//
	// Extended headers can change `GetRange` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH ] \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requested version of Network Map for object placement
	//   calculation.
	// * [ __SYSTEM__NETMAP_LOOKUP_DEPTH ] \
	//   (`__NEOFS__NETMAP_LOOKUP_DEPTH` is deprecated) \
	//   Will try older versions of Network Map to find an object until the depth
	//   limit is reached.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   data range of the object payload has been successfully read;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   access to operation RANGE of the object is denied;
	// - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
	//   object not found in container;
	// - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \
	//   the requested object has been marked as deleted.
	// - **OUT_OF_RANGE** (2053, SECTION_OBJECT): \
	//   the requested range is out of bounds;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	GetRange(ctx context.Context, in *GetRangeRequest, opts ...grpc.CallOption) (ObjectService_GetRangeClient, error)
	// Returns homomorphic or regular hash of object's payload range after
	// applying XOR operation with the provided `salt`. Ranges are set of (offset,
	// length) tuples. Hashes order in response corresponds to the ranges order in
	// the request. Note that hash is calculated for XORed data.
	//
	// Extended headers can change `GetRangeHash` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH ] \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requested version of Network Map for object placement
	//   calculation.
	// * [ __SYSTEM__NETMAP_LOOKUP_DEPTH ] \
	//   (`__NEOFS__NETMAP_LOOKUP_DEPTH` is deprecated) \
	//   Will try older versions of Network Map to find an object until the depth
	//   limit is reached.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   data range of the object payload has been successfully hashed;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   access to operation RANGEHASH of the object is denied;
	// - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
	//   object not found in container;
	// - **OUT_OF_RANGE** (2053, SECTION_OBJECT): \
	//   the requested range is out of bounds;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	GetRangeHash(ctx context.Context, in *GetRangeHashRequest, opts ...grpc.CallOption) (*GetRangeHashResponse, error)
	// Put the prepared object into container.
	// `ContainerID`, `ObjectID`, `OwnerID`, `PayloadHash` and `PayloadLength` of
	// an object MUST be set.
	//
	// Extended headers can change `Put` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requested version of Network Map for object placement
	//   calculation.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   object has been successfully saved in the container;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   write access to the container is denied;
	// - **LOCKED** (2050, SECTION_OBJECT): \
	//   placement of an object of type TOMBSTONE that includes at least one
	//   locked object is prohibited;
	// - **LOCK_NON_REGULAR_OBJECT** (2051, SECTION_OBJECT): \
	//   placement of an object of type LOCK that includes at least one object of
	//   type other than REGULAR is prohibited;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object storage container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_NOT_FOUND** (4096, SECTION_SESSION): \
	//   (for trusted object preparation) session private key does not exist or
	//   has
	// been deleted;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	PutSingle(ctx context.Context, in *PutSingleRequest, opts ...grpc.CallOption) (*PutSingleResponse, error)
	// Patch the object. Request uses gRPC stream. First message must set
	// the address of the object that is going to get patched. If the object's
	// attributes are patched, then these attrubutes must be set only within the
	// first stream message.
	//
	// If the patch request is performed by NOT the object's owner but if the
	// actor has the permission to perform the patch, then `OwnerID` of the object
	// is changed. In this case the object's owner loses the object's ownership
	// after the patch request is successfully done.
	//
	// As objects are content-addressable the patching causes new object ID
	// generation for the patched object. This object id is set witihn
	// `PatchResponse`. But the object id may remain unchanged in such cases:
	// 1. The chunk of the applying patch contains the same value as the object's
	// payload within the same range;
	// 2. The patch that reverts the changes applied by preceding patch;
	// 3. The application of the same patches for the object a few times.
	//
	// Extended headers can change `Patch` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requsted version of Network Map for object placement
	//   calculation.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   object has been successfully patched and saved in the container;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   write access to the container is denied;
	// - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
	//   object not found in container;
	// - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \
	//   the requested object has been marked as deleted.
	// - **OUT_OF_RANGE** (2053, SECTION_OBJECT): \
	//   the requested range is out of bounds;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object storage container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_NOT_FOUND** (4096, SECTION_SESSION): \
	//   (for trusted object preparation) session private key does not exist or
	//   has been deleted;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	Patch(ctx context.Context, opts ...grpc.CallOption) (ObjectService_PatchClient, error)
}

ObjectServiceClient is the client API for ObjectService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ObjectServiceServer

type ObjectServiceServer interface {
	// Receive full object structure, including Headers and payload. Response uses
	// gRPC stream. First response message carries the object with the requested
	// address. Chunk messages are parts of the object's payload if it is needed.
	// All messages, except the first one, carry payload chunks. The requested
	// object can be restored by concatenation of object message payload and all
	// chunks keeping the receiving order.
	//
	// Extended headers can change `Get` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH ] \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requsted version of Network Map for object placement
	//   calculation.
	// * [ __SYSTEM__NETMAP_LOOKUP_DEPTH ] \
	//   (`__NEOFS__NETMAP_LOOKUP_DEPTH` is deprecated) \
	//   Will try older versions (starting from `__SYSTEM__NETMAP_EPOCH`
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) if specified or the latest one
	//   otherwise) of Network Map to find an object until the depth limit is
	//   reached.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   object has been successfully read;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   read access to the object is denied;
	// - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
	//   object not found in container;
	// - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \
	//   the requested object has been marked as deleted;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	Get(*GetRequest, ObjectService_GetServer) error
	// Put the object into container. Request uses gRPC stream. First message
	// SHOULD be of PutHeader type. `ContainerID` and `OwnerID` of an object
	// SHOULD be set. Session token SHOULD be obtained before `PUT` operation (see
	// session package). Chunk messages are considered by server as a part of an
	// object payload. All messages, except first one, SHOULD be payload chunks.
	// Chunk messages SHOULD be sent in the direct order of fragmentation.
	//
	// Extended headers can change `Put` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requsted version of Network Map for object placement
	//   calculation.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   object has been successfully saved in the container;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   write access to the container is denied;
	// - **LOCKED** (2050, SECTION_OBJECT): \
	//   placement of an object of type TOMBSTONE that includes at least one
	//   locked object is prohibited;
	// - **LOCK_NON_REGULAR_OBJECT** (2051, SECTION_OBJECT): \
	//   placement of an object of type LOCK that includes at least one object of
	//   type other than REGULAR is prohibited;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object storage container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_NOT_FOUND** (4096, SECTION_SESSION): \
	//   (for trusted object preparation) session private key does not exist or
	//   has
	// been deleted;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	Put(ObjectService_PutServer) error
	// Delete the object from a container. There is no immediate removal
	// guarantee. Object will be marked for removal and deleted eventually.
	//
	// Extended headers can change `Delete` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH ] \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requested version of Network Map for object placement
	//   calculation.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   object has been successfully marked to be removed from the container;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   delete access to the object is denied;
	// - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
	//   the object could not be deleted because it has not been \
	//   found within the container;
	// - **LOCKED** (2050, SECTION_OBJECT): \
	//   deleting a locked object is prohibited;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
	// Returns the object Headers without data payload. By default full header is
	// returned. If `main_only` request field is set, the short header with only
	// the very minimal information will be returned instead.
	//
	// Extended headers can change `Head` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH ] \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requested version of Network Map for object placement
	//   calculation.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   object header has been successfully read;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   access to operation HEAD of the object is denied;
	// - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
	//   object not found in container;
	// - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \
	//   the requested object has been marked as deleted;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	Head(context.Context, *HeadRequest) (*HeadResponse, error)
	// Search objects in container. Search query allows to match by Object
	// Header's filed values. Please see the corresponding FrostFS Technical
	// Specification section for more details.
	//
	// Extended headers can change `Search` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH ] \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requested version of Network Map for object placement
	//   calculation.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   objects have been successfully selected;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   access to operation SEARCH of the object is denied;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   search container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	Search(*SearchRequest, ObjectService_SearchServer) error
	// Get byte range of data payload. Range is set as an (offset, length) tuple.
	// Like in `Get` method, the response uses gRPC stream. Requested range can be
	// restored by concatenation of all received payload chunks keeping the
	// receiving order.
	//
	// Extended headers can change `GetRange` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH ] \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requested version of Network Map for object placement
	//   calculation.
	// * [ __SYSTEM__NETMAP_LOOKUP_DEPTH ] \
	//   (`__NEOFS__NETMAP_LOOKUP_DEPTH` is deprecated) \
	//   Will try older versions of Network Map to find an object until the depth
	//   limit is reached.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   data range of the object payload has been successfully read;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   access to operation RANGE of the object is denied;
	// - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
	//   object not found in container;
	// - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \
	//   the requested object has been marked as deleted.
	// - **OUT_OF_RANGE** (2053, SECTION_OBJECT): \
	//   the requested range is out of bounds;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	GetRange(*GetRangeRequest, ObjectService_GetRangeServer) error
	// Returns homomorphic or regular hash of object's payload range after
	// applying XOR operation with the provided `salt`. Ranges are set of (offset,
	// length) tuples. Hashes order in response corresponds to the ranges order in
	// the request. Note that hash is calculated for XORed data.
	//
	// Extended headers can change `GetRangeHash` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH ] \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requested version of Network Map for object placement
	//   calculation.
	// * [ __SYSTEM__NETMAP_LOOKUP_DEPTH ] \
	//   (`__NEOFS__NETMAP_LOOKUP_DEPTH` is deprecated) \
	//   Will try older versions of Network Map to find an object until the depth
	//   limit is reached.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   data range of the object payload has been successfully hashed;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   access to operation RANGEHASH of the object is denied;
	// - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
	//   object not found in container;
	// - **OUT_OF_RANGE** (2053, SECTION_OBJECT): \
	//   the requested range is out of bounds;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	GetRangeHash(context.Context, *GetRangeHashRequest) (*GetRangeHashResponse, error)
	// Put the prepared object into container.
	// `ContainerID`, `ObjectID`, `OwnerID`, `PayloadHash` and `PayloadLength` of
	// an object MUST be set.
	//
	// Extended headers can change `Put` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requested version of Network Map for object placement
	//   calculation.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   object has been successfully saved in the container;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   write access to the container is denied;
	// - **LOCKED** (2050, SECTION_OBJECT): \
	//   placement of an object of type TOMBSTONE that includes at least one
	//   locked object is prohibited;
	// - **LOCK_NON_REGULAR_OBJECT** (2051, SECTION_OBJECT): \
	//   placement of an object of type LOCK that includes at least one object of
	//   type other than REGULAR is prohibited;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object storage container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_NOT_FOUND** (4096, SECTION_SESSION): \
	//   (for trusted object preparation) session private key does not exist or
	//   has
	// been deleted;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	PutSingle(context.Context, *PutSingleRequest) (*PutSingleResponse, error)
	// Patch the object. Request uses gRPC stream. First message must set
	// the address of the object that is going to get patched. If the object's
	// attributes are patched, then these attrubutes must be set only within the
	// first stream message.
	//
	// If the patch request is performed by NOT the object's owner but if the
	// actor has the permission to perform the patch, then `OwnerID` of the object
	// is changed. In this case the object's owner loses the object's ownership
	// after the patch request is successfully done.
	//
	// As objects are content-addressable the patching causes new object ID
	// generation for the patched object. This object id is set witihn
	// `PatchResponse`. But the object id may remain unchanged in such cases:
	// 1. The chunk of the applying patch contains the same value as the object's
	// payload within the same range;
	// 2. The patch that reverts the changes applied by preceding patch;
	// 3. The application of the same patches for the object a few times.
	//
	// Extended headers can change `Patch` behaviour:
	// * [ __SYSTEM__NETMAP_EPOCH \
	//   (`__NEOFS__NETMAP_EPOCH` is deprecated) \
	//   Will use the requsted version of Network Map for object placement
	//   calculation.
	//
	// Please refer to detailed `XHeader` description.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   object has been successfully patched and saved in the container;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **ACCESS_DENIED** (2048, SECTION_OBJECT): \
	//   write access to the container is denied;
	// - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \
	//   object not found in container;
	// - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \
	//   the requested object has been marked as deleted.
	// - **OUT_OF_RANGE** (2053, SECTION_OBJECT): \
	//   the requested range is out of bounds;
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   object storage container not found;
	// - **CONTAINER_ACCESS_DENIED** (3074, SECTION_CONTAINER): \
	//   access to container is denied;
	// - **TOKEN_NOT_FOUND** (4096, SECTION_SESSION): \
	//   (for trusted object preparation) session private key does not exist or
	//   has been deleted;
	// - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \
	//   provided session token has expired.
	Patch(ObjectService_PatchServer) error
}

ObjectServiceServer is the server API for ObjectService service. All implementations should embed UnimplementedObjectServiceServer for forward compatibility

type ObjectService_GetClient

type ObjectService_GetClient interface {
	Recv() (*GetResponse, error)
	grpc.ClientStream
}

type ObjectService_GetRangeClient

type ObjectService_GetRangeClient interface {
	Recv() (*GetRangeResponse, error)
	grpc.ClientStream
}

type ObjectService_GetRangeServer

type ObjectService_GetRangeServer interface {
	Send(*GetRangeResponse) error
	grpc.ServerStream
}

type ObjectService_GetServer

type ObjectService_GetServer interface {
	Send(*GetResponse) error
	grpc.ServerStream
}

type ObjectService_PatchClient

type ObjectService_PatchClient interface {
	Send(*PatchRequest) error
	CloseAndRecv() (*PatchResponse, error)
	grpc.ClientStream
}

type ObjectService_PatchServer

type ObjectService_PatchServer interface {
	SendAndClose(*PatchResponse) error
	Recv() (*PatchRequest, error)
	grpc.ServerStream
}

type ObjectService_PutClient

type ObjectService_PutClient interface {
	Send(*PutRequest) error
	CloseAndRecv() (*PutResponse, error)
	grpc.ClientStream
}

type ObjectService_PutServer

type ObjectService_PutServer interface {
	SendAndClose(*PutResponse) error
	Recv() (*PutRequest, error)
	grpc.ServerStream
}

type ObjectService_SearchClient

type ObjectService_SearchClient interface {
	Recv() (*SearchResponse, error)
	grpc.ClientStream
}

type ObjectService_SearchServer

type ObjectService_SearchServer interface {
	Send(*SearchResponse) error
	grpc.ServerStream
}

type ObjectType

type ObjectType int32
const (
	ObjectType_REGULAR   ObjectType = 0
	ObjectType_TOMBSTONE ObjectType = 1
	ObjectType_LOCK      ObjectType = 3
)

func (*ObjectType) FromString

func (x *ObjectType) FromString(s string) bool

func (ObjectType) String

func (x ObjectType) String() string

type PatchRequest

type PatchRequest struct {
	Body         *PatchRequest_Body               `json:"body"`
	MetaHeader   *grpc1.RequestMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.RequestVerificationHeader `json:"verifyHeader"`
}

func (*PatchRequest) EmitProtobuf

func (x *PatchRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*PatchRequest) GetBody

func (x *PatchRequest) GetBody() *PatchRequest_Body

func (*PatchRequest) GetMetaHeader

func (x *PatchRequest) GetMetaHeader() *grpc1.RequestMetaHeader

func (*PatchRequest) GetVerifyHeader

func (x *PatchRequest) GetVerifyHeader() *grpc1.RequestVerificationHeader

func (*PatchRequest) MarshalEasyJSON

func (x *PatchRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*PatchRequest) MarshalJSON

func (x *PatchRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*PatchRequest) MarshalProtobuf

func (x *PatchRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*PatchRequest) ReadSignedData

func (x *PatchRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*PatchRequest) SetBody

func (x *PatchRequest) SetBody(v *PatchRequest_Body)

func (*PatchRequest) SetMetaHeader

func (x *PatchRequest) SetMetaHeader(v *grpc1.RequestMetaHeader)

func (*PatchRequest) SetVerifyHeader

func (x *PatchRequest) SetVerifyHeader(v *grpc1.RequestVerificationHeader)

func (*PatchRequest) SignedDataSize

func (x *PatchRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*PatchRequest) StableSize

func (x *PatchRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*PatchRequest) UnmarshalEasyJSON

func (x *PatchRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*PatchRequest) UnmarshalJSON

func (x *PatchRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*PatchRequest) UnmarshalProtobuf

func (x *PatchRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type PatchRequest_Body

type PatchRequest_Body struct {
	Address           *grpc.Address            `json:"address"`
	NewAttributes     []Header_Attribute       `json:"newAttributes"`
	ReplaceAttributes bool                     `json:"replaceAttributes"`
	Patch             *PatchRequest_Body_Patch `json:"patch"`
}

func (*PatchRequest_Body) EmitProtobuf

func (x *PatchRequest_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*PatchRequest_Body) GetAddress

func (x *PatchRequest_Body) GetAddress() *grpc.Address

func (*PatchRequest_Body) GetNewAttributes

func (x *PatchRequest_Body) GetNewAttributes() []Header_Attribute

func (*PatchRequest_Body) GetPatch

func (*PatchRequest_Body) GetReplaceAttributes

func (x *PatchRequest_Body) GetReplaceAttributes() bool

func (*PatchRequest_Body) MarshalEasyJSON

func (x *PatchRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*PatchRequest_Body) MarshalJSON

func (x *PatchRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*PatchRequest_Body) MarshalProtobuf

func (x *PatchRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*PatchRequest_Body) SetAddress

func (x *PatchRequest_Body) SetAddress(v *grpc.Address)

func (*PatchRequest_Body) SetNewAttributes

func (x *PatchRequest_Body) SetNewAttributes(v []Header_Attribute)

func (*PatchRequest_Body) SetPatch

func (*PatchRequest_Body) SetReplaceAttributes

func (x *PatchRequest_Body) SetReplaceAttributes(v bool)

func (*PatchRequest_Body) StableSize

func (x *PatchRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*PatchRequest_Body) UnmarshalEasyJSON

func (x *PatchRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*PatchRequest_Body) UnmarshalJSON

func (x *PatchRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*PatchRequest_Body) UnmarshalProtobuf

func (x *PatchRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type PatchRequest_Body_Patch

type PatchRequest_Body_Patch struct {
	SourceRange *Range `json:"sourceRange"`
	Chunk       []byte `json:"chunk"`
}

func (*PatchRequest_Body_Patch) EmitProtobuf

func (x *PatchRequest_Body_Patch) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*PatchRequest_Body_Patch) GetChunk

func (x *PatchRequest_Body_Patch) GetChunk() []byte

func (*PatchRequest_Body_Patch) GetSourceRange

func (x *PatchRequest_Body_Patch) GetSourceRange() *Range

func (*PatchRequest_Body_Patch) MarshalEasyJSON

func (x *PatchRequest_Body_Patch) MarshalEasyJSON(out *jwriter.Writer)

func (*PatchRequest_Body_Patch) MarshalJSON

func (x *PatchRequest_Body_Patch) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*PatchRequest_Body_Patch) MarshalProtobuf

func (x *PatchRequest_Body_Patch) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*PatchRequest_Body_Patch) SetChunk

func (x *PatchRequest_Body_Patch) SetChunk(v []byte)

func (*PatchRequest_Body_Patch) SetSourceRange

func (x *PatchRequest_Body_Patch) SetSourceRange(v *Range)

func (*PatchRequest_Body_Patch) StableSize

func (x *PatchRequest_Body_Patch) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*PatchRequest_Body_Patch) UnmarshalEasyJSON

func (x *PatchRequest_Body_Patch) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*PatchRequest_Body_Patch) UnmarshalJSON

func (x *PatchRequest_Body_Patch) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*PatchRequest_Body_Patch) UnmarshalProtobuf

func (x *PatchRequest_Body_Patch) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type PatchResponse

type PatchResponse struct {
	Body         *PatchResponse_Body               `json:"body"`
	MetaHeader   *grpc1.ResponseMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.ResponseVerificationHeader `json:"verifyHeader"`
}

func (*PatchResponse) EmitProtobuf

func (x *PatchResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*PatchResponse) GetBody

func (x *PatchResponse) GetBody() *PatchResponse_Body

func (*PatchResponse) GetMetaHeader

func (x *PatchResponse) GetMetaHeader() *grpc1.ResponseMetaHeader

func (*PatchResponse) GetVerifyHeader

func (x *PatchResponse) GetVerifyHeader() *grpc1.ResponseVerificationHeader

func (*PatchResponse) MarshalEasyJSON

func (x *PatchResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*PatchResponse) MarshalJSON

func (x *PatchResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*PatchResponse) MarshalProtobuf

func (x *PatchResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*PatchResponse) ReadSignedData

func (x *PatchResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*PatchResponse) SetBody

func (x *PatchResponse) SetBody(v *PatchResponse_Body)

func (*PatchResponse) SetMetaHeader

func (x *PatchResponse) SetMetaHeader(v *grpc1.ResponseMetaHeader)

func (*PatchResponse) SetVerifyHeader

func (x *PatchResponse) SetVerifyHeader(v *grpc1.ResponseVerificationHeader)

func (*PatchResponse) SignedDataSize

func (x *PatchResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*PatchResponse) StableSize

func (x *PatchResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*PatchResponse) UnmarshalEasyJSON

func (x *PatchResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*PatchResponse) UnmarshalJSON

func (x *PatchResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*PatchResponse) UnmarshalProtobuf

func (x *PatchResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type PatchResponse_Body

type PatchResponse_Body struct {
	ObjectId *grpc.ObjectID `json:"objectId"`
}

func (*PatchResponse_Body) EmitProtobuf

func (x *PatchResponse_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*PatchResponse_Body) GetObjectId

func (x *PatchResponse_Body) GetObjectId() *grpc.ObjectID

func (*PatchResponse_Body) MarshalEasyJSON

func (x *PatchResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*PatchResponse_Body) MarshalJSON

func (x *PatchResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*PatchResponse_Body) MarshalProtobuf

func (x *PatchResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*PatchResponse_Body) SetObjectId

func (x *PatchResponse_Body) SetObjectId(v *grpc.ObjectID)

func (*PatchResponse_Body) StableSize

func (x *PatchResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*PatchResponse_Body) UnmarshalEasyJSON

func (x *PatchResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*PatchResponse_Body) UnmarshalJSON

func (x *PatchResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*PatchResponse_Body) UnmarshalProtobuf

func (x *PatchResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type PutRequest

type PutRequest struct {
	Body         *PutRequest_Body                 `json:"body"`
	MetaHeader   *grpc1.RequestMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.RequestVerificationHeader `json:"verifyHeader"`
}

func (*PutRequest) EmitProtobuf

func (x *PutRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*PutRequest) GetBody

func (x *PutRequest) GetBody() *PutRequest_Body

func (*PutRequest) GetMetaHeader

func (x *PutRequest) GetMetaHeader() *grpc1.RequestMetaHeader

func (*PutRequest) GetVerifyHeader

func (x *PutRequest) GetVerifyHeader() *grpc1.RequestVerificationHeader

func (*PutRequest) MarshalEasyJSON

func (x *PutRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*PutRequest) MarshalJSON

func (x *PutRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*PutRequest) MarshalProtobuf

func (x *PutRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*PutRequest) ReadSignedData

func (x *PutRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*PutRequest) SetBody

func (x *PutRequest) SetBody(v *PutRequest_Body)

func (*PutRequest) SetMetaHeader

func (x *PutRequest) SetMetaHeader(v *grpc1.RequestMetaHeader)

func (*PutRequest) SetVerifyHeader

func (x *PutRequest) SetVerifyHeader(v *grpc1.RequestVerificationHeader)

func (*PutRequest) SignedDataSize

func (x *PutRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*PutRequest) StableSize

func (x *PutRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*PutRequest) UnmarshalEasyJSON

func (x *PutRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*PutRequest) UnmarshalJSON

func (x *PutRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*PutRequest) UnmarshalProtobuf

func (x *PutRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type PutRequest_Body

type PutRequest_Body struct {
	ObjectPart isPutRequest_Body_ObjectPart
}

func (*PutRequest_Body) EmitProtobuf

func (x *PutRequest_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*PutRequest_Body) GetChunk

func (x *PutRequest_Body) GetChunk() []byte

func (*PutRequest_Body) GetInit

func (x *PutRequest_Body) GetInit() *PutRequest_Body_Init

func (*PutRequest_Body) GetObjectPart

func (x *PutRequest_Body) GetObjectPart() isPutRequest_Body_ObjectPart

func (*PutRequest_Body) MarshalEasyJSON

func (x *PutRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*PutRequest_Body) MarshalJSON

func (x *PutRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*PutRequest_Body) MarshalProtobuf

func (x *PutRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*PutRequest_Body) SetChunk

func (x *PutRequest_Body) SetChunk(v *PutRequest_Body_Chunk)

func (*PutRequest_Body) SetInit

func (x *PutRequest_Body) SetInit(v *PutRequest_Body_Init)

func (*PutRequest_Body) SetObjectPart

func (x *PutRequest_Body) SetObjectPart(v isPutRequest_Body_ObjectPart)

func (*PutRequest_Body) StableSize

func (x *PutRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*PutRequest_Body) UnmarshalEasyJSON

func (x *PutRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*PutRequest_Body) UnmarshalJSON

func (x *PutRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*PutRequest_Body) UnmarshalProtobuf

func (x *PutRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type PutRequest_Body_Chunk

type PutRequest_Body_Chunk struct {
	Chunk []byte
}

func (*PutRequest_Body_Chunk) GetChunk

func (x *PutRequest_Body_Chunk) GetChunk() []byte

func (*PutRequest_Body_Chunk) SetChunk

func (x *PutRequest_Body_Chunk) SetChunk(v []byte)

type PutRequest_Body_Init

type PutRequest_Body_Init struct {
	ObjectId     *grpc.ObjectID  `json:"objectId"`
	Signature    *grpc.Signature `json:"signature"`
	Header       *Header         `json:"header"`
	CopiesNumber []uint32        `json:"copiesNumber"`
}

func (*PutRequest_Body_Init) EmitProtobuf

func (x *PutRequest_Body_Init) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*PutRequest_Body_Init) GetCopiesNumber

func (x *PutRequest_Body_Init) GetCopiesNumber() []uint32

func (*PutRequest_Body_Init) GetHeader

func (x *PutRequest_Body_Init) GetHeader() *Header

func (*PutRequest_Body_Init) GetObjectId

func (x *PutRequest_Body_Init) GetObjectId() *grpc.ObjectID

func (*PutRequest_Body_Init) GetSignature

func (x *PutRequest_Body_Init) GetSignature() *grpc.Signature

func (*PutRequest_Body_Init) MarshalEasyJSON

func (x *PutRequest_Body_Init) MarshalEasyJSON(out *jwriter.Writer)

func (*PutRequest_Body_Init) MarshalJSON

func (x *PutRequest_Body_Init) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*PutRequest_Body_Init) MarshalProtobuf

func (x *PutRequest_Body_Init) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*PutRequest_Body_Init) SetCopiesNumber

func (x *PutRequest_Body_Init) SetCopiesNumber(v []uint32)

func (*PutRequest_Body_Init) SetHeader

func (x *PutRequest_Body_Init) SetHeader(v *Header)

func (*PutRequest_Body_Init) SetObjectId

func (x *PutRequest_Body_Init) SetObjectId(v *grpc.ObjectID)

func (*PutRequest_Body_Init) SetSignature

func (x *PutRequest_Body_Init) SetSignature(v *grpc.Signature)

func (*PutRequest_Body_Init) StableSize

func (x *PutRequest_Body_Init) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*PutRequest_Body_Init) UnmarshalEasyJSON

func (x *PutRequest_Body_Init) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*PutRequest_Body_Init) UnmarshalJSON

func (x *PutRequest_Body_Init) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*PutRequest_Body_Init) UnmarshalProtobuf

func (x *PutRequest_Body_Init) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type PutRequest_Body_Init_

type PutRequest_Body_Init_ struct {
	Init *PutRequest_Body_Init
}

type PutResponse

type PutResponse struct {
	Body         *PutResponse_Body                 `json:"body"`
	MetaHeader   *grpc1.ResponseMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.ResponseVerificationHeader `json:"verifyHeader"`
}

func (*PutResponse) EmitProtobuf

func (x *PutResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*PutResponse) GetBody

func (x *PutResponse) GetBody() *PutResponse_Body

func (*PutResponse) GetMetaHeader

func (x *PutResponse) GetMetaHeader() *grpc1.ResponseMetaHeader

func (*PutResponse) GetVerifyHeader

func (x *PutResponse) GetVerifyHeader() *grpc1.ResponseVerificationHeader

func (*PutResponse) MarshalEasyJSON

func (x *PutResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*PutResponse) MarshalJSON

func (x *PutResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*PutResponse) MarshalProtobuf

func (x *PutResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*PutResponse) ReadSignedData

func (x *PutResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*PutResponse) SetBody

func (x *PutResponse) SetBody(v *PutResponse_Body)

func (*PutResponse) SetMetaHeader

func (x *PutResponse) SetMetaHeader(v *grpc1.ResponseMetaHeader)

func (*PutResponse) SetVerifyHeader

func (x *PutResponse) SetVerifyHeader(v *grpc1.ResponseVerificationHeader)

func (*PutResponse) SignedDataSize

func (x *PutResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*PutResponse) StableSize

func (x *PutResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*PutResponse) UnmarshalEasyJSON

func (x *PutResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*PutResponse) UnmarshalJSON

func (x *PutResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*PutResponse) UnmarshalProtobuf

func (x *PutResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type PutResponse_Body

type PutResponse_Body struct {
	ObjectId *grpc.ObjectID `json:"objectId"`
}

func (*PutResponse_Body) EmitProtobuf

func (x *PutResponse_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*PutResponse_Body) GetObjectId

func (x *PutResponse_Body) GetObjectId() *grpc.ObjectID

func (*PutResponse_Body) MarshalEasyJSON

func (x *PutResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*PutResponse_Body) MarshalJSON

func (x *PutResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*PutResponse_Body) MarshalProtobuf

func (x *PutResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*PutResponse_Body) SetObjectId

func (x *PutResponse_Body) SetObjectId(v *grpc.ObjectID)

func (*PutResponse_Body) StableSize

func (x *PutResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*PutResponse_Body) UnmarshalEasyJSON

func (x *PutResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*PutResponse_Body) UnmarshalJSON

func (x *PutResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*PutResponse_Body) UnmarshalProtobuf

func (x *PutResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type PutSingleRequest

type PutSingleRequest struct {
	Body         *PutSingleRequest_Body           `json:"body"`
	MetaHeader   *grpc1.RequestMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.RequestVerificationHeader `json:"verifyHeader"`
}

func (*PutSingleRequest) EmitProtobuf

func (x *PutSingleRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*PutSingleRequest) GetBody

func (*PutSingleRequest) GetMetaHeader

func (x *PutSingleRequest) GetMetaHeader() *grpc1.RequestMetaHeader

func (*PutSingleRequest) GetVerifyHeader

func (x *PutSingleRequest) GetVerifyHeader() *grpc1.RequestVerificationHeader

func (*PutSingleRequest) MarshalEasyJSON

func (x *PutSingleRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*PutSingleRequest) MarshalJSON

func (x *PutSingleRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*PutSingleRequest) MarshalProtobuf

func (x *PutSingleRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*PutSingleRequest) ReadSignedData

func (x *PutSingleRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*PutSingleRequest) SetBody

func (x *PutSingleRequest) SetBody(v *PutSingleRequest_Body)

func (*PutSingleRequest) SetMetaHeader

func (x *PutSingleRequest) SetMetaHeader(v *grpc1.RequestMetaHeader)

func (*PutSingleRequest) SetVerifyHeader

func (x *PutSingleRequest) SetVerifyHeader(v *grpc1.RequestVerificationHeader)

func (*PutSingleRequest) SignedDataSize

func (x *PutSingleRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*PutSingleRequest) StableSize

func (x *PutSingleRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*PutSingleRequest) UnmarshalEasyJSON

func (x *PutSingleRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*PutSingleRequest) UnmarshalJSON

func (x *PutSingleRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*PutSingleRequest) UnmarshalProtobuf

func (x *PutSingleRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type PutSingleRequest_Body

type PutSingleRequest_Body struct {
	Object       *Object  `json:"object"`
	CopiesNumber []uint32 `json:"copiesNumber"`
}

func (*PutSingleRequest_Body) EmitProtobuf

func (x *PutSingleRequest_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*PutSingleRequest_Body) GetCopiesNumber

func (x *PutSingleRequest_Body) GetCopiesNumber() []uint32

func (*PutSingleRequest_Body) GetObject

func (x *PutSingleRequest_Body) GetObject() *Object

func (*PutSingleRequest_Body) MarshalEasyJSON

func (x *PutSingleRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*PutSingleRequest_Body) MarshalJSON

func (x *PutSingleRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*PutSingleRequest_Body) MarshalProtobuf

func (x *PutSingleRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*PutSingleRequest_Body) SetCopiesNumber

func (x *PutSingleRequest_Body) SetCopiesNumber(v []uint32)

func (*PutSingleRequest_Body) SetObject

func (x *PutSingleRequest_Body) SetObject(v *Object)

func (*PutSingleRequest_Body) StableSize

func (x *PutSingleRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*PutSingleRequest_Body) UnmarshalEasyJSON

func (x *PutSingleRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*PutSingleRequest_Body) UnmarshalJSON

func (x *PutSingleRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*PutSingleRequest_Body) UnmarshalProtobuf

func (x *PutSingleRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type PutSingleResponse

type PutSingleResponse struct {
	Body         *PutSingleResponse_Body           `json:"body"`
	MetaHeader   *grpc1.ResponseMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.ResponseVerificationHeader `json:"verifyHeader"`
}

func (*PutSingleResponse) EmitProtobuf

func (x *PutSingleResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*PutSingleResponse) GetBody

func (*PutSingleResponse) GetMetaHeader

func (x *PutSingleResponse) GetMetaHeader() *grpc1.ResponseMetaHeader

func (*PutSingleResponse) GetVerifyHeader

func (x *PutSingleResponse) GetVerifyHeader() *grpc1.ResponseVerificationHeader

func (*PutSingleResponse) MarshalEasyJSON

func (x *PutSingleResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*PutSingleResponse) MarshalJSON

func (x *PutSingleResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*PutSingleResponse) MarshalProtobuf

func (x *PutSingleResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*PutSingleResponse) ReadSignedData

func (x *PutSingleResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*PutSingleResponse) SetBody

func (*PutSingleResponse) SetMetaHeader

func (x *PutSingleResponse) SetMetaHeader(v *grpc1.ResponseMetaHeader)

func (*PutSingleResponse) SetVerifyHeader

func (x *PutSingleResponse) SetVerifyHeader(v *grpc1.ResponseVerificationHeader)

func (*PutSingleResponse) SignedDataSize

func (x *PutSingleResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*PutSingleResponse) StableSize

func (x *PutSingleResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*PutSingleResponse) UnmarshalEasyJSON

func (x *PutSingleResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*PutSingleResponse) UnmarshalJSON

func (x *PutSingleResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*PutSingleResponse) UnmarshalProtobuf

func (x *PutSingleResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type PutSingleResponse_Body

type PutSingleResponse_Body struct {
}

func (*PutSingleResponse_Body) EmitProtobuf

func (x *PutSingleResponse_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*PutSingleResponse_Body) MarshalEasyJSON

func (x *PutSingleResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*PutSingleResponse_Body) MarshalJSON

func (x *PutSingleResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*PutSingleResponse_Body) MarshalProtobuf

func (x *PutSingleResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*PutSingleResponse_Body) StableSize

func (x *PutSingleResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*PutSingleResponse_Body) UnmarshalEasyJSON

func (x *PutSingleResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*PutSingleResponse_Body) UnmarshalJSON

func (x *PutSingleResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*PutSingleResponse_Body) UnmarshalProtobuf

func (x *PutSingleResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type Range

type Range struct {
	Offset uint64 `json:"offset"`
	Length uint64 `json:"length"`
}

func (*Range) EmitProtobuf

func (x *Range) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*Range) GetLength

func (x *Range) GetLength() uint64

func (*Range) GetOffset

func (x *Range) GetOffset() uint64

func (*Range) MarshalEasyJSON

func (x *Range) MarshalEasyJSON(out *jwriter.Writer)

func (*Range) MarshalJSON

func (x *Range) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*Range) MarshalProtobuf

func (x *Range) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*Range) SetLength

func (x *Range) SetLength(v uint64)

func (*Range) SetOffset

func (x *Range) SetOffset(v uint64)

func (*Range) StableSize

func (x *Range) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*Range) UnmarshalEasyJSON

func (x *Range) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*Range) UnmarshalJSON

func (x *Range) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*Range) UnmarshalProtobuf

func (x *Range) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SearchRequest

type SearchRequest struct {
	Body         *SearchRequest_Body              `json:"body"`
	MetaHeader   *grpc1.RequestMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.RequestVerificationHeader `json:"verifyHeader"`
}

func (*SearchRequest) EmitProtobuf

func (x *SearchRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*SearchRequest) GetBody

func (x *SearchRequest) GetBody() *SearchRequest_Body

func (*SearchRequest) GetMetaHeader

func (x *SearchRequest) GetMetaHeader() *grpc1.RequestMetaHeader

func (*SearchRequest) GetVerifyHeader

func (x *SearchRequest) GetVerifyHeader() *grpc1.RequestVerificationHeader

func (*SearchRequest) MarshalEasyJSON

func (x *SearchRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*SearchRequest) MarshalJSON

func (x *SearchRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SearchRequest) MarshalProtobuf

func (x *SearchRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SearchRequest) ReadSignedData

func (x *SearchRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*SearchRequest) SetBody

func (x *SearchRequest) SetBody(v *SearchRequest_Body)

func (*SearchRequest) SetMetaHeader

func (x *SearchRequest) SetMetaHeader(v *grpc1.RequestMetaHeader)

func (*SearchRequest) SetVerifyHeader

func (x *SearchRequest) SetVerifyHeader(v *grpc1.RequestVerificationHeader)

func (*SearchRequest) SignedDataSize

func (x *SearchRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*SearchRequest) StableSize

func (x *SearchRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SearchRequest) UnmarshalEasyJSON

func (x *SearchRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SearchRequest) UnmarshalJSON

func (x *SearchRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SearchRequest) UnmarshalProtobuf

func (x *SearchRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SearchRequest_Body

type SearchRequest_Body struct {
	ContainerId *grpc.ContainerID           `json:"containerId"`
	Version     uint32                      `json:"version"`
	Filters     []SearchRequest_Body_Filter `json:"filters"`
}

func (*SearchRequest_Body) EmitProtobuf

func (x *SearchRequest_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*SearchRequest_Body) GetContainerId

func (x *SearchRequest_Body) GetContainerId() *grpc.ContainerID

func (*SearchRequest_Body) GetFilters

func (*SearchRequest_Body) GetVersion

func (x *SearchRequest_Body) GetVersion() uint32

func (*SearchRequest_Body) MarshalEasyJSON

func (x *SearchRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*SearchRequest_Body) MarshalJSON

func (x *SearchRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SearchRequest_Body) MarshalProtobuf

func (x *SearchRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SearchRequest_Body) SetContainerId

func (x *SearchRequest_Body) SetContainerId(v *grpc.ContainerID)

func (*SearchRequest_Body) SetFilters

func (x *SearchRequest_Body) SetFilters(v []SearchRequest_Body_Filter)

func (*SearchRequest_Body) SetVersion

func (x *SearchRequest_Body) SetVersion(v uint32)

func (*SearchRequest_Body) StableSize

func (x *SearchRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SearchRequest_Body) UnmarshalEasyJSON

func (x *SearchRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SearchRequest_Body) UnmarshalJSON

func (x *SearchRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SearchRequest_Body) UnmarshalProtobuf

func (x *SearchRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SearchRequest_Body_Filter

type SearchRequest_Body_Filter struct {
	MatchType MatchType `json:"matchType"`
	Key       string    `json:"key"`
	Value     string    `json:"value"`
}

func (*SearchRequest_Body_Filter) EmitProtobuf

func (*SearchRequest_Body_Filter) GetKey

func (x *SearchRequest_Body_Filter) GetKey() string

func (*SearchRequest_Body_Filter) GetMatchType

func (x *SearchRequest_Body_Filter) GetMatchType() MatchType

func (*SearchRequest_Body_Filter) GetValue

func (x *SearchRequest_Body_Filter) GetValue() string

func (*SearchRequest_Body_Filter) MarshalEasyJSON

func (x *SearchRequest_Body_Filter) MarshalEasyJSON(out *jwriter.Writer)

func (*SearchRequest_Body_Filter) MarshalJSON

func (x *SearchRequest_Body_Filter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SearchRequest_Body_Filter) MarshalProtobuf

func (x *SearchRequest_Body_Filter) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SearchRequest_Body_Filter) SetKey

func (x *SearchRequest_Body_Filter) SetKey(v string)

func (*SearchRequest_Body_Filter) SetMatchType

func (x *SearchRequest_Body_Filter) SetMatchType(v MatchType)

func (*SearchRequest_Body_Filter) SetValue

func (x *SearchRequest_Body_Filter) SetValue(v string)

func (*SearchRequest_Body_Filter) StableSize

func (x *SearchRequest_Body_Filter) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SearchRequest_Body_Filter) UnmarshalEasyJSON

func (x *SearchRequest_Body_Filter) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SearchRequest_Body_Filter) UnmarshalJSON

func (x *SearchRequest_Body_Filter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SearchRequest_Body_Filter) UnmarshalProtobuf

func (x *SearchRequest_Body_Filter) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SearchResponse

type SearchResponse struct {
	Body         *SearchResponse_Body              `json:"body"`
	MetaHeader   *grpc1.ResponseMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.ResponseVerificationHeader `json:"verifyHeader"`
}

func (*SearchResponse) EmitProtobuf

func (x *SearchResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*SearchResponse) GetBody

func (x *SearchResponse) GetBody() *SearchResponse_Body

func (*SearchResponse) GetMetaHeader

func (x *SearchResponse) GetMetaHeader() *grpc1.ResponseMetaHeader

func (*SearchResponse) GetVerifyHeader

func (x *SearchResponse) GetVerifyHeader() *grpc1.ResponseVerificationHeader

func (*SearchResponse) MarshalEasyJSON

func (x *SearchResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*SearchResponse) MarshalJSON

func (x *SearchResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SearchResponse) MarshalProtobuf

func (x *SearchResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SearchResponse) ReadSignedData

func (x *SearchResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*SearchResponse) SetBody

func (x *SearchResponse) SetBody(v *SearchResponse_Body)

func (*SearchResponse) SetMetaHeader

func (x *SearchResponse) SetMetaHeader(v *grpc1.ResponseMetaHeader)

func (*SearchResponse) SetVerifyHeader

func (x *SearchResponse) SetVerifyHeader(v *grpc1.ResponseVerificationHeader)

func (*SearchResponse) SignedDataSize

func (x *SearchResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*SearchResponse) StableSize

func (x *SearchResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SearchResponse) UnmarshalEasyJSON

func (x *SearchResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SearchResponse) UnmarshalJSON

func (x *SearchResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SearchResponse) UnmarshalProtobuf

func (x *SearchResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SearchResponse_Body

type SearchResponse_Body struct {
	IdList []grpc.ObjectID `json:"idList"`
}

func (*SearchResponse_Body) EmitProtobuf

func (x *SearchResponse_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*SearchResponse_Body) GetIdList

func (x *SearchResponse_Body) GetIdList() []grpc.ObjectID

func (*SearchResponse_Body) MarshalEasyJSON

func (x *SearchResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*SearchResponse_Body) MarshalJSON

func (x *SearchResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SearchResponse_Body) MarshalProtobuf

func (x *SearchResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SearchResponse_Body) SetIdList

func (x *SearchResponse_Body) SetIdList(v []grpc.ObjectID)

func (*SearchResponse_Body) StableSize

func (x *SearchResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SearchResponse_Body) UnmarshalEasyJSON

func (x *SearchResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SearchResponse_Body) UnmarshalJSON

func (x *SearchResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SearchResponse_Body) UnmarshalProtobuf

func (x *SearchResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ShortHeader

type ShortHeader struct {
	Version         *grpc.Version  `json:"version"`
	CreationEpoch   uint64         `json:"creationEpoch"`
	OwnerId         *grpc.OwnerID  `json:"ownerID"`
	ObjectType      ObjectType     `json:"objectType"`
	PayloadLength   uint64         `json:"payloadLength"`
	PayloadHash     *grpc.Checksum `json:"payloadHash"`
	HomomorphicHash *grpc.Checksum `json:"homomorphicHash"`
}

func (*ShortHeader) EmitProtobuf

func (x *ShortHeader) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*ShortHeader) GetCreationEpoch

func (x *ShortHeader) GetCreationEpoch() uint64

func (*ShortHeader) GetHomomorphicHash

func (x *ShortHeader) GetHomomorphicHash() *grpc.Checksum

func (*ShortHeader) GetObjectType

func (x *ShortHeader) GetObjectType() ObjectType

func (*ShortHeader) GetOwnerId

func (x *ShortHeader) GetOwnerId() *grpc.OwnerID

func (*ShortHeader) GetPayloadHash

func (x *ShortHeader) GetPayloadHash() *grpc.Checksum

func (*ShortHeader) GetPayloadLength

func (x *ShortHeader) GetPayloadLength() uint64

func (*ShortHeader) GetVersion

func (x *ShortHeader) GetVersion() *grpc.Version

func (*ShortHeader) MarshalEasyJSON

func (x *ShortHeader) MarshalEasyJSON(out *jwriter.Writer)

func (*ShortHeader) MarshalJSON

func (x *ShortHeader) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ShortHeader) MarshalProtobuf

func (x *ShortHeader) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ShortHeader) SetCreationEpoch

func (x *ShortHeader) SetCreationEpoch(v uint64)

func (*ShortHeader) SetHomomorphicHash

func (x *ShortHeader) SetHomomorphicHash(v *grpc.Checksum)

func (*ShortHeader) SetObjectType

func (x *ShortHeader) SetObjectType(v ObjectType)

func (*ShortHeader) SetOwnerId

func (x *ShortHeader) SetOwnerId(v *grpc.OwnerID)

func (*ShortHeader) SetPayloadHash

func (x *ShortHeader) SetPayloadHash(v *grpc.Checksum)

func (*ShortHeader) SetPayloadLength

func (x *ShortHeader) SetPayloadLength(v uint64)

func (*ShortHeader) SetVersion

func (x *ShortHeader) SetVersion(v *grpc.Version)

func (*ShortHeader) StableSize

func (x *ShortHeader) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ShortHeader) UnmarshalEasyJSON

func (x *ShortHeader) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ShortHeader) UnmarshalJSON

func (x *ShortHeader) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ShortHeader) UnmarshalProtobuf

func (x *ShortHeader) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SplitInfo

type SplitInfo struct {
	SplitId  []byte         `json:"splitId"`
	LastPart *grpc.ObjectID `json:"lastPart"`
	Link     *grpc.ObjectID `json:"link"`
}

func (*SplitInfo) EmitProtobuf

func (x *SplitInfo) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*SplitInfo) GetLastPart

func (x *SplitInfo) GetLastPart() *grpc.ObjectID
func (x *SplitInfo) GetLink() *grpc.ObjectID

func (*SplitInfo) GetSplitId

func (x *SplitInfo) GetSplitId() []byte

func (*SplitInfo) MarshalEasyJSON

func (x *SplitInfo) MarshalEasyJSON(out *jwriter.Writer)

func (*SplitInfo) MarshalJSON

func (x *SplitInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SplitInfo) MarshalProtobuf

func (x *SplitInfo) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SplitInfo) SetLastPart

func (x *SplitInfo) SetLastPart(v *grpc.ObjectID)
func (x *SplitInfo) SetLink(v *grpc.ObjectID)

func (*SplitInfo) SetSplitId

func (x *SplitInfo) SetSplitId(v []byte)

func (*SplitInfo) StableSize

func (x *SplitInfo) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SplitInfo) UnmarshalEasyJSON

func (x *SplitInfo) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SplitInfo) UnmarshalJSON

func (x *SplitInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SplitInfo) UnmarshalProtobuf

func (x *SplitInfo) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type UnimplementedObjectServiceServer

type UnimplementedObjectServiceServer struct {
}

UnimplementedObjectServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedObjectServiceServer) Delete

func (UnimplementedObjectServiceServer) Get

func (UnimplementedObjectServiceServer) GetRange

func (UnimplementedObjectServiceServer) GetRangeHash

func (UnimplementedObjectServiceServer) Head

func (UnimplementedObjectServiceServer) Patch

func (UnimplementedObjectServiceServer) Put

func (UnimplementedObjectServiceServer) PutSingle

func (UnimplementedObjectServiceServer) Search

type UnsafeObjectServiceServer

type UnsafeObjectServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeObjectServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ObjectServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL