protobuf

package
v0.0.0-...-161b44b Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataPoint

type DataPoint struct {
	Temp1                float32  `protobuf:"fixed32,1,opt,name=temp1,proto3" json:"temp1,omitempty"`
	Temp2                float32  `protobuf:"fixed32,2,opt,name=temp2,proto3" json:"temp2,omitempty"`
	Depth                float32  `protobuf:"fixed32,3,opt,name=depth,proto3" json:"depth,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DataPoint) Descriptor

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

func (*DataPoint) GetDepth

func (m *DataPoint) GetDepth() float32

func (*DataPoint) GetTemp1

func (m *DataPoint) GetTemp1() float32

func (*DataPoint) GetTemp2

func (m *DataPoint) GetTemp2() float32

func (*DataPoint) ProtoMessage

func (*DataPoint) ProtoMessage()

func (*DataPoint) Reset

func (m *DataPoint) Reset()

func (*DataPoint) String

func (m *DataPoint) String() string

func (*DataPoint) XXX_DiscardUnknown

func (m *DataPoint) XXX_DiscardUnknown()

func (*DataPoint) XXX_Marshal

func (m *DataPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataPoint) XXX_Merge

func (dst *DataPoint) XXX_Merge(src proto.Message)

func (*DataPoint) XXX_Size

func (m *DataPoint) XXX_Size() int

func (*DataPoint) XXX_Unmarshal

func (m *DataPoint) XXX_Unmarshal(b []byte) error

type Dive

type Dive struct {
	SensorId             uint64     `protobuf:"varint,1,opt,name=sensorId,proto3" json:"sensorId,omitempty"`
	TimeStart            int32      `protobuf:"varint,2,opt,name=timeStart,proto3" json:"timeStart,omitempty"`
	TimeEnd              int32      `protobuf:"varint,3,opt,name=timeEnd,proto3" json:"timeEnd,omitempty"`
	DataCount            int32      `protobuf:"varint,4,opt,name=dataCount,proto3" json:"dataCount,omitempty"`
	NmeaStart            string     `protobuf:"bytes,5,opt,name=nmeaStart,proto3" json:"nmeaStart,omitempty"`
	NmeaEnd              string     `protobuf:"bytes,6,opt,name=nmeaEnd,proto3" json:"nmeaEnd,omitempty"`
	DiveData             *DataPoint `protobuf:"bytes,7,opt,name=diveData,proto3" json:"diveData,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*Dive) Descriptor

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

func (*Dive) GetDataCount

func (m *Dive) GetDataCount() int32

func (*Dive) GetDiveData

func (m *Dive) GetDiveData() *DataPoint

func (*Dive) GetNmeaEnd

func (m *Dive) GetNmeaEnd() string

func (*Dive) GetNmeaStart

func (m *Dive) GetNmeaStart() string

func (*Dive) GetSensorId

func (m *Dive) GetSensorId() uint64

func (*Dive) GetTimeEnd

func (m *Dive) GetTimeEnd() int32

func (*Dive) GetTimeStart

func (m *Dive) GetTimeStart() int32

func (*Dive) ProtoMessage

func (*Dive) ProtoMessage()

func (*Dive) Reset

func (m *Dive) Reset()

func (*Dive) String

func (m *Dive) String() string

func (*Dive) XXX_DiscardUnknown

func (m *Dive) XXX_DiscardUnknown()

func (*Dive) XXX_Marshal

func (m *Dive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dive) XXX_Merge

func (dst *Dive) XXX_Merge(src proto.Message)

func (*Dive) XXX_Size

func (m *Dive) XXX_Size() int

func (*Dive) XXX_Unmarshal

func (m *Dive) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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