Chromium Code Reviews| Index: logdog/api/logpb/log.proto |
| diff --git a/logdog/api/logpb/log.proto b/logdog/api/logpb/log.proto |
| index 675a6848bbefe17cb9bcb2e247b1a6a619566dd6..9d280bbea187544bf73c599e5001d93b2f93d8d5 100644 |
| --- a/logdog/api/logpb/log.proto |
| +++ b/logdog/api/logpb/log.proto |
| @@ -263,4 +263,26 @@ message LogIndex { |
| * process to choose a frequency. |
| */ |
| repeated Entry entries = 2; |
| + |
| + /** |
|
dnj
2016/10/17 22:12:12
New fields, backwards-compatible with old protobuf
|
| + * 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. |
| + */ |
| + uint64 last_prefix_index = 3; |
| + /** |
| + * 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. |
| + */ |
| + uint64 last_stream_index = 4; |
| + /** |
| + * 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. |
| + */ |
| + uint64 log_entry_count = 5; |
| } |