pboutputcache

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_output_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Array

type Array struct {
	Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*Array) Descriptor deprecated

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

Deprecated: Use Array.ProtoReflect.Descriptor instead.

func (*Array) GetItems

func (x *Array) GetItems() []*Item

func (*Array) MarshalToSizedBufferVT

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

func (*Array) MarshalToVT

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

func (*Array) MarshalVT

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

func (*Array) ProtoMessage

func (*Array) ProtoMessage()

func (*Array) ProtoReflect

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

func (*Array) Reset

func (x *Array) Reset()

func (*Array) SizeVT

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

func (*Array) String

func (x *Array) String() string

func (*Array) UnmarshalVT

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

func (*Array) UnmarshalVTNoAlloc

func (m *Array) UnmarshalVTNoAlloc(dAtA []byte) error

Copy of Array's UnmarshalVT method, with unsafeGetString

type Item

type Item struct {
	BlockNum  uint64                 `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	BlockId   string                 `protobuf:"bytes,2,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
	Payload   []byte                 `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Cursor    string                 `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*Item) Descriptor deprecated

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

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetBlockId

func (x *Item) GetBlockId() string

func (*Item) GetBlockNum

func (x *Item) GetBlockNum() uint64

func (*Item) GetCursor

func (x *Item) GetCursor() string

func (*Item) GetPayload

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

func (*Item) GetTimestamp

func (x *Item) GetTimestamp() *timestamppb.Timestamp

func (*Item) MarshalToSizedBufferVT

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

func (*Item) MarshalToVT

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

func (*Item) MarshalVT

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

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

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

func (*Item) Reset

func (x *Item) Reset()

func (*Item) SizeVT

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

func (*Item) String

func (x *Item) String() string

func (*Item) UnmarshalVT

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

func (*Item) UnmarshalVTNoAlloc

func (m *Item) UnmarshalVTNoAlloc(dAtA []byte) error

type Map

type Map struct {
	Kv map[string]*Item `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Map) Descriptor deprecated

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

Deprecated: Use Map.ProtoReflect.Descriptor instead.

func (*Map) GetKv

func (x *Map) GetKv() map[string]*Item

func (*Map) MarshalFast

func (m *Map) MarshalFast() (dAtA []byte, err error)

Faster marshalling through conversion to Array

func (*Map) MarshalToSizedBufferVT

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

func (*Map) MarshalToVT

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

func (*Map) MarshalVT

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

func (*Map) ProtoMessage

func (*Map) ProtoMessage()

func (*Map) ProtoReflect

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

func (*Map) Reset

func (x *Map) Reset()

func (*Map) SizeVT

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

func (*Map) String

func (x *Map) String() string

func (*Map) UnmarshalFast

func (m *Map) UnmarshalFast(dAtA []byte) error

Faster unmarshalling when it was converted to array first

func (*Map) UnmarshalVT

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

Jump to

Keyboard shortcuts

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