| 1 |
// Code generated by protoc-gen-gogo. |
| 2 |
// source: internal/meta.proto |
| 3 |
// DO NOT EDIT! |
| 4 |
|
| 5 |
/* |
| 6 |
Package tsdb is a generated protocol buffer package. |
| 7 |
|
| 8 |
It is generated from these files: |
| 9 |
internal/meta.proto |
| 10 |
|
| 11 |
It has these top-level messages: |
| 12 |
Series |
| 13 |
Tag |
| 14 |
MeasurementFields |
| 15 |
Field |
| 16 |
MeasurementFieldSet |
| 17 |
*/ |
| 18 |
package tsdb |
| 19 |
|
| 20 |
import proto "github.com/gogo/protobuf/proto" |
| 21 |
import fmt "fmt" |
| 22 |
import math "math" |
| 23 |
|
| 24 |
// Reference imports to suppress errors if they are not otherwise used. |
| 25 |
var _ = proto.Marshal |
| 26 |
var _ = fmt.Errorf |
| 27 |
var _ = math.Inf |
| 28 |
|
| 29 |
// This is a compile-time assertion to ensure that this generated file |
| 30 |
// is compatible with the proto package it is being compiled against. |
| 31 |
// A compilation error at this line likely means your copy of the |
| 32 |
// proto package needs to be updated. |
| 33 |
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
| 34 |
|
| 35 |
type Series struct { |
| 36 |
Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` |
| 37 |
Tags []*Tag `protobuf:"bytes,2,rep,name=Tags" json:"Tags,omitempty"` |
| 38 |
} |
| 39 |
|
| 40 |
func (m *Series) Reset() { *m = Series{} } |
| 41 |
func (m *Series) String() string { return proto.CompactTextString(m) } |
| 42 |
func (*Series) ProtoMessage() {} |
| 43 |
func (*Series) Descriptor() ([]byte, []int) { return fileDescriptorMeta, []int{0} } |
| 44 |
|
| 45 |
func (m *Series) GetKey() string { |
| 46 |
if m != nil { |
| 47 |
return m.Key |
| 48 |
} |
| 49 |
return "" |
| 50 |
} |
| 51 |
|
| 52 |
func (m *Series) GetTags() []*Tag { |
| 53 |
if m != nil { |
| 54 |
return m.Tags |
| 55 |
} |
| 56 |
return nil |
| 57 |
} |
| 58 |
|
| 59 |
type Tag struct { |
| 60 |
Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` |
| 61 |
Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` |
| 62 |
} |
| 63 |
|
| 64 |
func (m *Tag) Reset() { *m = Tag{} } |
| 65 |
func (m *Tag) String() string { return proto.CompactTextString(m) } |
| 66 |
func (*Tag) ProtoMessage() {} |
| 67 |
func (*Tag) Descriptor() ([]byte, []int) { return fileDescriptorMeta, []int{1} } |
| 68 |
|
| 69 |
func (m *Tag) GetKey() string { |
| 70 |
if m != nil { |
| 71 |
return m.Key |
| 72 |
} |
| 73 |
return "" |
| 74 |
} |
| 75 |
|
| 76 |
func (m *Tag) GetValue() string { |
| 77 |
if m != nil { |
| 78 |
return m.Value |
| 79 |
} |
| 80 |
return "" |
| 81 |
} |
| 82 |
|
| 83 |
type MeasurementFields struct { |
| 84 |
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` |
| 85 |
Fields []*Field `protobuf:"bytes,2,rep,name=Fields" json:"Fields,omitempty"` |
| 86 |
} |
| 87 |
|
| 88 |
func (m *MeasurementFields) Reset() { *m = MeasurementFields{} } |
| 89 |
func (m *MeasurementFields) String() string { return proto.CompactTextString(m) } |
| 90 |
func (*MeasurementFields) ProtoMessage() {} |
| 91 |
func (*MeasurementFields) Descriptor() ([]byte, []int) { return fileDescriptorMeta, []int{2} } |
| 92 |
|
| 93 |
func (m *MeasurementFields) GetName() string { |
| 94 |
if m != nil { |
| 95 |
return m.Name |
| 96 |
} |
| 97 |
return "" |
| 98 |
} |
| 99 |
|
| 100 |
func (m *MeasurementFields) GetFields() []*Field { |
| 101 |
if m != nil { |
| 102 |
return m.Fields |
| 103 |
} |
| 104 |
return nil |
| 105 |
} |
| 106 |
|
| 107 |
type Field struct { |
| 108 |
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` |
| 109 |
Type int32 `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"` |
| 110 |
} |
| 111 |
|
| 112 |
func (m *Field) Reset() { *m = Field{} } |
| 113 |
func (m *Field) String() string { return proto.CompactTextString(m) } |
| 114 |
func (*Field) ProtoMessage() {} |
| 115 |
func (*Field) Descriptor() ([]byte, []int) { return fileDescriptorMeta, []int{3} } |
| 116 |
|
| 117 |
func (m *Field) GetName() string { |
| 118 |
if m != nil { |
| 119 |
return m.Name |
| 120 |
} |
| 121 |
return "" |
| 122 |
} |
| 123 |
|
| 124 |
func (m *Field) GetType() int32 { |
| 125 |
if m != nil { |
| 126 |
return m.Type |
| 127 |
} |
| 128 |
return 0 |
| 129 |
} |
| 130 |
|
| 131 |
type MeasurementFieldSet struct { |
| 132 |
Measurements []*MeasurementFields `protobuf:"bytes,1,rep,name=Measurements" json:"Measurements,omitempty"` |
| 133 |
} |
| 134 |
|
| 135 |
func (m *MeasurementFieldSet) Reset() { *m = MeasurementFieldSet{} } |
| 136 |
func (m *MeasurementFieldSet) String() string { return proto.CompactTextString(m) } |
| 137 |
func (*MeasurementFieldSet) ProtoMessage() {} |
| 138 |
func (*MeasurementFieldSet) Descriptor() ([]byte, []int) { return fileDescriptorMeta, []int{4} } |
| 139 |
|
| 140 |
func (m *MeasurementFieldSet) GetMeasurements() []*MeasurementFields { |
| 141 |
if m != nil { |
| 142 |
return m.Measurements |
| 143 |
} |
| 144 |
return nil |
| 145 |
} |
| 146 |
|
| 147 |
func init() { |
| 148 |
proto.RegisterType((*Series)(nil), "tsdb.Series") |
| 149 |
proto.RegisterType((*Tag)(nil), "tsdb.Tag") |
| 150 |
proto.RegisterType((*MeasurementFields)(nil), "tsdb.MeasurementFields") |
| 151 |
proto.RegisterType((*Field)(nil), "tsdb.Field") |
| 152 |
proto.RegisterType((*MeasurementFieldSet)(nil), "tsdb.MeasurementFieldSet") |
| 153 |
} |
| 154 |
|
| 155 |
func init() { proto.RegisterFile("internal/meta.proto", fileDescriptorMeta) } |
| 156 |
|
| 157 |
var fileDescriptorMeta = []byte{ |
| 158 |
// 225 bytes of a gzipped FileDescriptorProto |
| 159 |
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xbf, 0x6b, 0xc3, 0x30, |
| 160 |
0x10, 0x85, 0x71, 0x2c, 0x1b, 0x72, 0xe9, 0xd0, 0x5e, 0x0a, 0xd5, 0x52, 0x08, 0xea, 0x92, 0xa5, |
| 161 |
0x0e, 0xb4, 0x53, 0xe9, 0xde, 0xa5, 0x3f, 0x06, 0x45, 0x74, 0xbf, 0x90, 0xc3, 0x18, 0x6c, 0x27, |
| 162 |
0x48, 0xca, 0x90, 0xff, 0xbe, 0xf8, 0xe4, 0xa1, 0x6d, 0xbc, 0x3d, 0x7d, 0xa7, 0xa7, 0x4f, 0x1c, |
| 163 |
0x2c, 0x9b, 0x3e, 0xb2, 0xef, 0xa9, 0xdd, 0x74, 0x1c, 0xa9, 0x3a, 0xfa, 0x43, 0x3c, 0xa0, 0x8a, |
| 164 |
0x61, 0xbf, 0x33, 0x2f, 0x50, 0x6e, 0xd9, 0x37, 0x1c, 0xf0, 0x1a, 0xf2, 0x77, 0x3e, 0xeb, 0x6c, |
| 165 |
0x95, 0xad, 0xe7, 0x76, 0x88, 0x78, 0x0f, 0xca, 0x51, 0x1d, 0xf4, 0x6c, 0x95, 0xaf, 0x17, 0x4f, |
| 166 |
0xf3, 0x6a, 0x28, 0x54, 0x8e, 0x6a, 0x2b, 0xd8, 0x3c, 0x42, 0xee, 0xa8, 0x9e, 0xe8, 0xdd, 0x42, |
| 167 |
0xf1, 0x4d, 0xed, 0x89, 0xf5, 0x4c, 0x58, 0x3a, 0x98, 0x0f, 0xb8, 0xf9, 0x64, 0x0a, 0x27, 0xcf, |
| 168 |
0x1d, 0xf7, 0xf1, 0xad, 0xe1, 0x76, 0x1f, 0x10, 0x41, 0x7d, 0x51, 0xc7, 0x63, 0x5b, 0x32, 0x3e, |
| 169 |
0x40, 0x99, 0xa6, 0xa3, 0x78, 0x91, 0xc4, 0xc2, 0xec, 0x38, 0x32, 0x1b, 0x28, 0x24, 0x4d, 0xbe, |
| 170 |
0x80, 0xa0, 0xdc, 0xf9, 0x98, 0xfc, 0x85, 0x95, 0x6c, 0x2c, 0x2c, 0xff, 0xeb, 0xb7, 0x1c, 0xf1, |
| 171 |
0x15, 0xae, 0x7e, 0xe1, 0xa0, 0x33, 0x51, 0xde, 0x25, 0xe5, 0xc5, 0x7f, 0xed, 0x9f, 0xcb, 0xbb, |
| 172 |
0x52, 0x36, 0xf9, 0xfc, 0x13, 0x00, 0x00, 0xff, 0xff, 0xf8, 0x31, 0x1f, 0xb9, 0x60, 0x01, 0x00, |
| 173 |
0x00, |
| 174 |
} |