1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: internal/meta.proto 3 4/* 5Package internal is a generated protocol buffer package. 6 7It is generated from these files: 8 internal/meta.proto 9 10It has these top-level messages: 11 Series 12 Tag 13 MeasurementFields 14 Field 15*/ 16package internal 17 18import proto "github.com/gogo/protobuf/proto" 19import fmt "fmt" 20import math "math" 21 22// Reference imports to suppress errors if they are not otherwise used. 23var _ = proto.Marshal 24var _ = fmt.Errorf 25var _ = math.Inf 26 27type Series struct { 28 Key *string `protobuf:"bytes,1,req,name=Key" json:"Key,omitempty"` 29 Tags []*Tag `protobuf:"bytes,2,rep,name=Tags" json:"Tags,omitempty"` 30 XXX_unrecognized []byte `json:"-"` 31} 32 33func (m *Series) Reset() { *m = Series{} } 34func (m *Series) String() string { return proto.CompactTextString(m) } 35func (*Series) ProtoMessage() {} 36 37func (m *Series) GetKey() string { 38 if m != nil && m.Key != nil { 39 return *m.Key 40 } 41 return "" 42} 43 44func (m *Series) GetTags() []*Tag { 45 if m != nil { 46 return m.Tags 47 } 48 return nil 49} 50 51type Tag struct { 52 Key *string `protobuf:"bytes,1,req,name=Key" json:"Key,omitempty"` 53 Value *string `protobuf:"bytes,2,req,name=Value" json:"Value,omitempty"` 54 XXX_unrecognized []byte `json:"-"` 55} 56 57func (m *Tag) Reset() { *m = Tag{} } 58func (m *Tag) String() string { return proto.CompactTextString(m) } 59func (*Tag) ProtoMessage() {} 60 61func (m *Tag) GetKey() string { 62 if m != nil && m.Key != nil { 63 return *m.Key 64 } 65 return "" 66} 67 68func (m *Tag) GetValue() string { 69 if m != nil && m.Value != nil { 70 return *m.Value 71 } 72 return "" 73} 74 75type MeasurementFields struct { 76 Fields []*Field `protobuf:"bytes,1,rep,name=Fields" json:"Fields,omitempty"` 77 XXX_unrecognized []byte `json:"-"` 78} 79 80func (m *MeasurementFields) Reset() { *m = MeasurementFields{} } 81func (m *MeasurementFields) String() string { return proto.CompactTextString(m) } 82func (*MeasurementFields) ProtoMessage() {} 83 84func (m *MeasurementFields) GetFields() []*Field { 85 if m != nil { 86 return m.Fields 87 } 88 return nil 89} 90 91type Field struct { 92 ID *int32 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` 93 Name *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"` 94 Type *int32 `protobuf:"varint,3,req,name=Type" json:"Type,omitempty"` 95 XXX_unrecognized []byte `json:"-"` 96} 97 98func (m *Field) Reset() { *m = Field{} } 99func (m *Field) String() string { return proto.CompactTextString(m) } 100func (*Field) ProtoMessage() {} 101 102func (m *Field) GetID() int32 { 103 if m != nil && m.ID != nil { 104 return *m.ID 105 } 106 return 0 107} 108 109func (m *Field) GetName() string { 110 if m != nil && m.Name != nil { 111 return *m.Name 112 } 113 return "" 114} 115 116func (m *Field) GetType() int32 { 117 if m != nil && m.Type != nil { 118 return *m.Type 119 } 120 return 0 121} 122