Documentation ¶
Index ¶
- Variables
- type ListUserRevisionsToken
- func (*ListUserRevisionsToken) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRevisionsToken) GetRequest() *keytransparency_go_proto.ListUserRevisionsRequest
- func (x *ListUserRevisionsToken) GetRevisionsReturned() int64
- func (*ListUserRevisionsToken) ProtoMessage()
- func (x *ListUserRevisionsToken) ProtoReflect() protoreflect.Message
- func (x *ListUserRevisionsToken) Reset()
- func (x *ListUserRevisionsToken) String() string
- type ReadToken
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 (x *ListUserRevisionsToken) GetRequest() *keytransparency_go_proto.ListUserRevisionsRequest
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) GetSliceIndex ¶
func (*ReadToken) GetStartWatermark ¶
func (*ReadToken) ProtoMessage ¶
func (*ReadToken) ProtoMessage()
func (*ReadToken) ProtoReflect ¶ added in v0.3.0
func (x *ReadToken) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.