v1

package
v0.0.0-...-d6fb9c7 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_measurement_v1_meteo_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Climate

type Climate struct {
	Measurement         *Measurement `protobuf:"bytes,1,opt,name=measurement,proto3" json:"measurement,omitempty"`
	Humidity            float32      `protobuf:"fixed32,2,opt,name=humidity,proto3" json:"humidity,omitempty"`
	Pressure            float32      `protobuf:"fixed32,3,opt,name=pressure,proto3" json:"pressure,omitempty"`
	TemperatureHumidity float32      `protobuf:"fixed32,4,opt,name=temperature_humidity,json=temperatureHumidity,proto3" json:"temperature_humidity,omitempty"`
	TemperaturePressure float32      `protobuf:"fixed32,5,opt,name=temperature_pressure,json=temperaturePressure,proto3" json:"temperature_pressure,omitempty"`
	// contains filtered or unexported fields
}

func (*Climate) Descriptor deprecated

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

Deprecated: Use Climate.ProtoReflect.Descriptor instead.

func (*Climate) GetHumidity

func (x *Climate) GetHumidity() float32

func (*Climate) GetMeasurement

func (x *Climate) GetMeasurement() *Measurement

func (*Climate) GetPressure

func (x *Climate) GetPressure() float32

func (*Climate) GetTemperatureHumidity

func (x *Climate) GetTemperatureHumidity() float32

func (*Climate) GetTemperaturePressure

func (x *Climate) GetTemperaturePressure() float32

func (*Climate) ProtoMessage

func (*Climate) ProtoMessage()

func (*Climate) ProtoReflect

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

func (*Climate) Reset

func (x *Climate) Reset()

func (*Climate) String

func (x *Climate) String() string

type Measurement

type Measurement struct {
	Id   string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*Measurement) Descriptor deprecated

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

Deprecated: Use Measurement.ProtoReflect.Descriptor instead.

func (*Measurement) GetId

func (x *Measurement) GetId() string

func (*Measurement) GetTime

func (x *Measurement) GetTime() *timestamppb.Timestamp

func (*Measurement) ProtoMessage

func (*Measurement) ProtoMessage()

func (*Measurement) ProtoReflect

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

func (*Measurement) Reset

func (x *Measurement) Reset()

func (*Measurement) String

func (x *Measurement) String() string

type System

type System struct {
	Measurement    *Measurement   `protobuf:"bytes,1,opt,name=measurement,proto3" json:"measurement,omitempty"`
	CpuTemperature float32        `protobuf:"fixed32,2,opt,name=cpu_temperature,json=cpuTemperature,proto3" json:"cpu_temperature,omitempty"`
	La             *System_LA     `protobuf:"bytes,3,opt,name=la,proto3" json:"la,omitempty"`
	Memory         *System_Memory `protobuf:"bytes,4,opt,name=memory,proto3" json:"memory,omitempty"`
	Disk           *System_Disk   `protobuf:"bytes,5,opt,name=disk,proto3" json:"disk,omitempty"`
	// contains filtered or unexported fields
}

func (*System) Descriptor deprecated

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

Deprecated: Use System.ProtoReflect.Descriptor instead.

func (*System) GetCpuTemperature

func (x *System) GetCpuTemperature() float32

func (*System) GetDisk

func (x *System) GetDisk() *System_Disk

func (*System) GetLa

func (x *System) GetLa() *System_LA

func (*System) GetMeasurement

func (x *System) GetMeasurement() *Measurement

func (*System) GetMemory

func (x *System) GetMemory() *System_Memory

func (*System) ProtoMessage

func (*System) ProtoMessage()

func (*System) ProtoReflect

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

func (*System) Reset

func (x *System) Reset()

func (*System) String

func (x *System) String() string

type System_Disk

type System_Disk struct {
	TotalKb     int64 `protobuf:"varint,1,opt,name=total_kb,json=totalKb,proto3" json:"total_kb,omitempty"`
	UsedKb      int64 `protobuf:"varint,2,opt,name=used_kb,json=usedKb,proto3" json:"used_kb,omitempty"`
	AvailableKb int64 `protobuf:"varint,3,opt,name=available_kb,json=availableKb,proto3" json:"available_kb,omitempty"`
	UsePrct     int32 `protobuf:"varint,4,opt,name=use_prct,json=usePrct,proto3" json:"use_prct,omitempty"`
	// contains filtered or unexported fields
}

func (*System_Disk) Descriptor deprecated

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

Deprecated: Use System_Disk.ProtoReflect.Descriptor instead.

func (*System_Disk) GetAvailableKb

func (x *System_Disk) GetAvailableKb() int64

func (*System_Disk) GetTotalKb

func (x *System_Disk) GetTotalKb() int64

func (*System_Disk) GetUsePrct

func (x *System_Disk) GetUsePrct() int32

func (*System_Disk) GetUsedKb

func (x *System_Disk) GetUsedKb() int64

func (*System_Disk) ProtoMessage

func (*System_Disk) ProtoMessage()

func (*System_Disk) ProtoReflect

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

func (*System_Disk) Reset

func (x *System_Disk) Reset()

func (*System_Disk) String

func (x *System_Disk) String() string

type System_LA

type System_LA struct {
	Min1  float32 `protobuf:"fixed32,1,opt,name=min1,proto3" json:"min1,omitempty"`
	Min5  float32 `protobuf:"fixed32,2,opt,name=min5,proto3" json:"min5,omitempty"`
	Min15 float32 `protobuf:"fixed32,3,opt,name=min15,proto3" json:"min15,omitempty"`
	// contains filtered or unexported fields
}

func (*System_LA) Descriptor deprecated

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

Deprecated: Use System_LA.ProtoReflect.Descriptor instead.

func (*System_LA) GetMin1

func (x *System_LA) GetMin1() float32

func (*System_LA) GetMin15

func (x *System_LA) GetMin15() float32

func (*System_LA) GetMin5

func (x *System_LA) GetMin5() float32

func (*System_LA) ProtoMessage

func (*System_LA) ProtoMessage()

func (*System_LA) ProtoReflect

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

func (*System_LA) Reset

func (x *System_LA) Reset()

func (*System_LA) String

func (x *System_LA) String() string

type System_Memory

type System_Memory struct {
	TotalKb     int64 `protobuf:"varint,1,opt,name=total_kb,json=totalKb,proto3" json:"total_kb,omitempty"`
	UsedKb      int64 `protobuf:"varint,2,opt,name=used_kb,json=usedKb,proto3" json:"used_kb,omitempty"`
	FreeKb      int64 `protobuf:"varint,3,opt,name=free_kb,json=freeKb,proto3" json:"free_kb,omitempty"`
	SharedKb    int64 `protobuf:"varint,4,opt,name=shared_kb,json=sharedKb,proto3" json:"shared_kb,omitempty"`
	CacheKb     int64 `protobuf:"varint,5,opt,name=cache_kb,json=cacheKb,proto3" json:"cache_kb,omitempty"`
	AvailableKb int64 `protobuf:"varint,6,opt,name=available_kb,json=availableKb,proto3" json:"available_kb,omitempty"`
	// contains filtered or unexported fields
}

func (*System_Memory) Descriptor deprecated

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

Deprecated: Use System_Memory.ProtoReflect.Descriptor instead.

func (*System_Memory) GetAvailableKb

func (x *System_Memory) GetAvailableKb() int64

func (*System_Memory) GetCacheKb

func (x *System_Memory) GetCacheKb() int64

func (*System_Memory) GetFreeKb

func (x *System_Memory) GetFreeKb() int64

func (*System_Memory) GetSharedKb

func (x *System_Memory) GetSharedKb() int64

func (*System_Memory) GetTotalKb

func (x *System_Memory) GetTotalKb() int64

func (*System_Memory) GetUsedKb

func (x *System_Memory) GetUsedKb() int64

func (*System_Memory) ProtoMessage

func (*System_Memory) ProtoMessage()

func (*System_Memory) ProtoReflect

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

func (*System_Memory) Reset

func (x *System_Memory) Reset()

func (*System_Memory) String

func (x *System_Memory) String() string

Jump to

Keyboard shortcuts

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