209 lines
11 KiB
Go
209 lines
11 KiB
Go
// Code generated by protoc-gen-gogo.
|
|
// source: internal.proto
|
|
// DO NOT EDIT!
|
|
|
|
/*
|
|
Package internal is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
internal.proto
|
|
|
|
It has these top-level messages:
|
|
Exploration
|
|
Source
|
|
Server
|
|
Layout
|
|
Cell
|
|
Query
|
|
AlertRule
|
|
User
|
|
*/
|
|
package internal
|
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
|
import fmt "fmt"
|
|
import 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.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type Exploration struct {
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
|
|
UserID int64 `protobuf:"varint,3,opt,name=UserID,proto3" json:"UserID,omitempty"`
|
|
Data string `protobuf:"bytes,4,opt,name=Data,proto3" json:"Data,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,5,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
|
|
UpdatedAt int64 `protobuf:"varint,6,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"`
|
|
Default bool `protobuf:"varint,7,opt,name=Default,proto3" json:"Default,omitempty"`
|
|
}
|
|
|
|
func (m *Exploration) Reset() { *m = Exploration{} }
|
|
func (m *Exploration) String() string { return proto.CompactTextString(m) }
|
|
func (*Exploration) ProtoMessage() {}
|
|
func (*Exploration) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{0} }
|
|
|
|
type Source struct {
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
|
|
Type string `protobuf:"bytes,3,opt,name=Type,proto3" json:"Type,omitempty"`
|
|
Username string `protobuf:"bytes,4,opt,name=Username,proto3" json:"Username,omitempty"`
|
|
Password string `protobuf:"bytes,5,opt,name=Password,proto3" json:"Password,omitempty"`
|
|
URL string `protobuf:"bytes,6,opt,name=URL,proto3" json:"URL,omitempty"`
|
|
Default bool `protobuf:"varint,7,opt,name=Default,proto3" json:"Default,omitempty"`
|
|
Telegraf string `protobuf:"bytes,8,opt,name=Telegraf,proto3" json:"Telegraf,omitempty"`
|
|
}
|
|
|
|
func (m *Source) Reset() { *m = Source{} }
|
|
func (m *Source) String() string { return proto.CompactTextString(m) }
|
|
func (*Source) ProtoMessage() {}
|
|
func (*Source) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{1} }
|
|
|
|
type Server struct {
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
|
|
Username string `protobuf:"bytes,3,opt,name=Username,proto3" json:"Username,omitempty"`
|
|
Password string `protobuf:"bytes,4,opt,name=Password,proto3" json:"Password,omitempty"`
|
|
URL string `protobuf:"bytes,5,opt,name=URL,proto3" json:"URL,omitempty"`
|
|
SrcID int64 `protobuf:"varint,6,opt,name=SrcID,proto3" json:"SrcID,omitempty"`
|
|
}
|
|
|
|
func (m *Server) Reset() { *m = Server{} }
|
|
func (m *Server) String() string { return proto.CompactTextString(m) }
|
|
func (*Server) ProtoMessage() {}
|
|
func (*Server) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{2} }
|
|
|
|
type Layout struct {
|
|
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Application string `protobuf:"bytes,2,opt,name=Application,proto3" json:"Application,omitempty"`
|
|
Measurement string `protobuf:"bytes,3,opt,name=Measurement,proto3" json:"Measurement,omitempty"`
|
|
Cells []*Cell `protobuf:"bytes,4,rep,name=Cells" json:"Cells,omitempty"`
|
|
}
|
|
|
|
func (m *Layout) Reset() { *m = Layout{} }
|
|
func (m *Layout) String() string { return proto.CompactTextString(m) }
|
|
func (*Layout) ProtoMessage() {}
|
|
func (*Layout) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{3} }
|
|
|
|
func (m *Layout) GetCells() []*Cell {
|
|
if m != nil {
|
|
return m.Cells
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Cell struct {
|
|
X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
|
|
Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
|
|
W int32 `protobuf:"varint,3,opt,name=w,proto3" json:"w,omitempty"`
|
|
H int32 `protobuf:"varint,4,opt,name=h,proto3" json:"h,omitempty"`
|
|
Queries []*Query `protobuf:"bytes,5,rep,name=queries" json:"queries,omitempty"`
|
|
I string `protobuf:"bytes,6,opt,name=i,proto3" json:"i,omitempty"`
|
|
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
|
|
}
|
|
|
|
func (m *Cell) Reset() { *m = Cell{} }
|
|
func (m *Cell) String() string { return proto.CompactTextString(m) }
|
|
func (*Cell) ProtoMessage() {}
|
|
func (*Cell) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{4} }
|
|
|
|
func (m *Cell) GetQueries() []*Query {
|
|
if m != nil {
|
|
return m.Queries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Query struct {
|
|
Command string `protobuf:"bytes,1,opt,name=Command,proto3" json:"Command,omitempty"`
|
|
DB string `protobuf:"bytes,2,opt,name=DB,proto3" json:"DB,omitempty"`
|
|
RP string `protobuf:"bytes,3,opt,name=RP,proto3" json:"RP,omitempty"`
|
|
GroupBys []string `protobuf:"bytes,4,rep,name=GroupBys" json:"GroupBys,omitempty"`
|
|
Wheres []string `protobuf:"bytes,5,rep,name=Wheres" json:"Wheres,omitempty"`
|
|
}
|
|
|
|
func (m *Query) Reset() { *m = Query{} }
|
|
func (m *Query) String() string { return proto.CompactTextString(m) }
|
|
func (*Query) ProtoMessage() {}
|
|
func (*Query) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{5} }
|
|
|
|
type AlertRule struct {
|
|
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
JSON string `protobuf:"bytes,2,opt,name=JSON,proto3" json:"JSON,omitempty"`
|
|
SrcID int64 `protobuf:"varint,3,opt,name=SrcID,proto3" json:"SrcID,omitempty"`
|
|
KapaID int64 `protobuf:"varint,4,opt,name=KapaID,proto3" json:"KapaID,omitempty"`
|
|
}
|
|
|
|
func (m *AlertRule) Reset() { *m = AlertRule{} }
|
|
func (m *AlertRule) String() string { return proto.CompactTextString(m) }
|
|
func (*AlertRule) ProtoMessage() {}
|
|
func (*AlertRule) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{6} }
|
|
|
|
type User struct {
|
|
ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Email string `protobuf:"bytes,2,opt,name=Email,proto3" json:"Email,omitempty"`
|
|
}
|
|
|
|
func (m *User) Reset() { *m = User{} }
|
|
func (m *User) String() string { return proto.CompactTextString(m) }
|
|
func (*User) ProtoMessage() {}
|
|
func (*User) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{7} }
|
|
|
|
func init() {
|
|
proto.RegisterType((*Exploration)(nil), "internal.Exploration")
|
|
proto.RegisterType((*Source)(nil), "internal.Source")
|
|
proto.RegisterType((*Server)(nil), "internal.Server")
|
|
proto.RegisterType((*Layout)(nil), "internal.Layout")
|
|
proto.RegisterType((*Cell)(nil), "internal.Cell")
|
|
proto.RegisterType((*Query)(nil), "internal.Query")
|
|
proto.RegisterType((*AlertRule)(nil), "internal.AlertRule")
|
|
proto.RegisterType((*User)(nil), "internal.User")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("internal.proto", fileDescriptorInternal) }
|
|
|
|
var fileDescriptorInternal = []byte{
|
|
// 541 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x8c, 0x94, 0x4b, 0x8e, 0xd3, 0x4c,
|
|
0x10, 0xc7, 0xd5, 0xb1, 0x3b, 0x89, 0x2b, 0x9f, 0xf2, 0xa1, 0xd6, 0x08, 0x59, 0x88, 0x45, 0x64,
|
|
0xb1, 0x08, 0x12, 0x9a, 0x05, 0x9c, 0x20, 0x89, 0x47, 0x28, 0x30, 0x0c, 0xa1, 0x33, 0x11, 0x2b,
|
|
0x16, 0x4d, 0x52, 0x43, 0x2c, 0x39, 0xb6, 0x69, 0xdb, 0x24, 0xde, 0xb2, 0x85, 0xdb, 0x70, 0x01,
|
|
0x8e, 0x86, 0xaa, 0xdd, 0x76, 0x2c, 0xf1, 0xd0, 0xec, 0xea, 0x5f, 0x55, 0xae, 0xfe, 0xd5, 0x23,
|
|
0x81, 0x71, 0x94, 0x14, 0xa8, 0x13, 0x15, 0x5f, 0x66, 0x3a, 0x2d, 0x52, 0x31, 0x6c, 0x74, 0xf0,
|
|
0x83, 0xc1, 0xe8, 0xea, 0x94, 0xc5, 0xa9, 0x56, 0x45, 0x94, 0x26, 0x62, 0x0c, 0xbd, 0x65, 0xe8,
|
|
0xb3, 0x09, 0x9b, 0x3a, 0xb2, 0xb7, 0x0c, 0x85, 0x00, 0xf7, 0x46, 0x1d, 0xd0, 0xef, 0x4d, 0xd8,
|
|
0xd4, 0x93, 0xc6, 0x16, 0x0f, 0xa1, 0xbf, 0xc9, 0x51, 0x2f, 0x43, 0xdf, 0x31, 0x79, 0x56, 0x51,
|
|
0x6e, 0xa8, 0x0a, 0xe5, 0xbb, 0x75, 0x2e, 0xd9, 0xe2, 0x31, 0x78, 0x0b, 0x8d, 0xaa, 0xc0, 0x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