Documentation ¶
Index ¶
- Variables
- type PageInfo
- func (*PageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfo) GetCurrentPage() int32
- func (x *PageInfo) GetPageSize() int32
- func (x *PageInfo) GetPageToken() string
- func (x *PageInfo) GetRequestedPage() int32
- func (x *PageInfo) GetTotalPages() int32
- func (x *PageInfo) GetTotalSize() int32
- func (*PageInfo) ProtoMessage()
- func (x *PageInfo) ProtoReflect() protoreflect.Message
- func (x *PageInfo) Reset()
- func (x *PageInfo) String() string
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) GetCurrentPage ¶
func (*PageInfo) GetPageSize ¶
func (*PageInfo) GetPageToken ¶
func (*PageInfo) GetRequestedPage ¶
func (*PageInfo) GetTotalPages ¶
func (*PageInfo) GetTotalSize ¶
func (*PageInfo) ProtoMessage ¶
func (*PageInfo) ProtoMessage()
func (*PageInfo) ProtoReflect ¶
func (x *PageInfo) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.