readtoken_go_proto

package
Version: v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_readtoken_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ListUserRevisionsToken

type ListUserRevisionsToken struct {

	// request is the query being paginated over, used for validation of
	// subsequent requests. Fields that are allowed to change between requests
	// (such as page_token or last_verified_tree_size) will not be validated and
	// should be omitted for brevity.
	Request *keytransparency_go_proto.ListUserRevisionsRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// revisions_returned is a running tally of the number of revisions that have
	// been returned across paginated requests in this query.
	RevisionsReturned int64 `protobuf:"varint,2,opt,name=revisions_returned,json=revisionsReturned,proto3" json:"revisions_returned,omitempty"`
	// contains filtered or unexported fields
}

ListUserRevisions token can be serialized and handed to users for pagination when listing revisions.

func (*ListUserRevisionsToken) Descriptor deprecated

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

Deprecated: Use ListUserRevisionsToken.ProtoReflect.Descriptor instead.

func (*ListUserRevisionsToken) GetRequest

func (*ListUserRevisionsToken) GetRevisionsReturned

func (x *ListUserRevisionsToken) GetRevisionsReturned() int64

func (*ListUserRevisionsToken) ProtoMessage

func (*ListUserRevisionsToken) ProtoMessage()

func (*ListUserRevisionsToken) ProtoReflect added in v0.3.0

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

func (*ListUserRevisionsToken) Reset

func (x *ListUserRevisionsToken) Reset()

func (*ListUserRevisionsToken) String

func (x *ListUserRevisionsToken) String() string

type ReadToken

type ReadToken struct {

	// slice_index identifies the source for reading.
	SliceIndex int64 `protobuf:"varint,1,opt,name=slice_index,json=sliceIndex,proto3" json:"slice_index,omitempty"`
	// start_watermark identifies the lowest (exclusive) row to return.
	StartWatermark uint64 `protobuf:"varint,4,opt,name=start_watermark,json=startWatermark,proto3" json:"start_watermark,omitempty"`
	// contains filtered or unexported fields
}

ReadToken can be serialized and handed to users for pagination.

func (*ReadToken) Descriptor deprecated

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

Deprecated: Use ReadToken.ProtoReflect.Descriptor instead.

func (*ReadToken) GetSliceIndex

func (x *ReadToken) GetSliceIndex() int64

func (*ReadToken) GetStartWatermark

func (x *ReadToken) GetStartWatermark() uint64

func (*ReadToken) ProtoMessage

func (*ReadToken) ProtoMessage()

func (*ReadToken) ProtoReflect added in v0.3.0

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

func (*ReadToken) Reset

func (x *ReadToken) Reset()

func (*ReadToken) String

func (x *ReadToken) String() string

Source Files

Jump to

Keyboard shortcuts

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