internal.pb.go 4.2 KB

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