grpcs

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_bima_pagination_proto protoreflect.FileDescriptor
View Source
var File_bima_root_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Pagination

type Pagination struct {
	Page   int32    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Limit  int32    `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Fields []string `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`
	Values []string `protobuf:"bytes,4,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Pagination) Descriptor deprecated

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

Deprecated: Use Pagination.ProtoReflect.Descriptor instead.

func (*Pagination) GetFields

func (x *Pagination) GetFields() []string

func (*Pagination) GetLimit

func (x *Pagination) GetLimit() int32

func (*Pagination) GetPage

func (x *Pagination) GetPage() int32

func (*Pagination) GetValues

func (x *Pagination) GetValues() []string

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 PaginationMetadata

type PaginationMetadata struct {
	Page     int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Previous int32 `protobuf:"varint,2,opt,name=previous,proto3" json:"previous,omitempty"`
	Next     int32 `protobuf:"varint,3,opt,name=next,proto3" json:"next,omitempty"`
	Limit    int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	Total    int32 `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*PaginationMetadata) Descriptor deprecated

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

Deprecated: Use PaginationMetadata.ProtoReflect.Descriptor instead.

func (*PaginationMetadata) GetLimit

func (x *PaginationMetadata) GetLimit() int32

func (*PaginationMetadata) GetNext

func (x *PaginationMetadata) GetNext() int32

func (*PaginationMetadata) GetPage

func (x *PaginationMetadata) GetPage() int32

func (*PaginationMetadata) GetPrevious

func (x *PaginationMetadata) GetPrevious() int32

func (*PaginationMetadata) GetTotal

func (x *PaginationMetadata) GetTotal() int32

func (*PaginationMetadata) ProtoMessage

func (*PaginationMetadata) ProtoMessage()

func (*PaginationMetadata) ProtoReflect

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

func (*PaginationMetadata) Reset

func (x *PaginationMetadata) Reset()

func (*PaginationMetadata) String

func (x *PaginationMetadata) String() string

Jump to

Keyboard shortcuts

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