v1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Device_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.device.v1.Device",
	HandlerType: (*DeviceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDevice",
			Handler:    _Device_CreateDevice_Handler,
		},
		{
			MethodName: "UpdateDevice",
			Handler:    _Device_UpdateDevice_Handler,
		},
		{
			MethodName: "DeleteDevice",
			Handler:    _Device_DeleteDevice_Handler,
		},
		{
			MethodName: "GetDevice",
			Handler:    _Device_GetDevice_Handler,
		},
		{
			MethodName: "SearchEntity",
			Handler:    _Device_SearchEntity_Handler,
		},
		{
			MethodName: "AddDeviceExt",
			Handler:    _Device_AddDeviceExt_Handler,
		},
		{
			MethodName: "DeleteDeviceExt",
			Handler:    _Device_DeleteDeviceExt_Handler,
		},
		{
			MethodName: "UpdateDeviceExt",
			Handler:    _Device_UpdateDeviceExt_Handler,
		},
		{
			MethodName: "CreateDeviceDataRelation",
			Handler:    _Device_CreateDeviceDataRelation_Handler,
		},
		{
			MethodName: "UpdateDeviceDataRelation",
			Handler:    _Device_UpdateDeviceDataRelation_Handler,
		},
		{
			MethodName: "DeleteDeviceDataRelation",
			Handler:    _Device_DeleteDeviceDataRelation_Handler,
		},
		{
			MethodName: "ListDeviceDataRelation",
			Handler:    _Device_ListDeviceDataRelation_Handler,
		},
		{
			MethodName: "SetDeviceRaw",
			Handler:    _Device_SetDeviceRaw_Handler,
		},
		{
			MethodName: "SetDeviceAttribte",
			Handler:    _Device_SetDeviceAttribte_Handler,
		},
		{
			MethodName: "SetDeviceCommand",
			Handler:    _Device_SetDeviceCommand_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/device/v1/device.proto",
}

Device_ServiceDesc is the grpc.ServiceDesc for Device service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_api_device_v1_device_proto protoreflect.FileDescriptor

Functions

func RegisterDeviceHTTPServer

func RegisterDeviceHTTPServer(container *go_restful.Container, srv DeviceHTTPServer)

func RegisterDeviceServer

func RegisterDeviceServer(s grpc.ServiceRegistrar, srv DeviceServer)

Types

type AddDeviceExtRequest

type AddDeviceExtRequest struct {
	Id  string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,"`
	Ext *structpb.Value `protobuf:"bytes,2,opt,name=ext,proto3" json:"ext,"`
	// contains filtered or unexported fields
}

func (*AddDeviceExtRequest) Descriptor deprecated

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

Deprecated: Use AddDeviceExtRequest.ProtoReflect.Descriptor instead.

func (*AddDeviceExtRequest) GetExt

func (x *AddDeviceExtRequest) GetExt() *structpb.Value

func (*AddDeviceExtRequest) GetId

func (x *AddDeviceExtRequest) GetId() string

func (*AddDeviceExtRequest) ProtoMessage

func (*AddDeviceExtRequest) ProtoMessage()

func (*AddDeviceExtRequest) ProtoReflect

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

func (*AddDeviceExtRequest) Reset

func (x *AddDeviceExtRequest) Reset()

func (*AddDeviceExtRequest) String

func (x *AddDeviceExtRequest) String() string

type Condition

type Condition struct {
	Field string          `protobuf:"bytes,1,opt,name=field,proto3" json:"field,"`
	Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,"`
	//string value = 2 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "值"}];
	Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,"`
	// contains filtered or unexported fields
}

func (*Condition) Descriptor deprecated

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

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetField

func (x *Condition) GetField() string

func (*Condition) GetOperator

func (x *Condition) GetOperator() string

func (*Condition) GetValue

func (x *Condition) GetValue() *structpb.Value

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect

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

func (*Condition) Reset

func (x *Condition) Reset()

func (*Condition) String

func (x *Condition) String() string

type CreateDeviceDataRelationRequest added in v0.4.0

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

func (*CreateDeviceDataRelationRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use CreateDeviceDataRelationRequest.ProtoReflect.Descriptor instead.

func (*CreateDeviceDataRelationRequest) GetId added in v0.4.0

func (*CreateDeviceDataRelationRequest) GetRelation added in v0.4.0

func (x *CreateDeviceDataRelationRequest) GetRelation() *Relation

func (*CreateDeviceDataRelationRequest) ProtoMessage added in v0.4.0

func (*CreateDeviceDataRelationRequest) ProtoMessage()

func (*CreateDeviceDataRelationRequest) ProtoReflect added in v0.4.0

func (*CreateDeviceDataRelationRequest) Reset added in v0.4.0

func (*CreateDeviceDataRelationRequest) String added in v0.4.0

type CreateDeviceRequest

type CreateDeviceRequest struct {
	DevBasicInfo *DeviceEntityBasicInfo `protobuf:"bytes,1,opt,name=devBasicInfo,proto3" json:"devBasicInfo,"`
	// contains filtered or unexported fields
}

user to device

func (*CreateDeviceRequest) Descriptor deprecated

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

Deprecated: Use CreateDeviceRequest.ProtoReflect.Descriptor instead.

func (*CreateDeviceRequest) GetDevBasicInfo added in v0.3.0

func (x *CreateDeviceRequest) GetDevBasicInfo() *DeviceEntityBasicInfo

func (*CreateDeviceRequest) ProtoMessage

func (*CreateDeviceRequest) ProtoMessage()

func (*CreateDeviceRequest) ProtoReflect

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

func (*CreateDeviceRequest) Reset

func (x *CreateDeviceRequest) Reset()

func (*CreateDeviceRequest) String

func (x *CreateDeviceRequest) String() string

type CreateDeviceResponse

type CreateDeviceResponse struct {

	//api.core.v1.EntityResponse deviceObject = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "设备对象"}];
	DeviceObject *structpb.Value `protobuf:"bytes,1,opt,name=deviceObject,proto3" json:"deviceObject,"`
	// contains filtered or unexported fields
}

func (*CreateDeviceResponse) Descriptor deprecated

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

Deprecated: Use CreateDeviceResponse.ProtoReflect.Descriptor instead.

func (*CreateDeviceResponse) GetDeviceObject added in v0.3.0

func (x *CreateDeviceResponse) GetDeviceObject() *structpb.Value

func (*CreateDeviceResponse) ProtoMessage

func (*CreateDeviceResponse) ProtoMessage()

func (*CreateDeviceResponse) ProtoReflect

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

func (*CreateDeviceResponse) Reset

func (x *CreateDeviceResponse) Reset()

func (*CreateDeviceResponse) String

func (x *CreateDeviceResponse) String() string

type DeleteDeviceDataRelationRequest added in v0.4.0

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

func (*DeleteDeviceDataRelationRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use DeleteDeviceDataRelationRequest.ProtoReflect.Descriptor instead.

func (*DeleteDeviceDataRelationRequest) GetId added in v0.4.0

func (*DeleteDeviceDataRelationRequest) GetRelation added in v0.4.0

func (x *DeleteDeviceDataRelationRequest) GetRelation() *Relation

func (*DeleteDeviceDataRelationRequest) ProtoMessage added in v0.4.0

func (*DeleteDeviceDataRelationRequest) ProtoMessage()

func (*DeleteDeviceDataRelationRequest) ProtoReflect added in v0.4.0

func (*DeleteDeviceDataRelationRequest) Reset added in v0.4.0

func (*DeleteDeviceDataRelationRequest) String added in v0.4.0

type DeleteDeviceExtRequest

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

func (*DeleteDeviceExtRequest) Descriptor deprecated

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

Deprecated: Use DeleteDeviceExtRequest.ProtoReflect.Descriptor instead.

func (*DeleteDeviceExtRequest) GetId

func (x *DeleteDeviceExtRequest) GetId() string

func (*DeleteDeviceExtRequest) GetKeys

func (x *DeleteDeviceExtRequest) GetKeys() *Keys

func (*DeleteDeviceExtRequest) ProtoMessage

func (*DeleteDeviceExtRequest) ProtoMessage()

func (*DeleteDeviceExtRequest) ProtoReflect

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

func (*DeleteDeviceExtRequest) Reset

func (x *DeleteDeviceExtRequest) Reset()

func (*DeleteDeviceExtRequest) String

func (x *DeleteDeviceExtRequest) String() string

type DeleteDeviceRequest

type DeleteDeviceRequest struct {
	Ids *Ids `protobuf:"bytes,1,opt,name=ids,proto3" json:"ids,"`
	// contains filtered or unexported fields
}

func (*DeleteDeviceRequest) Descriptor deprecated

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

Deprecated: Use DeleteDeviceRequest.ProtoReflect.Descriptor instead.

func (*DeleteDeviceRequest) GetIds

func (x *DeleteDeviceRequest) GetIds() *Ids

func (*DeleteDeviceRequest) ProtoMessage

func (*DeleteDeviceRequest) ProtoMessage()

func (*DeleteDeviceRequest) ProtoReflect

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

func (*DeleteDeviceRequest) Reset

func (x *DeleteDeviceRequest) Reset()

func (*DeleteDeviceRequest) String

func (x *DeleteDeviceRequest) String() string

type DeleteDeviceResponse

type DeleteDeviceResponse struct {
	FaildDelDevice []*FaildDelDevice `protobuf:"bytes,1,rep,name=faildDelDevice,proto3" json:"faildDelDevice,"`
	// contains filtered or unexported fields
}

func (*DeleteDeviceResponse) Descriptor deprecated

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

Deprecated: Use DeleteDeviceResponse.ProtoReflect.Descriptor instead.

func (*DeleteDeviceResponse) GetFaildDelDevice added in v0.4.0

func (x *DeleteDeviceResponse) GetFaildDelDevice() []*FaildDelDevice

func (*DeleteDeviceResponse) ProtoMessage

func (*DeleteDeviceResponse) ProtoMessage()

func (*DeleteDeviceResponse) ProtoReflect

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

func (*DeleteDeviceResponse) Reset

func (x *DeleteDeviceResponse) Reset()

func (*DeleteDeviceResponse) String

func (x *DeleteDeviceResponse) String() string

type DeviceClient

type DeviceClient interface {
	CreateDevice(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*CreateDeviceResponse, error)
	UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*UpdateDeviceResponse, error)
	DeleteDevice(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*DeleteDeviceResponse, error)
	GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*GetDeviceResponse, error)
	SearchEntity(ctx context.Context, in *ListDeviceRequest, opts ...grpc.CallOption) (*ListDeviceResponse, error)
	AddDeviceExt(ctx context.Context, in *AddDeviceExtRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteDeviceExt(ctx context.Context, in *DeleteDeviceExtRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UpdateDeviceExt(ctx context.Context, in *UpdateDeviceExtRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateDeviceDataRelation(ctx context.Context, in *CreateDeviceDataRelationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UpdateDeviceDataRelation(ctx context.Context, in *UpdateDeviceDataRelationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteDeviceDataRelation(ctx context.Context, in *DeleteDeviceDataRelationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListDeviceDataRelation(ctx context.Context, in *ListDeviceDataRelationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetDeviceRaw(ctx context.Context, in *SetDeviceRawRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetDeviceAttribte(ctx context.Context, in *SetDeviceAttributeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetDeviceCommand(ctx context.Context, in *SetDeviceCommandRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

DeviceClient is the client API for Device service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewDeviceClient

func NewDeviceClient(cc grpc.ClientConnInterface) DeviceClient

type DeviceEntityBasicInfo added in v0.3.0

type DeviceEntityBasicInfo struct {
	Name             string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,"`
	Description      string          `protobuf:"bytes,2,opt,name=description,proto3" json:"description,"`
	ParentId         string          `protobuf:"bytes,3,opt,name=parentId,proto3" json:"parentId,"`
	ParentName       string          `protobuf:"bytes,4,opt,name=parentName,proto3" json:"parentName,"`
	DirectConnection bool            `protobuf:"varint,5,opt,name=directConnection,proto3" json:"directConnection,"`
	TemplateId       string          `protobuf:"bytes,6,opt,name=templateId,proto3" json:"templateId,"`
	TemplateName     string          `protobuf:"bytes,7,opt,name=templateName,proto3" json:"templateName,"`
	SelfLearn        bool            `protobuf:"varint,8,opt,name=selfLearn,proto3" json:"selfLearn,"`
	Ext              *structpb.Value `protobuf:"bytes,9,opt,name=ext,proto3" json:"ext,"`
	// contains filtered or unexported fields
}

------------------------------------------------------------------------------ Basic data types ------------------------------------------------------------------------------

func (*DeviceEntityBasicInfo) Descriptor deprecated added in v0.3.0

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

Deprecated: Use DeviceEntityBasicInfo.ProtoReflect.Descriptor instead.

func (*DeviceEntityBasicInfo) GetDescription added in v0.4.0

func (x *DeviceEntityBasicInfo) GetDescription() string

func (*DeviceEntityBasicInfo) GetDirectConnection added in v0.3.0

func (x *DeviceEntityBasicInfo) GetDirectConnection() bool

func (*DeviceEntityBasicInfo) GetExt added in v0.3.0

func (x *DeviceEntityBasicInfo) GetExt() *structpb.Value

func (*DeviceEntityBasicInfo) GetName added in v0.3.0

func (x *DeviceEntityBasicInfo) GetName() string

func (*DeviceEntityBasicInfo) GetParentId added in v0.4.0

func (x *DeviceEntityBasicInfo) GetParentId() string

func (*DeviceEntityBasicInfo) GetParentName added in v0.4.0

func (x *DeviceEntityBasicInfo) GetParentName() string

func (*DeviceEntityBasicInfo) GetSelfLearn added in v0.3.0

func (x *DeviceEntityBasicInfo) GetSelfLearn() bool

func (*DeviceEntityBasicInfo) GetTemplateId added in v0.3.0

func (x *DeviceEntityBasicInfo) GetTemplateId() string

func (*DeviceEntityBasicInfo) GetTemplateName added in v0.4.0

func (x *DeviceEntityBasicInfo) GetTemplateName() string

func (*DeviceEntityBasicInfo) ProtoMessage added in v0.3.0

func (*DeviceEntityBasicInfo) ProtoMessage()

func (*DeviceEntityBasicInfo) ProtoReflect added in v0.3.0

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

func (*DeviceEntityBasicInfo) Reset added in v0.3.0

func (x *DeviceEntityBasicInfo) Reset()

func (*DeviceEntityBasicInfo) String added in v0.3.0

func (x *DeviceEntityBasicInfo) String() string

type DeviceEntityConnectInfo added in v0.3.0

type DeviceEntityConnectInfo struct {
	XClientId string `protobuf:"bytes,1,opt,name=_clientId,json=ClientId,proto3" json:"_clientId,"`
	XOnline   bool   `protobuf:"varint,2,opt,name=_online,json=Online,proto3" json:"_online,"`
	XUserName string `protobuf:"bytes,3,opt,name=_userName,json=UserName,proto3" json:"_userName,"`
	XPeerHost string `protobuf:"bytes,4,opt,name=_peerHost,json=PeerHost,proto3" json:"_peerHost,"`
	XSockPort string `protobuf:"bytes,5,opt,name=_sockPort,json=SockPort,proto3" json:"_sockPort,"`
	XProtocol string `protobuf:"bytes,6,opt,name=_protocol,json=Protocol,proto3" json:"_protocol,"`
	// contains filtered or unexported fields
}

connectInfo

func (*DeviceEntityConnectInfo) Descriptor deprecated added in v0.3.0

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

Deprecated: Use DeviceEntityConnectInfo.ProtoReflect.Descriptor instead.

func (*DeviceEntityConnectInfo) GetXClientId added in v0.4.0

func (x *DeviceEntityConnectInfo) GetXClientId() string

func (*DeviceEntityConnectInfo) GetXOnline added in v0.4.0

func (x *DeviceEntityConnectInfo) GetXOnline() bool

func (*DeviceEntityConnectInfo) GetXPeerHost added in v0.4.0

func (x *DeviceEntityConnectInfo) GetXPeerHost() string

func (*DeviceEntityConnectInfo) GetXProtocol added in v0.3.0

func (x *DeviceEntityConnectInfo) GetXProtocol() string

func (*DeviceEntityConnectInfo) GetXSockPort added in v0.4.0

func (x *DeviceEntityConnectInfo) GetXSockPort() string

func (*DeviceEntityConnectInfo) GetXUserName added in v0.4.0

func (x *DeviceEntityConnectInfo) GetXUserName() string

func (*DeviceEntityConnectInfo) ProtoMessage added in v0.3.0

func (*DeviceEntityConnectInfo) ProtoMessage()

func (*DeviceEntityConnectInfo) ProtoReflect added in v0.3.0

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

func (*DeviceEntityConnectInfo) Reset added in v0.3.0

func (x *DeviceEntityConnectInfo) Reset()

func (*DeviceEntityConnectInfo) String added in v0.3.0

func (x *DeviceEntityConnectInfo) String() string

type DeviceEntityCoreInfo

type DeviceEntityCoreInfo struct {
	BasicInfo   *DeviceEntityBasicInfo   `protobuf:"bytes,1,opt,name=basicInfo,proto3" json:"basicInfo,"`
	SysField    *DeviceEntitySysField    `protobuf:"bytes,2,opt,name=sysField,proto3" json:"sysField,"`
	ConnectInfo *DeviceEntityConnectInfo `protobuf:"bytes,3,opt,name=connectInfo,proto3" json:"connectInfo,"`
	// contains filtered or unexported fields
}

device to core

func (*DeviceEntityCoreInfo) Descriptor deprecated

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

Deprecated: Use DeviceEntityCoreInfo.ProtoReflect.Descriptor instead.

func (*DeviceEntityCoreInfo) GetBasicInfo added in v0.3.0

func (x *DeviceEntityCoreInfo) GetBasicInfo() *DeviceEntityBasicInfo

func (*DeviceEntityCoreInfo) GetConnectInfo added in v0.3.0

func (x *DeviceEntityCoreInfo) GetConnectInfo() *DeviceEntityConnectInfo

func (*DeviceEntityCoreInfo) GetSysField

func (x *DeviceEntityCoreInfo) GetSysField() *DeviceEntitySysField

func (*DeviceEntityCoreInfo) ProtoMessage

func (*DeviceEntityCoreInfo) ProtoMessage()

func (*DeviceEntityCoreInfo) ProtoReflect

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

func (*DeviceEntityCoreInfo) Reset

func (x *DeviceEntityCoreInfo) Reset()

func (*DeviceEntityCoreInfo) String

func (x *DeviceEntityCoreInfo) String() string

type DeviceEntitySysField

type DeviceEntitySysField struct {
	XId            string `protobuf:"bytes,1,opt,name=_id,json=Id,proto3" json:"_id,"`
	XCreatedAt     int64  `protobuf:"varint,2,opt,name=_createdAt,json=CreatedAt,proto3" json:"_createdAt,"`
	XUpdatedAt     int64  `protobuf:"varint,3,opt,name=_updatedAt,json=UpdatedAt,proto3" json:"_updatedAt,"`
	XStatus        string `protobuf:"bytes,4,opt,name=_status,json=Status,proto3" json:"_status,"`
	XEnable        bool   `protobuf:"varint,5,opt,name=_enable,json=Enable,proto3" json:"_enable,"`
	XToken         string `protobuf:"bytes,6,opt,name=_token,json=Token,proto3" json:"_token,"`
	XOwner         string `protobuf:"bytes,7,opt,name=_owner,json=Owner,proto3" json:"_owner,"`
	XSource        string `protobuf:"bytes,8,opt,name=_source,json=Source,proto3" json:"_source,"`
	XSpacePath     string `protobuf:"bytes,9,opt,name=_spacePath,json=SpacePath,proto3" json:"_spacePath,"`
	XSubscribeAddr string `protobuf:"bytes,10,opt,name=_subscribeAddr,json=SubscribeAddr,proto3" json:"_subscribeAddr,"`
	// contains filtered or unexported fields
}

system fields

func (*DeviceEntitySysField) Descriptor deprecated

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

Deprecated: Use DeviceEntitySysField.ProtoReflect.Descriptor instead.

func (*DeviceEntitySysField) GetXCreatedAt

func (x *DeviceEntitySysField) GetXCreatedAt() int64

func (*DeviceEntitySysField) GetXEnable

func (x *DeviceEntitySysField) GetXEnable() bool

func (*DeviceEntitySysField) GetXId

func (x *DeviceEntitySysField) GetXId() string

func (*DeviceEntitySysField) GetXOwner

func (x *DeviceEntitySysField) GetXOwner() string

func (*DeviceEntitySysField) GetXSource

func (x *DeviceEntitySysField) GetXSource() string

func (*DeviceEntitySysField) GetXSpacePath added in v0.4.0

func (x *DeviceEntitySysField) GetXSpacePath() string

func (*DeviceEntitySysField) GetXStatus

func (x *DeviceEntitySysField) GetXStatus() string

func (*DeviceEntitySysField) GetXSubscribeAddr added in v0.4.0

func (x *DeviceEntitySysField) GetXSubscribeAddr() string

func (*DeviceEntitySysField) GetXToken

func (x *DeviceEntitySysField) GetXToken() string

func (*DeviceEntitySysField) GetXUpdatedAt

func (x *DeviceEntitySysField) GetXUpdatedAt() int64

func (*DeviceEntitySysField) ProtoMessage

func (*DeviceEntitySysField) ProtoMessage()

func (*DeviceEntitySysField) ProtoReflect

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

func (*DeviceEntitySysField) Reset

func (x *DeviceEntitySysField) Reset()

func (*DeviceEntitySysField) String

func (x *DeviceEntitySysField) String() string

type DeviceHTTPHandler

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

func (*DeviceHTTPHandler) AddDeviceExt

func (h *DeviceHTTPHandler) AddDeviceExt(req *go_restful.Request, resp *go_restful.Response)

func (*DeviceHTTPHandler) CreateDevice

func (h *DeviceHTTPHandler) CreateDevice(req *go_restful.Request, resp *go_restful.Response)

func (*DeviceHTTPHandler) CreateDeviceDataRelation added in v0.4.0

func (h *DeviceHTTPHandler) CreateDeviceDataRelation(req *go_restful.Request, resp *go_restful.Response)

func (*DeviceHTTPHandler) DeleteDevice

func (h *DeviceHTTPHandler) DeleteDevice(req *go_restful.Request, resp *go_restful.Response)

func (*DeviceHTTPHandler) DeleteDeviceDataRelation added in v0.4.0

func (h *DeviceHTTPHandler) DeleteDeviceDataRelation(req *go_restful.Request, resp *go_restful.Response)

func (*DeviceHTTPHandler) DeleteDeviceExt

func (h *DeviceHTTPHandler) DeleteDeviceExt(req *go_restful.Request, resp *go_restful.Response)

func (*DeviceHTTPHandler) GetDevice

func (h *DeviceHTTPHandler) GetDevice(req *go_restful.Request, resp *go_restful.Response)

func (*DeviceHTTPHandler) ListDeviceDataRelation added in v0.4.0

func (h *DeviceHTTPHandler) ListDeviceDataRelation(req *go_restful.Request, resp *go_restful.Response)

func (*DeviceHTTPHandler) SearchEntity added in v0.4.0

func (h *DeviceHTTPHandler) SearchEntity(req *go_restful.Request, resp *go_restful.Response)

func (*DeviceHTTPHandler) SetDeviceAttribte added in v0.4.0

func (h *DeviceHTTPHandler) SetDeviceAttribte(req *go_restful.Request, resp *go_restful.Response)

func (*DeviceHTTPHandler) SetDeviceCommand added in v0.4.0

func (h *DeviceHTTPHandler) SetDeviceCommand(req *go_restful.Request, resp *go_restful.Response)

func (*DeviceHTTPHandler) SetDeviceRaw added in v0.4.0

func (h *DeviceHTTPHandler) SetDeviceRaw(req *go_restful.Request, resp *go_restful.Response)

func (*DeviceHTTPHandler) UpdateDevice

func (h *DeviceHTTPHandler) UpdateDevice(req *go_restful.Request, resp *go_restful.Response)

func (*DeviceHTTPHandler) UpdateDeviceDataRelation added in v0.4.0

func (h *DeviceHTTPHandler) UpdateDeviceDataRelation(req *go_restful.Request, resp *go_restful.Response)

func (*DeviceHTTPHandler) UpdateDeviceExt

func (h *DeviceHTTPHandler) UpdateDeviceExt(req *go_restful.Request, resp *go_restful.Response)

type DeviceServer

DeviceServer is the server API for Device service. All implementations must embed UnimplementedDeviceServer for forward compatibility

type Enable

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

func (*Enable) Descriptor deprecated

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

Deprecated: Use Enable.ProtoReflect.Descriptor instead.

func (*Enable) GetEnable

func (x *Enable) GetEnable() bool

func (*Enable) ProtoMessage

func (*Enable) ProtoMessage()

func (*Enable) ProtoReflect

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

func (*Enable) Reset

func (x *Enable) Reset()

func (*Enable) String

func (x *Enable) String() string

type EnableDeviceRequest

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

func (*EnableDeviceRequest) Descriptor deprecated

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

Deprecated: Use EnableDeviceRequest.ProtoReflect.Descriptor instead.

func (*EnableDeviceRequest) GetEnable

func (x *EnableDeviceRequest) GetEnable() *Enable

func (*EnableDeviceRequest) GetId

func (x *EnableDeviceRequest) GetId() string

func (*EnableDeviceRequest) ProtoMessage

func (*EnableDeviceRequest) ProtoMessage()

func (*EnableDeviceRequest) ProtoReflect

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

func (*EnableDeviceRequest) Reset

func (x *EnableDeviceRequest) Reset()

func (*EnableDeviceRequest) String

func (x *EnableDeviceRequest) String() string

type Ext

type Ext struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,"`
	// contains filtered or unexported fields
}

func (*Ext) Descriptor deprecated

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

Deprecated: Use Ext.ProtoReflect.Descriptor instead.

func (*Ext) GetKey

func (x *Ext) GetKey() string

func (*Ext) GetValue

func (x *Ext) GetValue() string

func (*Ext) ProtoMessage

func (*Ext) ProtoMessage()

func (*Ext) ProtoReflect

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

func (*Ext) Reset

func (x *Ext) Reset()

func (*Ext) String

func (x *Ext) String() string

type FaildDelDevice added in v0.4.0

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

func (*FaildDelDevice) Descriptor deprecated added in v0.4.0

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

Deprecated: Use FaildDelDevice.ProtoReflect.Descriptor instead.

func (*FaildDelDevice) GetId added in v0.4.0

func (x *FaildDelDevice) GetId() string

func (*FaildDelDevice) GetReason added in v0.4.0

func (x *FaildDelDevice) GetReason() string

func (*FaildDelDevice) ProtoMessage added in v0.4.0

func (*FaildDelDevice) ProtoMessage()

func (*FaildDelDevice) ProtoReflect added in v0.4.0

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

func (*FaildDelDevice) Reset added in v0.4.0

func (x *FaildDelDevice) Reset()

func (*FaildDelDevice) String added in v0.4.0

func (x *FaildDelDevice) String() string

type GetDeviceRequest

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

func (*GetDeviceRequest) Descriptor deprecated

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

Deprecated: Use GetDeviceRequest.ProtoReflect.Descriptor instead.

func (*GetDeviceRequest) GetId

func (x *GetDeviceRequest) GetId() string

func (*GetDeviceRequest) ProtoMessage

func (*GetDeviceRequest) ProtoMessage()

func (*GetDeviceRequest) ProtoReflect

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

func (*GetDeviceRequest) Reset

func (x *GetDeviceRequest) Reset()

func (*GetDeviceRequest) String

func (x *GetDeviceRequest) String() string

type GetDeviceResponse

type GetDeviceResponse struct {

	//api.core.v1.EntityResponse deviceObject = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "设备对象"}];
	DeviceObject *structpb.Value `protobuf:"bytes,1,opt,name=deviceObject,proto3" json:"deviceObject,"`
	// contains filtered or unexported fields
}

func (*GetDeviceResponse) Descriptor deprecated

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

Deprecated: Use GetDeviceResponse.ProtoReflect.Descriptor instead.

func (*GetDeviceResponse) GetDeviceObject added in v0.3.0

func (x *GetDeviceResponse) GetDeviceObject() *structpb.Value

func (*GetDeviceResponse) ProtoMessage

func (*GetDeviceResponse) ProtoMessage()

func (*GetDeviceResponse) ProtoReflect

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

func (*GetDeviceResponse) Reset

func (x *GetDeviceResponse) Reset()

func (*GetDeviceResponse) String

func (x *GetDeviceResponse) String() string

type Ids

type Ids struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,"`
	// contains filtered or unexported fields
}

func (*Ids) Descriptor deprecated

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

Deprecated: Use Ids.ProtoReflect.Descriptor instead.

func (*Ids) GetIds

func (x *Ids) GetIds() []string

func (*Ids) ProtoMessage

func (*Ids) ProtoMessage()

func (*Ids) ProtoReflect

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

func (*Ids) Reset

func (x *Ids) Reset()

func (*Ids) String

func (x *Ids) String() string

type Keys

type Keys struct {
	Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,"`
	// contains filtered or unexported fields
}

func (*Keys) Descriptor deprecated

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

Deprecated: Use Keys.ProtoReflect.Descriptor instead.

func (*Keys) GetKeys

func (x *Keys) GetKeys() []string

func (*Keys) ProtoMessage

func (*Keys) ProtoMessage()

func (*Keys) ProtoReflect

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

func (*Keys) Reset

func (x *Keys) Reset()

func (*Keys) String

func (x *Keys) String() string

type ListDeviceDataRelationRequest added in v0.4.0

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

func (*ListDeviceDataRelationRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use ListDeviceDataRelationRequest.ProtoReflect.Descriptor instead.

func (*ListDeviceDataRelationRequest) GetId added in v0.4.0

func (*ListDeviceDataRelationRequest) ProtoMessage added in v0.4.0

func (*ListDeviceDataRelationRequest) ProtoMessage()

func (*ListDeviceDataRelationRequest) ProtoReflect added in v0.4.0

func (*ListDeviceDataRelationRequest) Reset added in v0.4.0

func (x *ListDeviceDataRelationRequest) Reset()

func (*ListDeviceDataRelationRequest) String added in v0.4.0

type ListDeviceRequest

type ListDeviceRequest struct {
	ListEntityQuery *ListEntityQuery `protobuf:"bytes,1,opt,name=listEntityQuery,proto3" json:"listEntityQuery,"`
	// contains filtered or unexported fields
}

func (*ListDeviceRequest) Descriptor deprecated

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

Deprecated: Use ListDeviceRequest.ProtoReflect.Descriptor instead.

func (*ListDeviceRequest) GetListEntityQuery added in v0.3.0

func (x *ListDeviceRequest) GetListEntityQuery() *ListEntityQuery

func (*ListDeviceRequest) ProtoMessage

func (*ListDeviceRequest) ProtoMessage()

func (*ListDeviceRequest) ProtoReflect

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

func (*ListDeviceRequest) Reset

func (x *ListDeviceRequest) Reset()

func (*ListDeviceRequest) String

func (x *ListDeviceRequest) String() string

type ListDeviceResponse

type ListDeviceResponse struct {

	//api.core.v1.ListEntityResponse listDeviceObject = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "设备列表对象"}];
	ListDeviceObject *structpb.Value `protobuf:"bytes,1,opt,name=listDeviceObject,proto3" json:"listDeviceObject,"`
	// contains filtered or unexported fields
}

func (*ListDeviceResponse) Descriptor deprecated

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

Deprecated: Use ListDeviceResponse.ProtoReflect.Descriptor instead.

func (*ListDeviceResponse) GetListDeviceObject added in v0.3.0

func (x *ListDeviceResponse) GetListDeviceObject() *structpb.Value

func (*ListDeviceResponse) ProtoMessage

func (*ListDeviceResponse) ProtoMessage()

func (*ListDeviceResponse) ProtoReflect

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

func (*ListDeviceResponse) Reset

func (x *ListDeviceResponse) Reset()

func (*ListDeviceResponse) String

func (x *ListDeviceResponse) String() string

type ListEntityQuery added in v0.3.0

type ListEntityQuery struct {

	//Filter filter = 2 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "限制"}];
	//Page page = 2 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "分页"}];
	PageNum      int32        `protobuf:"varint,1,opt,name=page_num,json=pageNum,proto3" json:"page_num,"`
	PageSize     int32        `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,"`
	OrderBy      string       `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,"`
	IsDescending bool         `protobuf:"varint,4,opt,name=is_descending,json=isDescending,proto3" json:"is_descending,"`
	Query        string       `protobuf:"bytes,5,opt,name=query,proto3" json:"query,"`
	Condition    []*Condition `protobuf:"bytes,6,rep,name=condition,proto3" json:"condition,"`
	// contains filtered or unexported fields
}

func (*ListEntityQuery) Descriptor deprecated added in v0.3.0

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

Deprecated: Use ListEntityQuery.ProtoReflect.Descriptor instead.

func (*ListEntityQuery) GetCondition added in v0.4.0

func (x *ListEntityQuery) GetCondition() []*Condition

func (*ListEntityQuery) GetIsDescending added in v0.4.0

func (x *ListEntityQuery) GetIsDescending() bool

func (*ListEntityQuery) GetOrderBy added in v0.4.0

func (x *ListEntityQuery) GetOrderBy() string

func (*ListEntityQuery) GetPageNum added in v0.4.0

func (x *ListEntityQuery) GetPageNum() int32

func (*ListEntityQuery) GetPageSize added in v0.4.0

func (x *ListEntityQuery) GetPageSize() int32

func (*ListEntityQuery) GetQuery added in v0.3.0

func (x *ListEntityQuery) GetQuery() string

func (*ListEntityQuery) ProtoMessage added in v0.3.0

func (*ListEntityQuery) ProtoMessage()

func (*ListEntityQuery) ProtoReflect added in v0.3.0

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

func (*ListEntityQuery) Reset added in v0.3.0

func (x *ListEntityQuery) Reset()

func (*ListEntityQuery) String added in v0.3.0

func (x *ListEntityQuery) String() string

type Relation added in v0.4.0

type Relation struct {
	Direction string `protobuf:"bytes,1,opt,name=direction,proto3" json:"direction,"`
	TargetId  string `protobuf:"bytes,2,opt,name=targetId,proto3" json:"targetId,"`
	// contains filtered or unexported fields
}

func (*Relation) Descriptor deprecated added in v0.4.0

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

Deprecated: Use Relation.ProtoReflect.Descriptor instead.

func (*Relation) GetDirection added in v0.4.0

func (x *Relation) GetDirection() string

func (*Relation) GetTargetId added in v0.4.0

func (x *Relation) GetTargetId() string

func (*Relation) ProtoMessage added in v0.4.0

func (*Relation) ProtoMessage()

func (*Relation) ProtoReflect added in v0.4.0

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

func (*Relation) Reset added in v0.4.0

func (x *Relation) Reset()

func (*Relation) String added in v0.4.0

func (x *Relation) String() string

type SetContent added in v0.4.0

type SetContent struct {
	Id    string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,"`
	Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,"`
	// contains filtered or unexported fields
}

func (*SetContent) Descriptor deprecated added in v0.4.0

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

Deprecated: Use SetContent.ProtoReflect.Descriptor instead.

func (*SetContent) GetId added in v0.4.0

func (x *SetContent) GetId() string

func (*SetContent) GetValue added in v0.4.0

func (x *SetContent) GetValue() *structpb.Value

func (*SetContent) ProtoMessage added in v0.4.0

func (*SetContent) ProtoMessage()

func (*SetContent) ProtoReflect added in v0.4.0

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

func (*SetContent) Reset added in v0.4.0

func (x *SetContent) Reset()

func (*SetContent) String added in v0.4.0

func (x *SetContent) String() string

type SetDeviceAttributeRequest added in v0.4.0

type SetDeviceAttributeRequest struct {
	Id      string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,"`
	Content *SetContent `protobuf:"bytes,2,opt,name=content,proto3" json:"content,"`
	// contains filtered or unexported fields
}

func (*SetDeviceAttributeRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use SetDeviceAttributeRequest.ProtoReflect.Descriptor instead.

func (*SetDeviceAttributeRequest) GetContent added in v0.4.0

func (x *SetDeviceAttributeRequest) GetContent() *SetContent

func (*SetDeviceAttributeRequest) GetId added in v0.4.0

func (x *SetDeviceAttributeRequest) GetId() string

func (*SetDeviceAttributeRequest) ProtoMessage added in v0.4.0

func (*SetDeviceAttributeRequest) ProtoMessage()

func (*SetDeviceAttributeRequest) ProtoReflect added in v0.4.0

func (*SetDeviceAttributeRequest) Reset added in v0.4.0

func (x *SetDeviceAttributeRequest) Reset()

func (*SetDeviceAttributeRequest) String added in v0.4.0

func (x *SetDeviceAttributeRequest) String() string

type SetDeviceCommandRequest added in v0.4.0

type SetDeviceCommandRequest struct {
	Id      string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,"`
	Content *SetContent `protobuf:"bytes,2,opt,name=content,proto3" json:"content,"`
	// contains filtered or unexported fields
}

func (*SetDeviceCommandRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use SetDeviceCommandRequest.ProtoReflect.Descriptor instead.

func (*SetDeviceCommandRequest) GetContent added in v0.4.0

func (x *SetDeviceCommandRequest) GetContent() *SetContent

func (*SetDeviceCommandRequest) GetId added in v0.4.0

func (x *SetDeviceCommandRequest) GetId() string

func (*SetDeviceCommandRequest) ProtoMessage added in v0.4.0

func (*SetDeviceCommandRequest) ProtoMessage()

func (*SetDeviceCommandRequest) ProtoReflect added in v0.4.0

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

func (*SetDeviceCommandRequest) Reset added in v0.4.0

func (x *SetDeviceCommandRequest) Reset()

func (*SetDeviceCommandRequest) String added in v0.4.0

func (x *SetDeviceCommandRequest) String() string

type SetDeviceRawRequest added in v0.4.0

type SetDeviceRawRequest struct {
	Id    string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,"`
	Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,"`
	// contains filtered or unexported fields
}

func (*SetDeviceRawRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use SetDeviceRawRequest.ProtoReflect.Descriptor instead.

func (*SetDeviceRawRequest) GetId added in v0.4.0

func (x *SetDeviceRawRequest) GetId() string

func (*SetDeviceRawRequest) GetValue added in v0.4.0

func (x *SetDeviceRawRequest) GetValue() *structpb.Value

func (*SetDeviceRawRequest) ProtoMessage added in v0.4.0

func (*SetDeviceRawRequest) ProtoMessage()

func (*SetDeviceRawRequest) ProtoReflect added in v0.4.0

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

func (*SetDeviceRawRequest) Reset added in v0.4.0

func (x *SetDeviceRawRequest) Reset()

func (*SetDeviceRawRequest) String added in v0.4.0

func (x *SetDeviceRawRequest) String() string

type UnimplementedDeviceServer

type UnimplementedDeviceServer struct {
}

UnimplementedDeviceServer must be embedded to have forward compatible implementations.

func (UnimplementedDeviceServer) AddDeviceExt

func (UnimplementedDeviceServer) CreateDevice

func (UnimplementedDeviceServer) CreateDeviceDataRelation added in v0.4.0

func (UnimplementedDeviceServer) DeleteDevice

func (UnimplementedDeviceServer) DeleteDeviceDataRelation added in v0.4.0

func (UnimplementedDeviceServer) DeleteDeviceExt

func (UnimplementedDeviceServer) GetDevice

func (UnimplementedDeviceServer) ListDeviceDataRelation added in v0.4.0

func (UnimplementedDeviceServer) SearchEntity added in v0.4.0

func (UnimplementedDeviceServer) SetDeviceAttribte added in v0.4.0

func (UnimplementedDeviceServer) SetDeviceCommand added in v0.4.0

func (UnimplementedDeviceServer) SetDeviceRaw added in v0.4.0

func (UnimplementedDeviceServer) UpdateDevice

func (UnimplementedDeviceServer) UpdateDeviceDataRelation added in v0.4.0

func (UnimplementedDeviceServer) UpdateDeviceExt

type UnsafeDeviceServer

type UnsafeDeviceServer interface {
	// contains filtered or unexported methods
}

UnsafeDeviceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeviceServer will result in compilation errors.

type UpdateDeviceDataRelationRequest added in v0.4.0

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

func (*UpdateDeviceDataRelationRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use UpdateDeviceDataRelationRequest.ProtoReflect.Descriptor instead.

func (*UpdateDeviceDataRelationRequest) GetId added in v0.4.0

func (*UpdateDeviceDataRelationRequest) GetRelation added in v0.4.0

func (x *UpdateDeviceDataRelationRequest) GetRelation() *Relation

func (*UpdateDeviceDataRelationRequest) ProtoMessage added in v0.4.0

func (*UpdateDeviceDataRelationRequest) ProtoMessage()

func (*UpdateDeviceDataRelationRequest) ProtoReflect added in v0.4.0

func (*UpdateDeviceDataRelationRequest) Reset added in v0.4.0

func (*UpdateDeviceDataRelationRequest) String added in v0.4.0

type UpdateDeviceEntityCoreInfo added in v0.4.0

type UpdateDeviceEntityCoreInfo struct {
	BasicInfo *DeviceEntityBasicInfo `protobuf:"bytes,1,opt,name=basicInfo,proto3" json:"basicInfo,"`
	// contains filtered or unexported fields
}

func (*UpdateDeviceEntityCoreInfo) Descriptor deprecated added in v0.4.0

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

Deprecated: Use UpdateDeviceEntityCoreInfo.ProtoReflect.Descriptor instead.

func (*UpdateDeviceEntityCoreInfo) GetBasicInfo added in v0.4.0

func (*UpdateDeviceEntityCoreInfo) ProtoMessage added in v0.4.0

func (*UpdateDeviceEntityCoreInfo) ProtoMessage()

func (*UpdateDeviceEntityCoreInfo) ProtoReflect added in v0.4.0

func (*UpdateDeviceEntityCoreInfo) Reset added in v0.4.0

func (x *UpdateDeviceEntityCoreInfo) Reset()

func (*UpdateDeviceEntityCoreInfo) String added in v0.4.0

func (x *UpdateDeviceEntityCoreInfo) String() string

type UpdateDeviceExtRequest

type UpdateDeviceExtRequest struct {
	Id  string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,"`
	Ext *structpb.Value `protobuf:"bytes,2,opt,name=ext,proto3" json:"ext,"`
	// contains filtered or unexported fields
}

func (*UpdateDeviceExtRequest) Descriptor deprecated

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

Deprecated: Use UpdateDeviceExtRequest.ProtoReflect.Descriptor instead.

func (*UpdateDeviceExtRequest) GetExt

func (x *UpdateDeviceExtRequest) GetExt() *structpb.Value

func (*UpdateDeviceExtRequest) GetId

func (x *UpdateDeviceExtRequest) GetId() string

func (*UpdateDeviceExtRequest) ProtoMessage

func (*UpdateDeviceExtRequest) ProtoMessage()

func (*UpdateDeviceExtRequest) ProtoReflect

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

func (*UpdateDeviceExtRequest) Reset

func (x *UpdateDeviceExtRequest) Reset()

func (*UpdateDeviceExtRequest) String

func (x *UpdateDeviceExtRequest) String() string

type UpdateDeviceRequest

type UpdateDeviceRequest struct {
	Id           string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,"`
	DevBasicInfo *DeviceEntityBasicInfo `protobuf:"bytes,2,opt,name=devBasicInfo,proto3" json:"devBasicInfo,"`
	// contains filtered or unexported fields
}

func (*UpdateDeviceRequest) Descriptor deprecated

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

Deprecated: Use UpdateDeviceRequest.ProtoReflect.Descriptor instead.

func (*UpdateDeviceRequest) GetDevBasicInfo added in v0.3.0

func (x *UpdateDeviceRequest) GetDevBasicInfo() *DeviceEntityBasicInfo

func (*UpdateDeviceRequest) GetId

func (x *UpdateDeviceRequest) GetId() string

func (*UpdateDeviceRequest) ProtoMessage

func (*UpdateDeviceRequest) ProtoMessage()

func (*UpdateDeviceRequest) ProtoReflect

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

func (*UpdateDeviceRequest) Reset

func (x *UpdateDeviceRequest) Reset()

func (*UpdateDeviceRequest) String

func (x *UpdateDeviceRequest) String() string

type UpdateDeviceResponse

type UpdateDeviceResponse struct {

	//api.core.v1.EntityResponse deviceObject = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "设备对象"}];
	DeviceObject *structpb.Value `protobuf:"bytes,1,opt,name=deviceObject,proto3" json:"deviceObject,"`
	// contains filtered or unexported fields
}

func (*UpdateDeviceResponse) Descriptor deprecated

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

Deprecated: Use UpdateDeviceResponse.ProtoReflect.Descriptor instead.

func (*UpdateDeviceResponse) GetDeviceObject added in v0.3.0

func (x *UpdateDeviceResponse) GetDeviceObject() *structpb.Value

func (*UpdateDeviceResponse) ProtoMessage

func (*UpdateDeviceResponse) ProtoMessage()

func (*UpdateDeviceResponse) ProtoReflect

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

func (*UpdateDeviceResponse) Reset

func (x *UpdateDeviceResponse) Reset()

func (*UpdateDeviceResponse) String

func (x *UpdateDeviceResponse) String() string

Jump to

Keyboard shortcuts

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