proto_grideye

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

README

proto_grideye

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_grideye_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GridEye

type GridEye struct {
	DeviceId string                 `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // not used
	Hostname string                 `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`                 // of Raspberry Pi
	Location string                 `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`                 // of Raspberry Pi
	Mac      string                 `protobuf:"bytes,4,opt,name=mac,proto3" json:"mac,omitempty"`                           // of Raspberry Pi
	Ip       string                 `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"`                             // of Raspberry Pi
	Seq      uint64                 `protobuf:"varint,6,opt,name=seq,proto3" json:"seq,omitempty"`                          // sequence number
	Ts       *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=ts,proto3" json:"ts,omitempty"`
	Data     []*GridEyeEvent        `protobuf:"bytes,8,rep,name=data,proto3" json:"data,omitempty"` // message has several event data.
	// contains filtered or unexported fields
}

GridEye Service message

func (*GridEye) Descriptor deprecated

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

Deprecated: Use GridEye.ProtoReflect.Descriptor instead.

func (*GridEye) GetData

func (x *GridEye) GetData() []*GridEyeEvent

func (*GridEye) GetDeviceId

func (x *GridEye) GetDeviceId() string

func (*GridEye) GetHostname

func (x *GridEye) GetHostname() string

func (*GridEye) GetIp

func (x *GridEye) GetIp() string

func (*GridEye) GetLocation

func (x *GridEye) GetLocation() string

func (*GridEye) GetMac

func (x *GridEye) GetMac() string

func (*GridEye) GetSeq

func (x *GridEye) GetSeq() uint64

func (*GridEye) GetTs

func (x *GridEye) GetTs() *timestamppb.Timestamp

func (*GridEye) ProtoMessage

func (*GridEye) ProtoMessage()

func (*GridEye) ProtoReflect

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

func (*GridEye) Reset

func (x *GridEye) Reset()

func (*GridEye) String

func (x *GridEye) String() string

type GridEyeEvent

type GridEyeEvent struct {
	Typ           string                 `protobuf:"bytes,1,opt,name=typ,proto3" json:"typ,omitempty"`  // one of "sensor", "keepAlive", etc.
	Id            string                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`    // of Grid Eye Sensor
	Seq           uint64                 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` // sequence number
	Ts            *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=ts,proto3" json:"ts,omitempty"`
	Temps         []float64              `protobuf:"fixed64,5,rep,packed,name=temps,proto3" json:"temps,omitempty"`                // Sensed Data by Grid Eye
	AudioSpectrum []uint32               `protobuf:"varint,6,rep,packed,name=audioSpectrum,proto3" json:"audioSpectrum,omitempty"` // Sensed Data by Microphone
	// contains filtered or unexported fields
}

func (*GridEyeEvent) Descriptor deprecated

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

Deprecated: Use GridEyeEvent.ProtoReflect.Descriptor instead.

func (*GridEyeEvent) GetAudioSpectrum added in v0.1.1

func (x *GridEyeEvent) GetAudioSpectrum() []uint32

func (*GridEyeEvent) GetId

func (x *GridEyeEvent) GetId() string

func (*GridEyeEvent) GetSeq

func (x *GridEyeEvent) GetSeq() uint64

func (*GridEyeEvent) GetTemps

func (x *GridEyeEvent) GetTemps() []float64

func (*GridEyeEvent) GetTs

func (x *GridEyeEvent) GetTs() *timestamppb.Timestamp

func (*GridEyeEvent) GetTyp

func (x *GridEyeEvent) GetTyp() string

func (*GridEyeEvent) ProtoMessage

func (*GridEyeEvent) ProtoMessage()

func (*GridEyeEvent) ProtoReflect

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

func (*GridEyeEvent) Reset

func (x *GridEyeEvent) Reset()

func (*GridEyeEvent) String

func (x *GridEyeEvent) String() string

type GridEyes

type GridEyes struct {
	Messages []*GridEye `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // multiple counter data for first transfer
	// contains filtered or unexported fields
}

func (*GridEyes) Descriptor deprecated

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

Deprecated: Use GridEyes.ProtoReflect.Descriptor instead.

func (*GridEyes) GetMessages

func (x *GridEyes) GetMessages() []*GridEye

func (*GridEyes) ProtoMessage

func (*GridEyes) ProtoMessage()

func (*GridEyes) ProtoReflect

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

func (*GridEyes) Reset

func (x *GridEyes) Reset()

func (*GridEyes) String

func (x *GridEyes) String() string

type Retrieve

type Retrieve struct {
	From     *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Duration *durationpb.Duration   `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
	Result   *GridEyes              `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*Retrieve) Descriptor deprecated

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

Deprecated: Use Retrieve.ProtoReflect.Descriptor instead.

func (*Retrieve) GetDuration

func (x *Retrieve) GetDuration() *durationpb.Duration

func (*Retrieve) GetFrom

func (x *Retrieve) GetFrom() *timestamppb.Timestamp

func (*Retrieve) GetResult

func (x *Retrieve) GetResult() *GridEyes

func (*Retrieve) ProtoMessage

func (*Retrieve) ProtoMessage()

func (*Retrieve) ProtoReflect

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

func (*Retrieve) Reset

func (x *Retrieve) Reset()

func (*Retrieve) String

func (x *Retrieve) String() string

Jump to

Keyboard shortcuts

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