pb

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Overview

Package pb holds only Protocol Buffer definitions and generated code.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthChunkinfo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowChunkinfo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupChunkinfo = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ChunkInfoReq

type ChunkInfoReq struct {
	RootCid []byte `protobuf:"bytes,1,opt,name=RootCid,proto3" json:"RootCid,omitempty"`
	Target  []byte `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	Req     []byte `protobuf:"bytes,3,opt,name=req,proto3" json:"req,omitempty"`
}

func (*ChunkInfoReq) Descriptor

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

func (*ChunkInfoReq) GetReq

func (m *ChunkInfoReq) GetReq() []byte

func (*ChunkInfoReq) GetRootCid

func (m *ChunkInfoReq) GetRootCid() []byte

func (*ChunkInfoReq) GetTarget

func (m *ChunkInfoReq) GetTarget() []byte

func (*ChunkInfoReq) Marshal

func (m *ChunkInfoReq) Marshal() (dAtA []byte, err error)

func (*ChunkInfoReq) MarshalTo

func (m *ChunkInfoReq) MarshalTo(dAtA []byte) (int, error)

func (*ChunkInfoReq) MarshalToSizedBuffer

func (m *ChunkInfoReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChunkInfoReq) ProtoMessage

func (*ChunkInfoReq) ProtoMessage()

func (*ChunkInfoReq) Reset

func (m *ChunkInfoReq) Reset()

func (*ChunkInfoReq) Size

func (m *ChunkInfoReq) Size() (n int)

func (*ChunkInfoReq) String

func (m *ChunkInfoReq) String() string

func (*ChunkInfoReq) Unmarshal

func (m *ChunkInfoReq) Unmarshal(dAtA []byte) error

func (*ChunkInfoReq) XXX_DiscardUnknown

func (m *ChunkInfoReq) XXX_DiscardUnknown()

func (*ChunkInfoReq) XXX_Marshal

func (m *ChunkInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChunkInfoReq) XXX_Merge

func (m *ChunkInfoReq) XXX_Merge(src proto.Message)

func (*ChunkInfoReq) XXX_Size

func (m *ChunkInfoReq) XXX_Size() int

func (*ChunkInfoReq) XXX_Unmarshal

func (m *ChunkInfoReq) XXX_Unmarshal(b []byte) error

type ChunkInfoResp

type ChunkInfoResp struct {
	RootCid  []byte            `protobuf:"bytes,1,opt,name=RootCid,proto3" json:"RootCid,omitempty"`
	Target   []byte            `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	Req      []byte            `protobuf:"bytes,3,opt,name=req,proto3" json:"req,omitempty"`
	Presence map[string][]byte `` /* 157-byte string literal not displayed */
}

func (*ChunkInfoResp) Descriptor

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

func (*ChunkInfoResp) GetPresence

func (m *ChunkInfoResp) GetPresence() map[string][]byte

func (*ChunkInfoResp) GetReq

func (m *ChunkInfoResp) GetReq() []byte

func (*ChunkInfoResp) GetRootCid

func (m *ChunkInfoResp) GetRootCid() []byte

func (*ChunkInfoResp) GetTarget

func (m *ChunkInfoResp) GetTarget() []byte

func (*ChunkInfoResp) Marshal

func (m *ChunkInfoResp) Marshal() (dAtA []byte, err error)

func (*ChunkInfoResp) MarshalTo

func (m *ChunkInfoResp) MarshalTo(dAtA []byte) (int, error)

func (*ChunkInfoResp) MarshalToSizedBuffer

func (m *ChunkInfoResp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChunkInfoResp) ProtoMessage

func (*ChunkInfoResp) ProtoMessage()

func (*ChunkInfoResp) Reset

func (m *ChunkInfoResp) Reset()

func (*ChunkInfoResp) Size

func (m *ChunkInfoResp) Size() (n int)

func (*ChunkInfoResp) String

func (m *ChunkInfoResp) String() string

func (*ChunkInfoResp) Unmarshal

func (m *ChunkInfoResp) Unmarshal(dAtA []byte) error

func (*ChunkInfoResp) XXX_DiscardUnknown

func (m *ChunkInfoResp) XXX_DiscardUnknown()

func (*ChunkInfoResp) XXX_Marshal

func (m *ChunkInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChunkInfoResp) XXX_Merge

func (m *ChunkInfoResp) XXX_Merge(src proto.Message)

func (*ChunkInfoResp) XXX_Size

func (m *ChunkInfoResp) XXX_Size() int

func (*ChunkInfoResp) XXX_Unmarshal

func (m *ChunkInfoResp) XXX_Unmarshal(b []byte) error

type ChunkPyramidReq added in v1.0.12

type ChunkPyramidReq struct {
	RootCid []byte `protobuf:"bytes,1,opt,name=RootCid,proto3" json:"RootCid,omitempty"`
	Target  []byte `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
}

func (*ChunkPyramidReq) Descriptor added in v1.0.12

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

func (*ChunkPyramidReq) GetRootCid added in v1.0.12

func (m *ChunkPyramidReq) GetRootCid() []byte

func (*ChunkPyramidReq) GetTarget added in v1.0.12

func (m *ChunkPyramidReq) GetTarget() []byte

func (*ChunkPyramidReq) Marshal added in v1.0.12

func (m *ChunkPyramidReq) Marshal() (dAtA []byte, err error)

func (*ChunkPyramidReq) MarshalTo added in v1.0.12

func (m *ChunkPyramidReq) MarshalTo(dAtA []byte) (int, error)

func (*ChunkPyramidReq) MarshalToSizedBuffer added in v1.0.12

func (m *ChunkPyramidReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChunkPyramidReq) ProtoMessage added in v1.0.12

func (*ChunkPyramidReq) ProtoMessage()

func (*ChunkPyramidReq) Reset added in v1.0.12

func (m *ChunkPyramidReq) Reset()

func (*ChunkPyramidReq) Size added in v1.0.12

func (m *ChunkPyramidReq) Size() (n int)

func (*ChunkPyramidReq) String added in v1.0.12

func (m *ChunkPyramidReq) String() string

func (*ChunkPyramidReq) Unmarshal added in v1.0.12

func (m *ChunkPyramidReq) Unmarshal(dAtA []byte) error

func (*ChunkPyramidReq) XXX_DiscardUnknown added in v1.0.12

func (m *ChunkPyramidReq) XXX_DiscardUnknown()

func (*ChunkPyramidReq) XXX_Marshal added in v1.0.12

func (m *ChunkPyramidReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChunkPyramidReq) XXX_Merge added in v1.0.12

func (m *ChunkPyramidReq) XXX_Merge(src proto.Message)

func (*ChunkPyramidReq) XXX_Size added in v1.0.12

func (m *ChunkPyramidReq) XXX_Size() int

func (*ChunkPyramidReq) XXX_Unmarshal added in v1.0.12

func (m *ChunkPyramidReq) XXX_Unmarshal(b []byte) error

type ChunkPyramidResp added in v1.0.12

type ChunkPyramidResp struct {
	Chunk []byte `protobuf:"bytes,1,opt,name=Chunk,proto3" json:"Chunk,omitempty"`
	Hash  []byte `protobuf:"bytes,2,opt,name=Hash,proto3" json:"Hash,omitempty"`
	Ok    bool   `protobuf:"varint,3,opt,name=Ok,proto3" json:"Ok,omitempty"`
}

func (*ChunkPyramidResp) Descriptor added in v1.0.12

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

func (*ChunkPyramidResp) GetChunk added in v1.0.12

func (m *ChunkPyramidResp) GetChunk() []byte

func (*ChunkPyramidResp) GetHash added in v1.0.12

func (m *ChunkPyramidResp) GetHash() []byte

func (*ChunkPyramidResp) GetOk added in v1.0.12

func (m *ChunkPyramidResp) GetOk() bool

func (*ChunkPyramidResp) Marshal added in v1.0.12

func (m *ChunkPyramidResp) Marshal() (dAtA []byte, err error)

func (*ChunkPyramidResp) MarshalTo added in v1.0.12

func (m *ChunkPyramidResp) MarshalTo(dAtA []byte) (int, error)

func (*ChunkPyramidResp) MarshalToSizedBuffer added in v1.0.12

func (m *ChunkPyramidResp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChunkPyramidResp) ProtoMessage added in v1.0.12

func (*ChunkPyramidResp) ProtoMessage()

func (*ChunkPyramidResp) Reset added in v1.0.12

func (m *ChunkPyramidResp) Reset()

func (*ChunkPyramidResp) Size added in v1.0.12

func (m *ChunkPyramidResp) Size() (n int)

func (*ChunkPyramidResp) String added in v1.0.12

func (m *ChunkPyramidResp) String() string

func (*ChunkPyramidResp) Unmarshal added in v1.0.12

func (m *ChunkPyramidResp) Unmarshal(dAtA []byte) error

func (*ChunkPyramidResp) XXX_DiscardUnknown added in v1.0.12

func (m *ChunkPyramidResp) XXX_DiscardUnknown()

func (*ChunkPyramidResp) XXX_Marshal added in v1.0.12

func (m *ChunkPyramidResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChunkPyramidResp) XXX_Merge added in v1.0.12

func (m *ChunkPyramidResp) XXX_Merge(src proto.Message)

func (*ChunkPyramidResp) XXX_Size added in v1.0.12

func (m *ChunkPyramidResp) XXX_Size() int

func (*ChunkPyramidResp) XXX_Unmarshal added in v1.0.12

func (m *ChunkPyramidResp) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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