github.com/influxdata/influxql@v1.1.0/internal/internal.pb.go (about) 1 // Code generated by protoc-gen-gogo. 2 // source: internal/internal.proto 3 // DO NOT EDIT! 4 5 /* 6 Package influxql is a generated protocol buffer package. 7 8 It is generated from these files: 9 internal/internal.proto 10 11 It has these top-level messages: 12 Measurements 13 Measurement 14 */ 15 package influxql 16 17 import proto "github.com/gogo/protobuf/proto" 18 import fmt "fmt" 19 import math "math" 20 21 // Reference imports to suppress errors if they are not otherwise used. 22 var _ = proto.Marshal 23 var _ = fmt.Errorf 24 var _ = math.Inf 25 26 // This is a compile-time assertion to ensure that this generated file 27 // is compatible with the proto package it is being compiled against. 28 // A compilation error at this line likely means your copy of the 29 // proto package needs to be updated. 30 const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package 31 32 type Measurements struct { 33 Items []*Measurement `protobuf:"bytes,1,rep,name=Items" json:"Items,omitempty"` 34 XXX_unrecognized []byte `json:"-"` 35 } 36 37 func (m *Measurements) Reset() { *m = Measurements{} } 38 func (m *Measurements) String() string { return proto.CompactTextString(m) } 39 func (*Measurements) ProtoMessage() {} 40 func (*Measurements) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{0} } 41 42 func (m *Measurements) GetItems() []*Measurement { 43 if m != nil { 44 return m.Items 45 } 46 return nil 47 } 48 49 type Measurement struct { 50 Database *string `protobuf:"bytes,1,opt,name=Database" json:"Database,omitempty"` 51 RetentionPolicy *string `protobuf:"bytes,2,opt,name=RetentionPolicy" json:"RetentionPolicy,omitempty"` 52 Name *string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"` 53 Regex *string `protobuf:"bytes,4,opt,name=Regex" json:"Regex,omitempty"` 54 IsTarget *bool `protobuf:"varint,5,opt,name=IsTarget" json:"IsTarget,omitempty"` 55 XXX_unrecognized []byte `json:"-"` 56 } 57 58 func (m *Measurement) Reset() { *m = Measurement{} } 59 func (m *Measurement) String() string { return proto.CompactTextString(m) } 60 func (*Measurement) ProtoMessage() {} 61 func (*Measurement) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{1} } 62 63 func (m *Measurement) GetDatabase() string { 64 if m != nil && m.Database != nil { 65 return *m.Database 66 } 67 return "" 68 } 69 70 func (m *Measurement) GetRetentionPolicy() string { 71 if m != nil && m.RetentionPolicy != nil { 72 return *m.RetentionPolicy 73 } 74 return "" 75 } 76 77 func (m *Measurement) GetName() string { 78 if m != nil && m.Name != nil { 79 return *m.Name 80 } 81 return "" 82 } 83 84 func (m *Measurement) GetRegex() string { 85 if m != nil && m.Regex != nil { 86 return *m.Regex 87 } 88 return "" 89 } 90 91 func (m *Measurement) GetIsTarget() bool { 92 if m != nil && m.IsTarget != nil { 93 return *m.IsTarget 94 } 95 return false 96 } 97 98 func init() { 99 proto.RegisterType((*Measurements)(nil), "influxql.Measurements") 100 proto.RegisterType((*Measurement)(nil), "influxql.Measurement") 101 } 102 103 func init() { proto.RegisterFile("internal/internal.proto", fileDescriptorInternal) } 104 105 var fileDescriptorInternal = []byte{ 106 // 195 bytes of a gzipped FileDescriptorProto 107 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcf, 0xcc, 0x2b, 0x49, 108 0x2d, 0xca, 0x4b, 0xcc, 0xd1, 0x87, 0x31, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x38, 0x32, 109 0xf3, 0xd2, 0x72, 0x4a, 0x2b, 0x0a, 0x73, 0x94, 0xac, 0xb9, 0x78, 0x7c, 0x53, 0x13, 0x8b, 0x4b, 110 0x8b, 0x52, 0x73, 0x53, 0xf3, 0x4a, 0x8a, 0x85, 0xb4, 0xb9, 0x58, 0x3d, 0x4b, 0x52, 0x73, 0x8b, 111 0x25, 0x18, 0x15, 0x98, 0x35, 0xb8, 0x8d, 0x44, 0xf5, 0x60, 0x2a, 0xf5, 0x90, 0x94, 0x05, 0x41, 112 0xd4, 0x28, 0xcd, 0x64, 0xe4, 0xe2, 0x46, 0x12, 0x16, 0x92, 0xe2, 0xe2, 0x70, 0x49, 0x2c, 0x49, 113 0x4c, 0x4a, 0x2c, 0x4e, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0x82, 0xf3, 0x85, 0x34, 0xb8, 114 0xf8, 0x83, 0x52, 0x4b, 0x52, 0xf3, 0x4a, 0x32, 0xf3, 0xf3, 0x02, 0xf2, 0x73, 0x32, 0x93, 0x2b, 115 0x25, 0x98, 0xc0, 0x4a, 0xd0, 0x85, 0x85, 0x84, 0xb8, 0x58, 0xfc, 0x12, 0x73, 0x53, 0x25, 0x98, 116 0xc1, 0xd2, 0x60, 0xb6, 0x90, 0x08, 0x17, 0x6b, 0x50, 0x6a, 0x7a, 0x6a, 0x85, 0x04, 0x0b, 0x58, 117 0x10, 0xc2, 0x01, 0xd9, 0xe7, 0x59, 0x1c, 0x92, 0x58, 0x94, 0x9e, 0x5a, 0x22, 0xc1, 0xaa, 0xc0, 118 0xa8, 0xc1, 0x11, 0x04, 0xe7, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xb8, 0x16, 0x06, 0x23, 0xfc, 119 0x00, 0x00, 0x00, 120 }