fileproto

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCodes_name = map[int32]string{
		0:   "Unexpected",
		1:   "CIDNotFound",
		2:   "Forbidden",
		3:   "LimitExceeded",
		4:   "QuerySizeExceeded",
		5:   "WrongHash",
		6:   "NotEnoughSpace",
		200: "ErrorOffset",
	}
	ErrCodes_value = map[string]int32{
		"Unexpected":        0,
		"CIDNotFound":       1,
		"Forbidden":         2,
		"LimitExceeded":     3,
		"QuerySizeExceeded": 4,
		"WrongHash":         5,
		"NotEnoughSpace":    6,
		"ErrorOffset":       200,
	}
)

Enum value maps for ErrCodes.

View Source
var (
	AvailabilityStatus_name = map[int32]string{
		0: "NotExists",
		1: "Exists",
		2: "ExistsInSpace",
	}
	AvailabilityStatus_value = map[string]int32{
		"NotExists":     0,
		"Exists":        1,
		"ExistsInSpace": 2,
	}
)

Enum value maps for AvailabilityStatus.

View Source
var File_commonfile_fileproto_protos_file_proto protoreflect.FileDescriptor

Functions

func DRPCRegisterFile

func DRPCRegisterFile(mux drpc.Mux, impl DRPCFileServer) error

Types

type AccountInfoRequest added in v0.3.5

type AccountInfoRequest struct {
	// contains filtered or unexported fields
}

func (*AccountInfoRequest) Descriptor deprecated added in v0.3.5

func (*AccountInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use AccountInfoRequest.ProtoReflect.Descriptor instead.

func (*AccountInfoRequest) MarshalToSizedBufferVT added in v0.9.0

func (m *AccountInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AccountInfoRequest) MarshalToVT added in v0.9.0

func (m *AccountInfoRequest) MarshalToVT(dAtA []byte) (int, error)

func (*AccountInfoRequest) MarshalVT added in v0.9.0

func (m *AccountInfoRequest) MarshalVT() (dAtA []byte, err error)

func (*AccountInfoRequest) ProtoMessage added in v0.3.5

func (*AccountInfoRequest) ProtoMessage()

func (*AccountInfoRequest) ProtoReflect added in v0.9.0

func (x *AccountInfoRequest) ProtoReflect() protoreflect.Message

func (*AccountInfoRequest) Reset added in v0.3.5

func (x *AccountInfoRequest) Reset()

func (*AccountInfoRequest) SizeVT added in v0.9.0

func (m *AccountInfoRequest) SizeVT() (n int)

func (*AccountInfoRequest) String added in v0.3.5

func (x *AccountInfoRequest) String() string

func (*AccountInfoRequest) UnmarshalVT added in v0.9.0

func (m *AccountInfoRequest) UnmarshalVT(dAtA []byte) error

type AccountInfoResponse added in v0.3.5

type AccountInfoResponse struct {

	// the shared limit excluding isolated spaces
	LimitBytes      uint64               `protobuf:"varint,1,opt,name=limitBytes,proto3" json:"limitBytes,omitempty"`
	TotalUsageBytes uint64               `protobuf:"varint,2,opt,name=totalUsageBytes,proto3" json:"totalUsageBytes,omitempty"`
	TotalCidsCount  uint64               `protobuf:"varint,3,opt,name=totalCidsCount,proto3" json:"totalCidsCount,omitempty"`
	Spaces          []*SpaceInfoResponse `protobuf:"bytes,4,rep,name=spaces,proto3" json:"spaces,omitempty"`
	// the total limit including isolated spaces
	AccountLimitBytes uint64 `protobuf:"varint,5,opt,name=accountLimitBytes,proto3" json:"accountLimitBytes,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountInfoResponse) Descriptor deprecated added in v0.3.5

func (*AccountInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use AccountInfoResponse.ProtoReflect.Descriptor instead.

func (*AccountInfoResponse) GetAccountLimitBytes added in v0.3.33

func (x *AccountInfoResponse) GetAccountLimitBytes() uint64

func (*AccountInfoResponse) GetLimitBytes added in v0.3.5

func (x *AccountInfoResponse) GetLimitBytes() uint64

func (*AccountInfoResponse) GetSpaces added in v0.3.5

func (x *AccountInfoResponse) GetSpaces() []*SpaceInfoResponse

func (*AccountInfoResponse) GetTotalCidsCount added in v0.3.5

func (x *AccountInfoResponse) GetTotalCidsCount() uint64

func (*AccountInfoResponse) GetTotalUsageBytes added in v0.3.5

func (x *AccountInfoResponse) GetTotalUsageBytes() uint64

func (*AccountInfoResponse) MarshalToSizedBufferVT added in v0.9.0

func (m *AccountInfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AccountInfoResponse) MarshalToVT added in v0.9.0

func (m *AccountInfoResponse) MarshalToVT(dAtA []byte) (int, error)

func (*AccountInfoResponse) MarshalVT added in v0.9.0

func (m *AccountInfoResponse) MarshalVT() (dAtA []byte, err error)

func (*AccountInfoResponse) ProtoMessage added in v0.3.5

func (*AccountInfoResponse) ProtoMessage()

func (*AccountInfoResponse) ProtoReflect added in v0.9.0

func (x *AccountInfoResponse) ProtoReflect() protoreflect.Message

func (*AccountInfoResponse) Reset added in v0.3.5

func (x *AccountInfoResponse) Reset()

func (*AccountInfoResponse) SizeVT added in v0.9.0

func (m *AccountInfoResponse) SizeVT() (n int)

func (*AccountInfoResponse) String added in v0.3.5

func (x *AccountInfoResponse) String() string

func (*AccountInfoResponse) UnmarshalVT added in v0.9.0

func (m *AccountInfoResponse) UnmarshalVT(dAtA []byte) error

type AccountLimitSetRequest added in v0.3.33

type AccountLimitSetRequest struct {
	Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Limit    uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountLimitSetRequest) Descriptor deprecated added in v0.3.33

func (*AccountLimitSetRequest) Descriptor() ([]byte, []int)

Deprecated: Use AccountLimitSetRequest.ProtoReflect.Descriptor instead.

func (*AccountLimitSetRequest) GetIdentity added in v0.3.33

func (x *AccountLimitSetRequest) GetIdentity() string

func (*AccountLimitSetRequest) GetLimit added in v0.3.33

func (x *AccountLimitSetRequest) GetLimit() uint64

func (*AccountLimitSetRequest) MarshalToSizedBufferVT added in v0.9.0

func (m *AccountLimitSetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AccountLimitSetRequest) MarshalToVT added in v0.9.0

func (m *AccountLimitSetRequest) MarshalToVT(dAtA []byte) (int, error)

func (*AccountLimitSetRequest) MarshalVT added in v0.9.0

func (m *AccountLimitSetRequest) MarshalVT() (dAtA []byte, err error)

func (*AccountLimitSetRequest) ProtoMessage added in v0.3.33

func (*AccountLimitSetRequest) ProtoMessage()

func (*AccountLimitSetRequest) ProtoReflect added in v0.9.0

func (x *AccountLimitSetRequest) ProtoReflect() protoreflect.Message

func (*AccountLimitSetRequest) Reset added in v0.3.33

func (x *AccountLimitSetRequest) Reset()

func (*AccountLimitSetRequest) SizeVT added in v0.9.0

func (m *AccountLimitSetRequest) SizeVT() (n int)

func (*AccountLimitSetRequest) String added in v0.3.33

func (x *AccountLimitSetRequest) String() string

func (*AccountLimitSetRequest) UnmarshalVT added in v0.9.0

func (m *AccountLimitSetRequest) UnmarshalVT(dAtA []byte) error

type AvailabilityStatus

type AvailabilityStatus int32
const (
	AvailabilityStatus_NotExists     AvailabilityStatus = 0
	AvailabilityStatus_Exists        AvailabilityStatus = 1
	AvailabilityStatus_ExistsInSpace AvailabilityStatus = 2
)

func (AvailabilityStatus) Descriptor added in v0.9.0

func (AvailabilityStatus) Enum added in v0.9.0

func (AvailabilityStatus) EnumDescriptor deprecated

func (AvailabilityStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use AvailabilityStatus.Descriptor instead.

func (AvailabilityStatus) Number added in v0.9.0

func (AvailabilityStatus) String

func (x AvailabilityStatus) String() string

func (AvailabilityStatus) Type added in v0.9.0

type Block added in v0.10.1

type Block struct {
	Cid  []byte `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"`
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Block) Descriptor deprecated added in v0.10.1

func (*Block) Descriptor() ([]byte, []int)

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetCid added in v0.10.1

func (x *Block) GetCid() []byte

func (*Block) GetData added in v0.10.1

func (x *Block) GetData() []byte

func (*Block) MarshalToSizedBufferVT added in v0.10.1

func (m *Block) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Block) MarshalToVT added in v0.10.1

func (m *Block) MarshalToVT(dAtA []byte) (int, error)

func (*Block) MarshalVT added in v0.10.1

func (m *Block) MarshalVT() (dAtA []byte, err error)

func (*Block) ProtoMessage added in v0.10.1

func (*Block) ProtoMessage()

func (*Block) ProtoReflect added in v0.10.1

func (x *Block) ProtoReflect() protoreflect.Message

func (*Block) Reset added in v0.10.1

func (x *Block) Reset()

func (*Block) SizeVT added in v0.10.1

func (m *Block) SizeVT() (n int)

func (*Block) String added in v0.10.1

func (x *Block) String() string

func (*Block) UnmarshalVT added in v0.10.1

func (m *Block) UnmarshalVT(dAtA []byte) error

type BlockAvailability

type BlockAvailability struct {
	Cid    []byte             `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
	Status AvailabilityStatus `protobuf:"varint,2,opt,name=status,proto3,enum=filesync.AvailabilityStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockAvailability) Descriptor deprecated

func (*BlockAvailability) Descriptor() ([]byte, []int)

Deprecated: Use BlockAvailability.ProtoReflect.Descriptor instead.

func (*BlockAvailability) GetCid

func (x *BlockAvailability) GetCid() []byte

func (*BlockAvailability) GetStatus

func (x *BlockAvailability) GetStatus() AvailabilityStatus

func (*BlockAvailability) MarshalToSizedBufferVT added in v0.9.0

func (m *BlockAvailability) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BlockAvailability) MarshalToVT added in v0.9.0

func (m *BlockAvailability) MarshalToVT(dAtA []byte) (int, error)

func (*BlockAvailability) MarshalVT added in v0.9.0

func (m *BlockAvailability) MarshalVT() (dAtA []byte, err error)

func (*BlockAvailability) ProtoMessage

func (*BlockAvailability) ProtoMessage()

func (*BlockAvailability) ProtoReflect added in v0.9.0

func (x *BlockAvailability) ProtoReflect() protoreflect.Message

func (*BlockAvailability) Reset

func (x *BlockAvailability) Reset()

func (*BlockAvailability) SizeVT added in v0.9.0

func (m *BlockAvailability) SizeVT() (n int)

func (*BlockAvailability) String

func (x *BlockAvailability) String() string

func (*BlockAvailability) UnmarshalVT added in v0.9.0

func (m *BlockAvailability) UnmarshalVT(dAtA []byte) error

type BlockGetRequest

type BlockGetRequest struct {
	SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	Cid     []byte `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"`
	Wait    bool   `protobuf:"varint,3,opt,name=wait,proto3" json:"wait,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockGetRequest) Descriptor deprecated

func (*BlockGetRequest) Descriptor() ([]byte, []int)

Deprecated: Use BlockGetRequest.ProtoReflect.Descriptor instead.

func (*BlockGetRequest) GetCid

func (x *BlockGetRequest) GetCid() []byte

func (*BlockGetRequest) GetSpaceId

func (x *BlockGetRequest) GetSpaceId() string

func (*BlockGetRequest) GetWait added in v0.3.33

func (x *BlockGetRequest) GetWait() bool

func (*BlockGetRequest) MarshalToSizedBufferVT added in v0.9.0

func (m *BlockGetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BlockGetRequest) MarshalToVT added in v0.9.0

func (m *BlockGetRequest) MarshalToVT(dAtA []byte) (int, error)

func (*BlockGetRequest) MarshalVT added in v0.9.0

func (m *BlockGetRequest) MarshalVT() (dAtA []byte, err error)

func (*BlockGetRequest) ProtoMessage

func (*BlockGetRequest) ProtoMessage()

func (*BlockGetRequest) ProtoReflect added in v0.9.0

func (x *BlockGetRequest) ProtoReflect() protoreflect.Message

func (*BlockGetRequest) Reset

func (x *BlockGetRequest) Reset()

func (*BlockGetRequest) SizeVT added in v0.9.0

func (m *BlockGetRequest) SizeVT() (n int)

func (*BlockGetRequest) String

func (x *BlockGetRequest) String() string

func (*BlockGetRequest) UnmarshalVT added in v0.9.0

func (m *BlockGetRequest) UnmarshalVT(dAtA []byte) error

type BlockGetResponse

type BlockGetResponse struct {
	Cid  []byte `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockGetResponse) Descriptor deprecated

func (*BlockGetResponse) Descriptor() ([]byte, []int)

Deprecated: Use BlockGetResponse.ProtoReflect.Descriptor instead.

func (*BlockGetResponse) GetCid

func (x *BlockGetResponse) GetCid() []byte

func (*BlockGetResponse) GetData

func (x *BlockGetResponse) GetData() []byte

func (*BlockGetResponse) MarshalToSizedBufferVT added in v0.9.0

func (m *BlockGetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BlockGetResponse) MarshalToVT added in v0.9.0

func (m *BlockGetResponse) MarshalToVT(dAtA []byte) (int, error)

func (*BlockGetResponse) MarshalVT added in v0.9.0

func (m *BlockGetResponse) MarshalVT() (dAtA []byte, err error)

func (*BlockGetResponse) ProtoMessage

func (*BlockGetResponse) ProtoMessage()

func (*BlockGetResponse) ProtoReflect added in v0.9.0

func (x *BlockGetResponse) ProtoReflect() protoreflect.Message

func (*BlockGetResponse) Reset

func (x *BlockGetResponse) Reset()

func (*BlockGetResponse) SizeVT added in v0.9.0

func (m *BlockGetResponse) SizeVT() (n int)

func (*BlockGetResponse) String

func (x *BlockGetResponse) String() string

func (*BlockGetResponse) UnmarshalVT added in v0.9.0

func (m *BlockGetResponse) UnmarshalVT(dAtA []byte) error

type BlockPushManyRequest added in v0.10.1

type BlockPushManyRequest struct {
	FileBlocks []*FileBlocks `protobuf:"bytes,1,rep,name=fileBlocks,proto3" json:"fileBlocks,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockPushManyRequest) Descriptor deprecated added in v0.10.1

func (*BlockPushManyRequest) Descriptor() ([]byte, []int)

Deprecated: Use BlockPushManyRequest.ProtoReflect.Descriptor instead.

func (*BlockPushManyRequest) GetFileBlocks added in v0.10.1

func (x *BlockPushManyRequest) GetFileBlocks() []*FileBlocks

func (*BlockPushManyRequest) MarshalToSizedBufferVT added in v0.10.1

func (m *BlockPushManyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BlockPushManyRequest) MarshalToVT added in v0.10.1

func (m *BlockPushManyRequest) MarshalToVT(dAtA []byte) (int, error)

func (*BlockPushManyRequest) MarshalVT added in v0.10.1

func (m *BlockPushManyRequest) MarshalVT() (dAtA []byte, err error)

func (*BlockPushManyRequest) ProtoMessage added in v0.10.1

func (*BlockPushManyRequest) ProtoMessage()

func (*BlockPushManyRequest) ProtoReflect added in v0.10.1

func (x *BlockPushManyRequest) ProtoReflect() protoreflect.Message

func (*BlockPushManyRequest) Reset added in v0.10.1

func (x *BlockPushManyRequest) Reset()

func (*BlockPushManyRequest) SizeVT added in v0.10.1

func (m *BlockPushManyRequest) SizeVT() (n int)

func (*BlockPushManyRequest) String added in v0.10.1

func (x *BlockPushManyRequest) String() string

func (*BlockPushManyRequest) UnmarshalVT added in v0.10.1

func (m *BlockPushManyRequest) UnmarshalVT(dAtA []byte) error

type BlockPushRequest

type BlockPushRequest struct {
	SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	FileId  string `protobuf:"bytes,2,opt,name=fileId,proto3" json:"fileId,omitempty"`
	Cid     []byte `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"`
	Data    []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockPushRequest) Descriptor deprecated

func (*BlockPushRequest) Descriptor() ([]byte, []int)

Deprecated: Use BlockPushRequest.ProtoReflect.Descriptor instead.

func (*BlockPushRequest) GetCid

func (x *BlockPushRequest) GetCid() []byte

func (*BlockPushRequest) GetData

func (x *BlockPushRequest) GetData() []byte

func (*BlockPushRequest) GetFileId

func (x *BlockPushRequest) GetFileId() string

func (*BlockPushRequest) GetSpaceId

func (x *BlockPushRequest) GetSpaceId() string

func (*BlockPushRequest) MarshalToSizedBufferVT added in v0.9.0

func (m *BlockPushRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BlockPushRequest) MarshalToVT added in v0.9.0

func (m *BlockPushRequest) MarshalToVT(dAtA []byte) (int, error)

func (*BlockPushRequest) MarshalVT added in v0.9.0

func (m *BlockPushRequest) MarshalVT() (dAtA []byte, err error)

func (*BlockPushRequest) ProtoMessage

func (*BlockPushRequest) ProtoMessage()

func (*BlockPushRequest) ProtoReflect added in v0.9.0

func (x *BlockPushRequest) ProtoReflect() protoreflect.Message

func (*BlockPushRequest) Reset

func (x *BlockPushRequest) Reset()

func (*BlockPushRequest) SizeVT added in v0.9.0

func (m *BlockPushRequest) SizeVT() (n int)

func (*BlockPushRequest) String

func (x *BlockPushRequest) String() string

func (*BlockPushRequest) UnmarshalVT added in v0.9.0

func (m *BlockPushRequest) UnmarshalVT(dAtA []byte) error

type BlocksBindRequest

type BlocksBindRequest struct {
	SpaceId string   `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	FileId  string   `protobuf:"bytes,2,opt,name=fileId,proto3" json:"fileId,omitempty"`
	Cids    [][]byte `protobuf:"bytes,3,rep,name=cids,proto3" json:"cids,omitempty"`
	// contains filtered or unexported fields
}

func (*BlocksBindRequest) Descriptor deprecated

func (*BlocksBindRequest) Descriptor() ([]byte, []int)

Deprecated: Use BlocksBindRequest.ProtoReflect.Descriptor instead.

func (*BlocksBindRequest) GetCids

func (x *BlocksBindRequest) GetCids() [][]byte

func (*BlocksBindRequest) GetFileId

func (x *BlocksBindRequest) GetFileId() string

func (*BlocksBindRequest) GetSpaceId

func (x *BlocksBindRequest) GetSpaceId() string

func (*BlocksBindRequest) MarshalToSizedBufferVT added in v0.9.0

func (m *BlocksBindRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BlocksBindRequest) MarshalToVT added in v0.9.0

func (m *BlocksBindRequest) MarshalToVT(dAtA []byte) (int, error)

func (*BlocksBindRequest) MarshalVT added in v0.9.0

func (m *BlocksBindRequest) MarshalVT() (dAtA []byte, err error)

func (*BlocksBindRequest) ProtoMessage

func (*BlocksBindRequest) ProtoMessage()

func (*BlocksBindRequest) ProtoReflect added in v0.9.0

func (x *BlocksBindRequest) ProtoReflect() protoreflect.Message

func (*BlocksBindRequest) Reset

func (x *BlocksBindRequest) Reset()

func (*BlocksBindRequest) SizeVT added in v0.9.0

func (m *BlocksBindRequest) SizeVT() (n int)

func (*BlocksBindRequest) String

func (x *BlocksBindRequest) String() string

func (*BlocksBindRequest) UnmarshalVT added in v0.9.0

func (m *BlocksBindRequest) UnmarshalVT(dAtA []byte) error

type BlocksCheckRequest

type BlocksCheckRequest struct {
	SpaceId string   `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	Cids    [][]byte `protobuf:"bytes,2,rep,name=cids,proto3" json:"cids,omitempty"`
	// contains filtered or unexported fields
}

func (*BlocksCheckRequest) Descriptor deprecated

func (*BlocksCheckRequest) Descriptor() ([]byte, []int)

Deprecated: Use BlocksCheckRequest.ProtoReflect.Descriptor instead.

func (*BlocksCheckRequest) GetCids

func (x *BlocksCheckRequest) GetCids() [][]byte

func (*BlocksCheckRequest) GetSpaceId

func (x *BlocksCheckRequest) GetSpaceId() string

func (*BlocksCheckRequest) MarshalToSizedBufferVT added in v0.9.0

func (m *BlocksCheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BlocksCheckRequest) MarshalToVT added in v0.9.0

func (m *BlocksCheckRequest) MarshalToVT(dAtA []byte) (int, error)

func (*BlocksCheckRequest) MarshalVT added in v0.9.0

func (m *BlocksCheckRequest) MarshalVT() (dAtA []byte, err error)

func (*BlocksCheckRequest) ProtoMessage

func (*BlocksCheckRequest) ProtoMessage()

func (*BlocksCheckRequest) ProtoReflect added in v0.9.0

func (x *BlocksCheckRequest) ProtoReflect() protoreflect.Message

func (*BlocksCheckRequest) Reset

func (x *BlocksCheckRequest) Reset()

func (*BlocksCheckRequest) SizeVT added in v0.9.0

func (m *BlocksCheckRequest) SizeVT() (n int)

func (*BlocksCheckRequest) String

func (x *BlocksCheckRequest) String() string

func (*BlocksCheckRequest) UnmarshalVT added in v0.9.0

func (m *BlocksCheckRequest) UnmarshalVT(dAtA []byte) error

type BlocksCheckResponse

type BlocksCheckResponse struct {
	BlocksAvailability []*BlockAvailability `protobuf:"bytes,1,rep,name=blocksAvailability,proto3" json:"blocksAvailability,omitempty"`
	// contains filtered or unexported fields
}

func (*BlocksCheckResponse) Descriptor deprecated

func (*BlocksCheckResponse) Descriptor() ([]byte, []int)

Deprecated: Use BlocksCheckResponse.ProtoReflect.Descriptor instead.

func (*BlocksCheckResponse) GetBlocksAvailability

func (x *BlocksCheckResponse) GetBlocksAvailability() []*BlockAvailability

func (*BlocksCheckResponse) MarshalToSizedBufferVT added in v0.9.0

func (m *BlocksCheckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BlocksCheckResponse) MarshalToVT added in v0.9.0

func (m *BlocksCheckResponse) MarshalToVT(dAtA []byte) (int, error)

func (*BlocksCheckResponse) MarshalVT added in v0.9.0

func (m *BlocksCheckResponse) MarshalVT() (dAtA []byte, err error)

func (*BlocksCheckResponse) ProtoMessage

func (*BlocksCheckResponse) ProtoMessage()

func (*BlocksCheckResponse) ProtoReflect added in v0.9.0

func (x *BlocksCheckResponse) ProtoReflect() protoreflect.Message

func (*BlocksCheckResponse) Reset

func (x *BlocksCheckResponse) Reset()

func (*BlocksCheckResponse) SizeVT added in v0.9.0

func (m *BlocksCheckResponse) SizeVT() (n int)

func (*BlocksCheckResponse) String

func (x *BlocksCheckResponse) String() string

func (*BlocksCheckResponse) UnmarshalVT added in v0.9.0

func (m *BlocksCheckResponse) UnmarshalVT(dAtA []byte) error

type CheckRequest

type CheckRequest struct {
	// contains filtered or unexported fields
}

func (*CheckRequest) Descriptor deprecated

func (*CheckRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.

func (*CheckRequest) MarshalToSizedBufferVT added in v0.9.0

func (m *CheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CheckRequest) MarshalToVT added in v0.9.0

func (m *CheckRequest) MarshalToVT(dAtA []byte) (int, error)

func (*CheckRequest) MarshalVT added in v0.9.0

func (m *CheckRequest) MarshalVT() (dAtA []byte, err error)

func (*CheckRequest) ProtoMessage

func (*CheckRequest) ProtoMessage()

func (*CheckRequest) ProtoReflect added in v0.9.0

func (x *CheckRequest) ProtoReflect() protoreflect.Message

func (*CheckRequest) Reset

func (x *CheckRequest) Reset()

func (*CheckRequest) SizeVT added in v0.9.0

func (m *CheckRequest) SizeVT() (n int)

func (*CheckRequest) String

func (x *CheckRequest) String() string

func (*CheckRequest) UnmarshalVT added in v0.9.0

func (m *CheckRequest) UnmarshalVT(dAtA []byte) error

type CheckResponse

type CheckResponse struct {
	SpaceIds   []string `protobuf:"bytes,1,rep,name=spaceIds,proto3" json:"spaceIds,omitempty"`
	AllowWrite bool     `protobuf:"varint,2,opt,name=allowWrite,proto3" json:"allowWrite,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckResponse) Descriptor deprecated

func (*CheckResponse) Descriptor() ([]byte, []int)

Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.

func (*CheckResponse) GetAllowWrite

func (x *CheckResponse) GetAllowWrite() bool

func (*CheckResponse) GetSpaceIds

func (x *CheckResponse) GetSpaceIds() []string

func (*CheckResponse) MarshalToSizedBufferVT added in v0.9.0

func (m *CheckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CheckResponse) MarshalToVT added in v0.9.0

func (m *CheckResponse) MarshalToVT(dAtA []byte) (int, error)

func (*CheckResponse) MarshalVT added in v0.9.0

func (m *CheckResponse) MarshalVT() (dAtA []byte, err error)

func (*CheckResponse) ProtoMessage

func (*CheckResponse) ProtoMessage()

func (*CheckResponse) ProtoReflect added in v0.9.0

func (x *CheckResponse) ProtoReflect() protoreflect.Message

func (*CheckResponse) Reset

func (x *CheckResponse) Reset()

func (*CheckResponse) SizeVT added in v0.9.0

func (m *CheckResponse) SizeVT() (n int)

func (*CheckResponse) String

func (x *CheckResponse) String() string

func (*CheckResponse) UnmarshalVT added in v0.9.0

func (m *CheckResponse) UnmarshalVT(dAtA []byte) error

type DRPCFileClient

type DRPCFileClient interface {
	DRPCConn() drpc.Conn

	BlockGet(ctx context.Context, in *BlockGetRequest) (*BlockGetResponse, error)
	BlockPush(ctx context.Context, in *BlockPushRequest) (*Ok, error)
	BlockPushMany(ctx context.Context, in *BlockPushManyRequest) (*Ok, error)
	BlocksCheck(ctx context.Context, in *BlocksCheckRequest) (*BlocksCheckResponse, error)
	BlocksBind(ctx context.Context, in *BlocksBindRequest) (*Ok, error)
	FilesDelete(ctx context.Context, in *FilesDeleteRequest) (*FilesDeleteResponse, error)
	FilesInfo(ctx context.Context, in *FilesInfoRequest) (*FilesInfoResponse, error)
	FilesGet(ctx context.Context, in *FilesGetRequest) (DRPCFile_FilesGetClient, error)
	Check(ctx context.Context, in *CheckRequest) (*CheckResponse, error)
	SpaceInfo(ctx context.Context, in *SpaceInfoRequest) (*SpaceInfoResponse, error)
	AccountInfo(ctx context.Context, in *AccountInfoRequest) (*AccountInfoResponse, error)
	AccountLimitSet(ctx context.Context, in *AccountLimitSetRequest) (*Ok, error)
	SpaceLimitSet(ctx context.Context, in *SpaceLimitSetRequest) (*Ok, error)
}

func NewDRPCFileClient

func NewDRPCFileClient(cc drpc.Conn) DRPCFileClient

type DRPCFileDescription

type DRPCFileDescription struct{}

func (DRPCFileDescription) Method

func (DRPCFileDescription) Method(n int) (string, drpc.Encoding, drpc.Receiver, interface{}, bool)

func (DRPCFileDescription) NumMethods

func (DRPCFileDescription) NumMethods() int

type DRPCFileUnimplementedServer

type DRPCFileUnimplementedServer struct{}

func (*DRPCFileUnimplementedServer) AccountInfo added in v0.3.5

func (*DRPCFileUnimplementedServer) AccountLimitSet added in v0.3.33

func (*DRPCFileUnimplementedServer) BlockGet

func (*DRPCFileUnimplementedServer) BlockPush

func (*DRPCFileUnimplementedServer) BlockPushMany added in v0.10.1

func (*DRPCFileUnimplementedServer) BlocksBind

func (*DRPCFileUnimplementedServer) BlocksCheck

func (*DRPCFileUnimplementedServer) Check

func (*DRPCFileUnimplementedServer) FilesDelete

func (*DRPCFileUnimplementedServer) FilesGet added in v0.3.33

func (*DRPCFileUnimplementedServer) FilesInfo

func (*DRPCFileUnimplementedServer) SpaceInfo

func (*DRPCFileUnimplementedServer) SpaceLimitSet added in v0.3.33

type DRPCFile_AccountInfoStream added in v0.3.5

type DRPCFile_AccountInfoStream interface {
	drpc.Stream
	SendAndClose(*AccountInfoResponse) error
}

type DRPCFile_AccountLimitSetStream added in v0.3.33

type DRPCFile_AccountLimitSetStream interface {
	drpc.Stream
	SendAndClose(*Ok) error
}

type DRPCFile_BlockGetStream

type DRPCFile_BlockGetStream interface {
	drpc.Stream
	SendAndClose(*BlockGetResponse) error
}

type DRPCFile_BlockPushManyStream added in v0.10.1

type DRPCFile_BlockPushManyStream interface {
	drpc.Stream
	SendAndClose(*Ok) error
}

type DRPCFile_BlockPushStream

type DRPCFile_BlockPushStream interface {
	drpc.Stream
	SendAndClose(*Ok) error
}

type DRPCFile_BlocksBindStream

type DRPCFile_BlocksBindStream interface {
	drpc.Stream
	SendAndClose(*Ok) error
}

type DRPCFile_BlocksCheckStream

type DRPCFile_BlocksCheckStream interface {
	drpc.Stream
	SendAndClose(*BlocksCheckResponse) error
}

type DRPCFile_CheckStream

type DRPCFile_CheckStream interface {
	drpc.Stream
	SendAndClose(*CheckResponse) error
}

type DRPCFile_FilesDeleteStream

type DRPCFile_FilesDeleteStream interface {
	drpc.Stream
	SendAndClose(*FilesDeleteResponse) error
}

type DRPCFile_FilesGetClient added in v0.3.33

type DRPCFile_FilesGetClient interface {
	drpc.Stream
	Recv() (*FilesGetResponse, error)
}

type DRPCFile_FilesGetStream added in v0.3.33

type DRPCFile_FilesGetStream interface {
	drpc.Stream
	Send(*FilesGetResponse) error
}

type DRPCFile_FilesInfoStream

type DRPCFile_FilesInfoStream interface {
	drpc.Stream
	SendAndClose(*FilesInfoResponse) error
}

type DRPCFile_SpaceInfoStream

type DRPCFile_SpaceInfoStream interface {
	drpc.Stream
	SendAndClose(*SpaceInfoResponse) error
}

type DRPCFile_SpaceLimitSetStream added in v0.3.33

type DRPCFile_SpaceLimitSetStream interface {
	drpc.Stream
	SendAndClose(*Ok) error
}

type ErrCodes

type ErrCodes int32
const (
	ErrCodes_Unexpected        ErrCodes = 0
	ErrCodes_CIDNotFound       ErrCodes = 1
	ErrCodes_Forbidden         ErrCodes = 2
	ErrCodes_LimitExceeded     ErrCodes = 3
	ErrCodes_QuerySizeExceeded ErrCodes = 4
	ErrCodes_WrongHash         ErrCodes = 5
	ErrCodes_NotEnoughSpace    ErrCodes = 6
	ErrCodes_ErrorOffset       ErrCodes = 200
)

func (ErrCodes) Descriptor added in v0.9.0

func (ErrCodes) Descriptor() protoreflect.EnumDescriptor

func (ErrCodes) Enum added in v0.9.0

func (x ErrCodes) Enum() *ErrCodes

func (ErrCodes) EnumDescriptor deprecated

func (ErrCodes) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrCodes.Descriptor instead.

func (ErrCodes) Number added in v0.9.0

func (x ErrCodes) Number() protoreflect.EnumNumber

func (ErrCodes) String

func (x ErrCodes) String() string

func (ErrCodes) Type added in v0.9.0

type FileBlocks added in v0.10.1

type FileBlocks struct {
	FileId  string   `protobuf:"bytes,1,opt,name=fileId,proto3" json:"fileId,omitempty"`
	SpaceId string   `protobuf:"bytes,2,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	Blocks  []*Block `protobuf:"bytes,3,rep,name=blocks,proto3" json:"blocks,omitempty"`
	// contains filtered or unexported fields
}

func (*FileBlocks) Descriptor deprecated added in v0.10.1

func (*FileBlocks) Descriptor() ([]byte, []int)

Deprecated: Use FileBlocks.ProtoReflect.Descriptor instead.

func (*FileBlocks) GetBlocks added in v0.10.1

func (x *FileBlocks) GetBlocks() []*Block

func (*FileBlocks) GetFileId added in v0.10.1

func (x *FileBlocks) GetFileId() string

func (*FileBlocks) GetSpaceId added in v0.10.1

func (x *FileBlocks) GetSpaceId() string

func (*FileBlocks) MarshalToSizedBufferVT added in v0.10.1

func (m *FileBlocks) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FileBlocks) MarshalToVT added in v0.10.1

func (m *FileBlocks) MarshalToVT(dAtA []byte) (int, error)

func (*FileBlocks) MarshalVT added in v0.10.1

func (m *FileBlocks) MarshalVT() (dAtA []byte, err error)

func (*FileBlocks) ProtoMessage added in v0.10.1

func (*FileBlocks) ProtoMessage()

func (*FileBlocks) ProtoReflect added in v0.10.1

func (x *FileBlocks) ProtoReflect() protoreflect.Message

func (*FileBlocks) Reset added in v0.10.1

func (x *FileBlocks) Reset()

func (*FileBlocks) SizeVT added in v0.10.1

func (m *FileBlocks) SizeVT() (n int)

func (*FileBlocks) String added in v0.10.1

func (x *FileBlocks) String() string

func (*FileBlocks) UnmarshalVT added in v0.10.1

func (m *FileBlocks) UnmarshalVT(dAtA []byte) error

type FileInfo

type FileInfo struct {
	FileId     string `protobuf:"bytes,1,opt,name=fileId,proto3" json:"fileId,omitempty"`
	UsageBytes uint64 `protobuf:"varint,2,opt,name=usageBytes,proto3" json:"usageBytes,omitempty"`
	CidsCount  uint32 `protobuf:"varint,3,opt,name=cidsCount,proto3" json:"cidsCount,omitempty"`
	// contains filtered or unexported fields
}

func (*FileInfo) Descriptor deprecated

func (*FileInfo) Descriptor() ([]byte, []int)

Deprecated: Use FileInfo.ProtoReflect.Descriptor instead.

func (*FileInfo) GetCidsCount

func (x *FileInfo) GetCidsCount() uint32

func (*FileInfo) GetFileId

func (x *FileInfo) GetFileId() string

func (*FileInfo) GetUsageBytes

func (x *FileInfo) GetUsageBytes() uint64

func (*FileInfo) MarshalToSizedBufferVT added in v0.9.0

func (m *FileInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FileInfo) MarshalToVT added in v0.9.0

func (m *FileInfo) MarshalToVT(dAtA []byte) (int, error)

func (*FileInfo) MarshalVT added in v0.9.0

func (m *FileInfo) MarshalVT() (dAtA []byte, err error)

func (*FileInfo) ProtoMessage

func (*FileInfo) ProtoMessage()

func (*FileInfo) ProtoReflect added in v0.9.0

func (x *FileInfo) ProtoReflect() protoreflect.Message

func (*FileInfo) Reset

func (x *FileInfo) Reset()

func (*FileInfo) SizeVT added in v0.9.0

func (m *FileInfo) SizeVT() (n int)

func (*FileInfo) String

func (x *FileInfo) String() string

func (*FileInfo) UnmarshalVT added in v0.9.0

func (m *FileInfo) UnmarshalVT(dAtA []byte) error

type FilesDeleteRequest

type FilesDeleteRequest struct {
	SpaceId string   `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	FileIds []string `protobuf:"bytes,2,rep,name=fileIds,proto3" json:"fileIds,omitempty"`
	// contains filtered or unexported fields
}

func (*FilesDeleteRequest) Descriptor deprecated

func (*FilesDeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use FilesDeleteRequest.ProtoReflect.Descriptor instead.

func (*FilesDeleteRequest) GetFileIds

func (x *FilesDeleteRequest) GetFileIds() []string

func (*FilesDeleteRequest) GetSpaceId

func (x *FilesDeleteRequest) GetSpaceId() string

func (*FilesDeleteRequest) MarshalToSizedBufferVT added in v0.9.0

func (m *FilesDeleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FilesDeleteRequest) MarshalToVT added in v0.9.0

func (m *FilesDeleteRequest) MarshalToVT(dAtA []byte) (int, error)

func (*FilesDeleteRequest) MarshalVT added in v0.9.0

func (m *FilesDeleteRequest) MarshalVT() (dAtA []byte, err error)

func (*FilesDeleteRequest) ProtoMessage

func (*FilesDeleteRequest) ProtoMessage()

func (*FilesDeleteRequest) ProtoReflect added in v0.9.0

func (x *FilesDeleteRequest) ProtoReflect() protoreflect.Message

func (*FilesDeleteRequest) Reset

func (x *FilesDeleteRequest) Reset()

func (*FilesDeleteRequest) SizeVT added in v0.9.0

func (m *FilesDeleteRequest) SizeVT() (n int)

func (*FilesDeleteRequest) String

func (x *FilesDeleteRequest) String() string

func (*FilesDeleteRequest) UnmarshalVT added in v0.9.0

func (m *FilesDeleteRequest) UnmarshalVT(dAtA []byte) error

type FilesDeleteResponse

type FilesDeleteResponse struct {
	// contains filtered or unexported fields
}

func (*FilesDeleteResponse) Descriptor deprecated

func (*FilesDeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use FilesDeleteResponse.ProtoReflect.Descriptor instead.

func (*FilesDeleteResponse) MarshalToSizedBufferVT added in v0.9.0

func (m *FilesDeleteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FilesDeleteResponse) MarshalToVT added in v0.9.0

func (m *FilesDeleteResponse) MarshalToVT(dAtA []byte) (int, error)

func (*FilesDeleteResponse) MarshalVT added in v0.9.0

func (m *FilesDeleteResponse) MarshalVT() (dAtA []byte, err error)

func (*FilesDeleteResponse) ProtoMessage

func (*FilesDeleteResponse) ProtoMessage()

func (*FilesDeleteResponse) ProtoReflect added in v0.9.0

func (x *FilesDeleteResponse) ProtoReflect() protoreflect.Message

func (*FilesDeleteResponse) Reset

func (x *FilesDeleteResponse) Reset()

func (*FilesDeleteResponse) SizeVT added in v0.9.0

func (m *FilesDeleteResponse) SizeVT() (n int)

func (*FilesDeleteResponse) String

func (x *FilesDeleteResponse) String() string

func (*FilesDeleteResponse) UnmarshalVT added in v0.9.0

func (m *FilesDeleteResponse) UnmarshalVT(dAtA []byte) error

type FilesGetRequest added in v0.3.33

type FilesGetRequest struct {
	SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	// contains filtered or unexported fields
}

func (*FilesGetRequest) Descriptor deprecated added in v0.3.33

func (*FilesGetRequest) Descriptor() ([]byte, []int)

Deprecated: Use FilesGetRequest.ProtoReflect.Descriptor instead.

func (*FilesGetRequest) GetSpaceId added in v0.3.33

func (x *FilesGetRequest) GetSpaceId() string

func (*FilesGetRequest) MarshalToSizedBufferVT added in v0.9.0

func (m *FilesGetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FilesGetRequest) MarshalToVT added in v0.9.0

func (m *FilesGetRequest) MarshalToVT(dAtA []byte) (int, error)

func (*FilesGetRequest) MarshalVT added in v0.9.0

func (m *FilesGetRequest) MarshalVT() (dAtA []byte, err error)

func (*FilesGetRequest) ProtoMessage added in v0.3.33

func (*FilesGetRequest) ProtoMessage()

func (*FilesGetRequest) ProtoReflect added in v0.9.0

func (x *FilesGetRequest) ProtoReflect() protoreflect.Message

func (*FilesGetRequest) Reset added in v0.3.33

func (x *FilesGetRequest) Reset()

func (*FilesGetRequest) SizeVT added in v0.9.0

func (m *FilesGetRequest) SizeVT() (n int)

func (*FilesGetRequest) String added in v0.3.33

func (x *FilesGetRequest) String() string

func (*FilesGetRequest) UnmarshalVT added in v0.9.0

func (m *FilesGetRequest) UnmarshalVT(dAtA []byte) error

type FilesGetResponse added in v0.3.33

type FilesGetResponse struct {
	FileId string `protobuf:"bytes,1,opt,name=fileId,proto3" json:"fileId,omitempty"`
	// contains filtered or unexported fields
}

func (*FilesGetResponse) Descriptor deprecated added in v0.3.33

func (*FilesGetResponse) Descriptor() ([]byte, []int)

Deprecated: Use FilesGetResponse.ProtoReflect.Descriptor instead.

func (*FilesGetResponse) GetFileId added in v0.3.33

func (x *FilesGetResponse) GetFileId() string

func (*FilesGetResponse) MarshalToSizedBufferVT added in v0.9.0

func (m *FilesGetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FilesGetResponse) MarshalToVT added in v0.9.0

func (m *FilesGetResponse) MarshalToVT(dAtA []byte) (int, error)

func (*FilesGetResponse) MarshalVT added in v0.9.0

func (m *FilesGetResponse) MarshalVT() (dAtA []byte, err error)

func (*FilesGetResponse) ProtoMessage added in v0.3.33

func (*FilesGetResponse) ProtoMessage()

func (*FilesGetResponse) ProtoReflect added in v0.9.0

func (x *FilesGetResponse) ProtoReflect() protoreflect.Message

func (*FilesGetResponse) Reset added in v0.3.33

func (x *FilesGetResponse) Reset()

func (*FilesGetResponse) SizeVT added in v0.9.0

func (m *FilesGetResponse) SizeVT() (n int)

func (*FilesGetResponse) String added in v0.3.33

func (x *FilesGetResponse) String() string

func (*FilesGetResponse) UnmarshalVT added in v0.9.0

func (m *FilesGetResponse) UnmarshalVT(dAtA []byte) error

type FilesInfoRequest

type FilesInfoRequest struct {
	SpaceId string   `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	FileIds []string `protobuf:"bytes,2,rep,name=fileIds,proto3" json:"fileIds,omitempty"`
	// contains filtered or unexported fields
}

func (*FilesInfoRequest) Descriptor deprecated

func (*FilesInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use FilesInfoRequest.ProtoReflect.Descriptor instead.

func (*FilesInfoRequest) GetFileIds

func (x *FilesInfoRequest) GetFileIds() []string

func (*FilesInfoRequest) GetSpaceId

func (x *FilesInfoRequest) GetSpaceId() string

func (*FilesInfoRequest) MarshalToSizedBufferVT added in v0.9.0

func (m *FilesInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FilesInfoRequest) MarshalToVT added in v0.9.0

func (m *FilesInfoRequest) MarshalToVT(dAtA []byte) (int, error)

func (*FilesInfoRequest) MarshalVT added in v0.9.0

func (m *FilesInfoRequest) MarshalVT() (dAtA []byte, err error)

func (*FilesInfoRequest) ProtoMessage

func (*FilesInfoRequest) ProtoMessage()

func (*FilesInfoRequest) ProtoReflect added in v0.9.0

func (x *FilesInfoRequest) ProtoReflect() protoreflect.Message

func (*FilesInfoRequest) Reset

func (x *FilesInfoRequest) Reset()

func (*FilesInfoRequest) SizeVT added in v0.9.0

func (m *FilesInfoRequest) SizeVT() (n int)

func (*FilesInfoRequest) String

func (x *FilesInfoRequest) String() string

func (*FilesInfoRequest) UnmarshalVT added in v0.9.0

func (m *FilesInfoRequest) UnmarshalVT(dAtA []byte) error

type FilesInfoResponse

type FilesInfoResponse struct {
	FilesInfo []*FileInfo `protobuf:"bytes,1,rep,name=filesInfo,proto3" json:"filesInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*FilesInfoResponse) Descriptor deprecated

func (*FilesInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use FilesInfoResponse.ProtoReflect.Descriptor instead.

func (*FilesInfoResponse) GetFilesInfo

func (x *FilesInfoResponse) GetFilesInfo() []*FileInfo

func (*FilesInfoResponse) MarshalToSizedBufferVT added in v0.9.0

func (m *FilesInfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FilesInfoResponse) MarshalToVT added in v0.9.0

func (m *FilesInfoResponse) MarshalToVT(dAtA []byte) (int, error)

func (*FilesInfoResponse) MarshalVT added in v0.9.0

func (m *FilesInfoResponse) MarshalVT() (dAtA []byte, err error)

func (*FilesInfoResponse) ProtoMessage

func (*FilesInfoResponse) ProtoMessage()

func (*FilesInfoResponse) ProtoReflect added in v0.9.0

func (x *FilesInfoResponse) ProtoReflect() protoreflect.Message

func (*FilesInfoResponse) Reset

func (x *FilesInfoResponse) Reset()

func (*FilesInfoResponse) SizeVT added in v0.9.0

func (m *FilesInfoResponse) SizeVT() (n int)

func (*FilesInfoResponse) String

func (x *FilesInfoResponse) String() string

func (*FilesInfoResponse) UnmarshalVT added in v0.9.0

func (m *FilesInfoResponse) UnmarshalVT(dAtA []byte) error

type Ok added in v0.3.33

type Ok struct {
	// contains filtered or unexported fields
}

func (*Ok) Descriptor deprecated added in v0.3.33

func (*Ok) Descriptor() ([]byte, []int)

Deprecated: Use Ok.ProtoReflect.Descriptor instead.

func (*Ok) MarshalToSizedBufferVT added in v0.9.0

func (m *Ok) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Ok) MarshalToVT added in v0.9.0

func (m *Ok) MarshalToVT(dAtA []byte) (int, error)

func (*Ok) MarshalVT added in v0.9.0

func (m *Ok) MarshalVT() (dAtA []byte, err error)

func (*Ok) ProtoMessage added in v0.3.33

func (*Ok) ProtoMessage()

func (*Ok) ProtoReflect added in v0.9.0

func (x *Ok) ProtoReflect() protoreflect.Message

func (*Ok) Reset added in v0.3.33

func (x *Ok) Reset()

func (*Ok) SizeVT added in v0.9.0

func (m *Ok) SizeVT() (n int)

func (*Ok) String added in v0.3.33

func (x *Ok) String() string

func (*Ok) UnmarshalVT added in v0.9.0

func (m *Ok) UnmarshalVT(dAtA []byte) error

type SpaceInfoRequest

type SpaceInfoRequest struct {
	SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	// contains filtered or unexported fields
}

func (*SpaceInfoRequest) Descriptor deprecated

func (*SpaceInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use SpaceInfoRequest.ProtoReflect.Descriptor instead.

func (*SpaceInfoRequest) GetSpaceId

func (x *SpaceInfoRequest) GetSpaceId() string

func (*SpaceInfoRequest) MarshalToSizedBufferVT added in v0.9.0

func (m *SpaceInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SpaceInfoRequest) MarshalToVT added in v0.9.0

func (m *SpaceInfoRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SpaceInfoRequest) MarshalVT added in v0.9.0

func (m *SpaceInfoRequest) MarshalVT() (dAtA []byte, err error)

func (*SpaceInfoRequest) ProtoMessage

func (*SpaceInfoRequest) ProtoMessage()

func (*SpaceInfoRequest) ProtoReflect added in v0.9.0

func (x *SpaceInfoRequest) ProtoReflect() protoreflect.Message

func (*SpaceInfoRequest) Reset

func (x *SpaceInfoRequest) Reset()

func (*SpaceInfoRequest) SizeVT added in v0.9.0

func (m *SpaceInfoRequest) SizeVT() (n int)

func (*SpaceInfoRequest) String

func (x *SpaceInfoRequest) String() string

func (*SpaceInfoRequest) UnmarshalVT added in v0.9.0

func (m *SpaceInfoRequest) UnmarshalVT(dAtA []byte) error

type SpaceInfoResponse

type SpaceInfoResponse struct {
	LimitBytes      uint64 `protobuf:"varint,1,opt,name=limitBytes,proto3" json:"limitBytes,omitempty"`
	TotalUsageBytes uint64 `protobuf:"varint,2,opt,name=totalUsageBytes,proto3" json:"totalUsageBytes,omitempty"`
	CidsCount       uint64 `protobuf:"varint,3,opt,name=cidsCount,proto3" json:"cidsCount,omitempty"`
	FilesCount      uint64 `protobuf:"varint,4,opt,name=filesCount,proto3" json:"filesCount,omitempty"`
	SpaceUsageBytes uint64 `protobuf:"varint,5,opt,name=spaceUsageBytes,proto3" json:"spaceUsageBytes,omitempty"`
	SpaceId         string `protobuf:"bytes,6,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	// contains filtered or unexported fields
}

func (*SpaceInfoResponse) Descriptor deprecated

func (*SpaceInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use SpaceInfoResponse.ProtoReflect.Descriptor instead.

func (*SpaceInfoResponse) GetCidsCount

func (x *SpaceInfoResponse) GetCidsCount() uint64

func (*SpaceInfoResponse) GetFilesCount

func (x *SpaceInfoResponse) GetFilesCount() uint64

func (*SpaceInfoResponse) GetLimitBytes

func (x *SpaceInfoResponse) GetLimitBytes() uint64

func (*SpaceInfoResponse) GetSpaceId added in v0.3.5

func (x *SpaceInfoResponse) GetSpaceId() string

func (*SpaceInfoResponse) GetSpaceUsageBytes added in v0.3.5

func (x *SpaceInfoResponse) GetSpaceUsageBytes() uint64

func (*SpaceInfoResponse) GetTotalUsageBytes added in v0.3.5

func (x *SpaceInfoResponse) GetTotalUsageBytes() uint64

func (*SpaceInfoResponse) MarshalToSizedBufferVT added in v0.9.0

func (m *SpaceInfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SpaceInfoResponse) MarshalToVT added in v0.9.0

func (m *SpaceInfoResponse) MarshalToVT(dAtA []byte) (int, error)

func (*SpaceInfoResponse) MarshalVT added in v0.9.0

func (m *SpaceInfoResponse) MarshalVT() (dAtA []byte, err error)

func (*SpaceInfoResponse) ProtoMessage

func (*SpaceInfoResponse) ProtoMessage()

func (*SpaceInfoResponse) ProtoReflect added in v0.9.0

func (x *SpaceInfoResponse) ProtoReflect() protoreflect.Message

func (*SpaceInfoResponse) Reset

func (x *SpaceInfoResponse) Reset()

func (*SpaceInfoResponse) SizeVT added in v0.9.0

func (m *SpaceInfoResponse) SizeVT() (n int)

func (*SpaceInfoResponse) String

func (x *SpaceInfoResponse) String() string

func (*SpaceInfoResponse) UnmarshalVT added in v0.9.0

func (m *SpaceInfoResponse) UnmarshalVT(dAtA []byte) error

type SpaceLimitSetRequest added in v0.3.33

type SpaceLimitSetRequest struct {
	SpaceId string `protobuf:"bytes,1,opt,name=spaceId,proto3" json:"spaceId,omitempty"`
	Limit   uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*SpaceLimitSetRequest) Descriptor deprecated added in v0.3.33

func (*SpaceLimitSetRequest) Descriptor() ([]byte, []int)

Deprecated: Use SpaceLimitSetRequest.ProtoReflect.Descriptor instead.

func (*SpaceLimitSetRequest) GetLimit added in v0.3.33

func (x *SpaceLimitSetRequest) GetLimit() uint64

func (*SpaceLimitSetRequest) GetSpaceId added in v0.3.33

func (x *SpaceLimitSetRequest) GetSpaceId() string

func (*SpaceLimitSetRequest) MarshalToSizedBufferVT added in v0.9.0

func (m *SpaceLimitSetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SpaceLimitSetRequest) MarshalToVT added in v0.9.0

func (m *SpaceLimitSetRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SpaceLimitSetRequest) MarshalVT added in v0.9.0

func (m *SpaceLimitSetRequest) MarshalVT() (dAtA []byte, err error)

func (*SpaceLimitSetRequest) ProtoMessage added in v0.3.33

func (*SpaceLimitSetRequest) ProtoMessage()

func (*SpaceLimitSetRequest) ProtoReflect added in v0.9.0

func (x *SpaceLimitSetRequest) ProtoReflect() protoreflect.Message

func (*SpaceLimitSetRequest) Reset added in v0.3.33

func (x *SpaceLimitSetRequest) Reset()

func (*SpaceLimitSetRequest) SizeVT added in v0.9.0

func (m *SpaceLimitSetRequest) SizeVT() (n int)

func (*SpaceLimitSetRequest) String added in v0.3.33

func (x *SpaceLimitSetRequest) String() string

func (*SpaceLimitSetRequest) UnmarshalVT added in v0.9.0

func (m *SpaceLimitSetRequest) UnmarshalVT(dAtA []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL