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

Side by Side Diff: common/api/logdog_coordinator/services/v1/service.pb.go

Issue 1863973002: LogDog: Update to archival V2. (Closed) Base URL: https://github.com/luci/luci-go@grpcutil-errors
Patch Set: Minor fixes, works in dev now. Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Code generated by protoc-gen-go. 1 // Code generated by protoc-gen-go.
2 // source: service.proto 2 // source: service.proto
3 // DO NOT EDIT! 3 // DO NOT EDIT!
4 4
5 /* 5 /*
6 Package logdog is a generated protocol buffer package. 6 Package logdog is a generated protocol buffer package.
7 7
8 It is generated from these files: 8 It is generated from these files:
9 service.proto 9 service.proto
10 state.proto 10 state.proto
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 return nil 147 return nil
148 } 148 }
149 149
150 // TerminateStreamRequest is the set of caller-supplied data for the 150 // TerminateStreamRequest is the set of caller-supplied data for the
151 // TerminateStream service endpoint. 151 // TerminateStream service endpoint.
152 type TerminateStreamRequest struct { 152 type TerminateStreamRequest struct {
153 // The log stream's path. 153 // The log stream's path.
154 Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` 154 Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
155 // The log stream's secret. 155 // The log stream's secret.
156 Secret []byte `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,om itempty"` 156 Secret []byte `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,om itempty"`
157 » // The terminal index of the stream. 157 » // The number of entries in the log stream.
158 TerminalIndex int64 `protobuf:"varint,3,opt,name=terminal_index,json=ter minalIndex" json:"terminal_index,omitempty"` 158 TerminalIndex int64 `protobuf:"varint,3,opt,name=terminal_index,json=ter minalIndex" json:"terminal_index,omitempty"`
159 } 159 }
160 160
161 func (m *TerminateStreamRequest) Reset() { *m = TerminateStre amRequest{} } 161 func (m *TerminateStreamRequest) Reset() { *m = TerminateStre amRequest{} }
162 func (m *TerminateStreamRequest) String() string { return proto.Compa ctTextString(m) } 162 func (m *TerminateStreamRequest) String() string { return proto.Compa ctTextString(m) }
163 func (*TerminateStreamRequest) ProtoMessage() {} 163 func (*TerminateStreamRequest) ProtoMessage() {}
164 func (*TerminateStreamRequest) Descriptor() ([]byte, []int) { return fileDescrip tor0, []int{5} } 164 func (*TerminateStreamRequest) Descriptor() ([]byte, []int) { return fileDescrip tor0, []int{5} }
165 165
166 // ArchiveStreamRequest is the set of caller-supplied data for the ArchiveStream 166 // ArchiveStreamRequest is the set of caller-supplied data for the ArchiveStream
167 // service endpoint. 167 // service endpoint.
168 type ArchiveStreamRequest struct { 168 type ArchiveStreamRequest struct {
169 // The path of the log stream that was archived. 169 // The path of the log stream that was archived.
170 Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` 170 Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
171 » // If true, the archive includes the full set of log stream entries betw een 171 » // The number of log entries that were archived.
172 » // [0..terminal_index]. 172 » LogEntryCount int64 `protobuf:"varint,2,opt,name=log_entry_count,json=lo gEntryCount" json:"log_entry_count,omitempty"`
173 » Complete bool `protobuf:"varint,2,opt,name=complete" json:"complete,omit empty"`
174 // The highest log stream index that was archived. 173 // The highest log stream index that was archived.
175 TerminalIndex int64 `protobuf:"varint,3,opt,name=terminal_index,json=ter minalIndex" json:"terminal_index,omitempty"` 174 TerminalIndex int64 `protobuf:"varint,3,opt,name=terminal_index,json=ter minalIndex" json:"terminal_index,omitempty"`
175 // If true, there was an archival error, and the referenced streams shou ld be
176 // considered invalid.
177 Error bool `protobuf:"varint,4,opt,name=error" json:"error,omitempty"`
176 // The archive URL of the log stream's stream data. 178 // The archive URL of the log stream's stream data.
177 StreamUrl string `protobuf:"bytes,10,opt,name=stream_url,json=streamUrl" json:"stream_url,omitempty"` 179 StreamUrl string `protobuf:"bytes,10,opt,name=stream_url,json=streamUrl" json:"stream_url,omitempty"`
178 // The size of the log stream's stream data. 180 // The size of the log stream's stream data.
179 StreamSize int64 `protobuf:"varint,11,opt,name=stream_size,json=streamSi ze" json:"stream_size,omitempty"` 181 StreamSize int64 `protobuf:"varint,11,opt,name=stream_size,json=streamSi ze" json:"stream_size,omitempty"`
180 // The archive URL of the log stream's index data. 182 // The archive URL of the log stream's index data.
181 IndexUrl string `protobuf:"bytes,20,opt,name=index_url,json=indexUrl" js on:"index_url,omitempty"` 183 IndexUrl string `protobuf:"bytes,20,opt,name=index_url,json=indexUrl" js on:"index_url,omitempty"`
182 // The size of the log stream's index data. 184 // The size of the log stream's index data.
183 IndexSize int64 `protobuf:"varint,21,opt,name=index_size,json=indexSize" json:"index_size,omitempty"` 185 IndexSize int64 `protobuf:"varint,21,opt,name=index_size,json=indexSize" json:"index_size,omitempty"`
184 // The archive URL of the log stream's binary data. 186 // The archive URL of the log stream's binary data.
185 DataUrl string `protobuf:"bytes,30,opt,name=data_url,json=dataUrl" json: "data_url,omitempty"` 187 DataUrl string `protobuf:"bytes,30,opt,name=data_url,json=dataUrl" json: "data_url,omitempty"`
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 }, 441 },
440 { 442 {
441 MethodName: "ArchiveStream", 443 MethodName: "ArchiveStream",
442 Handler: _Services_ArchiveStream_Handler, 444 Handler: _Services_ArchiveStream_Handler,
443 }, 445 },
444 }, 446 },
445 Streams: []grpc.StreamDesc{}, 447 Streams: []grpc.StreamDesc{},
446 } 448 }
447 449
448 var fileDescriptor0 = []byte{ 450 var fileDescriptor0 = []byte{
449 » // 588 bytes of a gzipped FileDescriptorProto 451 » // 611 bytes of a gzipped FileDescriptorProto
450 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x53, 0x5d, 0x6f, 0x12, 0x4d, 452 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x53, 0x51, 0x6f, 0x12, 0x4d,
451 » 0x14, 0x0e, 0x94, 0x97, 0x17, 0x0e, 0x50, 0xed, 0x49, 0x4b, 0x60, 0x6b, 0x5b, 0x83, 0x31, 0xf1, 453 » 0x14, 0x0d, 0x2d, 0xe5, 0x83, 0x0b, 0xb4, 0x5f, 0x27, 0x94, 0xc0, 0xd6, 0xb6, 0x06, 0xa3, 0xf1,
452 » 0x42, 0x97, 0x04, 0x2f, 0x9b, 0x98, 0x98, 0xda, 0x98, 0x26, 0x4d, 0x34, 0x8b, 0xf6, 0x52, 0xb2, 454 » 0x41, 0x97, 0x04, 0x1f, 0x9b, 0x98, 0x18, 0x24, 0xa6, 0x49, 0x13, 0xcd, 0xa2, 0x7d, 0x74, 0xb3,
453 » 0x2c, 0xd3, 0x65, 0xe2, 0xb2, 0xb3, 0xce, 0x0c, 0x44, 0xbd, 0xf3, 0x5f, 0x78, 0xeb, 0x5f, 0xf4, 455 » 0x2c, 0xd3, 0x65, 0xe3, 0xb2, 0xb3, 0xce, 0xcc, 0x12, 0xeb, 0x9b, 0xff, 0xc2, 0xff, 0xe3, 0x3f,
454 » 0x17, 0xb8, 0x73, 0x66, 0x16, 0x5a, 0x84, 0xd8, 0xf4, 0x66, 0x61, 0xce, 0xf3, 0x71, 0xe6, 0xe3, 456 » 0xf2, 0x17, 0x38, 0x73, 0x67, 0x16, 0x5a, 0x84, 0xd8, 0xf4, 0x65, 0x61, 0xce, 0xb9, 0xe7, 0xdc,
455 » 0x39, 0xd0, 0x52, 0x4c, 0x2e, 0x78, 0xc4, 0xfc, 0x4c, 0x0a, 0x2d, 0xb0, 0x9a, 0x88, 0x78, 0x22, 457 » 0x3b, 0xbb, 0xe7, 0x42, 0x53, 0x50, 0xbe, 0x88, 0x43, 0xea, 0x66, 0x9c, 0x49, 0x46, 0x2a, 0x09,
456 » 0x62, 0xaf, 0xa1, 0x74, 0xa8, 0x5d, 0xd1, 0x3b, 0x8d, 0xb9, 0x9e, 0xce, 0xc7, 0x7e, 0x24, 0x66, 458 » 0x8b, 0xa6, 0x2c, 0x72, 0xea, 0x42, 0x06, 0xd2, 0x82, 0xce, 0x79, 0x14, 0xcb, 0x59, 0x3e, 0x71,
457 » 0xfd, 0x64, 0x1e, 0x71, 0xfa, 0xbc, 0x88, 0x45, 0x3f, 0x2f, 0xcc, 0x44, 0xda, 0x27, 0x56, 0xdf, 459 » 0x43, 0x36, 0xef, 0x27, 0x79, 0x18, 0xe3, 0xe3, 0x65, 0xc4, 0xfa, 0x0a, 0x98, 0xb3, 0xb4, 0x8f,
458 » 0x2a, 0xcd, 0x4f, 0x36, 0x36, 0x5f, 0x27, 0x3e, 0x8c, 0x85, 0x88, 0x13, 0x66, 0x49, 0xe3, 0xf9, 460 » 0x55, 0x7d, 0xa3, 0xd4, 0x3f, 0xd9, 0x44, 0x3f, 0xad, 0xf8, 0x38, 0x62, 0x2c, 0x4a, 0xa8, 0x29,
459 » 0x75, 0x9f, 0xcd, 0x32, 0xfd, 0xcd, 0x82, 0xbd, 0x1f, 0x25, 0xd8, 0x7b, 0xcb, 0xf4, 0x99, 0x48, 461 » 0x9a, 0xe4, 0xd7, 0x7d, 0x3a, 0xcf, 0xe4, 0x8d, 0x21, 0x7b, 0x3f, 0x4a, 0x70, 0xf8, 0x8e, 0xca,
460 » 0xaf, 0x79, 0x1c, 0x30, 0x95, 0x89, 0x54, 0x31, 0x7c, 0x0e, 0x18, 0x51, 0x65, 0xe4, 0x36, 0x37, 462 » 0x21, 0x4b, 0xaf, 0xe3, 0xc8, 0xa3, 0x22, 0x63, 0xa9, 0xa0, 0xe4, 0x05, 0x90, 0x10, 0x11, 0xdf,
461 » 0x9a, 0xcb, 0xa4, 0x53, 0x7a, 0x5c, 0x7a, 0x56, 0x0f, 0x1e, 0x5a, 0x64, 0x68, 0x81, 0x8f, 0x32, 463 » 0x0e, 0xe7, 0xe7, 0x3c, 0xe9, 0x94, 0x1e, 0x97, 0x9e, 0xd7, 0xbc, 0xff, 0x0d, 0x33, 0x36, 0xc4,
462 » 0xc1, 0x23, 0x80, 0x25, 0x5b, 0x77, 0xca, 0xc4, 0xaa, 0x17, 0x2c, 0x8d, 0x27, 0xd0, 0x70, 0x70, 464 » 0x27, 0x9e, 0x90, 0x13, 0x80, 0x65, 0xb5, 0xec, 0xec, 0x60, 0x55, 0xad, 0xa8, 0x92, 0xe4, 0x0c,
463 » 0x16, 0xea, 0x69, 0x67, 0x87, 0x70, 0xa7, 0x78, 0x9f, 0x57, 0x7a, 0x3f, 0x4b, 0x70, 0x10, 0xb0, 465 » 0xea, 0x96, 0xce, 0x02, 0x39, 0xeb, 0xec, 0x22, 0x6f, 0x15, 0x1f, 0x14, 0xd2, 0xfb, 0x59, 0x82,
464 » 0x98, 0x2b, 0xcd, 0xe4, 0x50, 0x4b, 0x16, 0xce, 0x02, 0xf6, 0x65, 0xce, 0x94, 0x46, 0x84, 0x0a, 466 » 0x23, 0x8f, 0x46, 0xb1, 0x90, 0x94, 0x8f, 0x25, 0xa7, 0xc1, 0xdc, 0xa3, 0x5f, 0x73, 0x2a, 0x24,
465 » 0x69, 0x6c, 0x67, 0xfa, 0x8f, 0x6d, 0xa8, 0x2a, 0x16, 0x49, 0xd7, 0xa9, 0x19, 0xb8, 0x15, 0x3e, 467 » 0x21, 0x50, 0x46, 0x8d, 0xe9, 0x8c, 0xff, 0x49, 0x1b, 0x2a, 0x82, 0x86, 0xdc, 0x76, 0x6a, 0x78,
466 » 0x81, 0x16, 0x1d, 0x69, 0xb4, 0x60, 0x52, 0x71, 0x91, 0xba, 0x46, 0x4d, 0x2a, 0x5e, 0xd9, 0x1a, 468 » 0xf6, 0x44, 0x9e, 0x40, 0x13, 0xaf, 0xe4, 0x2f, 0x28, 0x17, 0x31, 0x4b, 0x6d, 0xa3, 0x06, 0x82,
467 » 0xfa, 0x50, 0x99, 0x30, 0x15, 0x75, 0x2a, 0x39, 0xd6, 0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48, 0x6c, 0xe9, 0xa4, 0xed, 0x42, 0x6d, 0x12, 0xea, 0x90, 480 » 0xc5, 0xd9, 0xd2, 0x22, 0xfe, 0x4e, 0x3b, 0x75, 0x34, 0xb6, 0x8a, 0xb1, 0x42, 0xc8, 0x31, 0xd4,
479 » 0xa4, 0xc7, 0x24, 0xfd, 0xdf, 0xac, 0x8d, 0x32, 0xb7, 0x25, 0x88, 0x84, 0x27, 0x24, 0x24, 0xae, 481 » 0xb0, 0x27, 0xca, 0x5b, 0x28, 0xaf, 0x22, 0x60, 0x77, 0xc5, 0x90, 0x28, 0x3e, 0x42, 0xb1, 0x29,
480 » 0xd1, 0x0d, 0x7e, 0x97, 0xa1, 0xe6, 0xe6, 0x4d, 0xe1, 0x2b, 0xa8, 0x2f, 0x07, 0x16, 0xdb, 0xbe, 482 » 0x47, 0x6d, 0x17, 0xaa, 0xd3, 0x40, 0x06, 0x28, 0x3d, 0x45, 0xe9, 0x7f, 0xfa, 0xac, 0x95, 0xca,
481 » 0x1d, 0x6e, 0xbf, 0x18, 0x6e, 0xff, 0xdc, 0x0c, 0xb7, 0xd7, 0x2d, 0x5e, 0xfd, 0xef, 0xd9, 0x7e, 483 » 0x16, 0x29, 0x14, 0x9e, 0xa1, 0x10, 0x6b, 0xb5, 0x6e, 0xf0, 0x7b, 0x07, 0xaa, 0x76, 0x23, 0x05,
482 » 0x07, 0xbb, 0xb7, 0x23, 0x8d, 0x47, 0x05, 0x79, 0xe3, 0x10, 0x7a, 0xc7, 0xdb, 0x60, 0x67, 0x78, 484 » 0x79, 0x0d, 0xb5, 0xe5, 0x4a, 0x93, 0xb6, 0x6b, 0xd6, 0xdf, 0x2d, 0xd6, 0xdf, 0x1d, 0xe9, 0xf5,
483 » 0x06, 0xb0, 0x8a, 0x21, 0x76, 0x57, 0x79, 0x5b, 0xcb, 0xb5, 0xe7, 0x6d, 0x82, 0x9c, 0xc9, 0x05, 485 » 0x77, 0xba, 0x45, 0x2e, 0xfe, 0xde, 0xfe, 0xf7, 0xb0, 0x7f, 0x37, 0xf4, 0xe4, 0xa4, 0x28, 0xde,
484 » 0x3c, 0x58, 0xcb, 0x1c, 0x2e, 0xfb, 0x6e, 0x0e, 0xa3, 0xb7, 0xe5, 0xec, 0x78, 0x0e, 0xad, 0x5b, 486 » 0xb8, 0xa6, 0xce, 0xe9, 0x36, 0xda, 0x1a, 0x0e, 0x01, 0x56, 0x41, 0x25, 0xdd, 0x55, 0x22, 0xd7,
485 » 0x81, 0xc2, 0x47, 0x85, 0xd1, 0xa6, 0x9c, 0x6d, 0xb3, 0x19, 0x57, 0x69, 0xfd, 0xf2, 0x4f, 0x00, 487 » 0x92, 0xef, 0x38, 0x9b, 0x28, 0x6b, 0x72, 0x01, 0x07, 0x6b, 0xa9, 0x24, 0xcb, 0xbe, 0x9b, 0xe3,
486 » 0x00, 0x00, 0xff, 0xff, 0x99, 0xc8, 0x1b, 0x2f, 0xa0, 0x05, 0x00, 0x00, 488 » 0xea, 0x6c, 0xb9, 0x3b, 0x19, 0x41, 0xf3, 0x4e, 0xe4, 0xc8, 0xa3, 0xc2, 0x68, 0x53, 0x12, 0xb7,
489 » 0xd9, 0x4c, 0x2a, 0x78, 0x7e, 0xf5, 0x27, 0x00, 0x00, 0xff, 0xff, 0x81, 0xf4, 0x67, 0xc5, 0xc2,
490 » 0x05, 0x00, 0x00,
487 } 491 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698