blob: 756ca75246cfd1de7df8d8d351796e3c60da983d [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: go.chromium.org/luci/logdog/api/endpoints/coordinator/logs/v1/state.proto
package logdog
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// LogStreamState is a bidirectional state value used in UpdateStream calls.
//
// LogStreamState is embeddable in Endpoints request/response structs.
type LogStreamState struct {
// ProtoVersion is the protobuf version for this stream.
ProtoVersion string `protobuf:"bytes,1,opt,name=proto_version,json=protoVersion,proto3" json:"proto_version,omitempty"`
// The time when the log stream was registered with the Coordinator.
Created *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"`
// The stream index of the log stream's terminal message. If the value is -1,
// the log is still streaming.
TerminalIndex int64 `protobuf:"varint,3,opt,name=terminal_index,json=terminalIndex,proto3" json:"terminal_index,omitempty"`
// If non-nil, the log stream is archived, and this field contains archival
// details.
Archive *LogStreamState_ArchiveInfo `protobuf:"bytes,4,opt,name=archive,proto3" json:"archive,omitempty"`
// Indicates the purged state of a log. A log that has been purged is only
// acknowledged to administrative clients.
Purged bool `protobuf:"varint,5,opt,name=purged,proto3" json:"purged,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LogStreamState) Reset() { *m = LogStreamState{} }
func (m *LogStreamState) String() string { return proto.CompactTextString(m) }
func (*LogStreamState) ProtoMessage() {}
func (*LogStreamState) Descriptor() ([]byte, []int) {
return fileDescriptor_e3bfde41f3abf9e4, []int{0}
}
func (m *LogStreamState) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LogStreamState.Unmarshal(m, b)
}
func (m *LogStreamState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LogStreamState.Marshal(b, m, deterministic)
}
func (m *LogStreamState) XXX_Merge(src proto.Message) {
xxx_messageInfo_LogStreamState.Merge(m, src)
}
func (m *LogStreamState) XXX_Size() int {
return xxx_messageInfo_LogStreamState.Size(m)
}
func (m *LogStreamState) XXX_DiscardUnknown() {
xxx_messageInfo_LogStreamState.DiscardUnknown(m)
}
var xxx_messageInfo_LogStreamState proto.InternalMessageInfo
func (m *LogStreamState) GetProtoVersion() string {
if m != nil {
return m.ProtoVersion
}
return ""
}
func (m *LogStreamState) GetCreated() *timestamp.Timestamp {
if m != nil {
return m.Created
}
return nil
}
func (m *LogStreamState) GetTerminalIndex() int64 {
if m != nil {
return m.TerminalIndex
}
return 0
}
func (m *LogStreamState) GetArchive() *LogStreamState_ArchiveInfo {
if m != nil {
return m.Archive
}
return nil
}
func (m *LogStreamState) GetPurged() bool {
if m != nil {
return m.Purged
}
return false
}
// ArchiveInfo contains archive details for the log stream.
type LogStreamState_ArchiveInfo struct {
// The Google Storage URL where the log stream's index is archived.
IndexUrl string `protobuf:"bytes,1,opt,name=index_url,json=indexUrl,proto3" json:"index_url,omitempty"`
// The Google Storage URL where the log stream's raw stream data is archived.
StreamUrl string `protobuf:"bytes,2,opt,name=stream_url,json=streamUrl,proto3" json:"stream_url,omitempty"`
// The Google Storage URL where the log stream's assembled data is archived.
DataUrl string `protobuf:"bytes,3,opt,name=data_url,json=dataUrl,proto3" json:"data_url,omitempty"`
// If true, all log entries between 0 and terminal_index were archived. If
// false, this indicates that the log stream was not completely loaded into
// intermediate storage when the archival interval expired.
Complete bool `protobuf:"varint,4,opt,name=complete,proto3" json:"complete,omitempty"`
// The number of log
LogEntryCount int64 `protobuf:"varint,5,opt,name=log_entry_count,json=logEntryCount,proto3" json:"log_entry_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LogStreamState_ArchiveInfo) Reset() { *m = LogStreamState_ArchiveInfo{} }
func (m *LogStreamState_ArchiveInfo) String() string { return proto.CompactTextString(m) }
func (*LogStreamState_ArchiveInfo) ProtoMessage() {}
func (*LogStreamState_ArchiveInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_e3bfde41f3abf9e4, []int{0, 0}
}
func (m *LogStreamState_ArchiveInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LogStreamState_ArchiveInfo.Unmarshal(m, b)
}
func (m *LogStreamState_ArchiveInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LogStreamState_ArchiveInfo.Marshal(b, m, deterministic)
}
func (m *LogStreamState_ArchiveInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_LogStreamState_ArchiveInfo.Merge(m, src)
}
func (m *LogStreamState_ArchiveInfo) XXX_Size() int {
return xxx_messageInfo_LogStreamState_ArchiveInfo.Size(m)
}
func (m *LogStreamState_ArchiveInfo) XXX_DiscardUnknown() {
xxx_messageInfo_LogStreamState_ArchiveInfo.DiscardUnknown(m)
}
var xxx_messageInfo_LogStreamState_ArchiveInfo proto.InternalMessageInfo
func (m *LogStreamState_ArchiveInfo) GetIndexUrl() string {
if m != nil {
return m.IndexUrl
}
return ""
}
func (m *LogStreamState_ArchiveInfo) GetStreamUrl() string {
if m != nil {
return m.StreamUrl
}
return ""
}
func (m *LogStreamState_ArchiveInfo) GetDataUrl() string {
if m != nil {
return m.DataUrl
}
return ""
}
func (m *LogStreamState_ArchiveInfo) GetComplete() bool {
if m != nil {
return m.Complete
}
return false
}
func (m *LogStreamState_ArchiveInfo) GetLogEntryCount() int64 {
if m != nil {
return m.LogEntryCount
}
return 0
}
func init() {
proto.RegisterType((*LogStreamState)(nil), "logdog.LogStreamState")
proto.RegisterType((*LogStreamState_ArchiveInfo)(nil), "logdog.LogStreamState.ArchiveInfo")
}
func init() {
proto.RegisterFile("go.chromium.org/luci/logdog/api/endpoints/coordinator/logs/v1/state.proto", fileDescriptor_e3bfde41f3abf9e4)
}
var fileDescriptor_e3bfde41f3abf9e4 = []byte{
// 361 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xcd, 0x6a, 0xe3, 0x30,
0x14, 0x85, 0x71, 0x3c, 0x93, 0x38, 0xca, 0x24, 0x03, 0x5a, 0x0c, 0x1e, 0x0f, 0xc3, 0x98, 0x0c,
0x33, 0x78, 0x25, 0xd1, 0x9f, 0x65, 0x37, 0xa5, 0x74, 0x11, 0xe8, 0xca, 0x69, 0xbb, 0x35, 0x8a,
0xad, 0x28, 0x02, 0x59, 0xd7, 0xc8, 0x72, 0x68, 0x9f, 0xa3, 0x2f, 0xd1, 0xc7, 0x2c, 0x92, 0xe2,
0xd2, 0x2e, 0xef, 0x77, 0xce, 0xd5, 0x39, 0x57, 0x68, 0x23, 0x80, 0xd4, 0x07, 0x03, 0xad, 0x1c,
0x5a, 0x02, 0x46, 0x50, 0x35, 0xd4, 0x92, 0x2a, 0x10, 0x0d, 0x08, 0xca, 0x3a, 0x49, 0xb9, 0x6e,
0x3a, 0x90, 0xda, 0xf6, 0xb4, 0x06, 0x30, 0x8d, 0xd4, 0xcc, 0x82, 0x71, 0x86, 0x9e, 0x1e, 0xcf,
0x68, 0x6f, 0x99, 0xe5, 0xa4, 0x33, 0x60, 0x01, 0x4f, 0xc3, 0x56, 0xf6, 0x47, 0x00, 0x08, 0xc5,
0xa9, 0xa7, 0xbb, 0x61, 0x4f, 0xad, 0x6c, 0x79, 0x6f, 0x59, 0xdb, 0x05, 0xe3, 0xfa, 0x25, 0x46,
0xab, 0x3b, 0x10, 0x5b, 0x6b, 0x38, 0x6b, 0xb7, 0xee, 0x05, 0xfc, 0x17, 0x2d, 0xbd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