typesv1

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_types_v1_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type LabelPair

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

func (*LabelPair) Descriptor deprecated

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

Deprecated: Use LabelPair.ProtoReflect.Descriptor instead.

func (*LabelPair) GetName

func (x *LabelPair) GetName() string

func (*LabelPair) GetValue

func (x *LabelPair) GetValue() string

func (*LabelPair) MarshalToSizedBufferVT

func (m *LabelPair) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LabelPair) MarshalToVT

func (m *LabelPair) MarshalToVT(dAtA []byte) (int, error)

func (*LabelPair) MarshalVT

func (m *LabelPair) MarshalVT() (dAtA []byte, err error)

func (*LabelPair) ProtoMessage

func (*LabelPair) ProtoMessage()

func (*LabelPair) ProtoReflect

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

func (*LabelPair) Reset

func (x *LabelPair) Reset()

func (*LabelPair) SizeVT

func (m *LabelPair) SizeVT() (n int)

func (*LabelPair) String

func (x *LabelPair) String() string

func (*LabelPair) UnmarshalVT

func (m *LabelPair) UnmarshalVT(dAtA []byte) error

type Labels

type Labels struct {

	// LabelPair is the key value pairs to identify the corresponding profile
	Labels []*LabelPair `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*Labels) Descriptor deprecated

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

Deprecated: Use Labels.ProtoReflect.Descriptor instead.

func (*Labels) GetLabels

func (x *Labels) GetLabels() []*LabelPair

func (*Labels) MarshalToSizedBufferVT

func (m *Labels) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Labels) MarshalToVT

func (m *Labels) MarshalToVT(dAtA []byte) (int, error)

func (*Labels) MarshalVT

func (m *Labels) MarshalVT() (dAtA []byte, err error)

func (*Labels) ProtoMessage

func (*Labels) ProtoMessage()

func (*Labels) ProtoReflect

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

func (*Labels) Reset

func (x *Labels) Reset()

func (*Labels) SizeVT

func (m *Labels) SizeVT() (n int)

func (*Labels) String

func (x *Labels) String() string

func (*Labels) UnmarshalVT

func (m *Labels) UnmarshalVT(dAtA []byte) error

type Point

type Point struct {
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	// Milliseconds unix timestamp
	Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*Point) Descriptor deprecated

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

Deprecated: Use Point.ProtoReflect.Descriptor instead.

func (*Point) GetTimestamp

func (x *Point) GetTimestamp() int64

func (*Point) GetValue

func (x *Point) GetValue() float64

func (*Point) MarshalToSizedBufferVT

func (m *Point) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Point) MarshalToVT

func (m *Point) MarshalToVT(dAtA []byte) (int, error)

func (*Point) MarshalVT

func (m *Point) MarshalVT() (dAtA []byte, err error)

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) ProtoReflect

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

func (*Point) Reset

func (x *Point) Reset()

func (*Point) SizeVT

func (m *Point) SizeVT() (n int)

func (*Point) String

func (x *Point) String() string

func (*Point) UnmarshalVT

func (m *Point) UnmarshalVT(dAtA []byte) error

type ProfileType

type ProfileType struct {
	ID         string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	SampleType string `protobuf:"bytes,4,opt,name=sample_type,json=sampleType,proto3" json:"sample_type,omitempty"`
	SampleUnit string `protobuf:"bytes,5,opt,name=sample_unit,json=sampleUnit,proto3" json:"sample_unit,omitempty"`
	PeriodType string `protobuf:"bytes,6,opt,name=period_type,json=periodType,proto3" json:"period_type,omitempty"`
	PeriodUnit string `protobuf:"bytes,7,opt,name=period_unit,json=periodUnit,proto3" json:"period_unit,omitempty"`
	// contains filtered or unexported fields
}

func (*ProfileType) Descriptor deprecated

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

Deprecated: Use ProfileType.ProtoReflect.Descriptor instead.

func (*ProfileType) GetID

func (x *ProfileType) GetID() string

func (*ProfileType) GetName

func (x *ProfileType) GetName() string

func (*ProfileType) GetPeriodType

func (x *ProfileType) GetPeriodType() string

func (*ProfileType) GetPeriodUnit

func (x *ProfileType) GetPeriodUnit() string

func (*ProfileType) GetSampleType

func (x *ProfileType) GetSampleType() string

func (*ProfileType) GetSampleUnit

func (x *ProfileType) GetSampleUnit() string

func (*ProfileType) MarshalToSizedBufferVT

func (m *ProfileType) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ProfileType) MarshalToVT

func (m *ProfileType) MarshalToVT(dAtA []byte) (int, error)

func (*ProfileType) MarshalVT

func (m *ProfileType) MarshalVT() (dAtA []byte, err error)

func (*ProfileType) ProtoMessage

func (*ProfileType) ProtoMessage()

func (*ProfileType) ProtoReflect

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

func (*ProfileType) Reset

func (x *ProfileType) Reset()

func (*ProfileType) SizeVT

func (m *ProfileType) SizeVT() (n int)

func (*ProfileType) String

func (x *ProfileType) String() string

func (*ProfileType) UnmarshalVT

func (m *ProfileType) UnmarshalVT(dAtA []byte) error

type Series

type Series struct {
	Labels []*LabelPair `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	Points []*Point     `protobuf:"bytes,2,rep,name=points,proto3" json:"points,omitempty"`
	// contains filtered or unexported fields
}

func (*Series) Descriptor deprecated

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

Deprecated: Use Series.ProtoReflect.Descriptor instead.

func (*Series) GetLabels

func (x *Series) GetLabels() []*LabelPair

func (*Series) GetPoints

func (x *Series) GetPoints() []*Point

func (*Series) MarshalToSizedBufferVT

func (m *Series) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Series) MarshalToVT

func (m *Series) MarshalToVT(dAtA []byte) (int, error)

func (*Series) MarshalVT

func (m *Series) MarshalVT() (dAtA []byte, err error)

func (*Series) ProtoMessage

func (*Series) ProtoMessage()

func (*Series) ProtoReflect

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

func (*Series) Reset

func (x *Series) Reset()

func (*Series) SizeVT

func (m *Series) SizeVT() (n int)

func (*Series) String

func (x *Series) String() string

func (*Series) UnmarshalVT

func (m *Series) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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