153 lines
5.7 KiB
Go
153 lines
5.7 KiB
Go
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||
|
// source: audithistory.proto
|
||
|
|
||
|
package internalpb
|
||
|
|
||
|
import (
|
||
|
fmt "fmt"
|
||
|
math "math"
|
||
|
time "time"
|
||
|
|
||
|
proto "github.com/gogo/protobuf/proto"
|
||
|
)
|
||
|
|
||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||
|
var _ = proto.Marshal
|
||
|
var _ = fmt.Errorf
|
||
|
var _ = math.Inf
|
||
|
var _ = time.Kitchen
|
||
|
|
||
|
// 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.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
||
|
|
||
|
type AuditHistory struct {
|
||
|
Windows []*AuditWindow `protobuf:"bytes,1,rep,name=windows,proto3" json:"windows,omitempty"`
|
||
|
Score float64 `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *AuditHistory) Reset() { *m = AuditHistory{} }
|
||
|
func (m *AuditHistory) String() string { return proto.CompactTextString(m) }
|
||
|
func (*AuditHistory) ProtoMessage() {}
|
||
|
func (*AuditHistory) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_2ab8e94de62e54ec, []int{0}
|
||
|
}
|
||
|
func (m *AuditHistory) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_AuditHistory.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *AuditHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_AuditHistory.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *AuditHistory) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_AuditHistory.Merge(m, src)
|
||
|
}
|
||
|
func (m *AuditHistory) XXX_Size() int {
|
||
|
return xxx_messageInfo_AuditHistory.Size(m)
|
||
|
}
|
||
|
func (m *AuditHistory) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_AuditHistory.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_AuditHistory proto.InternalMessageInfo
|
||
|
|
||
|
func (m *AuditHistory) GetWindows() []*AuditWindow {
|
||
|
if m != nil {
|
||
|
return m.Windows
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *AuditHistory) GetScore() float64 {
|
||
|
if m != nil {
|
||
|
return m.Score
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type AuditWindow struct {
|
||
|
WindowStart time.Time `protobuf:"bytes,1,opt,name=window_start,json=windowStart,proto3,stdtime" json:"window_start"`
|
||
|
OnlineCount int32 `protobuf:"varint,2,opt,name=online_count,json=onlineCount,proto3" json:"online_count,omitempty"`
|
||
|
TotalCount int32 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *AuditWindow) Reset() { *m = AuditWindow{} }
|
||
|
func (m *AuditWindow) String() string { return proto.CompactTextString(m) }
|
||
|
func (*AuditWindow) ProtoMessage() {}
|
||
|
func (*AuditWindow) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_2ab8e94de62e54ec, []int{1}
|
||
|
}
|
||
|
func (m *AuditWindow) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_AuditWindow.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *AuditWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_AuditWindow.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *AuditWindow) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_AuditWindow.Merge(m, src)
|
||
|
}
|
||
|
func (m *AuditWindow) XXX_Size() int {
|
||
|
return xxx_messageInfo_AuditWindow.Size(m)
|
||
|
}
|
||
|
func (m *AuditWindow) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_AuditWindow.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_AuditWindow proto.InternalMessageInfo
|
||
|
|
||
|
func (m *AuditWindow) GetWindowStart() time.Time {
|
||
|
if m != nil {
|
||
|
return m.WindowStart
|
||
|
}
|
||
|
return time.Time{}
|
||
|
}
|
||
|
|
||
|
func (m *AuditWindow) GetOnlineCount() int32 {
|
||
|
if m != nil {
|
||
|
return m.OnlineCount
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (m *AuditWindow) GetTotalCount() int32 {
|
||
|
if m != nil {
|
||
|
return m.TotalCount
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*AuditHistory)(nil), "audithistory.AuditHistory")
|
||
|
proto.RegisterType((*AuditWindow)(nil), "audithistory.AuditWindow")
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("audithistory.proto", fileDescriptor_2ab8e94de62e54ec) }
|
||
|
|
||
|
var fileDescriptor_2ab8e94de62e54ec = []byte{
|
||
|
// 269 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0x31, 0x4e, 0xc3, 0x30,
|
||
|
0x14, 0x86, 0x31, 0x55, 0x01, 0xd9, 0x99, 0x2c, 0x86, 0x90, 0x25, 0xa1, 0x08, 0x29, 0x93, 0x23,
|
||
|
0xb5, 0x27, 0xa0, 0x0c, 0x30,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