types

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 5 Imported by: 2

Documentation

Overview

Package types is a generated protocol buffer package.

It is generated from these files:

types.proto

It has these top-level messages:

Identifier
Value
ValueList

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identifier

type Identifier struct {
	Host           string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"`
	Plugin         string `protobuf:"bytes,2,opt,name=plugin" json:"plugin,omitempty"`
	PluginInstance string `protobuf:"bytes,3,opt,name=plugin_instance,json=pluginInstance" json:"plugin_instance,omitempty"`
	Type           string `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"`
	TypeInstance   string `protobuf:"bytes,5,opt,name=type_instance,json=typeInstance" json:"type_instance,omitempty"`
}

func (*Identifier) Descriptor

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

func (*Identifier) GetHost added in v0.4.0

func (m *Identifier) GetHost() string

func (*Identifier) GetPlugin added in v0.4.0

func (m *Identifier) GetPlugin() string

func (*Identifier) GetPluginInstance added in v0.4.0

func (m *Identifier) GetPluginInstance() string

func (*Identifier) GetType added in v0.4.0

func (m *Identifier) GetType() string

func (*Identifier) GetTypeInstance added in v0.4.0

func (m *Identifier) GetTypeInstance() string

func (*Identifier) ProtoMessage

func (*Identifier) ProtoMessage()

func (*Identifier) Reset

func (m *Identifier) Reset()

func (*Identifier) String

func (m *Identifier) String() string

type Value

type Value struct {
	// Types that are valid to be assigned to Value:
	//	*Value_Counter
	//	*Value_Gauge
	//	*Value_Derive
	//	*Value_Absolute
	Value isValue_Value `protobuf_oneof:"value"`
}

func (*Value) Descriptor

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

func (*Value) GetAbsolute

func (m *Value) GetAbsolute() uint64

func (*Value) GetCounter

func (m *Value) GetCounter() uint64

func (*Value) GetDerive

func (m *Value) GetDerive() int64

func (*Value) GetGauge

func (m *Value) GetGauge() float64

func (*Value) GetValue

func (m *Value) GetValue() isValue_Value

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) Reset

func (m *Value) Reset()

func (*Value) String

func (m *Value) String() string

func (*Value) XXX_OneofFuncs

func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type ValueList

type ValueList struct {
	Values     []*Value                    `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
	Time       *google_protobuf1.Timestamp `protobuf:"bytes,2,opt,name=time" json:"time,omitempty"`
	Interval   *google_protobuf.Duration   `protobuf:"bytes,3,opt,name=interval" json:"interval,omitempty"`
	Identifier *Identifier                 `protobuf:"bytes,4,opt,name=identifier" json:"identifier,omitempty"`
	DsNames    []string                    `protobuf:"bytes,5,rep,name=ds_names,json=dsNames" json:"ds_names,omitempty"`
}

func (*ValueList) Descriptor

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

func (*ValueList) GetDsNames added in v0.4.0

func (m *ValueList) GetDsNames() []string

func (*ValueList) GetIdentifier

func (m *ValueList) GetIdentifier() *Identifier

func (*ValueList) GetInterval

func (m *ValueList) GetInterval() *google_protobuf.Duration

func (*ValueList) GetTime

func (m *ValueList) GetTime() *google_protobuf1.Timestamp

func (*ValueList) GetValues

func (m *ValueList) GetValues() []*Value

func (*ValueList) ProtoMessage

func (*ValueList) ProtoMessage()

func (*ValueList) Reset

func (m *ValueList) Reset()

func (*ValueList) String

func (m *ValueList) String() string

type Value_Absolute

type Value_Absolute struct {
	Absolute uint64 `protobuf:"varint,4,opt,name=absolute,oneof"`
}

type Value_Counter

type Value_Counter struct {
	Counter uint64 `protobuf:"varint,1,opt,name=counter,oneof"`
}

type Value_Derive

type Value_Derive struct {
	Derive int64 `protobuf:"varint,3,opt,name=derive,oneof"`
}

type Value_Gauge

type Value_Gauge struct {
	Gauge float64 `protobuf:"fixed64,2,opt,name=gauge,oneof"`
}

Jump to

Keyboard shortcuts

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