273 lines
9.1 KiB
Go
273 lines
9.1 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: internal/meta.proto
|
|
|
|
package tsdb
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/gogo/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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type Series struct {
|
|
Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
|
|
Tags []*Tag `protobuf:"bytes,2,rep,name=Tags,proto3" json:"Tags,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Series) Reset() { *m = Series{} }
|
|
func (m *Series) String() string { return proto.CompactTextString(m) }
|
|
func (*Series) ProtoMessage() {}
|
|
func (*Series) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_59b0956366e72083, []int{0}
|
|
}
|
|
func (m *Series) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Series.Unmarshal(m, b)
|
|
}
|
|
func (m *Series) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Series.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Series) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Series.Merge(m, src)
|
|
}
|
|
func (m *Series) XXX_Size() int {
|
|
return xxx_messageInfo_Series.Size(m)
|
|
}
|
|
func (m *Series) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Series.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Series proto.InternalMessageInfo
|
|
|
|
func (m *Series) GetKey() string {
|
|
if m != nil {
|
|
return m.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Series) GetTags() []*Tag {
|
|
if m != nil {
|
|
return m.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Tag struct {
|
|
Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
|
|
Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Tag) Reset() { *m = Tag{} }
|
|
func (m *Tag) String() string { return proto.CompactTextString(m) }
|
|
func (*Tag) ProtoMessage() {}
|
|
func (*Tag) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_59b0956366e72083, []int{1}
|
|
}
|
|
func (m *Tag) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Tag.Unmarshal(m, b)
|
|
}
|
|
func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Tag.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Tag) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Tag.Merge(m, src)
|
|
}
|
|
func (m *Tag) XXX_Size() int {
|
|
return xxx_messageInfo_Tag.Size(m)
|
|
}
|
|
func (m *Tag) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Tag.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Tag proto.InternalMessageInfo
|
|
|
|
func (m *Tag) GetKey() string {
|
|
if m != nil {
|
|
return m.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Tag) GetValue() string {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MeasurementFields struct {
|
|
Name []byte `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
|
|
Fields []*Field `protobuf:"bytes,2,rep,name=Fields,proto3" json:"Fields,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *MeasurementFields) Reset() { *m = MeasurementFields{} }
|
|
func (m *MeasurementFields) String() string { return proto.CompactTextString(m) }
|
|
func (*MeasurementFields) ProtoMessage() {}
|
|
func (*MeasurementFields) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_59b0956366e72083, []int{2}
|
|
}
|
|
func (m *MeasurementFields) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_MeasurementFields.Unmarshal(m, b)
|
|
}
|
|
func (m *MeasurementFields) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_MeasurementFields.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *MeasurementFields) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MeasurementFields.Merge(m, src)
|
|
}
|
|
func (m *MeasurementFields) XXX_Size() int {
|
|
return xxx_messageInfo_MeasurementFields.Size(m)
|
|
}
|
|
func (m *MeasurementFields) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MeasurementFields.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MeasurementFields proto.InternalMessageInfo
|
|
|
|
func (m *MeasurementFields) GetName() []byte {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *MeasurementFields) GetFields() []*Field {
|
|
if m != nil {
|
|
return m.Fields
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Field struct {
|
|
Name []byte `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
|
|
Type int32 `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Field) Reset() { *m = Field{} }
|
|
func (m *Field) String() string { return proto.CompactTextString(m) }
|
|
func (*Field) ProtoMessage() {}
|
|
func (*Field) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_59b0956366e72083, []int{3}
|
|
}
|
|
func (m *Field) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Field.Unmarshal(m, b)
|
|
}
|
|
func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Field.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Field) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Field.Merge(m, src)
|
|
}
|
|
func (m *Field) XXX_Size() int {
|
|
return xxx_messageInfo_Field.Size(m)
|
|
}
|
|
func (m *Field) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Field.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Field proto.InternalMessageInfo
|
|
|
|
func (m *Field) GetName() []byte {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Field) GetType() int32 {
|
|
if m != nil {
|
|
return m.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type MeasurementFieldSet struct {
|
|
Measurements []*MeasurementFields `protobuf:"bytes,1,rep,name=Measurements,proto3" json:"Measurements,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *MeasurementFieldSet) Reset() { *m = MeasurementFieldSet{} }
|
|
func (m *MeasurementFieldSet) String() string { return proto.CompactTextString(m) }
|
|
func (*MeasurementFieldSet) ProtoMessage() {}
|
|
func (*MeasurementFieldSet) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_59b0956366e72083, []int{4}
|
|
}
|
|
func (m *MeasurementFieldSet) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_MeasurementFieldSet.Unmarshal(m, b)
|
|
}
|
|
func (m *MeasurementFieldSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_MeasurementFieldSet.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *MeasurementFieldSet) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MeasurementFieldSet.Merge(m, src)
|
|
}
|
|
func (m *MeasurementFieldSet) XXX_Size() int {
|
|
return xxx_messageInfo_MeasurementFieldSet.Size(m)
|
|
}
|
|
func (m *MeasurementFieldSet) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MeasurementFieldSet.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MeasurementFieldSet proto.InternalMessageInfo
|
|
|
|
func (m *MeasurementFieldSet) GetMeasurements() []*MeasurementFields {
|
|
if m != nil {
|
|
return m.Measurements
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Series)(nil), "tsdb.Series")
|
|
proto.RegisterType((*Tag)(nil), "tsdb.Tag")
|
|
proto.RegisterType((*MeasurementFields)(nil), "tsdb.MeasurementFields")
|
|
proto.RegisterType((*Field)(nil), "tsdb.Field")
|
|
proto.RegisterType((*MeasurementFieldSet)(nil), "tsdb.MeasurementFieldSet")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("internal/meta.proto", fileDescriptor_59b0956366e72083) }
|
|
|
|
var fileDescriptor_59b0956366e72083 = []byte{
|
|
// 226 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x3d, 0x6b, 0xc3, 0x30,
|
|
0x10, 0x86, 0x71, 0x2c, 0x1b, 0x72, 0xc9, 0xd0, 0x5e, 0x0a, 0xd5, 0x52, 0x08, 0xea, 0x92, 0xa5,
|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