pb

package
v0.0.0-...-886a5b3 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Page_Sort_name = map[int32]string{
		0: "ASC",
		1: "DESC",
	}
	Page_Sort_value = map[string]int32{
		"ASC":  0,
		"DESC": 1,
	}
)

Enum value maps for Page_Sort.

View Source
var File_class_message_proto protoreflect.FileDescriptor
View Source
var File_const_message_proto protoreflect.FileDescriptor
View Source
var File_device_message_proto protoreflect.FileDescriptor
View Source
var File_generic_message_proto protoreflect.FileDescriptor
View Source
var File_logic_message_proto protoreflect.FileDescriptor
View Source
var File_slot_message_proto protoreflect.FileDescriptor
View Source
var File_source_message_proto protoreflect.FileDescriptor
View Source
var File_user_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Attr

type Attr struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	ClassId  string `protobuf:"bytes,3,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	Name     string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Desc     string `protobuf:"bytes,5,opt,name=desc,proto3" json:"desc,omitempty"`
	Tags     string `protobuf:"bytes,6,opt,name=tags,proto3" json:"tags,omitempty"`
	Type     string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
	DataType string `protobuf:"bytes,8,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
	Value    string `protobuf:"bytes,9,opt,name=value,proto3" json:"value,omitempty"`
	HValue   string `protobuf:"bytes,10,opt,name=h_value,json=hValue,proto3" json:"h_value,omitempty"`
	LValue   string `protobuf:"bytes,11,opt,name=l_value,json=lValue,proto3" json:"l_value,omitempty"`
	TagId    string `protobuf:"bytes,12,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"`
	Config   string `protobuf:"bytes,13,opt,name=config,proto3" json:"config,omitempty"`
	Status   int32  `protobuf:"zigzag32,14,opt,name=status,proto3" json:"status,omitempty"`
	Access   int32  `protobuf:"zigzag32,15,opt,name=access,proto3" json:"access,omitempty"`
	Save     int32  `protobuf:"zigzag32,16,opt,name=save,proto3" json:"save,omitempty"`
	Created  int64  `protobuf:"varint,17,opt,name=created,proto3" json:"created,omitempty"`
	Updated  int64  `protobuf:"varint,18,opt,name=updated,proto3" json:"updated,omitempty"`
	Deleted  int64  `protobuf:"varint,19,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*Attr) Descriptor deprecated

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

Deprecated: Use Attr.ProtoReflect.Descriptor instead.

func (*Attr) GetAccess

func (x *Attr) GetAccess() int32

func (*Attr) GetClassId

func (x *Attr) GetClassId() string

func (*Attr) GetConfig

func (x *Attr) GetConfig() string

func (*Attr) GetCreated

func (x *Attr) GetCreated() int64

func (*Attr) GetDataType

func (x *Attr) GetDataType() string

func (*Attr) GetDeleted

func (x *Attr) GetDeleted() int64

func (*Attr) GetDesc

func (x *Attr) GetDesc() string

func (*Attr) GetDeviceId

func (x *Attr) GetDeviceId() string

func (*Attr) GetHValue

func (x *Attr) GetHValue() string

func (*Attr) GetId

func (x *Attr) GetId() string

func (*Attr) GetLValue

func (x *Attr) GetLValue() string

func (*Attr) GetName

func (x *Attr) GetName() string

func (*Attr) GetSave

func (x *Attr) GetSave() int32

func (*Attr) GetStatus

func (x *Attr) GetStatus() int32

func (*Attr) GetTagId

func (x *Attr) GetTagId() string

func (*Attr) GetTags

func (x *Attr) GetTags() string

func (*Attr) GetType

func (x *Attr) GetType() string

func (*Attr) GetUpdated

func (x *Attr) GetUpdated() int64

func (*Attr) GetValue

func (x *Attr) GetValue() string

func (*Attr) ProtoMessage

func (*Attr) ProtoMessage()

func (*Attr) ProtoReflect

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

func (*Attr) Reset

func (x *Attr) Reset()

func (*Attr) String

func (x *Attr) String() string

type AttrNameValue

type AttrNameValue struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Value   string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	Updated int64  `protobuf:"varint,4,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*AttrNameValue) Descriptor deprecated

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

Deprecated: Use AttrNameValue.ProtoReflect.Descriptor instead.

func (*AttrNameValue) GetId

func (x *AttrNameValue) GetId() string

func (*AttrNameValue) GetName

func (x *AttrNameValue) GetName() string

func (*AttrNameValue) GetUpdated

func (x *AttrNameValue) GetUpdated() int64

func (*AttrNameValue) GetValue

func (x *AttrNameValue) GetValue() string

func (*AttrNameValue) ProtoMessage

func (*AttrNameValue) ProtoMessage()

func (*AttrNameValue) ProtoReflect

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

func (*AttrNameValue) Reset

func (x *AttrNameValue) Reset()

func (*AttrNameValue) String

func (x *AttrNameValue) String() string

type AttrValue

type AttrValue struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Value   string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Updated int64  `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*AttrValue) Descriptor deprecated

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

Deprecated: Use AttrValue.ProtoReflect.Descriptor instead.

func (*AttrValue) GetId

func (x *AttrValue) GetId() string

func (*AttrValue) GetUpdated

func (x *AttrValue) GetUpdated() int64

func (*AttrValue) GetValue

func (x *AttrValue) GetValue() string

func (*AttrValue) ProtoMessage

func (*AttrValue) ProtoMessage()

func (*AttrValue) ProtoReflect

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

func (*AttrValue) Reset

func (x *AttrValue) Reset()

func (*AttrValue) String

func (x *AttrValue) String() string

type AttrValueUpdated

type AttrValueUpdated struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	CableId  string `protobuf:"bytes,3,opt,name=cable_id,json=cableId,proto3" json:"cable_id,omitempty"`
	Value    string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	Updated  int64  `protobuf:"varint,5,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*AttrValueUpdated) Descriptor deprecated

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

Deprecated: Use AttrValueUpdated.ProtoReflect.Descriptor instead.

func (*AttrValueUpdated) GetCableId

func (x *AttrValueUpdated) GetCableId() string

func (*AttrValueUpdated) GetDeviceId

func (x *AttrValueUpdated) GetDeviceId() string

func (*AttrValueUpdated) GetId

func (x *AttrValueUpdated) GetId() string

func (*AttrValueUpdated) GetUpdated

func (x *AttrValueUpdated) GetUpdated() int64

func (*AttrValueUpdated) GetValue

func (x *AttrValueUpdated) GetValue() string

func (*AttrValueUpdated) ProtoMessage

func (*AttrValueUpdated) ProtoMessage()

func (*AttrValueUpdated) ProtoReflect

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

func (*AttrValueUpdated) Reset

func (x *AttrValueUpdated) Reset()

func (*AttrValueUpdated) String

func (x *AttrValueUpdated) String() string

type Class

type Class struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Desc     string `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"`
	Tags     string `protobuf:"bytes,5,opt,name=tags,proto3" json:"tags,omitempty"`
	Type     string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	Config   string `protobuf:"bytes,7,opt,name=config,proto3" json:"config,omitempty"`
	Status   int32  `protobuf:"zigzag32,8,opt,name=status,proto3" json:"status,omitempty"`
	Save     int32  `protobuf:"zigzag32,9,opt,name=save,proto3" json:"save,omitempty"`
	Created  int64  `protobuf:"varint,10,opt,name=created,proto3" json:"created,omitempty"`
	Updated  int64  `protobuf:"varint,11,opt,name=updated,proto3" json:"updated,omitempty"`
	Deleted  int64  `protobuf:"varint,12,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*Class) Descriptor deprecated

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

Deprecated: Use Class.ProtoReflect.Descriptor instead.

func (*Class) GetConfig

func (x *Class) GetConfig() string

func (*Class) GetCreated

func (x *Class) GetCreated() int64

func (*Class) GetDeleted

func (x *Class) GetDeleted() int64

func (*Class) GetDesc

func (x *Class) GetDesc() string

func (*Class) GetDeviceId

func (x *Class) GetDeviceId() string

func (*Class) GetId

func (x *Class) GetId() string

func (*Class) GetName

func (x *Class) GetName() string

func (*Class) GetSave

func (x *Class) GetSave() int32

func (*Class) GetStatus

func (x *Class) GetStatus() int32

func (*Class) GetTags

func (x *Class) GetTags() string

func (*Class) GetType

func (x *Class) GetType() string

func (*Class) GetUpdated

func (x *Class) GetUpdated() int64

func (*Class) ProtoMessage

func (*Class) ProtoMessage()

func (*Class) ProtoReflect

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

func (*Class) Reset

func (x *Class) Reset()

func (*Class) String

func (x *Class) String() string

type Const

type Const struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Desc     string `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"`
	Tags     string `protobuf:"bytes,5,opt,name=tags,proto3" json:"tags,omitempty"`
	Type     string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	DataType string `protobuf:"bytes,7,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
	Value    string `protobuf:"bytes,8,opt,name=value,proto3" json:"value,omitempty"`
	HValue   string `protobuf:"bytes,9,opt,name=h_value,json=hValue,proto3" json:"h_value,omitempty"`
	LValue   string `protobuf:"bytes,10,opt,name=l_value,json=lValue,proto3" json:"l_value,omitempty"`
	Config   string `protobuf:"bytes,11,opt,name=config,proto3" json:"config,omitempty"`
	Status   int32  `protobuf:"zigzag32,12,opt,name=status,proto3" json:"status,omitempty"`
	Access   int32  `protobuf:"zigzag32,13,opt,name=access,proto3" json:"access,omitempty"`
	Created  int64  `protobuf:"varint,14,opt,name=created,proto3" json:"created,omitempty"`
	Updated  int64  `protobuf:"varint,15,opt,name=updated,proto3" json:"updated,omitempty"`
	Deleted  int64  `protobuf:"varint,16,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*Const) Descriptor deprecated

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

Deprecated: Use Const.ProtoReflect.Descriptor instead.

func (*Const) GetAccess

func (x *Const) GetAccess() int32

func (*Const) GetConfig

func (x *Const) GetConfig() string

func (*Const) GetCreated

func (x *Const) GetCreated() int64

func (*Const) GetDataType

func (x *Const) GetDataType() string

func (*Const) GetDeleted

func (x *Const) GetDeleted() int64

func (*Const) GetDesc

func (x *Const) GetDesc() string

func (*Const) GetDeviceId

func (x *Const) GetDeviceId() string

func (*Const) GetHValue

func (x *Const) GetHValue() string

func (*Const) GetId

func (x *Const) GetId() string

func (*Const) GetLValue

func (x *Const) GetLValue() string

func (*Const) GetName

func (x *Const) GetName() string

func (*Const) GetStatus

func (x *Const) GetStatus() int32

func (*Const) GetTags

func (x *Const) GetTags() string

func (*Const) GetType

func (x *Const) GetType() string

func (*Const) GetUpdated

func (x *Const) GetUpdated() int64

func (*Const) GetValue

func (x *Const) GetValue() string

func (*Const) ProtoMessage

func (*Const) ProtoMessage()

func (*Const) ProtoReflect

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

func (*Const) Reset

func (x *Const) Reset()

func (*Const) String

func (x *Const) String() string

type ConstNameValue

type ConstNameValue struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Value   string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	Updated int64  `protobuf:"varint,4,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*ConstNameValue) Descriptor deprecated

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

Deprecated: Use ConstNameValue.ProtoReflect.Descriptor instead.

func (*ConstNameValue) GetId

func (x *ConstNameValue) GetId() string

func (*ConstNameValue) GetName

func (x *ConstNameValue) GetName() string

func (*ConstNameValue) GetUpdated

func (x *ConstNameValue) GetUpdated() int64

func (*ConstNameValue) GetValue

func (x *ConstNameValue) GetValue() string

func (*ConstNameValue) ProtoMessage

func (*ConstNameValue) ProtoMessage()

func (*ConstNameValue) ProtoReflect

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

func (*ConstNameValue) Reset

func (x *ConstNameValue) Reset()

func (*ConstNameValue) String

func (x *ConstNameValue) String() string

type ConstValue

type ConstValue struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Value   string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Updated int64  `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*ConstValue) Descriptor deprecated

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

Deprecated: Use ConstValue.ProtoReflect.Descriptor instead.

func (*ConstValue) GetId

func (x *ConstValue) GetId() string

func (*ConstValue) GetUpdated

func (x *ConstValue) GetUpdated() int64

func (*ConstValue) GetValue

func (x *ConstValue) GetValue() string

func (*ConstValue) ProtoMessage

func (*ConstValue) ProtoMessage()

func (*ConstValue) ProtoReflect

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

func (*ConstValue) Reset

func (x *ConstValue) Reset()

func (*ConstValue) String

func (x *ConstValue) String() string

type Device

type Device struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Desc     string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	Tags     string `protobuf:"bytes,4,opt,name=tags,proto3" json:"tags,omitempty"`
	Type     string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	Arch     string `protobuf:"bytes,6,opt,name=arch,proto3" json:"arch,omitempty"`
	Secret   string `protobuf:"bytes,7,opt,name=secret,proto3" json:"secret,omitempty"`
	Location string `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"`
	Config   string `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"`
	Link     int32  `protobuf:"zigzag32,10,opt,name=link,proto3" json:"link,omitempty"`
	Status   int32  `protobuf:"zigzag32,11,opt,name=status,proto3" json:"status,omitempty"`
	Created  int64  `protobuf:"varint,12,opt,name=created,proto3" json:"created,omitempty"`
	Updated  int64  `protobuf:"varint,13,opt,name=updated,proto3" json:"updated,omitempty"`
	Deleted  int64  `protobuf:"varint,14,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*Device) Descriptor deprecated

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

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetArch

func (x *Device) GetArch() string

func (*Device) GetConfig

func (x *Device) GetConfig() string

func (*Device) GetCreated

func (x *Device) GetCreated() int64

func (*Device) GetDeleted

func (x *Device) GetDeleted() int64

func (*Device) GetDesc

func (x *Device) GetDesc() string

func (*Device) GetId

func (x *Device) GetId() string
func (x *Device) GetLink() int32

func (*Device) GetLocation

func (x *Device) GetLocation() string

func (*Device) GetName

func (x *Device) GetName() string

func (*Device) GetSecret

func (x *Device) GetSecret() string

func (*Device) GetStatus

func (x *Device) GetStatus() int32

func (*Device) GetTags

func (x *Device) GetTags() string

func (*Device) GetType

func (x *Device) GetType() string

func (*Device) GetUpdated

func (x *Device) GetUpdated() int64

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

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

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

type Fn

type Fn struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Desc     string `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"`
	Tags     string `protobuf:"bytes,5,opt,name=tags,proto3" json:"tags,omitempty"`
	Type     string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	Exec     string `protobuf:"bytes,7,opt,name=exec,proto3" json:"exec,omitempty"`
	Main     string `protobuf:"bytes,8,opt,name=main,proto3" json:"main,omitempty"`
	Config   string `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"`
	Link     int32  `protobuf:"zigzag32,10,opt,name=link,proto3" json:"link,omitempty"`
	Status   int32  `protobuf:"zigzag32,11,opt,name=status,proto3" json:"status,omitempty"`
	Debug    int32  `protobuf:"zigzag32,12,opt,name=debug,proto3" json:"debug,omitempty"`
	Created  int64  `protobuf:"varint,13,opt,name=created,proto3" json:"created,omitempty"`
	Updated  int64  `protobuf:"varint,14,opt,name=updated,proto3" json:"updated,omitempty"`
	Deleted  int64  `protobuf:"varint,15,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*Fn) Descriptor deprecated

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

Deprecated: Use Fn.ProtoReflect.Descriptor instead.

func (*Fn) GetConfig

func (x *Fn) GetConfig() string

func (*Fn) GetCreated

func (x *Fn) GetCreated() int64

func (*Fn) GetDebug

func (x *Fn) GetDebug() int32

func (*Fn) GetDeleted

func (x *Fn) GetDeleted() int64

func (*Fn) GetDesc

func (x *Fn) GetDesc() string

func (*Fn) GetDeviceId

func (x *Fn) GetDeviceId() string

func (*Fn) GetExec

func (x *Fn) GetExec() string

func (*Fn) GetId

func (x *Fn) GetId() string
func (x *Fn) GetLink() int32

func (*Fn) GetMain

func (x *Fn) GetMain() string

func (*Fn) GetName

func (x *Fn) GetName() string

func (*Fn) GetStatus

func (x *Fn) GetStatus() int32

func (*Fn) GetTags

func (x *Fn) GetTags() string

func (*Fn) GetType

func (x *Fn) GetType() string

func (*Fn) GetUpdated

func (x *Fn) GetUpdated() int64

func (*Fn) ProtoMessage

func (*Fn) ProtoMessage()

func (*Fn) ProtoReflect

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

func (*Fn) Reset

func (x *Fn) Reset()

func (*Fn) String

func (x *Fn) String() string

type Id

type Id struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Id) Descriptor deprecated

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

Deprecated: Use Id.ProtoReflect.Descriptor instead.

func (*Id) GetId

func (x *Id) GetId() string

func (*Id) ProtoMessage

func (*Id) ProtoMessage()

func (*Id) ProtoReflect

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

func (*Id) Reset

func (x *Id) Reset()

func (*Id) String

func (x *Id) String() string

type Logic

type Logic struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Desc     string `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"`
	Tags     string `protobuf:"bytes,5,opt,name=tags,proto3" json:"tags,omitempty"`
	Type     string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	Exec     string `protobuf:"bytes,7,opt,name=exec,proto3" json:"exec,omitempty"`
	Main     string `protobuf:"bytes,8,opt,name=main,proto3" json:"main,omitempty"`
	Config   string `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"`
	Status   int32  `protobuf:"zigzag32,10,opt,name=status,proto3" json:"status,omitempty"`
	Created  int64  `protobuf:"varint,11,opt,name=created,proto3" json:"created,omitempty"`
	Updated  int64  `protobuf:"varint,12,opt,name=updated,proto3" json:"updated,omitempty"`
	Deleted  int64  `protobuf:"varint,13,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*Logic) Descriptor deprecated

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

Deprecated: Use Logic.ProtoReflect.Descriptor instead.

func (*Logic) GetConfig

func (x *Logic) GetConfig() string

func (*Logic) GetCreated

func (x *Logic) GetCreated() int64

func (*Logic) GetDeleted

func (x *Logic) GetDeleted() int64

func (*Logic) GetDesc

func (x *Logic) GetDesc() string

func (*Logic) GetDeviceId

func (x *Logic) GetDeviceId() string

func (*Logic) GetExec

func (x *Logic) GetExec() string

func (*Logic) GetId

func (x *Logic) GetId() string

func (*Logic) GetMain

func (x *Logic) GetMain() string

func (*Logic) GetName

func (x *Logic) GetName() string

func (*Logic) GetStatus

func (x *Logic) GetStatus() int32

func (*Logic) GetTags

func (x *Logic) GetTags() string

func (*Logic) GetType

func (x *Logic) GetType() string

func (*Logic) GetUpdated

func (x *Logic) GetUpdated() int64

func (*Logic) ProtoMessage

func (*Logic) ProtoMessage()

func (*Logic) ProtoReflect

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

func (*Logic) Reset

func (x *Logic) Reset()

func (*Logic) String

func (x *Logic) String() string

type Message

type Message struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetMessage

func (x *Message) GetMessage() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MyBool

type MyBool struct {
	Bool bool `protobuf:"varint,1,opt,name=bool,proto3" json:"bool,omitempty"`
	// contains filtered or unexported fields
}

func (*MyBool) Descriptor deprecated

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

Deprecated: Use MyBool.ProtoReflect.Descriptor instead.

func (*MyBool) GetBool

func (x *MyBool) GetBool() bool

func (*MyBool) ProtoMessage

func (*MyBool) ProtoMessage()

func (*MyBool) ProtoReflect

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

func (*MyBool) Reset

func (x *MyBool) Reset()

func (*MyBool) String

func (x *MyBool) String() string

type MyEmpty

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

func (*MyEmpty) Descriptor deprecated

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

Deprecated: Use MyEmpty.ProtoReflect.Descriptor instead.

func (*MyEmpty) ProtoMessage

func (*MyEmpty) ProtoMessage()

func (*MyEmpty) ProtoReflect

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

func (*MyEmpty) Reset

func (x *MyEmpty) Reset()

func (*MyEmpty) String

func (x *MyEmpty) String() string

type Name

type Name struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Name) Descriptor deprecated

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

Deprecated: Use Name.ProtoReflect.Descriptor instead.

func (*Name) GetName

func (x *Name) GetName() string

func (*Name) ProtoMessage

func (*Name) ProtoMessage()

func (*Name) ProtoReflect

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

func (*Name) Reset

func (x *Name) Reset()

func (*Name) String

func (x *Name) String() string

type Page

type Page struct {
	Limit   uint32    `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset  uint32    `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Search  string    `protobuf:"bytes,3,opt,name=search,proto3" json:"search,omitempty"`
	OrderBy string    `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Sort    Page_Sort `protobuf:"varint,5,opt,name=sort,proto3,enum=pb.Page_Sort" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*Page) Descriptor deprecated

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

Deprecated: Use Page.ProtoReflect.Descriptor instead.

func (*Page) GetLimit

func (x *Page) GetLimit() uint32

func (*Page) GetOffset

func (x *Page) GetOffset() uint32

func (*Page) GetOrderBy

func (x *Page) GetOrderBy() string

func (*Page) GetSearch

func (x *Page) GetSearch() string

func (*Page) GetSort

func (x *Page) GetSort() Page_Sort

func (*Page) ProtoMessage

func (*Page) ProtoMessage()

func (*Page) ProtoReflect

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

func (*Page) Reset

func (x *Page) Reset()

func (*Page) String

func (x *Page) String() string

type Page_Sort

type Page_Sort int32
const (
	Page_ASC  Page_Sort = 0
	Page_DESC Page_Sort = 1
)

func (Page_Sort) Descriptor

func (Page_Sort) Descriptor() protoreflect.EnumDescriptor

func (Page_Sort) Enum

func (x Page_Sort) Enum() *Page_Sort

func (Page_Sort) EnumDescriptor deprecated

func (Page_Sort) EnumDescriptor() ([]byte, []int)

Deprecated: Use Page_Sort.Descriptor instead.

func (Page_Sort) Number

func (x Page_Sort) Number() protoreflect.EnumNumber

func (Page_Sort) String

func (x Page_Sort) String() string

func (Page_Sort) Type

type Slot

type Slot struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Desc     string `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"`
	Tags     string `protobuf:"bytes,5,opt,name=tags,proto3" json:"tags,omitempty"`
	Type     string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	Secret   string `protobuf:"bytes,7,opt,name=secret,proto3" json:"secret,omitempty"`
	Location string `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"`
	Config   string `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"`
	Link     int32  `protobuf:"zigzag32,10,opt,name=link,proto3" json:"link,omitempty"`
	Status   int32  `protobuf:"zigzag32,11,opt,name=status,proto3" json:"status,omitempty"`
	Created  int64  `protobuf:"varint,12,opt,name=created,proto3" json:"created,omitempty"`
	Updated  int64  `protobuf:"varint,13,opt,name=updated,proto3" json:"updated,omitempty"`
	Deleted  int64  `protobuf:"varint,14,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*Slot) Descriptor deprecated

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

Deprecated: Use Slot.ProtoReflect.Descriptor instead.

func (*Slot) GetConfig

func (x *Slot) GetConfig() string

func (*Slot) GetCreated

func (x *Slot) GetCreated() int64

func (*Slot) GetDeleted

func (x *Slot) GetDeleted() int64

func (*Slot) GetDesc

func (x *Slot) GetDesc() string

func (*Slot) GetDeviceId

func (x *Slot) GetDeviceId() string

func (*Slot) GetId

func (x *Slot) GetId() string
func (x *Slot) GetLink() int32

func (*Slot) GetLocation

func (x *Slot) GetLocation() string

func (*Slot) GetName

func (x *Slot) GetName() string

func (*Slot) GetSecret

func (x *Slot) GetSecret() string

func (*Slot) GetStatus

func (x *Slot) GetStatus() int32

func (*Slot) GetTags

func (x *Slot) GetTags() string

func (*Slot) GetType

func (x *Slot) GetType() string

func (*Slot) GetUpdated

func (x *Slot) GetUpdated() int64

func (*Slot) ProtoMessage

func (*Slot) ProtoMessage()

func (*Slot) ProtoReflect

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

func (*Slot) Reset

func (x *Slot) Reset()

func (*Slot) String

func (x *Slot) String() string

type Source

type Source struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Desc     string `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"`
	Tags     string `protobuf:"bytes,5,opt,name=tags,proto3" json:"tags,omitempty"`
	Type     string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	Source   string `protobuf:"bytes,7,opt,name=source,proto3" json:"source,omitempty"`
	Params   string `protobuf:"bytes,8,opt,name=params,proto3" json:"params,omitempty"`
	Config   string `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"`
	Link     int32  `protobuf:"zigzag32,10,opt,name=link,proto3" json:"link,omitempty"`
	Status   int32  `protobuf:"zigzag32,11,opt,name=status,proto3" json:"status,omitempty"`
	Save     int32  `protobuf:"zigzag32,12,opt,name=save,proto3" json:"save,omitempty"`
	Created  int64  `protobuf:"varint,13,opt,name=created,proto3" json:"created,omitempty"`
	Updated  int64  `protobuf:"varint,14,opt,name=updated,proto3" json:"updated,omitempty"`
	Deleted  int64  `protobuf:"varint,15,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*Source) Descriptor deprecated

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

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetConfig

func (x *Source) GetConfig() string

func (*Source) GetCreated

func (x *Source) GetCreated() int64

func (*Source) GetDeleted

func (x *Source) GetDeleted() int64

func (*Source) GetDesc

func (x *Source) GetDesc() string

func (*Source) GetDeviceId

func (x *Source) GetDeviceId() string

func (*Source) GetId

func (x *Source) GetId() string
func (x *Source) GetLink() int32

func (*Source) GetName

func (x *Source) GetName() string

func (*Source) GetParams

func (x *Source) GetParams() string

func (*Source) GetSave

func (x *Source) GetSave() int32

func (*Source) GetSource

func (x *Source) GetSource() string

func (*Source) GetStatus

func (x *Source) GetStatus() int32

func (*Source) GetTags

func (x *Source) GetTags() string

func (*Source) GetType

func (x *Source) GetType() string

func (*Source) GetUpdated

func (x *Source) GetUpdated() int64

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

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

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

type Tag

type Tag struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	SourceId string `protobuf:"bytes,3,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
	Name     string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Desc     string `protobuf:"bytes,5,opt,name=desc,proto3" json:"desc,omitempty"`
	Tags     string `protobuf:"bytes,6,opt,name=tags,proto3" json:"tags,omitempty"`
	Type     string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
	DataType string `protobuf:"bytes,8,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
	Address  string `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"`
	Value    string `protobuf:"bytes,10,opt,name=value,proto3" json:"value,omitempty"`
	HValue   string `protobuf:"bytes,11,opt,name=h_value,json=hValue,proto3" json:"h_value,omitempty"`
	LValue   string `protobuf:"bytes,12,opt,name=l_value,json=lValue,proto3" json:"l_value,omitempty"`
	Config   string `protobuf:"bytes,13,opt,name=config,proto3" json:"config,omitempty"`
	Status   int32  `protobuf:"zigzag32,14,opt,name=status,proto3" json:"status,omitempty"`
	Access   int32  `protobuf:"zigzag32,15,opt,name=access,proto3" json:"access,omitempty"`
	Save     int32  `protobuf:"zigzag32,16,opt,name=save,proto3" json:"save,omitempty"`
	Created  int64  `protobuf:"varint,17,opt,name=created,proto3" json:"created,omitempty"`
	Updated  int64  `protobuf:"varint,18,opt,name=updated,proto3" json:"updated,omitempty"`
	Deleted  int64  `protobuf:"varint,19,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*Tag) Descriptor deprecated

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetAccess

func (x *Tag) GetAccess() int32

func (*Tag) GetAddress

func (x *Tag) GetAddress() string

func (*Tag) GetConfig

func (x *Tag) GetConfig() string

func (*Tag) GetCreated

func (x *Tag) GetCreated() int64

func (*Tag) GetDataType

func (x *Tag) GetDataType() string

func (*Tag) GetDeleted

func (x *Tag) GetDeleted() int64

func (*Tag) GetDesc

func (x *Tag) GetDesc() string

func (*Tag) GetDeviceId

func (x *Tag) GetDeviceId() string

func (*Tag) GetHValue

func (x *Tag) GetHValue() string

func (*Tag) GetId

func (x *Tag) GetId() string

func (*Tag) GetLValue

func (x *Tag) GetLValue() string

func (*Tag) GetName

func (x *Tag) GetName() string

func (*Tag) GetSave

func (x *Tag) GetSave() int32

func (*Tag) GetSourceId

func (x *Tag) GetSourceId() string

func (*Tag) GetStatus

func (x *Tag) GetStatus() int32

func (*Tag) GetTags

func (x *Tag) GetTags() string

func (*Tag) GetType

func (x *Tag) GetType() string

func (*Tag) GetUpdated

func (x *Tag) GetUpdated() int64

func (*Tag) GetValue

func (x *Tag) GetValue() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

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

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

type TagNameValue

type TagNameValue struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Value   string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	Updated int64  `protobuf:"varint,4,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*TagNameValue) Descriptor deprecated

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

Deprecated: Use TagNameValue.ProtoReflect.Descriptor instead.

func (*TagNameValue) GetId

func (x *TagNameValue) GetId() string

func (*TagNameValue) GetName

func (x *TagNameValue) GetName() string

func (*TagNameValue) GetUpdated

func (x *TagNameValue) GetUpdated() int64

func (*TagNameValue) GetValue

func (x *TagNameValue) GetValue() string

func (*TagNameValue) ProtoMessage

func (*TagNameValue) ProtoMessage()

func (*TagNameValue) ProtoReflect

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

func (*TagNameValue) Reset

func (x *TagNameValue) Reset()

func (*TagNameValue) String

func (x *TagNameValue) String() string

type TagValue

type TagValue struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Value   string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Updated int64  `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*TagValue) Descriptor deprecated

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

Deprecated: Use TagValue.ProtoReflect.Descriptor instead.

func (*TagValue) GetId

func (x *TagValue) GetId() string

func (*TagValue) GetUpdated

func (x *TagValue) GetUpdated() int64

func (*TagValue) GetValue

func (x *TagValue) GetValue() string

func (*TagValue) ProtoMessage

func (*TagValue) ProtoMessage()

func (*TagValue) ProtoReflect

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

func (*TagValue) Reset

func (x *TagValue) Reset()

func (*TagValue) String

func (x *TagValue) String() string

type TagValueUpdated

type TagValueUpdated struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	SourceId string `protobuf:"bytes,3,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
	Value    string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	Updated  int64  `protobuf:"varint,5,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*TagValueUpdated) Descriptor deprecated

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

Deprecated: Use TagValueUpdated.ProtoReflect.Descriptor instead.

func (*TagValueUpdated) GetDeviceId

func (x *TagValueUpdated) GetDeviceId() string

func (*TagValueUpdated) GetId

func (x *TagValueUpdated) GetId() string

func (*TagValueUpdated) GetSourceId

func (x *TagValueUpdated) GetSourceId() string

func (*TagValueUpdated) GetUpdated

func (x *TagValueUpdated) GetUpdated() int64

func (*TagValueUpdated) GetValue

func (x *TagValueUpdated) GetValue() string

func (*TagValueUpdated) ProtoMessage

func (*TagValueUpdated) ProtoMessage()

func (*TagValueUpdated) ProtoReflect

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

func (*TagValueUpdated) Reset

func (x *TagValueUpdated) Reset()

func (*TagValueUpdated) String

func (x *TagValueUpdated) String() string

type User

type User struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	Tags string `protobuf:"bytes,4,opt,name=tags,proto3" json:"tags,omitempty"`
	Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	// string pass = 6;
	Role    string `protobuf:"bytes,7,opt,name=role,proto3" json:"role,omitempty"`
	Status  int32  `protobuf:"zigzag32,8,opt,name=status,proto3" json:"status,omitempty"`
	Created int64  `protobuf:"varint,9,opt,name=created,proto3" json:"created,omitempty"`
	Updated int64  `protobuf:"varint,10,opt,name=updated,proto3" json:"updated,omitempty"`
	Deleted int64  `protobuf:"varint,11,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreated

func (x *User) GetCreated() int64

func (*User) GetDeleted

func (x *User) GetDeleted() int64

func (*User) GetDesc

func (x *User) GetDesc() string

func (*User) GetId

func (x *User) GetId() string

func (*User) GetName

func (x *User) GetName() string

func (*User) GetRole

func (x *User) GetRole() string

func (*User) GetStatus

func (x *User) GetStatus() int32

func (*User) GetTags

func (x *User) GetTags() string

func (*User) GetType

func (x *User) GetType() string

func (*User) GetUpdated

func (x *User) GetUpdated() int64

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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