protobuf

package
v0.2.97 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PageDir_name = map[int32]string{
		0: "PAGE_DIR_FORWARD",
		1: "PAGE_DIR_BACKWARD",
	}
	PageDir_value = map[string]int32{
		"PAGE_DIR_FORWARD":  0,
		"PAGE_DIR_BACKWARD": 1,
	}
)

Enum value maps for PageDir.

View Source
var (
	IdentityKind_name = map[int32]string{
		0: "IDENTITY_KIND_USER",
		1: "IDENTITY_KIND_APP",
	}
	IdentityKind_value = map[string]int32{
		"IDENTITY_KIND_USER": 0,
		"IDENTITY_KIND_APP":  1,
	}
)

Enum value maps for IdentityKind.

View Source
var File_picnic_protobuf_cursor_proto protoreflect.FileDescriptor
View Source
var File_picnic_protobuf_identity_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type IdentityKind

type IdentityKind int32

buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX

const (
	IdentityKind_IDENTITY_KIND_USER IdentityKind = 0
	IdentityKind_IDENTITY_KIND_APP  IdentityKind = 1
)

func (IdentityKind) Descriptor

func (IdentityKind) Enum

func (x IdentityKind) Enum() *IdentityKind

func (IdentityKind) EnumDescriptor deprecated

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

Deprecated: Use IdentityKind.Descriptor instead.

func (IdentityKind) Number

func (IdentityKind) String

func (x IdentityKind) String() string

func (IdentityKind) Type

type PageCursor

type PageCursor struct {
	LastId string  `protobuf:"bytes,1,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"`
	Limit  uint32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Dir    PageDir `protobuf:"varint,3,opt,name=dir,proto3,enum=picnic.protobuf.PageDir" json:"dir,omitempty"`
	// contains filtered or unexported fields
}

func (*PageCursor) Descriptor deprecated

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

Deprecated: Use PageCursor.ProtoReflect.Descriptor instead.

func (*PageCursor) GetDir

func (x *PageCursor) GetDir() PageDir

func (*PageCursor) GetLastId

func (x *PageCursor) GetLastId() string

func (*PageCursor) GetLimit

func (x *PageCursor) GetLimit() uint32

func (*PageCursor) ProtoMessage

func (*PageCursor) ProtoMessage()

func (*PageCursor) ProtoReflect

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

func (*PageCursor) Reset

func (x *PageCursor) Reset()

func (*PageCursor) String

func (x *PageCursor) String() string

type PageDir

type PageDir int32

buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX

const (
	PageDir_PAGE_DIR_FORWARD  PageDir = 0
	PageDir_PAGE_DIR_BACKWARD PageDir = 1
)

func (PageDir) Descriptor

func (PageDir) Descriptor() protoreflect.EnumDescriptor

func (PageDir) Enum

func (x PageDir) Enum() *PageDir

func (PageDir) EnumDescriptor deprecated

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

Deprecated: Use PageDir.Descriptor instead.

func (PageDir) Number

func (x PageDir) Number() protoreflect.EnumNumber

func (PageDir) String

func (x PageDir) String() string

func (PageDir) Type

func (PageDir) Type() protoreflect.EnumType

type PageInfo

type PageInfo struct {
	FirstId *string `protobuf:"bytes,1,opt,name=first_id,json=firstId,proto3,oneof" json:"first_id,omitempty"`
	LastId  *string `protobuf:"bytes,2,opt,name=last_id,json=lastId,proto3,oneof" json:"last_id,omitempty"`
	HasPrev bool    `protobuf:"varint,3,opt,name=has_prev,json=hasPrev,proto3" json:"has_prev,omitempty"`
	HasNext bool    `protobuf:"varint,4,opt,name=has_next,json=hasNext,proto3" json:"has_next,omitempty"`
	Length  uint32  `protobuf:"varint,5,opt,name=length,proto3" json:"length,omitempty"`
	// contains filtered or unexported fields
}

func (*PageInfo) Descriptor deprecated

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

Deprecated: Use PageInfo.ProtoReflect.Descriptor instead.

func (*PageInfo) GetFirstId

func (x *PageInfo) GetFirstId() string

func (*PageInfo) GetHasNext

func (x *PageInfo) GetHasNext() bool

func (*PageInfo) GetHasPrev

func (x *PageInfo) GetHasPrev() bool

func (*PageInfo) GetLastId

func (x *PageInfo) GetLastId() string

func (*PageInfo) GetLength

func (x *PageInfo) GetLength() uint32

func (*PageInfo) ProtoMessage

func (*PageInfo) ProtoMessage()

func (*PageInfo) ProtoReflect

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

func (*PageInfo) Reset

func (x *PageInfo) Reset()

func (*PageInfo) String

func (x *PageInfo) String() string

Jump to

Keyboard shortcuts

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