multicursor

package
v0.0.0-...-650f6e2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package multicursor contains protos for Cursors

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_luci_gae_service_datastore_internal_protos_multicursor_cursors_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Cursors

type Cursors struct {
	Version uint64   `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // currently 0
	Cursors []string `protobuf:"bytes,2,rep,name=cursors,proto3" json:"cursors,omitempty"`  // list of cursors
	// magic_number exists to make it easier to determine if this is a
	// multicursor. There is a small but real chance that a base64 cursor
	// representation does represent a valid multicursor. This should
	// increase our chances in such a situation. The value is always 0xA455
	MagicNumber int64 `protobuf:"varint,3,opt,name=magic_number,json=magicNumber,proto3" json:"magic_number,omitempty"`
	// contains filtered or unexported fields
}

Cursors is a structure containing zero or more cursors. This is used for embedding multiple cursors in a single blob/string.

func (*Cursors) Descriptor deprecated

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

Deprecated: Use Cursors.ProtoReflect.Descriptor instead.

func (*Cursors) GetCursors

func (x *Cursors) GetCursors() []string

func (*Cursors) GetMagicNumber

func (x *Cursors) GetMagicNumber() int64

func (*Cursors) GetVersion

func (x *Cursors) GetVersion() uint64

func (*Cursors) ProtoMessage

func (*Cursors) ProtoMessage()

func (*Cursors) ProtoReflect

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

func (*Cursors) Reset

func (x *Cursors) Reset()

func (*Cursors) String

func (x *Cursors) String() string

Jump to

Keyboard shortcuts

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