pagination

package
v1.2.15 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pagination_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type OpPaginationOption

type OpPaginationOption struct {
	PageSize  *wrapperspb.Int32Value  `protobuf:"bytes,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*OpPaginationOption) Descriptor deprecated

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

Deprecated: Use OpPaginationOption.ProtoReflect.Descriptor instead.

func (*OpPaginationOption) GetPageSize

func (x *OpPaginationOption) GetPageSize() *wrapperspb.Int32Value

func (*OpPaginationOption) GetPageToken

func (x *OpPaginationOption) GetPageToken() *wrapperspb.StringValue

func (*OpPaginationOption) ProtoMessage

func (*OpPaginationOption) ProtoMessage()

func (*OpPaginationOption) ProtoReflect added in v1.2.14

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

func (*OpPaginationOption) Reset

func (x *OpPaginationOption) Reset()

func (*OpPaginationOption) String

func (x *OpPaginationOption) String() string

type PaginationOption

type PaginationOption struct {
	NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*PaginationOption) Descriptor deprecated

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

Deprecated: Use PaginationOption.ProtoReflect.Descriptor instead.

func (*PaginationOption) GetNextPageToken

func (x *PaginationOption) GetNextPageToken() string

func (*PaginationOption) ProtoMessage

func (*PaginationOption) ProtoMessage()

func (*PaginationOption) ProtoReflect added in v1.2.14

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

func (*PaginationOption) Reset

func (x *PaginationOption) Reset()

func (*PaginationOption) String

func (x *PaginationOption) String() string

Jump to

Keyboard shortcuts

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