paging

package
v0.0.75-CIEDEV-2731.2 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pb_terrarium_common_paging_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PageInfoRequest

type PageInfoRequest struct {
	Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Count  uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*PageInfoRequest) Descriptor deprecated

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

Deprecated: Use PageInfoRequest.ProtoReflect.Descriptor instead.

func (*PageInfoRequest) GetCount

func (x *PageInfoRequest) GetCount() uint64

func (*PageInfoRequest) GetOffset

func (x *PageInfoRequest) GetOffset() uint64

func (*PageInfoRequest) ProtoMessage

func (*PageInfoRequest) ProtoMessage()

func (*PageInfoRequest) ProtoReflect

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

func (*PageInfoRequest) Reset

func (x *PageInfoRequest) Reset()

func (*PageInfoRequest) String

func (x *PageInfoRequest) String() string

type PageInfoResponse

type PageInfoResponse struct {
	NextOffset uint64 `protobuf:"varint,1,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
	TotalCount uint64 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

func (*PageInfoResponse) Descriptor deprecated

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

Deprecated: Use PageInfoResponse.ProtoReflect.Descriptor instead.

func (*PageInfoResponse) GetNextOffset

func (x *PageInfoResponse) GetNextOffset() uint64

func (*PageInfoResponse) GetTotalCount

func (x *PageInfoResponse) GetTotalCount() uint64

func (*PageInfoResponse) ProtoMessage

func (*PageInfoResponse) ProtoMessage()

func (*PageInfoResponse) ProtoReflect

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

func (*PageInfoResponse) Reset

func (x *PageInfoResponse) Reset()

func (*PageInfoResponse) String

func (x *PageInfoResponse) String() string

Jump to

Keyboard shortcuts

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