sort_pb

package
v0.0.0-...-07b0db4 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Sort_Side_name = map[int32]string{
		0: "ASC",
		1: "DESC",
	}
	Sort_Side_value = map[string]int32{
		"ASC":  0,
		"DESC": 1,
	}
)

Enum value maps for Sort_Side.

View Source
var File_biconom_type_sort_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Sort

type Sort struct {
	Side  Sort_Side    `protobuf:"varint,1,opt,name=side,proto3,enum=biconom.type.Sort_Side" json:"side,omitempty"` // направление сортировки
	Limit *limit.Limit `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"`                            // лимит возвращаемых записей (min:1)
	// contains filtered or unexported fields
}

func (*Sort) Descriptor deprecated

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

Deprecated: Use Sort.ProtoReflect.Descriptor instead.

func (*Sort) GetLimit

func (x *Sort) GetLimit() *limit.Limit

func (*Sort) GetSide

func (x *Sort) GetSide() Sort_Side

func (*Sort) ProtoMessage

func (*Sort) ProtoMessage()

func (*Sort) ProtoReflect

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

func (*Sort) Reset

func (x *Sort) Reset()

func (*Sort) String

func (x *Sort) String() string

type Sort_Side

type Sort_Side int32
const (
	Sort_ASC  Sort_Side = 0 // в порядке возрастания (от меньшего к большему)
	Sort_DESC Sort_Side = 1 // в порядке убывания (от большего к меньшему)
)

func (Sort_Side) Descriptor

func (Sort_Side) Descriptor() protoreflect.EnumDescriptor

func (Sort_Side) Enum

func (x Sort_Side) Enum() *Sort_Side

func (Sort_Side) EnumDescriptor deprecated

func (Sort_Side) EnumDescriptor() ([]byte, []int)

Deprecated: Use Sort_Side.Descriptor instead.

func (Sort_Side) Number

func (x Sort_Side) Number() protoreflect.EnumNumber

func (Sort_Side) String

func (x Sort_Side) String() string

func (Sort_Side) Type

Jump to

Keyboard shortcuts

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