Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_query_v1_pagination_proto protoreflect.FileDescriptor
View Source
var File_query_v1_sort_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Pagination ¶
type Pagination struct {
Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// contains filtered or unexported fields
}
func (*Pagination) Descriptor
deprecated
func (*Pagination) Descriptor() ([]byte, []int)
Deprecated: Use Pagination.ProtoReflect.Descriptor instead.
func (*Pagination) GetPage ¶
func (x *Pagination) GetPage() int64
func (*Pagination) GetPageSize ¶
func (x *Pagination) GetPageSize() int64
func (*Pagination) ProtoMessage ¶
func (*Pagination) ProtoMessage()
func (*Pagination) ProtoReflect ¶
func (x *Pagination) ProtoReflect() protoreflect.Message
func (*Pagination) Reset ¶
func (x *Pagination) Reset()
func (*Pagination) String ¶
func (x *Pagination) String() string
type Sort ¶
type Sort struct {
// Types that are assignable to Key:
//
// *Sort_Asc
// *Sort_Desc
Key isSort_Key `protobuf_oneof:"key"`
// contains filtered or unexported fields
}
func (*Sort) Descriptor
deprecated
func (*Sort) ProtoMessage ¶
func (*Sort) ProtoMessage()
func (*Sort) ProtoReflect ¶
func (x *Sort) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.