paging

package
v3.18.4 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_strmprivacy_api_paging_v1alpha_paging_v1alpha_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PageInfo

type PageInfo struct {

	// The maximum number of results to return. The server may return fewer than
	// this number of results, when current_page == total_pages.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The total number of results in the result set.
	TotalSize int32 `protobuf:"varint,2,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// The index of the current page of results (starting at 1).
	CurrentPage int32 `protobuf:"varint,3,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"`
	// The requested page number, if the Proto default was used (value = 0), then the next page will be returned.
	RequestedPage int32 `protobuf:"varint,4,opt,name=requested_page,json=requestedPage,proto3" json:"requested_page,omitempty"`
	// The total number of pages in the result set.
	TotalPages int32 `protobuf:"varint,5,opt,name=total_pages,json=totalPages,proto3" json:"total_pages,omitempty"`
	// A page token, received from a previous `ListCategories` call. Provide this to
	// retrieve the subsequent page. When PageInfo is part of a response, this is the next page token.
	// When PageInfo is part of a request, this page token is used to retrieve the next page.
	PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*PageInfo) Descriptor deprecated

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

Deprecated: Use PageInfo.ProtoReflect.Descriptor instead.

func (*PageInfo) GetCurrentPage

func (x *PageInfo) GetCurrentPage() int32

func (*PageInfo) GetPageSize

func (x *PageInfo) GetPageSize() int32

func (*PageInfo) GetPageToken

func (x *PageInfo) GetPageToken() string

func (*PageInfo) GetRequestedPage

func (x *PageInfo) GetRequestedPage() int32

func (*PageInfo) GetTotalPages

func (x *PageInfo) GetTotalPages() int32

func (*PageInfo) GetTotalSize

func (x *PageInfo) GetTotalSize() int32

func (*PageInfo) ProtoMessage

func (*PageInfo) ProtoMessage()

func (*PageInfo) ProtoReflect

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

func (*PageInfo) Reset

func (x *PageInfo) Reset()

func (*PageInfo) String

func (x *PageInfo) String() string

Jump to

Keyboard shortcuts

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