commonproto

package
v0.0.0-...-7135dce Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_commonproto_empty_proto protoreflect.FileDescriptor
View Source
var File_proto_commonproto_metric_value_proto protoreflect.FileDescriptor
View Source
var File_proto_commonproto_ping_pong_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type Item

type Item struct {
	Timestamp  *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Value      float64              `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`                           // faker:"long"
	MetricName string               `protobuf:"bytes,3,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` // faker:"word"
	// contains filtered or unexported fields
}

func (*Item) Descriptor deprecated

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

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetMetricName

func (x *Item) GetMetricName() string

func (*Item) GetTimestamp

func (x *Item) GetTimestamp() *timestamp.Timestamp

func (*Item) GetValue

func (x *Item) GetValue() float64

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

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

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

type MetricValue

type MetricValue struct {
	MetricType             enums.MetricsType `protobuf:"varint,1,opt,name=metric_type,json=metricType,proto3,enum=enums.MetricsType" json:"metric_type,omitempty"` // faker:"oneof: 0 1 2 3 4 5 6"
	PrometheusResponseType enums.ValueType   ``                                                                                                                    // faker:"oneof: 0 1 2 3"
	/* 151-byte string literal not displayed */
	Values []*Item `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricValue) Descriptor deprecated

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

Deprecated: Use MetricValue.ProtoReflect.Descriptor instead.

func (*MetricValue) GetMetricType

func (x *MetricValue) GetMetricType() enums.MetricsType

func (*MetricValue) GetPrometheusResponseType

func (x *MetricValue) GetPrometheusResponseType() enums.ValueType

func (*MetricValue) GetValues

func (x *MetricValue) GetValues() []*Item

func (*MetricValue) ProtoMessage

func (*MetricValue) ProtoMessage()

func (*MetricValue) ProtoReflect

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

func (*MetricValue) Reset

func (x *MetricValue) Reset()

func (*MetricValue) String

func (x *MetricValue) String() string

type Ping

type Ping struct {
	Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*Ping) Descriptor deprecated

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

Deprecated: Use Ping.ProtoReflect.Descriptor instead.

func (*Ping) GetTime

func (x *Ping) GetTime() *timestamp.Timestamp

func (*Ping) ProtoMessage

func (*Ping) ProtoMessage()

func (*Ping) ProtoReflect

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

func (*Ping) Reset

func (x *Ping) Reset()

func (*Ping) String

func (x *Ping) String() string

type Pong

type Pong struct {
	Next    *timestamp.Timestamp `protobuf:"bytes,1,opt,name=next,proto3" json:"next,omitempty"`
	Message string               `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Pong) Descriptor deprecated

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

Deprecated: Use Pong.ProtoReflect.Descriptor instead.

func (*Pong) GetMessage

func (x *Pong) GetMessage() string

func (*Pong) GetNext

func (x *Pong) GetNext() *timestamp.Timestamp

func (*Pong) ProtoMessage

func (*Pong) ProtoMessage()

func (*Pong) ProtoReflect

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

func (*Pong) Reset

func (x *Pong) Reset()

func (*Pong) String

func (x *Pong) String() string

type RawMetricValue

type RawMetricValue struct {
	Name                   string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	PrometheusResponseType enums.ValueType `` /* 151-byte string literal not displayed */
	Values                 []*Item         `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*RawMetricValue) Descriptor deprecated

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

Deprecated: Use RawMetricValue.ProtoReflect.Descriptor instead.

func (*RawMetricValue) GetName

func (x *RawMetricValue) GetName() string

func (*RawMetricValue) GetPrometheusResponseType

func (x *RawMetricValue) GetPrometheusResponseType() enums.ValueType

func (*RawMetricValue) GetValues

func (x *RawMetricValue) GetValues() []*Item

func (*RawMetricValue) ProtoMessage

func (*RawMetricValue) ProtoMessage()

func (*RawMetricValue) ProtoReflect

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

func (*RawMetricValue) Reset

func (x *RawMetricValue) Reset()

func (*RawMetricValue) String

func (x *RawMetricValue) String() string

Jump to

Keyboard shortcuts

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