Documentation ¶
Index ¶
- Variables
- type Alarm
- func (*Alarm) Descriptor() ([]byte, []int)deprecated
- func (x *Alarm) GetAddress() string
- func (x *Alarm) GetCreated() *Alarm_Timestamp
- func (x *Alarm) GetForeignId() string
- func (x *Alarm) GetId() int64
- func (x *Alarm) GetPosition() *Alarm_LatLng
- func (x *Alarm) GetPriority() bool
- func (x *Alarm) GetText() string
- func (x *Alarm) GetTitle() string
- func (x *Alarm) GetUpdated() *Alarm_Timestamp
- func (*Alarm) ProtoMessage()
- func (x *Alarm) ProtoReflect() protoreflect.Message
- func (x *Alarm) Reset()
- func (x *Alarm) String() string
- type Alarm_LatLng
- func (*Alarm_LatLng) Descriptor() ([]byte, []int)deprecated
- func (x *Alarm_LatLng) GetLatitude() float64
- func (x *Alarm_LatLng) GetLongitude() float64
- func (*Alarm_LatLng) ProtoMessage()
- func (x *Alarm_LatLng) ProtoReflect() protoreflect.Message
- func (x *Alarm_LatLng) Reset()
- func (x *Alarm_LatLng) String() string
- type Alarm_Timestamp
Constants ¶
This section is empty.
Variables ¶
View Source
var File_divera_alarm_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Alarm ¶
type Alarm struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ForeignId string `protobuf:"bytes,2,opt,name=foreign_id,json=foreignId,proto3" json:"foreign_id,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` Position *Alarm_LatLng `protobuf:"bytes,6,opt,name=position,proto3" json:"position,omitempty"` Priority bool `protobuf:"varint,7,opt,name=priority,proto3" json:"priority,omitempty"` Created *Alarm_Timestamp `protobuf:"bytes,8,opt,name=created,proto3" json:"created,omitempty"` Updated *Alarm_Timestamp `protobuf:"bytes,9,opt,name=updated,proto3" json:"updated,omitempty"` // contains filtered or unexported fields }
func (*Alarm) Descriptor
deprecated
func (*Alarm) GetAddress ¶
func (*Alarm) GetCreated ¶
func (x *Alarm) GetCreated() *Alarm_Timestamp
func (*Alarm) GetForeignId ¶
func (*Alarm) GetPosition ¶
func (x *Alarm) GetPosition() *Alarm_LatLng
func (*Alarm) GetPriority ¶
func (*Alarm) GetUpdated ¶
func (x *Alarm) GetUpdated() *Alarm_Timestamp
func (*Alarm) ProtoMessage ¶
func (*Alarm) ProtoMessage()
func (*Alarm) ProtoReflect ¶
func (x *Alarm) ProtoReflect() protoreflect.Message
type Alarm_LatLng ¶
type Alarm_LatLng struct { Latitude float64 `protobuf:"fixed64,1,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude float64 `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"` // contains filtered or unexported fields }
func (*Alarm_LatLng) Descriptor
deprecated
func (*Alarm_LatLng) Descriptor() ([]byte, []int)
Deprecated: Use Alarm_LatLng.ProtoReflect.Descriptor instead.
func (*Alarm_LatLng) GetLatitude ¶
func (x *Alarm_LatLng) GetLatitude() float64
func (*Alarm_LatLng) GetLongitude ¶
func (x *Alarm_LatLng) GetLongitude() float64
func (*Alarm_LatLng) ProtoMessage ¶
func (*Alarm_LatLng) ProtoMessage()
func (*Alarm_LatLng) ProtoReflect ¶
func (x *Alarm_LatLng) ProtoReflect() protoreflect.Message
func (*Alarm_LatLng) Reset ¶
func (x *Alarm_LatLng) Reset()
func (*Alarm_LatLng) String ¶
func (x *Alarm_LatLng) String() string
type Alarm_Timestamp ¶
type Alarm_Timestamp struct { // Represents seconds of UTC time since Unix epoch // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to // 9999-12-31T23:59:59Z inclusive. Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` // contains filtered or unexported fields }
func (*Alarm_Timestamp) Descriptor
deprecated
func (*Alarm_Timestamp) Descriptor() ([]byte, []int)
Deprecated: Use Alarm_Timestamp.ProtoReflect.Descriptor instead.
func (*Alarm_Timestamp) GetSeconds ¶
func (x *Alarm_Timestamp) GetSeconds() int64
func (*Alarm_Timestamp) ProtoMessage ¶
func (*Alarm_Timestamp) ProtoMessage()
func (*Alarm_Timestamp) ProtoReflect ¶
func (x *Alarm_Timestamp) ProtoReflect() protoreflect.Message
func (*Alarm_Timestamp) Reset ¶
func (x *Alarm_Timestamp) Reset()
func (*Alarm_Timestamp) String ¶
func (x *Alarm_Timestamp) String() string
Click to show internal directories.
Click to hide internal directories.