queryv1

package
v1.36.11-2024102212432... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 4 Imported by: 8

Documentation

Index

Constants

View Source
const SortKey_Asc_case case_SortKey_Key = 1
View Source
const SortKey_Desc_case case_SortKey_Key = 2
View Source
const SortKey_Key_not_set_case case_SortKey_Key = 0

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) 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) SetPage

func (x *Pagination) SetPage(v int64)

func (*Pagination) SetPageSize

func (x *Pagination) SetPageSize(v int64)

func (*Pagination) String

func (x *Pagination) String() string

type Pagination_builder

type Pagination_builder struct {
	Page     int64
	PageSize int64
	// contains filtered or unexported fields
}

func (Pagination_builder) Build

func (b0 Pagination_builder) Build() *Pagination

type Sort

type Sort struct {
	Key []*SortKey `protobuf:"bytes,1,rep,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*Sort) GetKey

func (x *Sort) GetKey() []*SortKey

func (*Sort) ProtoMessage

func (*Sort) ProtoMessage()

func (*Sort) ProtoReflect

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

func (*Sort) Reset

func (x *Sort) Reset()

func (*Sort) SetKey

func (x *Sort) SetKey(v []*SortKey)

func (*Sort) String

func (x *Sort) String() string

type SortKey

type SortKey struct {

	// Types that are valid to be assigned to Key:
	//
	//	*SortKey_Asc
	//	*SortKey_Desc
	Key isSortKey_Key `protobuf_oneof:"key"`
	// contains filtered or unexported fields
}

func (*SortKey) ClearAsc

func (x *SortKey) ClearAsc()

func (*SortKey) ClearDesc

func (x *SortKey) ClearDesc()

func (*SortKey) ClearKey

func (x *SortKey) ClearKey()

func (*SortKey) GetAsc

func (x *SortKey) GetAsc() string

func (*SortKey) GetDesc

func (x *SortKey) GetDesc() string

func (*SortKey) GetKey

func (x *SortKey) GetKey() isSortKey_Key

func (*SortKey) HasAsc

func (x *SortKey) HasAsc() bool

func (*SortKey) HasDesc

func (x *SortKey) HasDesc() bool

func (*SortKey) HasKey

func (x *SortKey) HasKey() bool

func (*SortKey) ProtoMessage

func (*SortKey) ProtoMessage()

func (*SortKey) ProtoReflect

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

func (*SortKey) Reset

func (x *SortKey) Reset()

func (*SortKey) SetAsc

func (x *SortKey) SetAsc(v string)

func (*SortKey) SetDesc

func (x *SortKey) SetDesc(v string)

func (*SortKey) String

func (x *SortKey) String() string

func (*SortKey) WhichKey

func (x *SortKey) WhichKey() case_SortKey_Key

type SortKey_Asc

type SortKey_Asc struct {
	Asc string `protobuf:"bytes,1,opt,name=asc,proto3,oneof"`
}

type SortKey_Desc

type SortKey_Desc struct {
	Desc string `protobuf:"bytes,2,opt,name=desc,proto3,oneof"`
}

type SortKey_builder

type SortKey_builder struct {

	// Fields of oneof Key:
	Asc  *string
	Desc *string
	// contains filtered or unexported fields
}

func (SortKey_builder) Build

func (b0 SortKey_builder) Build() *SortKey

type Sort_builder

type Sort_builder struct {
	Key []*SortKey
	// contains filtered or unexported fields
}

func (Sort_builder) Build

func (b0 Sort_builder) Build() *Sort

Source Files

  • pagination.pb.go
  • sort.pb.go

Jump to

Keyboard shortcuts

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