blob: 011b23afeb987bf1f860b92ff655dee0555f91e2 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: go.chromium.org/luci/logdog/api/endpoints/coordinator/services/v1/state.proto
package logdog
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
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 the log stream state value communicated to services.
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 log stream's secret.
//
// Note that the secret is returned! This is okay, since this endpoint is only
// accessible to trusted services. The secret can be cached by services to
// validate stream information without needing to ping the Coordinator in
// between each update.
Secret []byte `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,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 the log stream has been archived.
Archived bool `protobuf:"varint,4,opt,name=archived,proto3" json:"archived,omitempty"`
// If the log stream has been purged.
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_aa585312e55e4e16, []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) GetSecret() []byte {
if m != nil {
return m.Secret
}
return nil
}
func (m *LogStreamState) GetTerminalIndex() int64 {
if m != nil {
return m.TerminalIndex
}
return 0
}
func (m *LogStreamState) GetArchived() bool {
if m != nil {
return m.Archived
}
return false
}
func (m *LogStreamState) GetPurged() bool {
if m != nil {
return m.Purged
}
return false
}
func init() {
proto.RegisterType((*LogStreamState)(nil), "logdog.LogStreamState")
}
func init() {
proto.RegisterFile("go.chromium.org/luci/logdog/api/endpoints/coordinator/services/v1/state.proto", fileDescriptor_aa585312e55e4e16)
}
var fileDescriptor_aa585312e55e4e16 = []byte{
// 222 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0x8e, 0xc1, 0x4a, 0xc4, 0x30,
0x10, 0x40, 0x89, 0xab, 0x65, 0x0d, 0xbb, 0x7b, 0xc8, 0x41, 0x82, 0xa7, 0xa2, 0x08, 0x3d, 0x35,
0x88, 0x5f, 0x21, 0xe8, 0xa5, 0x0b, 0x5e, 0x97, 0x98, 0x0c, 0xd9, 0x81, 0x36, 0x53, 0x26, 0x69,
0xf1, 0x93, 0xfc, 0x4c, 0x69, 0xb6, 0xee, 0xf1, 0xbd, 0x79, 0x33, 0x8c, 0xfc, 0x0c, 0xd4, 0xba,
0x33, 0xd3, 0x80, 0x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