mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-07-05 23:04:32 +08:00
121 lines
4.2 KiB
Go
121 lines
4.2 KiB
Go
// Code generated by protoc-gen-gogo.
|
|
// source: internal/internal.proto
|
|
// DO NOT EDIT!
|
|
|
|
/*
|
|
Package influxql is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
internal/internal.proto
|
|
|
|
It has these top-level messages:
|
|
Measurements
|
|
Measurement
|
|
*/
|
|
package influxql
|
|
|
|
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
|
|
|
|
// 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.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type Measurements struct {
|
|
Items []*Measurement `protobuf:"bytes,1,rep,name=Items" json:"Items,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Measurements) Reset() { *m = Measurements{} }
|
|
func (m *Measurements) String() string { return proto.CompactTextString(m) }
|
|
func (*Measurements) ProtoMessage() {}
|
|
func (*Measurements) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{0} }
|
|
|
|
func (m *Measurements) GetItems() []*Measurement {
|
|
if m != nil {
|
|
return m.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Measurement struct {
|
|
Database *string `protobuf:"bytes,1,opt,name=Database" json:"Database,omitempty"`
|
|
RetentionPolicy *string `protobuf:"bytes,2,opt,name=RetentionPolicy" json:"RetentionPolicy,omitempty"`
|
|
Name *string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"`
|
|
Regex *string `protobuf:"bytes,4,opt,name=Regex" json:"Regex,omitempty"`
|
|
IsTarget *bool `protobuf:"varint,5,opt,name=IsTarget" json:"IsTarget,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Measurement) Reset() { *m = Measurement{} }
|
|
func (m *Measurement) String() string { return proto.CompactTextString(m) }
|
|
func (*Measurement) ProtoMessage() {}
|
|
func (*Measurement) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{1} }
|
|
|
|
func (m *Measurement) GetDatabase() string {
|
|
if m != nil && m.Database != nil {
|
|
return *m.Database
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Measurement) GetRetentionPolicy() string {
|
|
if m != nil && m.RetentionPolicy != nil {
|
|
return *m.RetentionPolicy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Measurement) GetName() string {
|
|
if m != nil && m.Name != nil {
|
|
return *m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Measurement) GetRegex() string {
|
|
if m != nil && m.Regex != nil {
|
|
return *m.Regex
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Measurement) GetIsTarget() bool {
|
|
if m != nil && m.IsTarget != nil {
|
|
return *m.IsTarget
|
|
}
|
|
return false
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Measurements)(nil), "influxql.Measurements")
|
|
proto.RegisterType((*Measurement)(nil), "influxql.Measurement")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("internal/internal.proto", fileDescriptorInternal) }
|
|
|
|
var fileDescriptorInternal = []byte{
|
|
// 195 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcf, 0xcc, 0x2b, 0x49,
|
|
0x2d, 0xca, 0x4b, 0xcc, 0xd1, 0x87, 0x31, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x38, 0x32,
|
|
0xf3, 0xd2, 0x72, 0x4a, 0x2b, 0x0a, 0x73, 0x94, 0xac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