123 lines
2.8 KiB
Go
123 lines
2.8 KiB
Go
// Code generated by protoc-gen-gogo.
|
|
// source: internal/meta.proto
|
|
// DO NOT EDIT!
|
|
|
|
/*
|
|
Package internal is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
internal/meta.proto
|
|
|
|
It has these top-level messages:
|
|
Series
|
|
Tag
|
|
MeasurementFields
|
|
Field
|
|
*/
|
|
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
|
|
|
|
type Series struct {
|
|
Key *string `protobuf:"bytes,1,req,name=Key" json:"Key,omitempty"`
|
|
Tags []*Tag `protobuf:"bytes,2,rep,name=Tags" json:"Tags,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Series) Reset() { *m = Series{} }
|
|
func (m *Series) String() string { return proto.CompactTextString(m) }
|
|
func (*Series) ProtoMessage() {}
|
|
|
|
func (m *Series) GetKey() string {
|
|
if m != nil && m.Key != 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,req,name=Key" json:"Key,omitempty"`
|
|
Value *string `protobuf:"bytes,2,req,name=Value" json:"Value,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Tag) Reset() { *m = Tag{} }
|
|
func (m *Tag) String() string { return proto.CompactTextString(m) }
|
|
func (*Tag) ProtoMessage() {}
|
|
|
|
func (m *Tag) GetKey() string {
|
|
if m != nil && m.Key != nil {
|
|
return *m.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Tag) GetValue() string {
|
|
if m != nil && m.Value != nil {
|
|
return *m.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MeasurementFields struct {
|
|
Fields []*Field `protobuf:"bytes,1,rep,name=Fields" json:"Fields,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *MeasurementFields) Reset() { *m = MeasurementFields{} }
|
|
func (m *MeasurementFields) String() string { return proto.CompactTextString(m) }
|
|
func (*MeasurementFields) ProtoMessage() {}
|
|
|
|
func (m *MeasurementFields) GetFields() []*Field {
|
|
if m != nil {
|
|
return m.Fields
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Field struct {
|
|
ID *int32 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"`
|
|
Name *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"`
|
|
Type *int32 `protobuf:"varint,3,req,name=Type" json:"Type,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Field) Reset() { *m = Field{} }
|
|
func (m *Field) String() string { return proto.CompactTextString(m) }
|
|
func (*Field) ProtoMessage() {}
|
|
|
|
func (m *Field) GetID() int32 {
|
|
if m != nil && m.ID != nil {
|
|
return *m.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Field) GetName() string {
|
|
if m != nil && m.Name != nil {
|
|
return *m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Field) GetType() int32 {
|
|
if m != nil && m.Type != nil {
|
|
return *m.Type
|
|
}
|
|
return 0
|
|
}
|