tsdb

package
v2.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ChangeType_name = map[int32]string{
		0: "AddMeasurementField",
		1: "DeleteMeasurement",
	}
	ChangeType_value = map[string]int32{
		"AddMeasurementField": 0,
		"DeleteMeasurement":   1,
	}
)

Enum value maps for ChangeType.

View Source
var File_internal_fieldsindex_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ChangeType added in v2.5.0

type ChangeType int32
const (
	ChangeType_AddMeasurementField ChangeType = 0
	ChangeType_DeleteMeasurement   ChangeType = 1
)

func (ChangeType) Descriptor added in v2.5.0

func (ChangeType) Descriptor() protoreflect.EnumDescriptor

func (ChangeType) Enum added in v2.5.0

func (x ChangeType) Enum() *ChangeType

func (ChangeType) EnumDescriptor deprecated added in v2.5.0

func (ChangeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChangeType.Descriptor instead.

func (ChangeType) Number added in v2.5.0

func (x ChangeType) Number() protoreflect.EnumNumber

func (ChangeType) String added in v2.5.0

func (x ChangeType) String() string

func (ChangeType) Type added in v2.5.0

type Field

type Field struct {
	Name []byte `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Type int32  `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
	// contains filtered or unexported fields
}

func (*Field) Descriptor deprecated

func (*Field) Descriptor() ([]byte, []int)

Deprecated: Use Field.ProtoReflect.Descriptor instead.

func (*Field) GetName

func (x *Field) GetName() []byte

func (*Field) GetType

func (x *Field) GetType() int32

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) ProtoReflect added in v2.2.0

func (x *Field) ProtoReflect() protoreflect.Message

func (*Field) Reset

func (x *Field) Reset()

func (*Field) String

func (x *Field) String() string

type FieldChangeSet added in v2.5.0

type FieldChangeSet struct {
	Changes []*MeasurementFieldChange `protobuf:"bytes,1,rep,name=Changes,proto3" json:"Changes,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldChangeSet) Descriptor deprecated added in v2.5.0

func (*FieldChangeSet) Descriptor() ([]byte, []int)

Deprecated: Use FieldChangeSet.ProtoReflect.Descriptor instead.

func (*FieldChangeSet) GetChanges added in v2.5.0

func (x *FieldChangeSet) GetChanges() []*MeasurementFieldChange

func (*FieldChangeSet) ProtoMessage added in v2.5.0

func (*FieldChangeSet) ProtoMessage()

func (*FieldChangeSet) ProtoReflect added in v2.5.0

func (x *FieldChangeSet) ProtoReflect() protoreflect.Message

func (*FieldChangeSet) Reset added in v2.5.0

func (x *FieldChangeSet) Reset()

func (*FieldChangeSet) String added in v2.5.0

func (x *FieldChangeSet) String() string

type MeasurementFieldChange added in v2.5.0

type MeasurementFieldChange struct {
	Measurement []byte     `protobuf:"bytes,1,opt,name=Measurement,proto3" json:"Measurement,omitempty"`
	Field       *Field     `protobuf:"bytes,2,opt,name=Field,proto3" json:"Field,omitempty"`
	Change      ChangeType `protobuf:"varint,3,opt,name=Change,proto3,enum=tsdb.ChangeType" json:"Change,omitempty"`
	// contains filtered or unexported fields
}

func (*MeasurementFieldChange) Descriptor deprecated added in v2.5.0

func (*MeasurementFieldChange) Descriptor() ([]byte, []int)

Deprecated: Use MeasurementFieldChange.ProtoReflect.Descriptor instead.

func (*MeasurementFieldChange) GetChange added in v2.5.0

func (x *MeasurementFieldChange) GetChange() ChangeType

func (*MeasurementFieldChange) GetField added in v2.5.0

func (x *MeasurementFieldChange) GetField() *Field

func (*MeasurementFieldChange) GetMeasurement added in v2.5.0

func (x *MeasurementFieldChange) GetMeasurement() []byte

func (*MeasurementFieldChange) ProtoMessage added in v2.5.0

func (*MeasurementFieldChange) ProtoMessage()

func (*MeasurementFieldChange) ProtoReflect added in v2.5.0

func (x *MeasurementFieldChange) ProtoReflect() protoreflect.Message

func (*MeasurementFieldChange) Reset added in v2.5.0

func (x *MeasurementFieldChange) Reset()

func (*MeasurementFieldChange) String added in v2.5.0

func (x *MeasurementFieldChange) String() string

type MeasurementFieldSet

type MeasurementFieldSet struct {
	Measurements []*MeasurementFields `protobuf:"bytes,1,rep,name=Measurements,proto3" json:"Measurements,omitempty"`
	// contains filtered or unexported fields
}

func (*MeasurementFieldSet) Descriptor deprecated

func (*MeasurementFieldSet) Descriptor() ([]byte, []int)

Deprecated: Use MeasurementFieldSet.ProtoReflect.Descriptor instead.

func (*MeasurementFieldSet) GetMeasurements

func (x *MeasurementFieldSet) GetMeasurements() []*MeasurementFields

func (*MeasurementFieldSet) ProtoMessage

func (*MeasurementFieldSet) ProtoMessage()

func (*MeasurementFieldSet) ProtoReflect added in v2.2.0

func (x *MeasurementFieldSet) ProtoReflect() protoreflect.Message

func (*MeasurementFieldSet) Reset

func (x *MeasurementFieldSet) Reset()

func (*MeasurementFieldSet) String

func (x *MeasurementFieldSet) String() string

type MeasurementFields

type MeasurementFields struct {
	Name   []byte   `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Fields []*Field `protobuf:"bytes,2,rep,name=Fields,proto3" json:"Fields,omitempty"`
	// contains filtered or unexported fields
}

func (*MeasurementFields) Descriptor deprecated

func (*MeasurementFields) Descriptor() ([]byte, []int)

Deprecated: Use MeasurementFields.ProtoReflect.Descriptor instead.

func (*MeasurementFields) GetFields

func (x *MeasurementFields) GetFields() []*Field

func (*MeasurementFields) GetName

func (x *MeasurementFields) GetName() []byte

func (*MeasurementFields) ProtoMessage

func (*MeasurementFields) ProtoMessage()

func (*MeasurementFields) ProtoReflect added in v2.2.0

func (x *MeasurementFields) ProtoReflect() protoreflect.Message

func (*MeasurementFields) Reset

func (x *MeasurementFields) Reset()

func (*MeasurementFields) String

func (x *MeasurementFields) String() string

type Series

type Series struct {
	Key  string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Tags []*Tag `protobuf:"bytes,2,rep,name=Tags,proto3" json:"Tags,omitempty"`
	// contains filtered or unexported fields
}

func (*Series) Descriptor deprecated

func (*Series) Descriptor() ([]byte, []int)

Deprecated: Use Series.ProtoReflect.Descriptor instead.

func (*Series) GetKey

func (x *Series) GetKey() string

func (*Series) GetTags

func (x *Series) GetTags() []*Tag

func (*Series) ProtoMessage

func (*Series) ProtoMessage()

func (*Series) ProtoReflect added in v2.2.0

func (x *Series) ProtoReflect() protoreflect.Message

func (*Series) Reset

func (x *Series) Reset()

func (*Series) String

func (x *Series) String() string

type Tag

type Tag struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*Tag) Descriptor deprecated

func (*Tag) Descriptor() ([]byte, []int)

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetKey

func (x *Tag) GetKey() string

func (*Tag) GetValue

func (x *Tag) GetValue() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect added in v2.2.0

func (x *Tag) ProtoReflect() protoreflect.Message

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL