Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(867)

Unified Diff: logdog/api/logpb/log.pb.go

Issue 2422393002: Fix sparse index handling, add index params. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: logdog/api/logpb/log.pb.go
diff --git a/logdog/api/logpb/log.pb.go b/logdog/api/logpb/log.pb.go
index d266d491c52a8ac001b0292a50c120a18dcd3a50..627de9abd881a49397d33c7f536c3bfe5eaab093 100644
--- a/logdog/api/logpb/log.pb.go
+++ b/logdog/api/logpb/log.pb.go
@@ -412,6 +412,24 @@ type LogIndex struct {
// The frequency of Entry messages is not defined; it is up to the Archivist
// process to choose a frequency.
Entries []*LogIndex_Entry `protobuf:"bytes,2,rep,name=entries" json:"entries,omitempty"`
+ // *
+ // The last prefix index in the log stream.
+ //
+ // This is optional. If zero, there is either no information about the last
+ // prefix index, or there are zero entries in the prefix.
+ LastPrefixIndex uint64 `protobuf:"varint,3,opt,name=last_prefix_index,json=lastPrefixIndex" json:"last_prefix_index,omitempty"`
+ // *
+ // The last stream index in the log stream.
+ //
+ // This is optional. If zero, there is either no information about the last
+ // stream index, or there are zero entries in the stream.
+ LastStreamIndex uint64 `protobuf:"varint,4,opt,name=last_stream_index,json=lastStreamIndex" json:"last_stream_index,omitempty"`
+ // *
+ // The number of log entries in the stream.
+ //
+ // This is optional. If zero, there is either no information about the number
+ // of log entries, or there are zero entries in the stream.
+ LogEntryCount uint64 `protobuf:"varint,5,opt,name=log_entry_count,json=logEntryCount" json:"log_entry_count,omitempty"`
}
func (m *LogIndex) Reset() { *m = LogIndex{} }
@@ -501,50 +519,54 @@ func init() {
func init() { proto.RegisterFile("github.com/luci/luci-go/logdog/api/logpb/log.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{
- // 718 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x94, 0x54, 0xdb, 0x6e, 0xd3, 0x4c,
- 0x10, 0xae, 0x13, 0xe7, 0x34, 0x4e, 0xff, 0xe6, 0x5f, 0x4e, 0xc6, 0x42, 0x50, 0x22, 0x04, 0x08,
- 0xa9, 0x0e, 0x04, 0x24, 0xaa, 0xde, 0xa5, 0x6a, 0x29, 0x95, 0xca, 0x41, 0x4b, 0x2e, 0xe0, 0x2a,
- 0x72, 0x92, 0x8d, 0x59, 0x70, 0x6c, 0x63, 0x6f, 0x50, 0xc3, 0xa3, 0xf0, 0x0a, 0x48, 0xbc, 0x01,
- 0x8f, 0xc4, 0x3b, 0xb0, 0x9e, 0xd9, 0x1c, 0x68, 0xa9, 0x10, 0x37, 0xd6, 0xec, 0xcc, 0xf7, 0xcd,
- 0xce, 0xe1, 0x5b, 0x43, 0x37, 0x94, 0xea, 0xfd, 0x6c, 0xe8, 0x8f, 0x92, 0x69, 0x27, 0x9a, 0x8d,
- 0x24, 0x7e, 0x76, 0xc2, 0xa4, 0x13, 0x25, 0xe1, 0x38, 0x09, 0x3b, 0x41, 0x2a, 0x0b, 0x33, 0x1d,
- 0x16, 0x5f, 0x3f, 0xcd, 0x12, 0x95, 0xb0, 0x0a, 0x3a, 0xbc, 0x5b, 0x61, 0x92, 0x84, 0x91, 0xe8,
- 0xa0, 0x73, 0x38, 0x9b, 0x74, 0x94, 0x9c, 0x8a, 0x5c, 0x05, 0xd3, 0x94, 0x70, 0xde, 0xcd, 0xb3,
- 0x80, 0xf1, 0x2c, 0x0b, 0x94, 0x4c, 0x62, 0x8a, 0xb7, 0x7f, 0x96, 0xe0, 0xd2, 0x49, 0x12, 0xbe,
- 0x51, 0x99, 0x08, 0xa6, 0x07, 0x22, 0x1f, 0x65, 0x32, 0x55, 0x49, 0xc6, 0xae, 0x42, 0x35, 0xcd,
- 0xc4, 0x44, 0x9e,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