pb

package
v0.0.0-...-98aa545 Latest Latest
Warning

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

Go to latest
Published: May 17, 2018 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package MetricPoint is a generated protocol buffer package.

It is generated from these files:

MetricPoint.proto

It has these top-level messages:

Point
Points

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Point

type Point struct {
	// The delta as long
	Tlong *uint64 `protobuf:"varint,1,opt,name=tlong" json:"tlong,omitempty"`
	// Perhaps we can store the delta as int
	Tint *uint32 `protobuf:"varint,2,opt,name=tint" json:"tint,omitempty"`
	// timestamp base deltas
	TlongBP *uint64 `protobuf:"varint,3,opt,name=tlongBP" json:"tlongBP,omitempty"`
	TintBP  *uint32 `protobuf:"varint,4,opt,name=tintBP" json:"tintBP,omitempty"`
	// Value
	V *float64 `protobuf:"fixed64,5,opt,name=v" json:"v,omitempty"`
	// Or the index of the value
	VIndex           *uint32 `protobuf:"varint,6,opt,name=vIndex" json:"vIndex,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Our point

func (*Point) Descriptor

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

func (*Point) GetTint

func (m *Point) GetTint() uint32

func (*Point) GetTintBP

func (m *Point) GetTintBP() uint32

func (*Point) GetTlong

func (m *Point) GetTlong() uint64

func (*Point) GetTlongBP

func (m *Point) GetTlongBP() uint64

func (*Point) GetV

func (m *Point) GetV() float64

func (*Point) GetVIndex

func (m *Point) GetVIndex() uint32

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) Reset

func (m *Point) Reset()

func (*Point) String

func (m *Point) String() string

type Points

type Points struct {
	// The list of points
	P []*Point `protobuf:"bytes,1,rep,name=p" json:"p,omitempty"`
	// the used ddc threshold
	Ddc              *uint32 `protobuf:"varint,2,opt,name=ddc" json:"ddc,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

The data of a time series is a list of points

func (*Points) Descriptor

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

func (*Points) GetDdc

func (m *Points) GetDdc() uint32

func (*Points) GetP

func (m *Points) GetP() []*Point

func (*Points) ProtoMessage

func (*Points) ProtoMessage()

func (*Points) Reset

func (m *Points) Reset()

func (*Points) String

func (m *Points) String() string

Jump to

Keyboard shortcuts

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