dm

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DeviceGroup_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dm.DeviceGroup",
	HandlerType: (*DeviceGroupServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "groupInfoCreate",
			Handler:    _DeviceGroup_GroupInfoCreate_Handler,
		},
		{
			MethodName: "groupInfoIndex",
			Handler:    _DeviceGroup_GroupInfoIndex_Handler,
		},
		{
			MethodName: "groupInfoRead",
			Handler:    _DeviceGroup_GroupInfoRead_Handler,
		},
		{
			MethodName: "groupInfoUpdate",
			Handler:    _DeviceGroup_GroupInfoUpdate_Handler,
		},
		{
			MethodName: "groupInfoDelete",
			Handler:    _DeviceGroup_GroupInfoDelete_Handler,
		},
		{
			MethodName: "groupDeviceMultiCreate",
			Handler:    _DeviceGroup_GroupDeviceMultiCreate_Handler,
		},
		{
			MethodName: "groupDeviceMultiUpdate",
			Handler:    _DeviceGroup_GroupDeviceMultiUpdate_Handler,
		},
		{
			MethodName: "groupDeviceIndex",
			Handler:    _DeviceGroup_GroupDeviceIndex_Handler,
		},
		{
			MethodName: "groupDeviceMultiDelete",
			Handler:    _DeviceGroup_GroupDeviceMultiDelete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/dm.proto",
}

DeviceGroup_ServiceDesc is the grpc.ServiceDesc for DeviceGroup 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 DeviceInteract_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dm.DeviceInteract",
	HandlerType: (*DeviceInteractServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "actionSend",
			Handler:    _DeviceInteract_ActionSend_Handler,
		},
		{
			MethodName: "actionRead",
			Handler:    _DeviceInteract_ActionRead_Handler,
		},
		{
			MethodName: "actionResp",
			Handler:    _DeviceInteract_ActionResp_Handler,
		},
		{
			MethodName: "propertyGetReportSend",
			Handler:    _DeviceInteract_PropertyGetReportSend_Handler,
		},
		{
			MethodName: "propertyControlSend",
			Handler:    _DeviceInteract_PropertyControlSend_Handler,
		},
		{
			MethodName: "propertyControlMultiSend",
			Handler:    _DeviceInteract_PropertyControlMultiSend_Handler,
		},
		{
			MethodName: "propertyControlRead",
			Handler:    _DeviceInteract_PropertyControlRead_Handler,
		},
		{
			MethodName: "sendMsg",
			Handler:    _DeviceInteract_SendMsg_Handler,
		},
		{
			MethodName: "gatewayGetFoundSend",
			Handler:    _DeviceInteract_GatewayGetFoundSend_Handler,
		},
		{
			MethodName: "gatewayNotifyBindSend",
			Handler:    _DeviceInteract_GatewayNotifyBindSend_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/dm.proto",
}

DeviceInteract_ServiceDesc is the grpc.ServiceDesc for DeviceInteract 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 DeviceManage_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dm.DeviceManage",
	HandlerType: (*DeviceManageServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "rootCheck",
			Handler:    _DeviceManage_RootCheck_Handler,
		},
		{
			MethodName: "deviceInfoCreate",
			Handler:    _DeviceManage_DeviceInfoCreate_Handler,
		},
		{
			MethodName: "deviceInfoUpdate",
			Handler:    _DeviceManage_DeviceInfoUpdate_Handler,
		},
		{
			MethodName: "deviceOnlineMultiFix",
			Handler:    _DeviceManage_DeviceOnlineMultiFix_Handler,
		},
		{
			MethodName: "deviceInfoDelete",
			Handler:    _DeviceManage_DeviceInfoDelete_Handler,
		},
		{
			MethodName: "deviceInfoIndex",
			Handler:    _DeviceManage_DeviceInfoIndex_Handler,
		},
		{
			MethodName: "DeviceInfoMultiUpdate",
			Handler:    _DeviceManage_DeviceInfoMultiUpdate_Handler,
		},
		{
			MethodName: "deviceInfoRead",
			Handler:    _DeviceManage_DeviceInfoRead_Handler,
		},
		{
			MethodName: "deviceInfoBind",
			Handler:    _DeviceManage_DeviceInfoBind_Handler,
		},
		{
			MethodName: "deviceInfoMultiBind",
			Handler:    _DeviceManage_DeviceInfoMultiBind_Handler,
		},
		{
			MethodName: "deviceInfoCanBind",
			Handler:    _DeviceManage_DeviceInfoCanBind_Handler,
		},
		{
			MethodName: "deviceInfoUnbind",
			Handler:    _DeviceManage_DeviceInfoUnbind_Handler,
		},
		{
			MethodName: "deviceTransfer",
			Handler:    _DeviceManage_DeviceTransfer_Handler,
		},
		{
			MethodName: "deviceMove",
			Handler:    _DeviceManage_DeviceMove_Handler,
		},
		{
			MethodName: "deviceModuleVersionRead",
			Handler:    _DeviceManage_DeviceModuleVersionRead_Handler,
		},
		{
			MethodName: "deviceModuleVersionIndex",
			Handler:    _DeviceManage_DeviceModuleVersionIndex_Handler,
		},
		{
			MethodName: "deviceGatewayMultiCreate",
			Handler:    _DeviceManage_DeviceGatewayMultiCreate_Handler,
		},
		{
			MethodName: "deviceGatewayMultiUpdate",
			Handler:    _DeviceManage_DeviceGatewayMultiUpdate_Handler,
		},
		{
			MethodName: "deviceGatewayIndex",
			Handler:    _DeviceManage_DeviceGatewayIndex_Handler,
		},
		{
			MethodName: "deviceGatewayMultiDelete",
			Handler:    _DeviceManage_DeviceGatewayMultiDelete_Handler,
		},
		{
			MethodName: "deviceInfoCount",
			Handler:    _DeviceManage_DeviceInfoCount_Handler,
		},
		{
			MethodName: "deviceTypeCount",
			Handler:    _DeviceManage_DeviceTypeCount_Handler,
		},
		{
			MethodName: "deviceCount",
			Handler:    _DeviceManage_DeviceCount_Handler,
		},
		{
			MethodName: "deviceProfileRead",
			Handler:    _DeviceManage_DeviceProfileRead_Handler,
		},
		{
			MethodName: "deviceProfileDelete",
			Handler:    _DeviceManage_DeviceProfileDelete_Handler,
		},
		{
			MethodName: "deviceProfileUpdate",
			Handler:    _DeviceManage_DeviceProfileUpdate_Handler,
		},
		{
			MethodName: "deviceProfileIndex",
			Handler:    _DeviceManage_DeviceProfileIndex_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/dm.proto",
}

DeviceManage_ServiceDesc is the grpc.ServiceDesc for DeviceManage 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 DeviceMsg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dm.DeviceMsg",
	HandlerType: (*DeviceMsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "sdkLogIndex",
			Handler:    _DeviceMsg_SdkLogIndex_Handler,
		},
		{
			MethodName: "hubLogIndex",
			Handler:    _DeviceMsg_HubLogIndex_Handler,
		},
		{
			MethodName: "sendLogIndex",
			Handler:    _DeviceMsg_SendLogIndex_Handler,
		},
		{
			MethodName: "statusLogIndex",
			Handler:    _DeviceMsg_StatusLogIndex_Handler,
		},
		{
			MethodName: "propertyLogLatestIndex",
			Handler:    _DeviceMsg_PropertyLogLatestIndex_Handler,
		},
		{
			MethodName: "propertyLogIndex",
			Handler:    _DeviceMsg_PropertyLogIndex_Handler,
		},
		{
			MethodName: "eventLogIndex",
			Handler:    _DeviceMsg_EventLogIndex_Handler,
		},
		{
			MethodName: "shadowIndex",
			Handler:    _DeviceMsg_ShadowIndex_Handler,
		},
		{
			MethodName: "gatewayCanBindIndex",
			Handler:    _DeviceMsg_GatewayCanBindIndex_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/dm.proto",
}

DeviceMsg_ServiceDesc is the grpc.ServiceDesc for DeviceMsg 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_proto_dm_proto protoreflect.FileDescriptor
View Source
var File_proto_schemaInfo_proto protoreflect.FileDescriptor
View Source
var OtaManage_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dm.OtaManage",
	HandlerType: (*OtaManageServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "otaFirmwareInfoCreate",
			Handler:    _OtaManage_OtaFirmwareInfoCreate_Handler,
		},
		{
			MethodName: "otaFirmwareInfoUpdate",
			Handler:    _OtaManage_OtaFirmwareInfoUpdate_Handler,
		},
		{
			MethodName: "otaFirmwareInfoDelete",
			Handler:    _OtaManage_OtaFirmwareInfoDelete_Handler,
		},
		{
			MethodName: "otaFirmwareInfoIndex",
			Handler:    _OtaManage_OtaFirmwareInfoIndex_Handler,
		},
		{
			MethodName: "otaFirmwareInfoRead",
			Handler:    _OtaManage_OtaFirmwareInfoRead_Handler,
		},
		{
			MethodName: "otaFirmwareJobCreate",
			Handler:    _OtaManage_OtaFirmwareJobCreate_Handler,
		},
		{
			MethodName: "otaFirmwareJobIndex",
			Handler:    _OtaManage_OtaFirmwareJobIndex_Handler,
		},
		{
			MethodName: "otaFirmwareJobRead",
			Handler:    _OtaManage_OtaFirmwareJobRead_Handler,
		},
		{
			MethodName: "otaFirmwareJobUpdate",
			Handler:    _OtaManage_OtaFirmwareJobUpdate_Handler,
		},
		{
			MethodName: "otaFirmwareDeviceIndex",
			Handler:    _OtaManage_OtaFirmwareDeviceIndex_Handler,
		},
		{
			MethodName: "otaFirmwareDeviceCancel",
			Handler:    _OtaManage_OtaFirmwareDeviceCancel_Handler,
		},
		{
			MethodName: "otaFirmwareDeviceRetry",
			Handler:    _OtaManage_OtaFirmwareDeviceRetry_Handler,
		},
		{
			MethodName: "otaFirmwareDeviceConfirm",
			Handler:    _OtaManage_OtaFirmwareDeviceConfirm_Handler,
		},
		{
			MethodName: "otaModuleInfoCreate",
			Handler:    _OtaManage_OtaModuleInfoCreate_Handler,
		},
		{
			MethodName: "otaModuleInfoUpdate",
			Handler:    _OtaManage_OtaModuleInfoUpdate_Handler,
		},
		{
			MethodName: "otaModuleInfoDelete",
			Handler:    _OtaManage_OtaModuleInfoDelete_Handler,
		},
		{
			MethodName: "otaModuleInfoIndex",
			Handler:    _OtaManage_OtaModuleInfoIndex_Handler,
		},
		{
			MethodName: "otaModuleInfoRead",
			Handler:    _OtaManage_OtaModuleInfoRead_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/dm.proto",
}

OtaManage_ServiceDesc is the grpc.ServiceDesc for OtaManage 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 ProductManage_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dm.ProductManage",
	HandlerType: (*ProductManageServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "productInit",
			Handler:    _ProductManage_ProductInit_Handler,
		},
		{
			MethodName: "productInfoCreate",
			Handler:    _ProductManage_ProductInfoCreate_Handler,
		},
		{
			MethodName: "productInfoUpdate",
			Handler:    _ProductManage_ProductInfoUpdate_Handler,
		},
		{
			MethodName: "productInfoDelete",
			Handler:    _ProductManage_ProductInfoDelete_Handler,
		},
		{
			MethodName: "productInfoIndex",
			Handler:    _ProductManage_ProductInfoIndex_Handler,
		},
		{
			MethodName: "productInfoRead",
			Handler:    _ProductManage_ProductInfoRead_Handler,
		},
		{
			MethodName: "productSchemaUpdate",
			Handler:    _ProductManage_ProductSchemaUpdate_Handler,
		},
		{
			MethodName: "productSchemaCreate",
			Handler:    _ProductManage_ProductSchemaCreate_Handler,
		},
		{
			MethodName: "productSchemaMultiCreate",
			Handler:    _ProductManage_ProductSchemaMultiCreate_Handler,
		},
		{
			MethodName: "productSchemaDelete",
			Handler:    _ProductManage_ProductSchemaDelete_Handler,
		},
		{
			MethodName: "productSchemaIndex",
			Handler:    _ProductManage_ProductSchemaIndex_Handler,
		},
		{
			MethodName: "productSchemaTslImport",
			Handler:    _ProductManage_ProductSchemaTslImport_Handler,
		},
		{
			MethodName: "productSchemaTslRead",
			Handler:    _ProductManage_ProductSchemaTslRead_Handler,
		},
		{
			MethodName: "productCustomRead",
			Handler:    _ProductManage_ProductCustomRead_Handler,
		},
		{
			MethodName: "productCustomUpdate",
			Handler:    _ProductManage_ProductCustomUpdate_Handler,
		},
		{
			MethodName: "productCategoryCreate",
			Handler:    _ProductManage_ProductCategoryCreate_Handler,
		},
		{
			MethodName: "productCategoryUpdate",
			Handler:    _ProductManage_ProductCategoryUpdate_Handler,
		},
		{
			MethodName: "productCategoryDelete",
			Handler:    _ProductManage_ProductCategoryDelete_Handler,
		},
		{
			MethodName: "productCategoryIndex",
			Handler:    _ProductManage_ProductCategoryIndex_Handler,
		},
		{
			MethodName: "productCategoryRead",
			Handler:    _ProductManage_ProductCategoryRead_Handler,
		},
		{
			MethodName: "productCategorySchemaIndex",
			Handler:    _ProductManage_ProductCategorySchemaIndex_Handler,
		},
		{
			MethodName: "productCategorySchemaMultiUpdate",
			Handler:    _ProductManage_ProductCategorySchemaMultiUpdate_Handler,
		},
		{
			MethodName: "productCategorySchemaMultiCreate",
			Handler:    _ProductManage_ProductCategorySchemaMultiCreate_Handler,
		},
		{
			MethodName: "productCategorySchemaMultiDelete",
			Handler:    _ProductManage_ProductCategorySchemaMultiDelete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/dm.proto",
}

ProductManage_ServiceDesc is the grpc.ServiceDesc for ProductManage 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 ProtocolManage_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dm.ProtocolManage",
	HandlerType: (*ProtocolManageServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "protocolInfoIndex",
			Handler:    _ProtocolManage_ProtocolInfoIndex_Handler,
		},
		{
			MethodName: "protocolInfoRead",
			Handler:    _ProtocolManage_ProtocolInfoRead_Handler,
		},
		{
			MethodName: "protocolInfoCreate",
			Handler:    _ProtocolManage_ProtocolInfoCreate_Handler,
		},
		{
			MethodName: "protocolInfoUpdate",
			Handler:    _ProtocolManage_ProtocolInfoUpdate_Handler,
		},
		{
			MethodName: "protocolInfoDelete",
			Handler:    _ProtocolManage_ProtocolInfoDelete_Handler,
		},
		{
			MethodName: "protocolServiceUpdate",
			Handler:    _ProtocolManage_ProtocolServiceUpdate_Handler,
		},
		{
			MethodName: "protocolServiceDelete",
			Handler:    _ProtocolManage_ProtocolServiceDelete_Handler,
		},
		{
			MethodName: "protocolServiceIndex",
			Handler:    _ProtocolManage_ProtocolServiceIndex_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/dm.proto",
}

ProtocolManage_ServiceDesc is the grpc.ServiceDesc for ProtocolManage 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 RemoteConfig_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dm.RemoteConfig",
	HandlerType: (*RemoteConfigServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RemoteConfigCreate",
			Handler:    _RemoteConfig_RemoteConfigCreate_Handler,
		},
		{
			MethodName: "RemoteConfigIndex",
			Handler:    _RemoteConfig_RemoteConfigIndex_Handler,
		},
		{
			MethodName: "RemoteConfigPushAll",
			Handler:    _RemoteConfig_RemoteConfigPushAll_Handler,
		},
		{
			MethodName: "RemoteConfigLastRead",
			Handler:    _RemoteConfig_RemoteConfigLastRead_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/dm.proto",
}

RemoteConfig_ServiceDesc is the grpc.ServiceDesc for RemoteConfig 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 SchemaManage_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dm.SchemaManage",
	HandlerType: (*SchemaManageServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "commonSchemaInit",
			Handler:    _SchemaManage_CommonSchemaInit_Handler,
		},
		{
			MethodName: "commonSchemaUpdate",
			Handler:    _SchemaManage_CommonSchemaUpdate_Handler,
		},
		{
			MethodName: "commonSchemaCreate",
			Handler:    _SchemaManage_CommonSchemaCreate_Handler,
		},
		{
			MethodName: "commonSchemaDelete",
			Handler:    _SchemaManage_CommonSchemaDelete_Handler,
		},
		{
			MethodName: "commonSchemaIndex",
			Handler:    _SchemaManage_CommonSchemaIndex_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/dm.proto",
}

SchemaManage_ServiceDesc is the grpc.ServiceDesc for SchemaManage 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 UserDevice_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dm.userDevice",
	HandlerType: (*UserDeviceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "userDeviceCollectMultiCreate",
			Handler:    _UserDevice_UserDeviceCollectMultiCreate_Handler,
		},
		{
			MethodName: "userDeviceCollectMultiDelete",
			Handler:    _UserDevice_UserDeviceCollectMultiDelete_Handler,
		},
		{
			MethodName: "userDeviceCollectIndex",
			Handler:    _UserDevice_UserDeviceCollectIndex_Handler,
		},
		{
			MethodName: "userDeviceShareCreate",
			Handler:    _UserDevice_UserDeviceShareCreate_Handler,
		},
		{
			MethodName: "userDeviceShareUpdate",
			Handler:    _UserDevice_UserDeviceShareUpdate_Handler,
		},
		{
			MethodName: "userDeviceShareDelete",
			Handler:    _UserDevice_UserDeviceShareDelete_Handler,
		},
		{
			MethodName: "userDeviceShareMultiDelete",
			Handler:    _UserDevice_UserDeviceShareMultiDelete_Handler,
		},
		{
			MethodName: "userDeviceShareIndex",
			Handler:    _UserDevice_UserDeviceShareIndex_Handler,
		},
		{
			MethodName: "userDeviceShareRead",
			Handler:    _UserDevice_UserDeviceShareRead_Handler,
		},
		{
			MethodName: "userDeviceTransfer",
			Handler:    _UserDevice_UserDeviceTransfer_Handler,
		},
		{
			MethodName: "userDeviceShareMultiCreate",
			Handler:    _UserDevice_UserDeviceShareMultiCreate_Handler,
		},
		{
			MethodName: "userDeivceShareMultiIndex",
			Handler:    _UserDevice_UserDeivceShareMultiIndex_Handler,
		},
		{
			MethodName: "userDeivceShareMultiAccept",
			Handler:    _UserDevice_UserDeivceShareMultiAccept_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/dm.proto",
}

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

Functions

func RegisterDeviceGroupServer

func RegisterDeviceGroupServer(s grpc.ServiceRegistrar, srv DeviceGroupServer)

func RegisterDeviceInteractServer

func RegisterDeviceInteractServer(s grpc.ServiceRegistrar, srv DeviceInteractServer)

func RegisterDeviceManageServer

func RegisterDeviceManageServer(s grpc.ServiceRegistrar, srv DeviceManageServer)

func RegisterDeviceMsgServer

func RegisterDeviceMsgServer(s grpc.ServiceRegistrar, srv DeviceMsgServer)

func RegisterOtaManageServer

func RegisterOtaManageServer(s grpc.ServiceRegistrar, srv OtaManageServer)

func RegisterProductManageServer

func RegisterProductManageServer(s grpc.ServiceRegistrar, srv ProductManageServer)

func RegisterProtocolManageServer

func RegisterProtocolManageServer(s grpc.ServiceRegistrar, srv ProtocolManageServer)

func RegisterRemoteConfigServer

func RegisterRemoteConfigServer(s grpc.ServiceRegistrar, srv RemoteConfigServer)

func RegisterSchemaManageServer

func RegisterSchemaManageServer(s grpc.ServiceRegistrar, srv SchemaManageServer)

func RegisterUserDeviceServer

func RegisterUserDeviceServer(s grpc.ServiceRegistrar, srv UserDeviceServer)

Types

type ActionRespReq

type ActionRespReq struct {
	ProductID    string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`       //产品id 获取产品id下的所有设备信息
	DeviceName   string `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"`     //设备名
	MsgToken     string `protobuf:"bytes,3,opt,name=msgToken,proto3" json:"msgToken,omitempty"`         //调用id
	OutputParams string `protobuf:"bytes,4,opt,name=outputParams,proto3" json:"outputParams,omitempty"` //输出参数 注意:此字段可能返回 null,表示取不到有效值。
	Msg          string `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"`                   //返回状态
	Code         int64  `protobuf:"varint,6,opt,name=code,proto3" json:"code,omitempty"`                //设备返回状态码
	// contains filtered or unexported fields
}

func (*ActionRespReq) Descriptor deprecated

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

Deprecated: Use ActionRespReq.ProtoReflect.Descriptor instead.

func (*ActionRespReq) GetCode

func (x *ActionRespReq) GetCode() int64

func (*ActionRespReq) GetDeviceName

func (x *ActionRespReq) GetDeviceName() string

func (*ActionRespReq) GetMsg

func (x *ActionRespReq) GetMsg() string

func (*ActionRespReq) GetMsgToken

func (x *ActionRespReq) GetMsgToken() string

func (*ActionRespReq) GetOutputParams

func (x *ActionRespReq) GetOutputParams() string

func (*ActionRespReq) GetProductID

func (x *ActionRespReq) GetProductID() string

func (*ActionRespReq) ProtoMessage

func (*ActionRespReq) ProtoMessage()

func (*ActionRespReq) ProtoReflect

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

func (*ActionRespReq) Reset

func (x *ActionRespReq) Reset()

func (*ActionRespReq) String

func (x *ActionRespReq) String() string

type ActionSendReq

type ActionSendReq struct {
	ProductID   string      `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`     //产品id 获取产品id下的所有设备信息
	DeviceName  string      `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"`   //设备名
	ActionID    string      `protobuf:"bytes,3,opt,name=actionID,proto3" json:"actionID,omitempty"`       //产品数据模板中行为功能的标识符,由开发者自行根据设备的应用场景定义
	InputParams string      `protobuf:"bytes,4,opt,name=inputParams,proto3" json:"inputParams,omitempty"` //输入参数
	IsAsync     bool        `protobuf:"varint,5,opt,name=isAsync,proto3" json:"isAsync,omitempty"`        //是否异步获取
	Option      *SendOption `protobuf:"bytes,6,opt,name=option,proto3" json:"option,omitempty"`           //异步选项
	// contains filtered or unexported fields
}

func (*ActionSendReq) Descriptor deprecated

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

Deprecated: Use ActionSendReq.ProtoReflect.Descriptor instead.

func (*ActionSendReq) GetActionID

func (x *ActionSendReq) GetActionID() string

func (*ActionSendReq) GetDeviceName

func (x *ActionSendReq) GetDeviceName() string

func (*ActionSendReq) GetInputParams

func (x *ActionSendReq) GetInputParams() string

func (*ActionSendReq) GetIsAsync

func (x *ActionSendReq) GetIsAsync() bool

func (*ActionSendReq) GetOption

func (x *ActionSendReq) GetOption() *SendOption

func (*ActionSendReq) GetProductID

func (x *ActionSendReq) GetProductID() string

func (*ActionSendReq) ProtoMessage

func (*ActionSendReq) ProtoMessage()

func (*ActionSendReq) ProtoReflect

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

func (*ActionSendReq) Reset

func (x *ActionSendReq) Reset()

func (*ActionSendReq) String

func (x *ActionSendReq) String() string

type ActionSendResp

type ActionSendResp struct {
	MsgToken     string `protobuf:"bytes,1,opt,name=msgToken,proto3" json:"msgToken,omitempty"`         //调用id
	OutputParams string `protobuf:"bytes,2,opt,name=outputParams,proto3" json:"outputParams,omitempty"` //输出参数 注意:此字段可能返回 null,表示取不到有效值。
	Msg          string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`                   //返回状态
	Code         int64  `protobuf:"varint,4,opt,name=code,proto3" json:"code,omitempty"`                //设备返回状态码
	// contains filtered or unexported fields
}

func (*ActionSendResp) Descriptor deprecated

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

Deprecated: Use ActionSendResp.ProtoReflect.Descriptor instead.

func (*ActionSendResp) GetCode

func (x *ActionSendResp) GetCode() int64

func (*ActionSendResp) GetMsg

func (x *ActionSendResp) GetMsg() string

func (*ActionSendResp) GetMsgToken

func (x *ActionSendResp) GetMsgToken() string

func (*ActionSendResp) GetOutputParams

func (x *ActionSendResp) GetOutputParams() string

func (*ActionSendResp) ProtoMessage

func (*ActionSendResp) ProtoMessage()

func (*ActionSendResp) ProtoReflect

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

func (*ActionSendResp) Reset

func (x *ActionSendResp) Reset()

func (*ActionSendResp) String

func (x *ActionSendResp) String() string

type CommonSchemaCreateReq

type CommonSchemaCreateReq struct {
	Info *CommonSchemaInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` //物模型信息
	// contains filtered or unexported fields
}

func (*CommonSchemaCreateReq) Descriptor deprecated

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

Deprecated: Use CommonSchemaCreateReq.ProtoReflect.Descriptor instead.

func (*CommonSchemaCreateReq) GetInfo

func (*CommonSchemaCreateReq) ProtoMessage

func (*CommonSchemaCreateReq) ProtoMessage()

func (*CommonSchemaCreateReq) ProtoReflect

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

func (*CommonSchemaCreateReq) Reset

func (x *CommonSchemaCreateReq) Reset()

func (*CommonSchemaCreateReq) String

func (x *CommonSchemaCreateReq) String() string

type CommonSchemaIndexReq

type CommonSchemaIndexReq struct {
	Page                      *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`             //分页信息 只获取一个则不填
	ProductIDs                []string  `protobuf:"bytes,2,rep,name=productIDs,proto3" json:"productIDs,omitempty"` //有这个属性的产品id列表
	Type                      int64     `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`            //物模型类型 1:property属性 2:event事件 3:action行为
	Types                     []int64   `protobuf:"varint,20,rep,packed,name=types,proto3" json:"types,omitempty"`
	Identifiers               []string  `protobuf:"bytes,5,rep,name=identifiers,proto3" json:"identifiers,omitempty"` //过滤标识符列表
	Name                      string    `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`               //标识符名字过滤
	WithProductCategory       bool      `protobuf:"varint,4,opt,name=withProductCategory,proto3" json:"withProductCategory,omitempty"`
	ProductCategoryID         int64     `protobuf:"varint,7,opt,name=productCategoryID,proto3" json:"productCategoryID,omitempty"`                 //过滤属于该产品品类的物模型
	ProductCategoryWithFather bool      `protobuf:"varint,8,opt,name=productCategoryWithFather,proto3" json:"productCategoryWithFather,omitempty"` //同时返回父节点的物模型
	IsCanSceneLinkage         int64     `protobuf:"varint,9,opt,name=isCanSceneLinkage,proto3" json:"isCanSceneLinkage,omitempty"`                 //是否支持场景联动控制
	FuncGroup                 int64     `protobuf:"varint,14,opt,name=funcGroup,proto3" json:"funcGroup,omitempty"`                                // 功能分类: 1:普通功能 2:系统功能
	UserPerm                  int64     `protobuf:"varint,15,opt,name=userPerm,proto3" json:"userPerm,omitempty"`                                  //用户权限操作: 1:r(只读) 3:rw(可读可写)
	AreaID                    int64     `protobuf:"varint,16,opt,name=areaID,proto3" json:"areaID,omitempty"`                                      //过滤区域下设备共有的物模型
	GroupID                   int64     `protobuf:"varint,17,opt,name=groupID,proto3" json:"groupID,omitempty"`                                    //过滤分组下设备共有的物模型
	GroupIDs                  []int64   `protobuf:"varint,18,rep,packed,name=groupIDs,proto3" json:"groupIDs,omitempty"`                           //过滤分组下设备共有的物模型
	PropertyMode              string    `protobuf:"bytes,19,opt,name=propertyMode,proto3" json:"propertyMode,omitempty"`                           //属性类型可用 读写类型: 1:r(只读) 2:rw(可读可写)
	ControlMode               int64     `protobuf:"varint,21,opt,name=controlMode,proto3" json:"controlMode,omitempty"`                            //控制模式: 1: 可以群控,可以单控  2:只能单控
	ProductSceneMode          string    `protobuf:"bytes,22,opt,name=productSceneMode,proto3" json:"productSceneMode,omitempty"`                   //产品场景模式 读写类型: r(只读) rw(可读可写) none(不参与场景)
	// contains filtered or unexported fields
}

func (*CommonSchemaIndexReq) Descriptor deprecated

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

Deprecated: Use CommonSchemaIndexReq.ProtoReflect.Descriptor instead.

func (*CommonSchemaIndexReq) GetAreaID

func (x *CommonSchemaIndexReq) GetAreaID() int64

func (*CommonSchemaIndexReq) GetControlMode

func (x *CommonSchemaIndexReq) GetControlMode() int64

func (*CommonSchemaIndexReq) GetFuncGroup

func (x *CommonSchemaIndexReq) GetFuncGroup() int64

func (*CommonSchemaIndexReq) GetGroupID

func (x *CommonSchemaIndexReq) GetGroupID() int64

func (*CommonSchemaIndexReq) GetGroupIDs

func (x *CommonSchemaIndexReq) GetGroupIDs() []int64

func (*CommonSchemaIndexReq) GetIdentifiers

func (x *CommonSchemaIndexReq) GetIdentifiers() []string

func (*CommonSchemaIndexReq) GetIsCanSceneLinkage

func (x *CommonSchemaIndexReq) GetIsCanSceneLinkage() int64

func (*CommonSchemaIndexReq) GetName

func (x *CommonSchemaIndexReq) GetName() string

func (*CommonSchemaIndexReq) GetPage

func (x *CommonSchemaIndexReq) GetPage() *PageInfo

func (*CommonSchemaIndexReq) GetProductCategoryID

func (x *CommonSchemaIndexReq) GetProductCategoryID() int64

func (*CommonSchemaIndexReq) GetProductCategoryWithFather

func (x *CommonSchemaIndexReq) GetProductCategoryWithFather() bool

func (*CommonSchemaIndexReq) GetProductIDs

func (x *CommonSchemaIndexReq) GetProductIDs() []string

func (*CommonSchemaIndexReq) GetProductSceneMode

func (x *CommonSchemaIndexReq) GetProductSceneMode() string

func (*CommonSchemaIndexReq) GetPropertyMode

func (x *CommonSchemaIndexReq) GetPropertyMode() string

func (*CommonSchemaIndexReq) GetType

func (x *CommonSchemaIndexReq) GetType() int64

func (*CommonSchemaIndexReq) GetTypes

func (x *CommonSchemaIndexReq) GetTypes() []int64

func (*CommonSchemaIndexReq) GetUserPerm

func (x *CommonSchemaIndexReq) GetUserPerm() int64

func (*CommonSchemaIndexReq) GetWithProductCategory

func (x *CommonSchemaIndexReq) GetWithProductCategory() bool

func (*CommonSchemaIndexReq) ProtoMessage

func (*CommonSchemaIndexReq) ProtoMessage()

func (*CommonSchemaIndexReq) ProtoReflect

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

func (*CommonSchemaIndexReq) Reset

func (x *CommonSchemaIndexReq) Reset()

func (*CommonSchemaIndexReq) String

func (x *CommonSchemaIndexReq) String() string

type CommonSchemaIndexResp

type CommonSchemaIndexResp struct {
	List  []*CommonSchemaInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64               `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` //总数(只有分页的时候会返回)
	// contains filtered or unexported fields
}

func (*CommonSchemaIndexResp) Descriptor deprecated

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

Deprecated: Use CommonSchemaIndexResp.ProtoReflect.Descriptor instead.

func (*CommonSchemaIndexResp) GetList

func (x *CommonSchemaIndexResp) GetList() []*CommonSchemaInfo

func (*CommonSchemaIndexResp) GetTotal

func (x *CommonSchemaIndexResp) GetTotal() int64

func (*CommonSchemaIndexResp) ProtoMessage

func (*CommonSchemaIndexResp) ProtoMessage()

func (*CommonSchemaIndexResp) ProtoReflect

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

func (*CommonSchemaIndexResp) Reset

func (x *CommonSchemaIndexResp) Reset()

func (*CommonSchemaIndexResp) String

func (x *CommonSchemaIndexResp) String() string

type CommonSchemaInfo

type CommonSchemaInfo struct {
	Id                int64                   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Type              int64                   `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`                           //物模型类型 1:property属性 2:event事件 3:action行为
	Identifier        string                  `protobuf:"bytes,4,opt,name=identifier,proto3" json:"identifier,omitempty"`                //标识符
	Name              *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`                            //功能名称
	Desc              *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"`                            //描述
	Required          int64                   `protobuf:"varint,7,opt,name=required,proto3" json:"required,omitempty"`                   //是否必须 1:是 2:否
	IsCanSceneLinkage int64                   `protobuf:"varint,8,opt,name=isCanSceneLinkage,proto3" json:"isCanSceneLinkage,omitempty"` //是否支持场景联动控制
	FuncGroup         int64                   `protobuf:"varint,14,opt,name=funcGroup,proto3" json:"funcGroup,omitempty"`                // 功能分类: 1:普通功能 2:系统功能
	UserPerm          int64                   `protobuf:"varint,15,opt,name=userPerm,proto3" json:"userPerm,omitempty"`                  //用户权限操作: 1:r(只读) 3:rw(可读可写)
	IsHistory         int64                   `protobuf:"varint,10,opt,name=isHistory,proto3" json:"isHistory,omitempty"`                // 是否存储历史记录
	Affordance        *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=affordance,proto3" json:"affordance,omitempty"`               //各功能类型的详细参数定义
	ExtendConfig      string                  `protobuf:"bytes,12,opt,name=extendConfig,proto3" json:"extendConfig,omitempty"`           //拓展参数
	Order             int64                   `protobuf:"varint,13,opt,name=order,proto3" json:"order,omitempty"`                        //排序
	ControlMode       int64                   `protobuf:"varint,16,opt,name=controlMode,proto3" json:"controlMode,omitempty"`            //控制模式: 1: 可以群控,可以单控  2:只能单控
	ProductCategories []*ProductCategory      `protobuf:"bytes,3,rep,name=productCategories,proto3" json:"productCategories,omitempty"`  //绑定的产品品类(如果绑定了,则该品类下的产品会自动新增并不允许删除)
	// contains filtered or unexported fields
}

func (*CommonSchemaInfo) Descriptor deprecated

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

Deprecated: Use CommonSchemaInfo.ProtoReflect.Descriptor instead.

func (*CommonSchemaInfo) GetAffordance

func (x *CommonSchemaInfo) GetAffordance() *wrapperspb.StringValue

func (*CommonSchemaInfo) GetControlMode

func (x *CommonSchemaInfo) GetControlMode() int64

func (*CommonSchemaInfo) GetDesc

func (x *CommonSchemaInfo) GetDesc() *wrapperspb.StringValue

func (*CommonSchemaInfo) GetExtendConfig

func (x *CommonSchemaInfo) GetExtendConfig() string

func (*CommonSchemaInfo) GetFuncGroup

func (x *CommonSchemaInfo) GetFuncGroup() int64

func (*CommonSchemaInfo) GetId

func (x *CommonSchemaInfo) GetId() int64

func (*CommonSchemaInfo) GetIdentifier

func (x *CommonSchemaInfo) GetIdentifier() string

func (*CommonSchemaInfo) GetIsCanSceneLinkage

func (x *CommonSchemaInfo) GetIsCanSceneLinkage() int64

func (*CommonSchemaInfo) GetIsHistory

func (x *CommonSchemaInfo) GetIsHistory() int64

func (*CommonSchemaInfo) GetName

func (x *CommonSchemaInfo) GetName() *wrapperspb.StringValue

func (*CommonSchemaInfo) GetOrder

func (x *CommonSchemaInfo) GetOrder() int64

func (*CommonSchemaInfo) GetProductCategories

func (x *CommonSchemaInfo) GetProductCategories() []*ProductCategory

func (*CommonSchemaInfo) GetRequired

func (x *CommonSchemaInfo) GetRequired() int64

func (*CommonSchemaInfo) GetType

func (x *CommonSchemaInfo) GetType() int64

func (*CommonSchemaInfo) GetUserPerm

func (x *CommonSchemaInfo) GetUserPerm() int64

func (*CommonSchemaInfo) ProtoMessage

func (*CommonSchemaInfo) ProtoMessage()

func (*CommonSchemaInfo) ProtoReflect

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

func (*CommonSchemaInfo) Reset

func (x *CommonSchemaInfo) Reset()

func (*CommonSchemaInfo) String

func (x *CommonSchemaInfo) String() string

type CommonSchemaUpdateReq

type CommonSchemaUpdateReq struct {
	Info *CommonSchemaInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` //物模型信息
	// contains filtered or unexported fields
}

func (*CommonSchemaUpdateReq) Descriptor deprecated

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

Deprecated: Use CommonSchemaUpdateReq.ProtoReflect.Descriptor instead.

func (*CommonSchemaUpdateReq) GetInfo

func (*CommonSchemaUpdateReq) ProtoMessage

func (*CommonSchemaUpdateReq) ProtoMessage()

func (*CommonSchemaUpdateReq) ProtoReflect

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

func (*CommonSchemaUpdateReq) Reset

func (x *CommonSchemaUpdateReq) Reset()

func (*CommonSchemaUpdateReq) String

func (x *CommonSchemaUpdateReq) String() string

type CompareInt64

type CompareInt64 struct {
	CmpType string `protobuf:"bytes,1,opt,name=CmpType,proto3" json:"CmpType,omitempty"` //"=":相等 "!=":不相等 ">":大于">=":大于等于"<":小于"<=":小于等于 "like":模糊查询
	Value   int64  `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`    //值
	// contains filtered or unexported fields
}

func (*CompareInt64) Descriptor deprecated

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

Deprecated: Use CompareInt64.ProtoReflect.Descriptor instead.

func (*CompareInt64) GetCmpType

func (x *CompareInt64) GetCmpType() string

func (*CompareInt64) GetValue

func (x *CompareInt64) GetValue() int64

func (*CompareInt64) ProtoMessage

func (*CompareInt64) ProtoMessage()

func (*CompareInt64) ProtoReflect

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

func (*CompareInt64) Reset

func (x *CompareInt64) Reset()

func (*CompareInt64) String

func (x *CompareInt64) String() string

type CompareString

type CompareString struct {
	CmpType string `protobuf:"bytes,1,opt,name=CmpType,proto3" json:"CmpType,omitempty"` //"=":相等 "!=":不相等 ">":大于">=":大于等于"<":小于"<=":小于等于 "like":模糊查询
	Value   string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`     //值
	// contains filtered or unexported fields
}

func (*CompareString) Descriptor deprecated

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

Deprecated: Use CompareString.ProtoReflect.Descriptor instead.

func (*CompareString) GetCmpType

func (x *CompareString) GetCmpType() string

func (*CompareString) GetValue

func (x *CompareString) GetValue() string

func (*CompareString) ProtoMessage

func (*CompareString) ProtoMessage()

func (*CompareString) ProtoReflect

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

func (*CompareString) Reset

func (x *CompareString) Reset()

func (*CompareString) String

func (x *CompareString) String() string

type CustomTopic

type CustomTopic struct {
	Topic     string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`          //自定义主题需要以$custom 并包含设备名称{deviceName}及产品名称{productID}
	Direction int64  `protobuf:"varint,2,opt,name=direction,proto3" json:"direction,omitempty"` //1:上行 2:下行 3:双向
	// contains filtered or unexported fields
}

func (*CustomTopic) Descriptor deprecated

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

Deprecated: Use CustomTopic.ProtoReflect.Descriptor instead.

func (*CustomTopic) GetDirection

func (x *CustomTopic) GetDirection() int64

func (*CustomTopic) GetTopic

func (x *CustomTopic) GetTopic() string

func (*CustomTopic) ProtoMessage

func (*CustomTopic) ProtoMessage()

func (*CustomTopic) ProtoReflect

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

func (*CustomTopic) Reset

func (x *CustomTopic) Reset()

func (*CustomTopic) String

func (x *CustomTopic) String() string

type DeviceCore

type DeviceCore struct {
	ProductID  string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`   //产品id
	DeviceName string `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名称
	// contains filtered or unexported fields
}

func (*DeviceCore) Descriptor deprecated

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

Deprecated: Use DeviceCore.ProtoReflect.Descriptor instead.

func (*DeviceCore) GetDeviceName

func (x *DeviceCore) GetDeviceName() string

func (*DeviceCore) GetProductID

func (x *DeviceCore) GetProductID() string

func (*DeviceCore) ProtoMessage

func (*DeviceCore) ProtoMessage()

func (*DeviceCore) ProtoReflect

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

func (*DeviceCore) Reset

func (x *DeviceCore) Reset()

func (*DeviceCore) String

func (x *DeviceCore) String() string

type DeviceCountInfo

type DeviceCountInfo struct {
	RangeID int64            `protobuf:"varint,1,opt,name=rangeID,proto3" json:"rangeID,omitempty"`
	Count   map[string]int64 `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeviceCountInfo) Descriptor deprecated

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

Deprecated: Use DeviceCountInfo.ProtoReflect.Descriptor instead.

func (*DeviceCountInfo) GetCount

func (x *DeviceCountInfo) GetCount() map[string]int64

func (*DeviceCountInfo) GetRangeID

func (x *DeviceCountInfo) GetRangeID() int64

func (*DeviceCountInfo) ProtoMessage

func (*DeviceCountInfo) ProtoMessage()

func (*DeviceCountInfo) ProtoReflect

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

func (*DeviceCountInfo) Reset

func (x *DeviceCountInfo) Reset()

func (*DeviceCountInfo) String

func (x *DeviceCountInfo) String() string

type DeviceCountReq

type DeviceCountReq struct {
	CountTypes []string `protobuf:"bytes,1,rep,name=countTypes,proto3" json:"countTypes,omitempty"`     //在线设备数:status,设备类型: deviceType
	RangeType  int64    `protobuf:"varint,2,opt,name=rangeType,proto3" json:"rangeType,omitempty"`      //0:全部 1:area 2:group
	RangeIDs   []int64  `protobuf:"varint,3,rep,packed,name=rangeIDs,proto3" json:"rangeIDs,omitempty"` ////统计的id列表, areaID或者groupID
	// contains filtered or unexported fields
}

func (*DeviceCountReq) Descriptor deprecated

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

Deprecated: Use DeviceCountReq.ProtoReflect.Descriptor instead.

func (*DeviceCountReq) GetCountTypes

func (x *DeviceCountReq) GetCountTypes() []string

func (*DeviceCountReq) GetRangeIDs

func (x *DeviceCountReq) GetRangeIDs() []int64

func (*DeviceCountReq) GetRangeType

func (x *DeviceCountReq) GetRangeType() int64

func (*DeviceCountReq) ProtoMessage

func (*DeviceCountReq) ProtoMessage()

func (*DeviceCountReq) ProtoReflect

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

func (*DeviceCountReq) Reset

func (x *DeviceCountReq) Reset()

func (*DeviceCountReq) String

func (x *DeviceCountReq) String() string

type DeviceCountResp

type DeviceCountResp struct {
	List []*DeviceCountInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceCountResp) Descriptor deprecated

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

Deprecated: Use DeviceCountResp.ProtoReflect.Descriptor instead.

func (*DeviceCountResp) GetList

func (x *DeviceCountResp) GetList() []*DeviceCountInfo

func (*DeviceCountResp) ProtoMessage

func (*DeviceCountResp) ProtoMessage()

func (*DeviceCountResp) ProtoReflect

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

func (*DeviceCountResp) Reset

func (x *DeviceCountResp) Reset()

func (*DeviceCountResp) String

func (x *DeviceCountResp) String() string

type DeviceError

type DeviceError struct {
	ProductID  string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`   //产品id
	DeviceName string `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名称
	Code       int64  `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"`
	Msg        string `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceError) Descriptor deprecated

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

Deprecated: Use DeviceError.ProtoReflect.Descriptor instead.

func (*DeviceError) GetCode

func (x *DeviceError) GetCode() int64

func (*DeviceError) GetDeviceName

func (x *DeviceError) GetDeviceName() string

func (*DeviceError) GetMsg

func (x *DeviceError) GetMsg() string

func (*DeviceError) GetProductID

func (x *DeviceError) GetProductID() string

func (*DeviceError) ProtoMessage

func (*DeviceError) ProtoMessage()

func (*DeviceError) ProtoReflect

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

func (*DeviceError) Reset

func (x *DeviceError) Reset()

func (*DeviceError) String

func (x *DeviceError) String() string

type DeviceGatewayBindDevice

type DeviceGatewayBindDevice struct {
	ProductID  string             `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`   //产品id
	DeviceName string             `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名称
	Sign       *DeviceGatewaySign `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"`             //签名
	// contains filtered or unexported fields
}

func (*DeviceGatewayBindDevice) Descriptor deprecated

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

Deprecated: Use DeviceGatewayBindDevice.ProtoReflect.Descriptor instead.

func (*DeviceGatewayBindDevice) GetDeviceName

func (x *DeviceGatewayBindDevice) GetDeviceName() string

func (*DeviceGatewayBindDevice) GetProductID

func (x *DeviceGatewayBindDevice) GetProductID() string

func (*DeviceGatewayBindDevice) GetSign

func (*DeviceGatewayBindDevice) ProtoMessage

func (*DeviceGatewayBindDevice) ProtoMessage()

func (*DeviceGatewayBindDevice) ProtoReflect

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

func (*DeviceGatewayBindDevice) Reset

func (x *DeviceGatewayBindDevice) Reset()

func (*DeviceGatewayBindDevice) String

func (x *DeviceGatewayBindDevice) String() string

type DeviceGatewayIndexReq

type DeviceGatewayIndexReq struct {
	Page      *PageInfo   `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	Gateway   *DeviceCore `protobuf:"bytes,2,opt,name=gateway,proto3" json:"gateway,omitempty"`     //获取网关下子设备列表
	SubDevice *DeviceCore `protobuf:"bytes,3,opt,name=subDevice,proto3" json:"subDevice,omitempty"` //获取子设备绑定的网关列表
	// contains filtered or unexported fields
}

func (*DeviceGatewayIndexReq) Descriptor deprecated

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

Deprecated: Use DeviceGatewayIndexReq.ProtoReflect.Descriptor instead.

func (*DeviceGatewayIndexReq) GetGateway

func (x *DeviceGatewayIndexReq) GetGateway() *DeviceCore

func (*DeviceGatewayIndexReq) GetPage

func (x *DeviceGatewayIndexReq) GetPage() *PageInfo

func (*DeviceGatewayIndexReq) GetSubDevice

func (x *DeviceGatewayIndexReq) GetSubDevice() *DeviceCore

func (*DeviceGatewayIndexReq) ProtoMessage

func (*DeviceGatewayIndexReq) ProtoMessage()

func (*DeviceGatewayIndexReq) ProtoReflect

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

func (*DeviceGatewayIndexReq) Reset

func (x *DeviceGatewayIndexReq) Reset()

func (*DeviceGatewayIndexReq) String

func (x *DeviceGatewayIndexReq) String() string

type DeviceGatewayIndexResp

type DeviceGatewayIndexResp struct {
	List  []*DeviceCore `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64         `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceGatewayIndexResp) Descriptor deprecated

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

Deprecated: Use DeviceGatewayIndexResp.ProtoReflect.Descriptor instead.

func (*DeviceGatewayIndexResp) GetList

func (x *DeviceGatewayIndexResp) GetList() []*DeviceCore

func (*DeviceGatewayIndexResp) GetTotal

func (x *DeviceGatewayIndexResp) GetTotal() int64

func (*DeviceGatewayIndexResp) ProtoMessage

func (*DeviceGatewayIndexResp) ProtoMessage()

func (*DeviceGatewayIndexResp) ProtoReflect

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

func (*DeviceGatewayIndexResp) Reset

func (x *DeviceGatewayIndexResp) Reset()

func (*DeviceGatewayIndexResp) String

func (x *DeviceGatewayIndexResp) String() string

type DeviceGatewayMultiCreateReq

type DeviceGatewayMultiCreateReq struct {
	Gateway     *DeviceCore                `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`          //
	IsNotNotify bool                       `protobuf:"varint,2,opt,name=isNotNotify,proto3" json:"isNotNotify,omitempty"` //不通知网关设备状态做了调整
	IsAuthSign  bool                       `protobuf:"varint,3,opt,name=isAuthSign,proto3" json:"isAuthSign,omitempty"`   //是否校验设备签名
	List        []*DeviceGatewayBindDevice `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceGatewayMultiCreateReq) Descriptor deprecated

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

Deprecated: Use DeviceGatewayMultiCreateReq.ProtoReflect.Descriptor instead.

func (*DeviceGatewayMultiCreateReq) GetGateway

func (x *DeviceGatewayMultiCreateReq) GetGateway() *DeviceCore

func (*DeviceGatewayMultiCreateReq) GetIsAuthSign

func (x *DeviceGatewayMultiCreateReq) GetIsAuthSign() bool

func (*DeviceGatewayMultiCreateReq) GetIsNotNotify

func (x *DeviceGatewayMultiCreateReq) GetIsNotNotify() bool

func (*DeviceGatewayMultiCreateReq) GetList

func (*DeviceGatewayMultiCreateReq) ProtoMessage

func (*DeviceGatewayMultiCreateReq) ProtoMessage()

func (*DeviceGatewayMultiCreateReq) ProtoReflect

func (*DeviceGatewayMultiCreateReq) Reset

func (x *DeviceGatewayMultiCreateReq) Reset()

func (*DeviceGatewayMultiCreateReq) String

func (x *DeviceGatewayMultiCreateReq) String() string

type DeviceGatewayMultiSaveReq

type DeviceGatewayMultiSaveReq struct {
	Gateway     *DeviceCore   `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`
	IsNotNotify bool          `protobuf:"varint,2,opt,name=isNotNotify,proto3" json:"isNotNotify,omitempty"` //不通知网关设备状态做了调整
	List        []*DeviceCore `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceGatewayMultiSaveReq) Descriptor deprecated

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

Deprecated: Use DeviceGatewayMultiSaveReq.ProtoReflect.Descriptor instead.

func (*DeviceGatewayMultiSaveReq) GetGateway

func (x *DeviceGatewayMultiSaveReq) GetGateway() *DeviceCore

func (*DeviceGatewayMultiSaveReq) GetIsNotNotify

func (x *DeviceGatewayMultiSaveReq) GetIsNotNotify() bool

func (*DeviceGatewayMultiSaveReq) GetList

func (x *DeviceGatewayMultiSaveReq) GetList() []*DeviceCore

func (*DeviceGatewayMultiSaveReq) ProtoMessage

func (*DeviceGatewayMultiSaveReq) ProtoMessage()

func (*DeviceGatewayMultiSaveReq) ProtoReflect

func (*DeviceGatewayMultiSaveReq) Reset

func (x *DeviceGatewayMultiSaveReq) Reset()

func (*DeviceGatewayMultiSaveReq) String

func (x *DeviceGatewayMultiSaveReq) String() string

type DeviceGatewaySign

type DeviceGatewaySign struct {

	//
	//子设备绑定签名串。 签名算法:
	//1. 签名原串,将产品 ID 设备名称,随机数,时间戳拼接:text=${product_id}${device_name};${random};${expiration_time}
	//2. 使用设备 Psk 密钥,或者证书的 Sha1 摘要,进行签名:hmac_sha1(device_secret, text)
	Signature  string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	Random     int64  `protobuf:"varint,4,opt,name=random,proto3" json:"random,omitempty"`        //随机数。
	Timestamp  int64  `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`  //时间戳,单位:秒。
	SignMethod string `protobuf:"bytes,6,opt,name=signMethod,proto3" json:"signMethod,omitempty"` //签名算法。支持 hmacsha1、hmacsha256
	// contains filtered or unexported fields
}

func (*DeviceGatewaySign) Descriptor deprecated

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

Deprecated: Use DeviceGatewaySign.ProtoReflect.Descriptor instead.

func (*DeviceGatewaySign) GetRandom

func (x *DeviceGatewaySign) GetRandom() int64

func (*DeviceGatewaySign) GetSignMethod

func (x *DeviceGatewaySign) GetSignMethod() string

func (*DeviceGatewaySign) GetSignature

func (x *DeviceGatewaySign) GetSignature() string

func (*DeviceGatewaySign) GetTimestamp

func (x *DeviceGatewaySign) GetTimestamp() int64

func (*DeviceGatewaySign) ProtoMessage

func (*DeviceGatewaySign) ProtoMessage()

func (*DeviceGatewaySign) ProtoReflect

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

func (*DeviceGatewaySign) Reset

func (x *DeviceGatewaySign) Reset()

func (*DeviceGatewaySign) String

func (x *DeviceGatewaySign) String() string

type DeviceGroupClient

type DeviceGroupClient interface {
	//创建分组
	GroupInfoCreate(ctx context.Context, in *GroupInfo, opts ...grpc.CallOption) (*WithID, error)
	//获取分组信息列表
	GroupInfoIndex(ctx context.Context, in *GroupInfoIndexReq, opts ...grpc.CallOption) (*GroupInfoIndexResp, error)
	//获取分组信息详情
	GroupInfoRead(ctx context.Context, in *WithIDChildren, opts ...grpc.CallOption) (*GroupInfo, error)
	//更新分组
	GroupInfoUpdate(ctx context.Context, in *GroupInfo, opts ...grpc.CallOption) (*Empty, error)
	//删除分组
	GroupInfoDelete(ctx context.Context, in *WithID, opts ...grpc.CallOption) (*Empty, error)
	//创建分组设备
	GroupDeviceMultiCreate(ctx context.Context, in *GroupDeviceMultiSaveReq, opts ...grpc.CallOption) (*Empty, error)
	//更新分组设备
	GroupDeviceMultiUpdate(ctx context.Context, in *GroupDeviceMultiSaveReq, opts ...grpc.CallOption) (*Empty, error)
	//获取分组设备信息列表
	GroupDeviceIndex(ctx context.Context, in *GroupDeviceIndexReq, opts ...grpc.CallOption) (*GroupDeviceIndexResp, error)
	//删除分组设备
	GroupDeviceMultiDelete(ctx context.Context, in *GroupDeviceMultiDeleteReq, opts ...grpc.CallOption) (*Empty, error)
}

DeviceGroupClient is the client API for DeviceGroup 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.

type DeviceGroupServer

type DeviceGroupServer interface {
	//创建分组
	GroupInfoCreate(context.Context, *GroupInfo) (*WithID, error)
	//获取分组信息列表
	GroupInfoIndex(context.Context, *GroupInfoIndexReq) (*GroupInfoIndexResp, error)
	//获取分组信息详情
	GroupInfoRead(context.Context, *WithIDChildren) (*GroupInfo, error)
	//更新分组
	GroupInfoUpdate(context.Context, *GroupInfo) (*Empty, error)
	//删除分组
	GroupInfoDelete(context.Context, *WithID) (*Empty, error)
	//创建分组设备
	GroupDeviceMultiCreate(context.Context, *GroupDeviceMultiSaveReq) (*Empty, error)
	//更新分组设备
	GroupDeviceMultiUpdate(context.Context, *GroupDeviceMultiSaveReq) (*Empty, error)
	//获取分组设备信息列表
	GroupDeviceIndex(context.Context, *GroupDeviceIndexReq) (*GroupDeviceIndexResp, error)
	//删除分组设备
	GroupDeviceMultiDelete(context.Context, *GroupDeviceMultiDeleteReq) (*Empty, error)
	// contains filtered or unexported methods
}

DeviceGroupServer is the server API for DeviceGroup service. All implementations must embed UnimplementedDeviceGroupServer for forward compatibility

type DeviceInfo

type DeviceInfo struct {
	Id          int64                   `protobuf:"varint,34,opt,name=id,proto3" json:"id,omitempty"`
	TenantCode  string                  `protobuf:"bytes,26,opt,name=tenantCode,proto3" json:"tenantCode,omitempty"`   //租户号,只有default租户能查到这个字段
	ProductID   string                  `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`      //产品id 只读
	ProjectID   int64                   `protobuf:"varint,2,opt,name=projectID,proto3" json:"projectID,omitempty"`     //项目id 只读
	AreaID      int64                   `protobuf:"varint,3,opt,name=areaID,proto3" json:"areaID,omitempty"`           //项目区域id
	AreaIDPath  string                  `protobuf:"bytes,42,opt,name=areaIDPath,proto3" json:"areaIDPath,omitempty"`   //区域id 路径
	ProductName string                  `protobuf:"bytes,4,opt,name=productName,proto3" json:"productName,omitempty"`  //产品名称 只读
	DeviceName  string                  `protobuf:"bytes,5,opt,name=deviceName,proto3" json:"deviceName,omitempty"`    //设备名称 读写
	CreatedTime int64                   `protobuf:"varint,6,opt,name=createdTime,proto3" json:"createdTime,omitempty"` //创建时间 只读
	Secret      string                  `protobuf:"bytes,7,opt,name=secret,proto3" json:"secret,omitempty"`            //设备秘钥 只读
	Cert        string                  `protobuf:"bytes,8,opt,name=cert,proto3" json:"cert,omitempty"`                // 设备证书  只读
	Imei        string                  `protobuf:"bytes,9,opt,name=imei,proto3" json:"imei,omitempty"`                //IMEI号信息 只读
	Mac         string                  `protobuf:"bytes,10,opt,name=mac,proto3" json:"mac,omitempty"`                 //MAC号信息 只读
	Version     *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"`         // 固件版本  读写
	HardInfo    string                  `protobuf:"bytes,12,opt,name=hardInfo,proto3" json:"hardInfo,omitempty"`       //模组硬件型号 只读
	SoftInfo    string                  `protobuf:"bytes,13,opt,name=softInfo,proto3" json:"softInfo,omitempty"`       //模组软件版本 只读
	Position    *Point                  `protobuf:"bytes,14,opt,name=Position,proto3" json:"Position,omitempty"`       //设备定位,默认百度坐标系
	Address     *wrapperspb.StringValue `protobuf:"bytes,15,opt,name=address,proto3" json:"address,omitempty"`         // 所在地址 读写
	Adcode      *wrapperspb.StringValue `protobuf:"bytes,45,opt,name=adcode,proto3" json:"adcode,omitempty"`           // 地区编码 读写
	Tags        map[string]string       ``                                                                             //设备标签
	/* 150-byte string literal not displayed */
	IsOnline       int64                   `protobuf:"varint,17,opt,name=isOnline,proto3" json:"isOnline,omitempty"`             //在线状态  1离线 2在线 只读
	FirstLogin     int64                   `protobuf:"varint,18,opt,name=firstLogin,proto3" json:"firstLogin,omitempty"`         //激活时间 只读
	FirstBind      int64                   `protobuf:"varint,37,opt,name=firstBind,proto3" json:"firstBind,omitempty"`           //第一次绑定的时间
	LastLogin      int64                   `protobuf:"varint,19,opt,name=lastLogin,proto3" json:"lastLogin,omitempty"`           //最后上线时间 只读
	LogLevel       int64                   `protobuf:"varint,20,opt,name=logLevel,proto3" json:"logLevel,omitempty"`             // 日志级别:1)关闭 2)错误 3)告警 4)信息 5)调试  读写
	DeviceAlias    *wrapperspb.StringValue `protobuf:"bytes,21,opt,name=deviceAlias,proto3" json:"deviceAlias,omitempty"`        //设备别名 读写
	MobileOperator int64                   `protobuf:"varint,22,opt,name=mobileOperator,proto3" json:"mobileOperator,omitempty"` //移动运营商:1)移动 2)联通 3)电信 4)广电
	Phone          *wrapperspb.StringValue `protobuf:"bytes,23,opt,name=phone,proto3" json:"phone,omitempty"`                    //手机号
	Iccid          *wrapperspb.StringValue `protobuf:"bytes,24,opt,name=iccid,proto3" json:"iccid,omitempty"`                    //SIM卡卡号
	SchemaAlias    map[string]string       ``                                                                                    //设备物模型别名,如果是结构体类型则key为xxx.xxx
	/* 164-byte string literal not displayed */
	Rssi               *wrapperspb.Int64Value `protobuf:"bytes,27,opt,name=rssi,proto3" json:"rssi,omitempty"`                             // 设备信号(信号极好[-55— 0],信号好[-70— -55],信号一般[-85— -70],信号差[-100— -85])
	RatedPower         int64                  `protobuf:"varint,28,opt,name=ratedPower,proto3" json:"ratedPower,omitempty"`                // 额定功率:单位w/h
	ProtocolConf       map[string]string      ``                                                                                           /* 166-byte string literal not displayed */
	Status             int64                  `protobuf:"varint,30,opt,name=status,proto3" json:"status,omitempty"`                        //设备状态 1-未激活,2-在线,3-离线 4-异常(频繁上下线,告警中)
	IsEnable           int64                  `protobuf:"varint,31,opt,name=isEnable,proto3" json:"isEnable,omitempty"`                    //是否启用
	DeviceType         int64                  `protobuf:"varint,33,opt,name=deviceType,proto3" json:"deviceType,omitempty"`                //设备类型:1:设备,2:网关,3:子设备
	NetType            int64                  `protobuf:"varint,35,opt,name=netType,proto3" json:"netType,omitempty"`                      //网络类型
	Distributor        *IDPathWithUpdate      `protobuf:"bytes,36,opt,name=distributor,proto3" json:"distributor,omitempty"`               //过滤分销商的数据
	ExpTime            *wrapperspb.Int64Value `protobuf:"bytes,38,opt,name=expTime,proto3" json:"expTime,omitempty"`                       //到期时间,如果为0,则不限制
	NeedConfirmJobID   int64                  `protobuf:"varint,39,opt,name=NeedConfirmJobID,proto3" json:"NeedConfirmJobID,omitempty"`    //需要app确认升级的任务ID,为0是没有
	NeedConfirmVersion string                 `protobuf:"bytes,40,opt,name=NeedConfirmVersion,proto3" json:"NeedConfirmVersion,omitempty"` //待确认升级的版本
	UserID             int64                  `protobuf:"varint,41,opt,name=userID,proto3" json:"userID,omitempty"`                        //拥有者的用户ID
	ProductImg         string                 `protobuf:"bytes,43,opt,name=productImg,proto3" json:"productImg,omitempty"`                 //产品图片
	CategoryID         int64                  `protobuf:"varint,44,opt,name=categoryID,proto3" json:"categoryID,omitempty"`                //产品品类
	Gateway            *DeviceInfo            `protobuf:"bytes,46,opt,name=Gateway,proto3" json:"Gateway,omitempty"`                       //子设备绑定的网关
	// contains filtered or unexported fields
}

func (*DeviceInfo) Descriptor deprecated

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

Deprecated: Use DeviceInfo.ProtoReflect.Descriptor instead.

func (*DeviceInfo) GetAdcode

func (x *DeviceInfo) GetAdcode() *wrapperspb.StringValue

func (*DeviceInfo) GetAddress

func (x *DeviceInfo) GetAddress() *wrapperspb.StringValue

func (*DeviceInfo) GetAreaID

func (x *DeviceInfo) GetAreaID() int64

func (*DeviceInfo) GetAreaIDPath

func (x *DeviceInfo) GetAreaIDPath() string

func (*DeviceInfo) GetCategoryID

func (x *DeviceInfo) GetCategoryID() int64

func (*DeviceInfo) GetCert

func (x *DeviceInfo) GetCert() string

func (*DeviceInfo) GetCreatedTime

func (x *DeviceInfo) GetCreatedTime() int64

func (*DeviceInfo) GetDeviceAlias

func (x *DeviceInfo) GetDeviceAlias() *wrapperspb.StringValue

func (*DeviceInfo) GetDeviceName

func (x *DeviceInfo) GetDeviceName() string

func (*DeviceInfo) GetDeviceType

func (x *DeviceInfo) GetDeviceType() int64

func (*DeviceInfo) GetDistributor

func (x *DeviceInfo) GetDistributor() *IDPathWithUpdate

func (*DeviceInfo) GetExpTime

func (x *DeviceInfo) GetExpTime() *wrapperspb.Int64Value

func (*DeviceInfo) GetFirstBind

func (x *DeviceInfo) GetFirstBind() int64

func (*DeviceInfo) GetFirstLogin

func (x *DeviceInfo) GetFirstLogin() int64

func (*DeviceInfo) GetGateway

func (x *DeviceInfo) GetGateway() *DeviceInfo

func (*DeviceInfo) GetHardInfo

func (x *DeviceInfo) GetHardInfo() string

func (*DeviceInfo) GetIccid

func (x *DeviceInfo) GetIccid() *wrapperspb.StringValue

func (*DeviceInfo) GetId

func (x *DeviceInfo) GetId() int64

func (*DeviceInfo) GetImei

func (x *DeviceInfo) GetImei() string

func (*DeviceInfo) GetIsEnable

func (x *DeviceInfo) GetIsEnable() int64

func (*DeviceInfo) GetIsOnline

func (x *DeviceInfo) GetIsOnline() int64

func (*DeviceInfo) GetLastLogin

func (x *DeviceInfo) GetLastLogin() int64

func (*DeviceInfo) GetLogLevel

func (x *DeviceInfo) GetLogLevel() int64

func (*DeviceInfo) GetMac

func (x *DeviceInfo) GetMac() string

func (*DeviceInfo) GetMobileOperator

func (x *DeviceInfo) GetMobileOperator() int64

func (*DeviceInfo) GetNeedConfirmJobID

func (x *DeviceInfo) GetNeedConfirmJobID() int64

func (*DeviceInfo) GetNeedConfirmVersion

func (x *DeviceInfo) GetNeedConfirmVersion() string

func (*DeviceInfo) GetNetType

func (x *DeviceInfo) GetNetType() int64

func (*DeviceInfo) GetPhone

func (x *DeviceInfo) GetPhone() *wrapperspb.StringValue

func (*DeviceInfo) GetPosition

func (x *DeviceInfo) GetPosition() *Point

func (*DeviceInfo) GetProductID

func (x *DeviceInfo) GetProductID() string

func (*DeviceInfo) GetProductImg

func (x *DeviceInfo) GetProductImg() string

func (*DeviceInfo) GetProductName

func (x *DeviceInfo) GetProductName() string

func (*DeviceInfo) GetProjectID

func (x *DeviceInfo) GetProjectID() int64

func (*DeviceInfo) GetProtocolConf

func (x *DeviceInfo) GetProtocolConf() map[string]string

func (*DeviceInfo) GetRatedPower

func (x *DeviceInfo) GetRatedPower() int64

func (*DeviceInfo) GetRssi

func (x *DeviceInfo) GetRssi() *wrapperspb.Int64Value

func (*DeviceInfo) GetSchemaAlias

func (x *DeviceInfo) GetSchemaAlias() map[string]string

func (*DeviceInfo) GetSecret

func (x *DeviceInfo) GetSecret() string

func (*DeviceInfo) GetSoftInfo

func (x *DeviceInfo) GetSoftInfo() string

func (*DeviceInfo) GetStatus

func (x *DeviceInfo) GetStatus() int64

func (*DeviceInfo) GetTags

func (x *DeviceInfo) GetTags() map[string]string

func (*DeviceInfo) GetTenantCode

func (x *DeviceInfo) GetTenantCode() string

func (*DeviceInfo) GetUserID

func (x *DeviceInfo) GetUserID() int64

func (*DeviceInfo) GetVersion

func (x *DeviceInfo) GetVersion() *wrapperspb.StringValue

func (*DeviceInfo) ProtoMessage

func (*DeviceInfo) ProtoMessage()

func (*DeviceInfo) ProtoReflect

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

func (*DeviceInfo) Reset

func (x *DeviceInfo) Reset()

func (*DeviceInfo) String

func (x *DeviceInfo) String() string

type DeviceInfoBindReq

type DeviceInfoBindReq struct {
	Device       *DeviceCore `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	AreaID       int64       `protobuf:"varint,2,opt,name=areaID,proto3" json:"areaID,omitempty"`
	ProtocolCode string      `protobuf:"bytes,3,opt,name=protocolCode,proto3" json:"protocolCode,omitempty"` //如果是iThings协议则不需要填写
	// contains filtered or unexported fields
}

func (*DeviceInfoBindReq) Descriptor deprecated

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

Deprecated: Use DeviceInfoBindReq.ProtoReflect.Descriptor instead.

func (*DeviceInfoBindReq) GetAreaID

func (x *DeviceInfoBindReq) GetAreaID() int64

func (*DeviceInfoBindReq) GetDevice

func (x *DeviceInfoBindReq) GetDevice() *DeviceCore

func (*DeviceInfoBindReq) GetProtocolCode

func (x *DeviceInfoBindReq) GetProtocolCode() string

func (*DeviceInfoBindReq) ProtoMessage

func (*DeviceInfoBindReq) ProtoMessage()

func (*DeviceInfoBindReq) ProtoReflect

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

func (*DeviceInfoBindReq) Reset

func (x *DeviceInfoBindReq) Reset()

func (*DeviceInfoBindReq) String

func (x *DeviceInfoBindReq) String() string

type DeviceInfoCanBindReq

type DeviceInfoCanBindReq struct {
	Device *DeviceCore `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceInfoCanBindReq) Descriptor deprecated

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

Deprecated: Use DeviceInfoCanBindReq.ProtoReflect.Descriptor instead.

func (*DeviceInfoCanBindReq) GetDevice

func (x *DeviceInfoCanBindReq) GetDevice() *DeviceCore

func (*DeviceInfoCanBindReq) ProtoMessage

func (*DeviceInfoCanBindReq) ProtoMessage()

func (*DeviceInfoCanBindReq) ProtoReflect

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

func (*DeviceInfoCanBindReq) Reset

func (x *DeviceInfoCanBindReq) Reset()

func (*DeviceInfoCanBindReq) String

func (x *DeviceInfoCanBindReq) String() string

type DeviceInfoCount

type DeviceInfoCount struct {
	Online   int64 `protobuf:"varint,1,opt,name=online,proto3" json:"online,omitempty"`
	Offline  int64 `protobuf:"varint,2,opt,name=offline,proto3" json:"offline,omitempty"`
	Inactive int64 `protobuf:"varint,3,opt,name=inactive,proto3" json:"inactive,omitempty"`
	Unknown  int64 `protobuf:"varint,4,opt,name=unknown,proto3" json:"unknown,omitempty"`
	Total    int64 `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceInfoCount) Descriptor deprecated

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

Deprecated: Use DeviceInfoCount.ProtoReflect.Descriptor instead.

func (*DeviceInfoCount) GetInactive

func (x *DeviceInfoCount) GetInactive() int64

func (*DeviceInfoCount) GetOffline

func (x *DeviceInfoCount) GetOffline() int64

func (*DeviceInfoCount) GetOnline

func (x *DeviceInfoCount) GetOnline() int64

func (*DeviceInfoCount) GetTotal

func (x *DeviceInfoCount) GetTotal() int64

func (*DeviceInfoCount) GetUnknown

func (x *DeviceInfoCount) GetUnknown() int64

func (*DeviceInfoCount) ProtoMessage

func (*DeviceInfoCount) ProtoMessage()

func (*DeviceInfoCount) ProtoReflect

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

func (*DeviceInfoCount) Reset

func (x *DeviceInfoCount) Reset()

func (*DeviceInfoCount) String

func (x *DeviceInfoCount) String() string

type DeviceInfoCountReq

type DeviceInfoCountReq struct {
	TimeRange *TimeRange `protobuf:"bytes,1,opt,name=timeRange,proto3" json:"timeRange,omitempty"`
	AreaIDs   []int64    `protobuf:"varint,2,rep,packed,name=areaIDs,proto3" json:"areaIDs,omitempty"`
	GroupIDs  []int64    `protobuf:"varint,3,rep,packed,name=groupIDs,proto3" json:"groupIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceInfoCountReq) Descriptor deprecated

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

Deprecated: Use DeviceInfoCountReq.ProtoReflect.Descriptor instead.

func (*DeviceInfoCountReq) GetAreaIDs

func (x *DeviceInfoCountReq) GetAreaIDs() []int64

func (*DeviceInfoCountReq) GetGroupIDs

func (x *DeviceInfoCountReq) GetGroupIDs() []int64

func (*DeviceInfoCountReq) GetTimeRange

func (x *DeviceInfoCountReq) GetTimeRange() *TimeRange

func (*DeviceInfoCountReq) ProtoMessage

func (*DeviceInfoCountReq) ProtoMessage()

func (*DeviceInfoCountReq) ProtoReflect

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

func (*DeviceInfoCountReq) Reset

func (x *DeviceInfoCountReq) Reset()

func (*DeviceInfoCountReq) String

func (x *DeviceInfoCountReq) String() string

type DeviceInfoDeleteReq

type DeviceInfoDeleteReq struct {
	ProductID  string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`   //产品id
	DeviceName string `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名称
	// contains filtered or unexported fields
}

func (*DeviceInfoDeleteReq) Descriptor deprecated

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

Deprecated: Use DeviceInfoDeleteReq.ProtoReflect.Descriptor instead.

func (*DeviceInfoDeleteReq) GetDeviceName

func (x *DeviceInfoDeleteReq) GetDeviceName() string

func (*DeviceInfoDeleteReq) GetProductID

func (x *DeviceInfoDeleteReq) GetProductID() string

func (*DeviceInfoDeleteReq) ProtoMessage

func (*DeviceInfoDeleteReq) ProtoMessage()

func (*DeviceInfoDeleteReq) ProtoReflect

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

func (*DeviceInfoDeleteReq) Reset

func (x *DeviceInfoDeleteReq) Reset()

func (*DeviceInfoDeleteReq) String

func (x *DeviceInfoDeleteReq) String() string

type DeviceInfoIndexReq

type DeviceInfoIndexReq struct {
	Page        *PageInfo         `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`               //分页信息 只获取一个则不填
	ProductID   string            `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"`     //过滤条件: 产品id
	ProductIDs  []string          `protobuf:"bytes,23,rep,name=productIDs,proto3" json:"productIDs,omitempty"`  //过滤条件: 产品id
	DeviceName  string            `protobuf:"bytes,3,opt,name=deviceName,proto3" json:"deviceName,omitempty"`   //过滤条件:模糊查询 设备名
	DeviceNames []string          `protobuf:"bytes,4,rep,name=deviceNames,proto3" json:"deviceNames,omitempty"` //过滤条件:精准查询 设备名
	Tags        map[string]string ``                                                                            //key tag过滤查询,非模糊查询 为tag的名,value为tag对应的值
	/* 149-byte string literal not displayed */
	Range             int64         `protobuf:"varint,6,opt,name=range,proto3" json:"range,omitempty"`                          //过滤条件:取距离坐标点固定范围内的设备
	Position          *Point        `protobuf:"bytes,7,opt,name=Position,proto3" json:"Position,omitempty"`                     //设备定位,默认百度坐标系
	AreaIDs           []int64       `protobuf:"varint,8,rep,packed,name=areaIDs,proto3" json:"areaIDs,omitempty"`               //区域ids
	DeviceAlias       string        `protobuf:"bytes,9,opt,name=deviceAlias,proto3" json:"deviceAlias,omitempty"`               //过滤条件:模糊查询 设备别名
	IsOnline          int64         `protobuf:"varint,10,opt,name=isOnline,proto3" json:"isOnline,omitempty"`                   //在线状态过滤  1离线 2在线
	ProductCategoryID int64         `protobuf:"varint,11,opt,name=productCategoryID,proto3" json:"productCategoryID,omitempty"` //产品品类id
	Devices           []*DeviceCore `protobuf:"bytes,12,rep,name=devices,proto3" json:"devices,omitempty"`
	WithShared        int64         `protobuf:"varint,13,opt,name=withShared,proto3" json:"withShared,omitempty"`   //过滤分享的设备(这里只获取分享的设备) 1: 同时获取分享的设备 2:只获取分享的设备
	WithCollect       int64         `protobuf:"varint,24,opt,name=withCollect,proto3" json:"withCollect,omitempty"` //过滤收藏的设备(这里只获取收藏的设备) 1: 同时获取收藏的设备 2:只获取收藏的设备
	NetType           int64         `protobuf:"varint,25,opt,name=netType,proto3" json:"netType,omitempty"`         //通讯方式:1:其他,2:wi-fi,3:2G/3G/4G,4:5G,5:BLE,6:LoRaWAN
	TenantCode        string        `protobuf:"bytes,14,opt,name=tenantCode,proto3" json:"tenantCode,omitempty"`    //租户过滤
	Versions          []string      `protobuf:"bytes,15,rep,name=versions,proto3" json:"versions,omitempty"`        //版本列表
	NotVersion        string        `protobuf:"bytes,39,opt,name=notVersion,proto3" json:"notVersion,omitempty"`    //非版本
	DeviceType        int64         `protobuf:"varint,16,opt,name=deviceType,proto3" json:"deviceType,omitempty"`   //过滤设备类型:0:全部,1:设备,2:网关,3:子设备
	DeviceTypes       []int64       `protobuf:"varint,21,rep,packed,name=deviceTypes,proto3" json:"deviceTypes,omitempty"`
	Gateway           *DeviceCore   `protobuf:"bytes,17,opt,name=gateway,proto3" json:"gateway,omitempty"` //获取网关下子设备列表
	GroupID           int64         `protobuf:"varint,18,opt,name=groupID,proto3" json:"groupID,omitempty"`
	NotGroupID        int64         `protobuf:"varint,19,opt,name=notGroupID,proto3" json:"notGroupID,omitempty"`
	NotAreaID         int64         `protobuf:"varint,29,opt,name=notAreaID,proto3" json:"notAreaID,omitempty"`
	Distributor       *IDPath       `protobuf:"bytes,20,opt,name=distributor,proto3" json:"distributor,omitempty"` //过滤分销商的数据
	Status            int64         `protobuf:"varint,22,opt,name=status,proto3" json:"status,omitempty"`
	RatedPower        *CompareInt64 `protobuf:"bytes,28,opt,name=ratedPower,proto3" json:"ratedPower,omitempty"` // 额定功率:单位w/h
	HasOwner          int64         `protobuf:"varint,30,opt,name=hasOwner,proto3" json:"hasOwner,omitempty"`    //是否被人拥有
	UserID            int64         `protobuf:"varint,31,opt,name=userID,proto3" json:"userID,omitempty"`        //用户id查询
	ExpTime           *CompareInt64 `protobuf:"bytes,38,opt,name=expTime,proto3" json:"expTime,omitempty"`       //到期时间
	Iccid             string        `protobuf:"bytes,40,opt,name=iccid,proto3" json:"iccid,omitempty"`           //SIM卡卡号
	// contains filtered or unexported fields
}

func (*DeviceInfoIndexReq) Descriptor deprecated

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

Deprecated: Use DeviceInfoIndexReq.ProtoReflect.Descriptor instead.

func (*DeviceInfoIndexReq) GetAreaIDs

func (x *DeviceInfoIndexReq) GetAreaIDs() []int64

func (*DeviceInfoIndexReq) GetDeviceAlias

func (x *DeviceInfoIndexReq) GetDeviceAlias() string

func (*DeviceInfoIndexReq) GetDeviceName

func (x *DeviceInfoIndexReq) GetDeviceName() string

func (*DeviceInfoIndexReq) GetDeviceNames

func (x *DeviceInfoIndexReq) GetDeviceNames() []string

func (*DeviceInfoIndexReq) GetDeviceType

func (x *DeviceInfoIndexReq) GetDeviceType() int64

func (*DeviceInfoIndexReq) GetDeviceTypes

func (x *DeviceInfoIndexReq) GetDeviceTypes() []int64

func (*DeviceInfoIndexReq) GetDevices

func (x *DeviceInfoIndexReq) GetDevices() []*DeviceCore

func (*DeviceInfoIndexReq) GetDistributor

func (x *DeviceInfoIndexReq) GetDistributor() *IDPath

func (*DeviceInfoIndexReq) GetExpTime

func (x *DeviceInfoIndexReq) GetExpTime() *CompareInt64

func (*DeviceInfoIndexReq) GetGateway

func (x *DeviceInfoIndexReq) GetGateway() *DeviceCore

func (*DeviceInfoIndexReq) GetGroupID

func (x *DeviceInfoIndexReq) GetGroupID() int64

func (*DeviceInfoIndexReq) GetHasOwner

func (x *DeviceInfoIndexReq) GetHasOwner() int64

func (*DeviceInfoIndexReq) GetIccid

func (x *DeviceInfoIndexReq) GetIccid() string

func (*DeviceInfoIndexReq) GetIsOnline

func (x *DeviceInfoIndexReq) GetIsOnline() int64

func (*DeviceInfoIndexReq) GetNetType

func (x *DeviceInfoIndexReq) GetNetType() int64

func (*DeviceInfoIndexReq) GetNotAreaID

func (x *DeviceInfoIndexReq) GetNotAreaID() int64

func (*DeviceInfoIndexReq) GetNotGroupID

func (x *DeviceInfoIndexReq) GetNotGroupID() int64

func (*DeviceInfoIndexReq) GetNotVersion

func (x *DeviceInfoIndexReq) GetNotVersion() string

func (*DeviceInfoIndexReq) GetPage

func (x *DeviceInfoIndexReq) GetPage() *PageInfo

func (*DeviceInfoIndexReq) GetPosition

func (x *DeviceInfoIndexReq) GetPosition() *Point

func (*DeviceInfoIndexReq) GetProductCategoryID

func (x *DeviceInfoIndexReq) GetProductCategoryID() int64

func (*DeviceInfoIndexReq) GetProductID

func (x *DeviceInfoIndexReq) GetProductID() string

func (*DeviceInfoIndexReq) GetProductIDs

func (x *DeviceInfoIndexReq) GetProductIDs() []string

func (*DeviceInfoIndexReq) GetRange

func (x *DeviceInfoIndexReq) GetRange() int64

func (*DeviceInfoIndexReq) GetRatedPower

func (x *DeviceInfoIndexReq) GetRatedPower() *CompareInt64

func (*DeviceInfoIndexReq) GetStatus

func (x *DeviceInfoIndexReq) GetStatus() int64

func (*DeviceInfoIndexReq) GetTags

func (x *DeviceInfoIndexReq) GetTags() map[string]string

func (*DeviceInfoIndexReq) GetTenantCode

func (x *DeviceInfoIndexReq) GetTenantCode() string

func (*DeviceInfoIndexReq) GetUserID

func (x *DeviceInfoIndexReq) GetUserID() int64

func (*DeviceInfoIndexReq) GetVersions

func (x *DeviceInfoIndexReq) GetVersions() []string

func (*DeviceInfoIndexReq) GetWithCollect

func (x *DeviceInfoIndexReq) GetWithCollect() int64

func (*DeviceInfoIndexReq) GetWithShared

func (x *DeviceInfoIndexReq) GetWithShared() int64

func (*DeviceInfoIndexReq) ProtoMessage

func (*DeviceInfoIndexReq) ProtoMessage()

func (*DeviceInfoIndexReq) ProtoReflect

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

func (*DeviceInfoIndexReq) Reset

func (x *DeviceInfoIndexReq) Reset()

func (*DeviceInfoIndexReq) String

func (x *DeviceInfoIndexReq) String() string

type DeviceInfoIndexResp

type DeviceInfoIndexResp struct {
	List  []*DeviceInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`    //设备信息
	Total int64         `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` //总数(只有分页的时候会返回)
	// contains filtered or unexported fields
}

func (*DeviceInfoIndexResp) Descriptor deprecated

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

Deprecated: Use DeviceInfoIndexResp.ProtoReflect.Descriptor instead.

func (*DeviceInfoIndexResp) GetList

func (x *DeviceInfoIndexResp) GetList() []*DeviceInfo

func (*DeviceInfoIndexResp) GetTotal

func (x *DeviceInfoIndexResp) GetTotal() int64

func (*DeviceInfoIndexResp) ProtoMessage

func (*DeviceInfoIndexResp) ProtoMessage()

func (*DeviceInfoIndexResp) ProtoReflect

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

func (*DeviceInfoIndexResp) Reset

func (x *DeviceInfoIndexResp) Reset()

func (*DeviceInfoIndexResp) String

func (x *DeviceInfoIndexResp) String() string

type DeviceInfoMultiBindReq

type DeviceInfoMultiBindReq struct {
	Devices []*DeviceCore `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	AreaID  int64         `protobuf:"varint,2,opt,name=areaID,proto3" json:"areaID,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceInfoMultiBindReq) Descriptor deprecated

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

Deprecated: Use DeviceInfoMultiBindReq.ProtoReflect.Descriptor instead.

func (*DeviceInfoMultiBindReq) GetAreaID

func (x *DeviceInfoMultiBindReq) GetAreaID() int64

func (*DeviceInfoMultiBindReq) GetDevices

func (x *DeviceInfoMultiBindReq) GetDevices() []*DeviceCore

func (*DeviceInfoMultiBindReq) ProtoMessage

func (*DeviceInfoMultiBindReq) ProtoMessage()

func (*DeviceInfoMultiBindReq) ProtoReflect

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

func (*DeviceInfoMultiBindReq) Reset

func (x *DeviceInfoMultiBindReq) Reset()

func (*DeviceInfoMultiBindReq) String

func (x *DeviceInfoMultiBindReq) String() string

type DeviceInfoMultiBindResp

type DeviceInfoMultiBindResp struct {
	Errs []*DeviceError `protobuf:"bytes,1,rep,name=errs,proto3" json:"errs,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceInfoMultiBindResp) Descriptor deprecated

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

Deprecated: Use DeviceInfoMultiBindResp.ProtoReflect.Descriptor instead.

func (*DeviceInfoMultiBindResp) GetErrs

func (x *DeviceInfoMultiBindResp) GetErrs() []*DeviceError

func (*DeviceInfoMultiBindResp) ProtoMessage

func (*DeviceInfoMultiBindResp) ProtoMessage()

func (*DeviceInfoMultiBindResp) ProtoReflect

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

func (*DeviceInfoMultiBindResp) Reset

func (x *DeviceInfoMultiBindResp) Reset()

func (*DeviceInfoMultiBindResp) String

func (x *DeviceInfoMultiBindResp) String() string

type DeviceInfoMultiUpdateReq

type DeviceInfoMultiUpdateReq struct {
	Devices             []*DeviceCore `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` //产品id
	FilterDistributorID *CompareInt64 `protobuf:"bytes,2,opt,name=FilterDistributorID,proto3" json:"FilterDistributorID,omitempty"`
	AreaID              int64         `protobuf:"varint,4,opt,name=areaID,proto3" json:"areaID,omitempty"`           //项目区域id
	Distributor         *IDPath       `protobuf:"bytes,20,opt,name=distributor,proto3" json:"distributor,omitempty"` //分销商的数据
	RatedPower          int64         `protobuf:"varint,28,opt,name=ratedPower,proto3" json:"ratedPower,omitempty"`  // 额定功率:单位w/h
	// contains filtered or unexported fields
}

func (*DeviceInfoMultiUpdateReq) Descriptor deprecated

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

Deprecated: Use DeviceInfoMultiUpdateReq.ProtoReflect.Descriptor instead.

func (*DeviceInfoMultiUpdateReq) GetAreaID

func (x *DeviceInfoMultiUpdateReq) GetAreaID() int64

func (*DeviceInfoMultiUpdateReq) GetDevices

func (x *DeviceInfoMultiUpdateReq) GetDevices() []*DeviceCore

func (*DeviceInfoMultiUpdateReq) GetDistributor

func (x *DeviceInfoMultiUpdateReq) GetDistributor() *IDPath

func (*DeviceInfoMultiUpdateReq) GetFilterDistributorID

func (x *DeviceInfoMultiUpdateReq) GetFilterDistributorID() *CompareInt64

func (*DeviceInfoMultiUpdateReq) GetRatedPower

func (x *DeviceInfoMultiUpdateReq) GetRatedPower() int64

func (*DeviceInfoMultiUpdateReq) ProtoMessage

func (*DeviceInfoMultiUpdateReq) ProtoMessage()

func (*DeviceInfoMultiUpdateReq) ProtoReflect

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

func (*DeviceInfoMultiUpdateReq) Reset

func (x *DeviceInfoMultiUpdateReq) Reset()

func (*DeviceInfoMultiUpdateReq) String

func (x *DeviceInfoMultiUpdateReq) String() string

type DeviceInfoReadReq

type DeviceInfoReadReq struct {
	ProductID   string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`      //产品id
	DeviceName  string `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"`    //设备名称
	WithGateway bool   `protobuf:"varint,3,opt,name=withGateway,proto3" json:"withGateway,omitempty"` //同时返回子设备的网关
	// contains filtered or unexported fields
}

func (*DeviceInfoReadReq) Descriptor deprecated

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

Deprecated: Use DeviceInfoReadReq.ProtoReflect.Descriptor instead.

func (*DeviceInfoReadReq) GetDeviceName

func (x *DeviceInfoReadReq) GetDeviceName() string

func (*DeviceInfoReadReq) GetProductID

func (x *DeviceInfoReadReq) GetProductID() string

func (*DeviceInfoReadReq) GetWithGateway

func (x *DeviceInfoReadReq) GetWithGateway() bool

func (*DeviceInfoReadReq) ProtoMessage

func (*DeviceInfoReadReq) ProtoMessage()

func (*DeviceInfoReadReq) ProtoReflect

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

func (*DeviceInfoReadReq) Reset

func (x *DeviceInfoReadReq) Reset()

func (*DeviceInfoReadReq) String

func (x *DeviceInfoReadReq) String() string

type DeviceInteractClient

type DeviceInteractClient interface {
	//调用设备行为
	ActionSend(ctx context.Context, in *ActionSendReq, opts ...grpc.CallOption) (*ActionSendResp, error)
	//获取异步调用设备行为的结果
	ActionRead(ctx context.Context, in *RespReadReq, opts ...grpc.CallOption) (*ActionSendResp, error)
	//回复调用设备行为
	ActionResp(ctx context.Context, in *ActionRespReq, opts ...grpc.CallOption) (*Empty, error)
	//请求设备获取设备最新属性
	PropertyGetReportSend(ctx context.Context, in *PropertyGetReportSendReq, opts ...grpc.CallOption) (*PropertyGetReportSendResp, error)
	//调用设备属性
	PropertyControlSend(ctx context.Context, in *PropertyControlSendReq, opts ...grpc.CallOption) (*PropertyControlSendResp, error)
	//批量调用设备属性
	PropertyControlMultiSend(ctx context.Context, in *PropertyControlMultiSendReq, opts ...grpc.CallOption) (*PropertyControlMultiSendResp, error)
	//获取异步调用设备属性的结果
	PropertyControlRead(ctx context.Context, in *RespReadReq, opts ...grpc.CallOption) (*PropertyControlSendResp, error)
	//发送消息给设备 -- 调试使用
	SendMsg(ctx context.Context, in *SendMsgReq, opts ...grpc.CallOption) (*SendMsgResp, error)
	//获取网关拓扑关系
	GatewayGetFoundSend(ctx context.Context, in *GatewayGetFoundReq, opts ...grpc.CallOption) (*Empty, error)
	//通知网关绑定子设备
	GatewayNotifyBindSend(ctx context.Context, in *GatewayNotifyBindSendReq, opts ...grpc.CallOption) (*Empty, error)
}

DeviceInteractClient is the client API for DeviceInteract 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.

type DeviceInteractServer

type DeviceInteractServer interface {
	//调用设备行为
	ActionSend(context.Context, *ActionSendReq) (*ActionSendResp, error)
	//获取异步调用设备行为的结果
	ActionRead(context.Context, *RespReadReq) (*ActionSendResp, error)
	//回复调用设备行为
	ActionResp(context.Context, *ActionRespReq) (*Empty, error)
	//请求设备获取设备最新属性
	PropertyGetReportSend(context.Context, *PropertyGetReportSendReq) (*PropertyGetReportSendResp, error)
	//调用设备属性
	PropertyControlSend(context.Context, *PropertyControlSendReq) (*PropertyControlSendResp, error)
	//批量调用设备属性
	PropertyControlMultiSend(context.Context, *PropertyControlMultiSendReq) (*PropertyControlMultiSendResp, error)
	//获取异步调用设备属性的结果
	PropertyControlRead(context.Context, *RespReadReq) (*PropertyControlSendResp, error)
	//发送消息给设备 -- 调试使用
	SendMsg(context.Context, *SendMsgReq) (*SendMsgResp, error)
	//获取网关拓扑关系
	GatewayGetFoundSend(context.Context, *GatewayGetFoundReq) (*Empty, error)
	//通知网关绑定子设备
	GatewayNotifyBindSend(context.Context, *GatewayNotifyBindSendReq) (*Empty, error)
	// contains filtered or unexported methods
}

DeviceInteractServer is the server API for DeviceInteract service. All implementations must embed UnimplementedDeviceInteractServer for forward compatibility

type DeviceManageClient

type DeviceManageClient interface {
	//鉴定是否是root账号(提供给mqtt broker)
	RootCheck(ctx context.Context, in *RootCheckReq, opts ...grpc.CallOption) (*Empty, error)
	//新增设备
	DeviceInfoCreate(ctx context.Context, in *DeviceInfo, opts ...grpc.CallOption) (*Empty, error)
	//更新设备
	DeviceInfoUpdate(ctx context.Context, in *DeviceInfo, opts ...grpc.CallOption) (*Empty, error)
	DeviceOnlineMultiFix(ctx context.Context, in *DeviceOnlineMultiFixReq, opts ...grpc.CallOption) (*Empty, error)
	//删除设备
	DeviceInfoDelete(ctx context.Context, in *DeviceInfoDeleteReq, opts ...grpc.CallOption) (*Empty, error)
	//获取设备信息列表
	DeviceInfoIndex(ctx context.Context, in *DeviceInfoIndexReq, opts ...grpc.CallOption) (*DeviceInfoIndexResp, error)
	//批量更新设备状态
	DeviceInfoMultiUpdate(ctx context.Context, in *DeviceInfoMultiUpdateReq, opts ...grpc.CallOption) (*Empty, error)
	//获取设备信息详情
	DeviceInfoRead(ctx context.Context, in *DeviceInfoReadReq, opts ...grpc.CallOption) (*DeviceInfo, error)
	DeviceInfoBind(ctx context.Context, in *DeviceInfoBindReq, opts ...grpc.CallOption) (*Empty, error)
	DeviceInfoMultiBind(ctx context.Context, in *DeviceInfoMultiBindReq, opts ...grpc.CallOption) (*DeviceInfoMultiBindResp, error)
	DeviceInfoCanBind(ctx context.Context, in *DeviceInfoCanBindReq, opts ...grpc.CallOption) (*Empty, error)
	DeviceInfoUnbind(ctx context.Context, in *DeviceCore, opts ...grpc.CallOption) (*Empty, error)
	DeviceTransfer(ctx context.Context, in *DeviceTransferReq, opts ...grpc.CallOption) (*Empty, error)
	DeviceMove(ctx context.Context, in *DeviceMoveReq, opts ...grpc.CallOption) (*Empty, error)
	DeviceModuleVersionRead(ctx context.Context, in *DeviceModuleVersionReadReq, opts ...grpc.CallOption) (*DeviceModuleVersion, error)
	DeviceModuleVersionIndex(ctx context.Context, in *DeviceModuleVersionIndexReq, opts ...grpc.CallOption) (*DeviceModuleVersionIndexResp, error)
	//绑定网关下子设备设备
	DeviceGatewayMultiCreate(ctx context.Context, in *DeviceGatewayMultiCreateReq, opts ...grpc.CallOption) (*Empty, error)
	//绑定网关下子设备设备
	DeviceGatewayMultiUpdate(ctx context.Context, in *DeviceGatewayMultiSaveReq, opts ...grpc.CallOption) (*Empty, error)
	//获取绑定信息的设备信息列表
	DeviceGatewayIndex(ctx context.Context, in *DeviceGatewayIndexReq, opts ...grpc.CallOption) (*DeviceGatewayIndexResp, error)
	//删除网关下子设备
	DeviceGatewayMultiDelete(ctx context.Context, in *DeviceGatewayMultiSaveReq, opts ...grpc.CallOption) (*Empty, error)
	//设备计数
	DeviceInfoCount(ctx context.Context, in *DeviceInfoCountReq, opts ...grpc.CallOption) (*DeviceInfoCount, error)
	//设备类型
	DeviceTypeCount(ctx context.Context, in *DeviceTypeCountReq, opts ...grpc.CallOption) (*DeviceTypeCountResp, error)
	DeviceCount(ctx context.Context, in *DeviceCountReq, opts ...grpc.CallOption) (*DeviceCountResp, error)
	DeviceProfileRead(ctx context.Context, in *DeviceProfileReadReq, opts ...grpc.CallOption) (*DeviceProfile, error)
	DeviceProfileDelete(ctx context.Context, in *DeviceProfileReadReq, opts ...grpc.CallOption) (*Empty, error)
	DeviceProfileUpdate(ctx context.Context, in *DeviceProfile, opts ...grpc.CallOption) (*Empty, error)
	DeviceProfileIndex(ctx context.Context, in *DeviceProfileIndexReq, opts ...grpc.CallOption) (*DeviceProfileIndexResp, error)
}

DeviceManageClient is the client API for DeviceManage 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.

type DeviceManageServer

type DeviceManageServer interface {
	//鉴定是否是root账号(提供给mqtt broker)
	RootCheck(context.Context, *RootCheckReq) (*Empty, error)
	//新增设备
	DeviceInfoCreate(context.Context, *DeviceInfo) (*Empty, error)
	//更新设备
	DeviceInfoUpdate(context.Context, *DeviceInfo) (*Empty, error)
	DeviceOnlineMultiFix(context.Context, *DeviceOnlineMultiFixReq) (*Empty, error)
	//删除设备
	DeviceInfoDelete(context.Context, *DeviceInfoDeleteReq) (*Empty, error)
	//获取设备信息列表
	DeviceInfoIndex(context.Context, *DeviceInfoIndexReq) (*DeviceInfoIndexResp, error)
	//批量更新设备状态
	DeviceInfoMultiUpdate(context.Context, *DeviceInfoMultiUpdateReq) (*Empty, error)
	//获取设备信息详情
	DeviceInfoRead(context.Context, *DeviceInfoReadReq) (*DeviceInfo, error)
	DeviceInfoBind(context.Context, *DeviceInfoBindReq) (*Empty, error)
	DeviceInfoMultiBind(context.Context, *DeviceInfoMultiBindReq) (*DeviceInfoMultiBindResp, error)
	DeviceInfoCanBind(context.Context, *DeviceInfoCanBindReq) (*Empty, error)
	DeviceInfoUnbind(context.Context, *DeviceCore) (*Empty, error)
	DeviceTransfer(context.Context, *DeviceTransferReq) (*Empty, error)
	DeviceMove(context.Context, *DeviceMoveReq) (*Empty, error)
	DeviceModuleVersionRead(context.Context, *DeviceModuleVersionReadReq) (*DeviceModuleVersion, error)
	DeviceModuleVersionIndex(context.Context, *DeviceModuleVersionIndexReq) (*DeviceModuleVersionIndexResp, error)
	//绑定网关下子设备设备
	DeviceGatewayMultiCreate(context.Context, *DeviceGatewayMultiCreateReq) (*Empty, error)
	//绑定网关下子设备设备
	DeviceGatewayMultiUpdate(context.Context, *DeviceGatewayMultiSaveReq) (*Empty, error)
	//获取绑定信息的设备信息列表
	DeviceGatewayIndex(context.Context, *DeviceGatewayIndexReq) (*DeviceGatewayIndexResp, error)
	//删除网关下子设备
	DeviceGatewayMultiDelete(context.Context, *DeviceGatewayMultiSaveReq) (*Empty, error)
	//设备计数
	DeviceInfoCount(context.Context, *DeviceInfoCountReq) (*DeviceInfoCount, error)
	//设备类型
	DeviceTypeCount(context.Context, *DeviceTypeCountReq) (*DeviceTypeCountResp, error)
	DeviceCount(context.Context, *DeviceCountReq) (*DeviceCountResp, error)
	DeviceProfileRead(context.Context, *DeviceProfileReadReq) (*DeviceProfile, error)
	DeviceProfileDelete(context.Context, *DeviceProfileReadReq) (*Empty, error)
	DeviceProfileUpdate(context.Context, *DeviceProfile) (*Empty, error)
	DeviceProfileIndex(context.Context, *DeviceProfileIndexReq) (*DeviceProfileIndexResp, error)
	// contains filtered or unexported methods
}

DeviceManageServer is the server API for DeviceManage service. All implementations must embed UnimplementedDeviceManageServer for forward compatibility

type DeviceModuleVersion

type DeviceModuleVersion struct {
	Id         int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ProductID  string `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"`
	DeviceName string `protobuf:"bytes,3,opt,name=deviceName,proto3" json:"deviceName,omitempty"`
	ModuleCode string `protobuf:"bytes,4,opt,name=moduleCode,proto3" json:"moduleCode,omitempty"`
	Version    string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceModuleVersion) Descriptor deprecated

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

Deprecated: Use DeviceModuleVersion.ProtoReflect.Descriptor instead.

func (*DeviceModuleVersion) GetDeviceName

func (x *DeviceModuleVersion) GetDeviceName() string

func (*DeviceModuleVersion) GetId

func (x *DeviceModuleVersion) GetId() int64

func (*DeviceModuleVersion) GetModuleCode

func (x *DeviceModuleVersion) GetModuleCode() string

func (*DeviceModuleVersion) GetProductID

func (x *DeviceModuleVersion) GetProductID() string

func (*DeviceModuleVersion) GetVersion

func (x *DeviceModuleVersion) GetVersion() string

func (*DeviceModuleVersion) ProtoMessage

func (*DeviceModuleVersion) ProtoMessage()

func (*DeviceModuleVersion) ProtoReflect

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

func (*DeviceModuleVersion) Reset

func (x *DeviceModuleVersion) Reset()

func (*DeviceModuleVersion) String

func (x *DeviceModuleVersion) String() string

type DeviceModuleVersionIndexReq

type DeviceModuleVersionIndexReq struct {
	Page       *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	ProductID  string    `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"`
	DeviceName string    `protobuf:"bytes,3,opt,name=deviceName,proto3" json:"deviceName,omitempty"`
	ModuleCode string    `protobuf:"bytes,4,opt,name=moduleCode,proto3" json:"moduleCode,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceModuleVersionIndexReq) Descriptor deprecated

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

Deprecated: Use DeviceModuleVersionIndexReq.ProtoReflect.Descriptor instead.

func (*DeviceModuleVersionIndexReq) GetDeviceName

func (x *DeviceModuleVersionIndexReq) GetDeviceName() string

func (*DeviceModuleVersionIndexReq) GetModuleCode

func (x *DeviceModuleVersionIndexReq) GetModuleCode() string

func (*DeviceModuleVersionIndexReq) GetPage

func (x *DeviceModuleVersionIndexReq) GetPage() *PageInfo

func (*DeviceModuleVersionIndexReq) GetProductID

func (x *DeviceModuleVersionIndexReq) GetProductID() string

func (*DeviceModuleVersionIndexReq) ProtoMessage

func (*DeviceModuleVersionIndexReq) ProtoMessage()

func (*DeviceModuleVersionIndexReq) ProtoReflect

func (*DeviceModuleVersionIndexReq) Reset

func (x *DeviceModuleVersionIndexReq) Reset()

func (*DeviceModuleVersionIndexReq) String

func (x *DeviceModuleVersionIndexReq) String() string

type DeviceModuleVersionIndexResp

type DeviceModuleVersionIndexResp struct {
	Total int64                  `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*DeviceModuleVersion `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceModuleVersionIndexResp) Descriptor deprecated

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

Deprecated: Use DeviceModuleVersionIndexResp.ProtoReflect.Descriptor instead.

func (*DeviceModuleVersionIndexResp) GetList

func (*DeviceModuleVersionIndexResp) GetTotal

func (x *DeviceModuleVersionIndexResp) GetTotal() int64

func (*DeviceModuleVersionIndexResp) ProtoMessage

func (*DeviceModuleVersionIndexResp) ProtoMessage()

func (*DeviceModuleVersionIndexResp) ProtoReflect

func (*DeviceModuleVersionIndexResp) Reset

func (x *DeviceModuleVersionIndexResp) Reset()

func (*DeviceModuleVersionIndexResp) String

type DeviceModuleVersionReadReq

type DeviceModuleVersionReadReq struct {
	Id         int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //填id或者以下三个参数
	ProductID  string `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"`
	DeviceName string `protobuf:"bytes,3,opt,name=deviceName,proto3" json:"deviceName,omitempty"`
	ModuleCode string `protobuf:"bytes,4,opt,name=moduleCode,proto3" json:"moduleCode,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceModuleVersionReadReq) Descriptor deprecated

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

Deprecated: Use DeviceModuleVersionReadReq.ProtoReflect.Descriptor instead.

func (*DeviceModuleVersionReadReq) GetDeviceName

func (x *DeviceModuleVersionReadReq) GetDeviceName() string

func (*DeviceModuleVersionReadReq) GetId

func (x *DeviceModuleVersionReadReq) GetId() int64

func (*DeviceModuleVersionReadReq) GetModuleCode

func (x *DeviceModuleVersionReadReq) GetModuleCode() string

func (*DeviceModuleVersionReadReq) GetProductID

func (x *DeviceModuleVersionReadReq) GetProductID() string

func (*DeviceModuleVersionReadReq) ProtoMessage

func (*DeviceModuleVersionReadReq) ProtoMessage()

func (*DeviceModuleVersionReadReq) ProtoReflect

func (*DeviceModuleVersionReadReq) Reset

func (x *DeviceModuleVersionReadReq) Reset()

func (*DeviceModuleVersionReadReq) String

func (x *DeviceModuleVersionReadReq) String() string

type DeviceMoveReq

type DeviceMoveReq struct {
	Old        *DeviceCore `protobuf:"bytes,1,opt,name=old,proto3" json:"old,omitempty"`               //需要转移的设备
	New        *DeviceCore `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"`               //转移的对象
	WithTarget []string    `protobuf:"bytes,3,rep,name=withTarget,proto3" json:"withTarget,omitempty"` //设备配置-profile,schemaAlias:profile
	// contains filtered or unexported fields
}

func (*DeviceMoveReq) Descriptor deprecated

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

Deprecated: Use DeviceMoveReq.ProtoReflect.Descriptor instead.

func (*DeviceMoveReq) GetNew

func (x *DeviceMoveReq) GetNew() *DeviceCore

func (*DeviceMoveReq) GetOld

func (x *DeviceMoveReq) GetOld() *DeviceCore

func (*DeviceMoveReq) GetWithTarget

func (x *DeviceMoveReq) GetWithTarget() []string

func (*DeviceMoveReq) ProtoMessage

func (*DeviceMoveReq) ProtoMessage()

func (*DeviceMoveReq) ProtoReflect

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

func (*DeviceMoveReq) Reset

func (x *DeviceMoveReq) Reset()

func (*DeviceMoveReq) String

func (x *DeviceMoveReq) String() string

type DeviceMsgClient

type DeviceMsgClient interface {
	//获取设备sdk调试日志
	SdkLogIndex(ctx context.Context, in *SdkLogIndexReq, opts ...grpc.CallOption) (*SdkLogIndexResp, error)
	//获取设备调试信息记录登入登出,操作
	HubLogIndex(ctx context.Context, in *HubLogIndexReq, opts ...grpc.CallOption) (*HubLogIndexResp, error)
	SendLogIndex(ctx context.Context, in *SendLogIndexReq, opts ...grpc.CallOption) (*SendLogIndexResp, error)
	StatusLogIndex(ctx context.Context, in *StatusLogIndexReq, opts ...grpc.CallOption) (*StatusLogIndexResp, error)
	//获取设备数据信息
	PropertyLogLatestIndex(ctx context.Context, in *PropertyLogLatestIndexReq, opts ...grpc.CallOption) (*PropertyLogIndexResp, error)
	//获取设备数据信息
	PropertyLogIndex(ctx context.Context, in *PropertyLogIndexReq, opts ...grpc.CallOption) (*PropertyLogIndexResp, error)
	//获取设备数据信息
	EventLogIndex(ctx context.Context, in *EventLogIndexReq, opts ...grpc.CallOption) (*EventLogIndexResp, error)
	//获取设备影子列表
	ShadowIndex(ctx context.Context, in *PropertyLogLatestIndexReq, opts ...grpc.CallOption) (*ShadowIndexResp, error)
	//获取网关可以绑定的子设备列表
	GatewayCanBindIndex(ctx context.Context, in *GatewayCanBindIndexReq, opts ...grpc.CallOption) (*GatewayCanBindIndexResp, error)
}

DeviceMsgClient is the client API for DeviceMsg 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 NewDeviceMsgClient

func NewDeviceMsgClient(cc grpc.ClientConnInterface) DeviceMsgClient

type DeviceMsgServer

type DeviceMsgServer interface {
	//获取设备sdk调试日志
	SdkLogIndex(context.Context, *SdkLogIndexReq) (*SdkLogIndexResp, error)
	//获取设备调试信息记录登入登出,操作
	HubLogIndex(context.Context, *HubLogIndexReq) (*HubLogIndexResp, error)
	SendLogIndex(context.Context, *SendLogIndexReq) (*SendLogIndexResp, error)
	StatusLogIndex(context.Context, *StatusLogIndexReq) (*StatusLogIndexResp, error)
	//获取设备数据信息
	PropertyLogLatestIndex(context.Context, *PropertyLogLatestIndexReq) (*PropertyLogIndexResp, error)
	//获取设备数据信息
	PropertyLogIndex(context.Context, *PropertyLogIndexReq) (*PropertyLogIndexResp, error)
	//获取设备数据信息
	EventLogIndex(context.Context, *EventLogIndexReq) (*EventLogIndexResp, error)
	//获取设备影子列表
	ShadowIndex(context.Context, *PropertyLogLatestIndexReq) (*ShadowIndexResp, error)
	//获取网关可以绑定的子设备列表
	GatewayCanBindIndex(context.Context, *GatewayCanBindIndexReq) (*GatewayCanBindIndexResp, error)
	// contains filtered or unexported methods
}

DeviceMsgServer is the server API for DeviceMsg service. All implementations must embed UnimplementedDeviceMsgServer for forward compatibility

type DeviceOnlineMultiFix

type DeviceOnlineMultiFix struct {
	Device    *DeviceCore `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	IsOnline  int64       `protobuf:"varint,2,opt,name=isOnline,proto3" json:"isOnline,omitempty"`
	ConnectAt int64       `protobuf:"varint,3,opt,name=connectAt,proto3" json:"connectAt,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceOnlineMultiFix) Descriptor deprecated

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

Deprecated: Use DeviceOnlineMultiFix.ProtoReflect.Descriptor instead.

func (*DeviceOnlineMultiFix) GetConnectAt

func (x *DeviceOnlineMultiFix) GetConnectAt() int64

func (*DeviceOnlineMultiFix) GetDevice

func (x *DeviceOnlineMultiFix) GetDevice() *DeviceCore

func (*DeviceOnlineMultiFix) GetIsOnline

func (x *DeviceOnlineMultiFix) GetIsOnline() int64

func (*DeviceOnlineMultiFix) ProtoMessage

func (*DeviceOnlineMultiFix) ProtoMessage()

func (*DeviceOnlineMultiFix) ProtoReflect

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

func (*DeviceOnlineMultiFix) Reset

func (x *DeviceOnlineMultiFix) Reset()

func (*DeviceOnlineMultiFix) String

func (x *DeviceOnlineMultiFix) String() string

type DeviceOnlineMultiFixReq

type DeviceOnlineMultiFixReq struct {
	Devices []*DeviceOnlineMultiFix `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceOnlineMultiFixReq) Descriptor deprecated

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

Deprecated: Use DeviceOnlineMultiFixReq.ProtoReflect.Descriptor instead.

func (*DeviceOnlineMultiFixReq) GetDevices

func (x *DeviceOnlineMultiFixReq) GetDevices() []*DeviceOnlineMultiFix

func (*DeviceOnlineMultiFixReq) ProtoMessage

func (*DeviceOnlineMultiFixReq) ProtoMessage()

func (*DeviceOnlineMultiFixReq) ProtoReflect

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

func (*DeviceOnlineMultiFixReq) Reset

func (x *DeviceOnlineMultiFixReq) Reset()

func (*DeviceOnlineMultiFixReq) String

func (x *DeviceOnlineMultiFixReq) String() string

type DeviceProfile

type DeviceProfile struct {
	Device *DeviceCore `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	Code   string      `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Params string      `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceProfile) Descriptor deprecated

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

Deprecated: Use DeviceProfile.ProtoReflect.Descriptor instead.

func (*DeviceProfile) GetCode

func (x *DeviceProfile) GetCode() string

func (*DeviceProfile) GetDevice

func (x *DeviceProfile) GetDevice() *DeviceCore

func (*DeviceProfile) GetParams

func (x *DeviceProfile) GetParams() string

func (*DeviceProfile) ProtoMessage

func (*DeviceProfile) ProtoMessage()

func (*DeviceProfile) ProtoReflect

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

func (*DeviceProfile) Reset

func (x *DeviceProfile) Reset()

func (*DeviceProfile) String

func (x *DeviceProfile) String() string

type DeviceProfileIndexReq

type DeviceProfileIndexReq struct {
	Device *DeviceCore `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	Codes  []string    `protobuf:"bytes,2,rep,name=codes,proto3" json:"codes,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceProfileIndexReq) Descriptor deprecated

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

Deprecated: Use DeviceProfileIndexReq.ProtoReflect.Descriptor instead.

func (*DeviceProfileIndexReq) GetCodes

func (x *DeviceProfileIndexReq) GetCodes() []string

func (*DeviceProfileIndexReq) GetDevice

func (x *DeviceProfileIndexReq) GetDevice() *DeviceCore

func (*DeviceProfileIndexReq) ProtoMessage

func (*DeviceProfileIndexReq) ProtoMessage()

func (*DeviceProfileIndexReq) ProtoReflect

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

func (*DeviceProfileIndexReq) Reset

func (x *DeviceProfileIndexReq) Reset()

func (*DeviceProfileIndexReq) String

func (x *DeviceProfileIndexReq) String() string

type DeviceProfileIndexResp

type DeviceProfileIndexResp struct {
	Profiles []*DeviceProfile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceProfileIndexResp) Descriptor deprecated

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

Deprecated: Use DeviceProfileIndexResp.ProtoReflect.Descriptor instead.

func (*DeviceProfileIndexResp) GetProfiles

func (x *DeviceProfileIndexResp) GetProfiles() []*DeviceProfile

func (*DeviceProfileIndexResp) ProtoMessage

func (*DeviceProfileIndexResp) ProtoMessage()

func (*DeviceProfileIndexResp) ProtoReflect

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

func (*DeviceProfileIndexResp) Reset

func (x *DeviceProfileIndexResp) Reset()

func (*DeviceProfileIndexResp) String

func (x *DeviceProfileIndexResp) String() string

type DeviceProfileReadReq

type DeviceProfileReadReq struct {
	Device *DeviceCore `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	Code   string      `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceProfileReadReq) Descriptor deprecated

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

Deprecated: Use DeviceProfileReadReq.ProtoReflect.Descriptor instead.

func (*DeviceProfileReadReq) GetCode

func (x *DeviceProfileReadReq) GetCode() string

func (*DeviceProfileReadReq) GetDevice

func (x *DeviceProfileReadReq) GetDevice() *DeviceCore

func (*DeviceProfileReadReq) ProtoMessage

func (*DeviceProfileReadReq) ProtoMessage()

func (*DeviceProfileReadReq) ProtoReflect

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

func (*DeviceProfileReadReq) Reset

func (x *DeviceProfileReadReq) Reset()

func (*DeviceProfileReadReq) String

func (x *DeviceProfileReadReq) String() string

type DeviceShareInfo added in v1.0.3

type DeviceShareInfo struct {
	ProductID   string                  `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`     //产品id
	ProductName string                  `protobuf:"bytes,4,opt,name=productName,proto3" json:"productName,omitempty"` //产品名称 只读
	DeviceName  string                  `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"`   //设备名称
	ProductImg  string                  `protobuf:"bytes,3,opt,name=productImg,proto3" json:"productImg,omitempty"`   //产品图片
	DeviceAlias *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=deviceAlias,proto3" json:"deviceAlias,omitempty"` //设备别名 读写
	// contains filtered or unexported fields
}

func (*DeviceShareInfo) Descriptor deprecated added in v1.0.3

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

Deprecated: Use DeviceShareInfo.ProtoReflect.Descriptor instead.

func (*DeviceShareInfo) GetDeviceAlias added in v1.0.3

func (x *DeviceShareInfo) GetDeviceAlias() *wrapperspb.StringValue

func (*DeviceShareInfo) GetDeviceName added in v1.0.3

func (x *DeviceShareInfo) GetDeviceName() string

func (*DeviceShareInfo) GetProductID added in v1.0.3

func (x *DeviceShareInfo) GetProductID() string

func (*DeviceShareInfo) GetProductImg added in v1.0.3

func (x *DeviceShareInfo) GetProductImg() string

func (*DeviceShareInfo) GetProductName added in v1.0.3

func (x *DeviceShareInfo) GetProductName() string

func (*DeviceShareInfo) ProtoMessage added in v1.0.3

func (*DeviceShareInfo) ProtoMessage()

func (*DeviceShareInfo) ProtoReflect added in v1.0.3

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

func (*DeviceShareInfo) Reset added in v1.0.3

func (x *DeviceShareInfo) Reset()

func (*DeviceShareInfo) String added in v1.0.3

func (x *DeviceShareInfo) String() string

type DeviceTransferReq

type DeviceTransferReq struct {
	Device       *DeviceCore   `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`              //设备信息
	Devices      []*DeviceCore `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`            //设备信息
	SrcProjectID int64         `protobuf:"varint,3,opt,name=srcProjectID,proto3" json:"srcProjectID,omitempty"` //指定原来的项目ID,不写使用头
	TransferTo   int64         `protobuf:"varint,4,opt,name=transferTo,proto3" json:"transferTo,omitempty"`     //转让给: 1: 某个人 2: 自己的某个项目
	UserID       int64         `protobuf:"varint,5,opt,name=userID,proto3" json:"userID,omitempty"`             //用户id
	ProjectID    int64         `protobuf:"varint,6,opt,name=projectID,proto3" json:"projectID,omitempty"`       //项目id
	AreaID       int64         `protobuf:"varint,7,opt,name=areaID,proto3" json:"areaID,omitempty"`             //转移到项目时指定区域ID
	IsCleanData  int64         `protobuf:"varint,8,opt,name=isCleanData,proto3" json:"isCleanData,omitempty"`   //是否清除数据:1是 2否
	// contains filtered or unexported fields
}

func (*DeviceTransferReq) Descriptor deprecated

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

Deprecated: Use DeviceTransferReq.ProtoReflect.Descriptor instead.

func (*DeviceTransferReq) GetAreaID

func (x *DeviceTransferReq) GetAreaID() int64

func (*DeviceTransferReq) GetDevice

func (x *DeviceTransferReq) GetDevice() *DeviceCore

func (*DeviceTransferReq) GetDevices

func (x *DeviceTransferReq) GetDevices() []*DeviceCore

func (*DeviceTransferReq) GetIsCleanData

func (x *DeviceTransferReq) GetIsCleanData() int64

func (*DeviceTransferReq) GetProjectID

func (x *DeviceTransferReq) GetProjectID() int64

func (*DeviceTransferReq) GetSrcProjectID

func (x *DeviceTransferReq) GetSrcProjectID() int64

func (*DeviceTransferReq) GetTransferTo

func (x *DeviceTransferReq) GetTransferTo() int64

func (*DeviceTransferReq) GetUserID

func (x *DeviceTransferReq) GetUserID() int64

func (*DeviceTransferReq) ProtoMessage

func (*DeviceTransferReq) ProtoMessage()

func (*DeviceTransferReq) ProtoReflect

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

func (*DeviceTransferReq) Reset

func (x *DeviceTransferReq) Reset()

func (*DeviceTransferReq) String

func (x *DeviceTransferReq) String() string

type DeviceTypeCountReq

type DeviceTypeCountReq struct {
	TimeRange *TimeRange `protobuf:"bytes,1,opt,name=timeRange,proto3" json:"timeRange,omitempty"`
	AreaIDs   []int64    `protobuf:"varint,2,rep,packed,name=areaIDs,proto3" json:"areaIDs,omitempty"`
	GroupIDs  []int64    `protobuf:"varint,3,rep,packed,name=groupIDs,proto3" json:"groupIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceTypeCountReq) Descriptor deprecated

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

Deprecated: Use DeviceTypeCountReq.ProtoReflect.Descriptor instead.

func (*DeviceTypeCountReq) GetAreaIDs

func (x *DeviceTypeCountReq) GetAreaIDs() []int64

func (*DeviceTypeCountReq) GetGroupIDs

func (x *DeviceTypeCountReq) GetGroupIDs() []int64

func (*DeviceTypeCountReq) GetTimeRange

func (x *DeviceTypeCountReq) GetTimeRange() *TimeRange

func (*DeviceTypeCountReq) ProtoMessage

func (*DeviceTypeCountReq) ProtoMessage()

func (*DeviceTypeCountReq) ProtoReflect

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

func (*DeviceTypeCountReq) Reset

func (x *DeviceTypeCountReq) Reset()

func (*DeviceTypeCountReq) String

func (x *DeviceTypeCountReq) String() string

type DeviceTypeCountResp

type DeviceTypeCountResp struct {
	Device  int64 `protobuf:"varint,1,opt,name=device,proto3" json:"device,omitempty"`
	Gateway int64 `protobuf:"varint,2,opt,name=gateway,proto3" json:"gateway,omitempty"`
	Subset  int64 `protobuf:"varint,3,opt,name=subset,proto3" json:"subset,omitempty"`
	Unknown int64 `protobuf:"varint,4,opt,name=unknown,proto3" json:"unknown,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceTypeCountResp) Descriptor deprecated

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

Deprecated: Use DeviceTypeCountResp.ProtoReflect.Descriptor instead.

func (*DeviceTypeCountResp) GetDevice

func (x *DeviceTypeCountResp) GetDevice() int64

func (*DeviceTypeCountResp) GetGateway

func (x *DeviceTypeCountResp) GetGateway() int64

func (*DeviceTypeCountResp) GetSubset

func (x *DeviceTypeCountResp) GetSubset() int64

func (*DeviceTypeCountResp) GetUnknown

func (x *DeviceTypeCountResp) GetUnknown() int64

func (*DeviceTypeCountResp) ProtoMessage

func (*DeviceTypeCountResp) ProtoMessage()

func (*DeviceTypeCountResp) ProtoReflect

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

func (*DeviceTypeCountResp) Reset

func (x *DeviceTypeCountResp) Reset()

func (*DeviceTypeCountResp) String

func (x *DeviceTypeCountResp) String() string

type Empty

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

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type EventLogIndexReq

type EventLogIndexReq struct {
	Page        *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`               //使用了聚合函数及间隔的时候无效
	ProductID   string    `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"`     //产品id (必填)
	DeviceNames []string  `protobuf:"bytes,3,rep,name=deviceNames,proto3" json:"deviceNames,omitempty"` //设备名(不填获取产品下所有设备)
	DataID      string    `protobuf:"bytes,4,opt,name=dataID,proto3" json:"dataID,omitempty"`           //获取的具体标识符的数据(必填)
	TimeStart   int64     `protobuf:"varint,5,opt,name=timeStart,proto3" json:"timeStart,omitempty"`    //获取时间的开始(毫秒时间戳)
	TimeEnd     int64     `protobuf:"varint,6,opt,name=timeEnd,proto3" json:"timeEnd,omitempty"`        //时间的结束(毫秒时间戳)
	Types       []string  `protobuf:"bytes,7,rep,name=types,proto3" json:"types,omitempty"`             //类型 事件类型: 信息:info  告警alert  故障:fault
	// contains filtered or unexported fields
}

获取对应日志信息

func (*EventLogIndexReq) Descriptor deprecated

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

Deprecated: Use EventLogIndexReq.ProtoReflect.Descriptor instead.

func (*EventLogIndexReq) GetDataID

func (x *EventLogIndexReq) GetDataID() string

func (*EventLogIndexReq) GetDeviceNames

func (x *EventLogIndexReq) GetDeviceNames() []string

func (*EventLogIndexReq) GetPage

func (x *EventLogIndexReq) GetPage() *PageInfo

func (*EventLogIndexReq) GetProductID

func (x *EventLogIndexReq) GetProductID() string

func (*EventLogIndexReq) GetTimeEnd

func (x *EventLogIndexReq) GetTimeEnd() int64

func (*EventLogIndexReq) GetTimeStart

func (x *EventLogIndexReq) GetTimeStart() int64

func (*EventLogIndexReq) GetTypes

func (x *EventLogIndexReq) GetTypes() []string

func (*EventLogIndexReq) ProtoMessage

func (*EventLogIndexReq) ProtoMessage()

func (*EventLogIndexReq) ProtoReflect

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

func (*EventLogIndexReq) Reset

func (x *EventLogIndexReq) Reset()

func (*EventLogIndexReq) String

func (x *EventLogIndexReq) String() string

type EventLogIndexResp

type EventLogIndexResp struct {
	Total int64           `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` //总数
	List  []*EventLogInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

获取对应日志信息

func (*EventLogIndexResp) Descriptor deprecated

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

Deprecated: Use EventLogIndexResp.ProtoReflect.Descriptor instead.

func (*EventLogIndexResp) GetList

func (x *EventLogIndexResp) GetList() []*EventLogInfo

func (*EventLogIndexResp) GetTotal

func (x *EventLogIndexResp) GetTotal() int64

func (*EventLogIndexResp) ProtoMessage

func (*EventLogIndexResp) ProtoMessage()

func (*EventLogIndexResp) ProtoReflect

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

func (*EventLogIndexResp) Reset

func (x *EventLogIndexResp) Reset()

func (*EventLogIndexResp) String

func (x *EventLogIndexResp) String() string

type EventLogInfo

type EventLogInfo struct {
	Timestamp int64  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` //发生时间戳(毫秒时间戳)
	Type      string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`            // 事件类型: 信息:info  告警alert  故障:fault
	DataID    string `protobuf:"bytes,3,opt,name=dataID,proto3" json:"dataID,omitempty"`        //属性id
	Params    string `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"`        //获取到的值
	// contains filtered or unexported fields
}

设备的日志数据

func (*EventLogInfo) Descriptor deprecated

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

Deprecated: Use EventLogInfo.ProtoReflect.Descriptor instead.

func (*EventLogInfo) GetDataID

func (x *EventLogInfo) GetDataID() string

func (*EventLogInfo) GetParams

func (x *EventLogInfo) GetParams() string

func (*EventLogInfo) GetTimestamp

func (x *EventLogInfo) GetTimestamp() int64

func (*EventLogInfo) GetType

func (x *EventLogInfo) GetType() string

func (*EventLogInfo) ProtoMessage

func (*EventLogInfo) ProtoMessage()

func (*EventLogInfo) ProtoReflect

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

func (*EventLogInfo) Reset

func (x *EventLogInfo) Reset()

func (*EventLogInfo) String

func (x *EventLogInfo) String() string

type Firmware

type Firmware struct {
	CreatedTime int64                   `protobuf:"varint,1,opt,name=createdTime,proto3" json:"createdTime,omitempty"` //创建时间 只读
	FirmwareID  int64                   `protobuf:"varint,2,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`
	ProductID   string                  `protobuf:"bytes,3,opt,name=productID,proto3" json:"productID,omitempty"`
	Name        string                  `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`             //升级包名称
	Version     string                  `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`       //升级包版本
	IsDiff      int32                   `protobuf:"varint,6,opt,name=isDiff,proto3" json:"isDiff,omitempty"`        //是否差分包,1:整包,2:差分
	SignMethod  string                  `protobuf:"bytes,7,opt,name=signMethod,proto3" json:"signMethod,omitempty"` //签名方法 MD5/SHA
	Desc        *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=desc,proto3" json:"desc,omitempty"`             //描述
	ExtData     *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=extData,proto3" json:"extData,omitempty"`       //自定义数据
	Files       []*OtaFirmwareFile      `protobuf:"bytes,10,rep,name=files,proto3" json:"files,omitempty"`          //产品信息
	// contains filtered or unexported fields
}

下面是ota固件管理模块的消息

func (*Firmware) Descriptor deprecated

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

Deprecated: Use Firmware.ProtoReflect.Descriptor instead.

func (*Firmware) GetCreatedTime

func (x *Firmware) GetCreatedTime() int64

func (*Firmware) GetDesc

func (x *Firmware) GetDesc() *wrapperspb.StringValue

func (*Firmware) GetExtData

func (x *Firmware) GetExtData() *wrapperspb.StringValue

func (*Firmware) GetFiles

func (x *Firmware) GetFiles() []*OtaFirmwareFile

func (*Firmware) GetFirmwareID

func (x *Firmware) GetFirmwareID() int64

func (*Firmware) GetIsDiff

func (x *Firmware) GetIsDiff() int32

func (*Firmware) GetName

func (x *Firmware) GetName() string

func (*Firmware) GetProductID

func (x *Firmware) GetProductID() string

func (*Firmware) GetSignMethod

func (x *Firmware) GetSignMethod() string

func (*Firmware) GetVersion

func (x *Firmware) GetVersion() string

func (*Firmware) ProtoMessage

func (*Firmware) ProtoMessage()

func (*Firmware) ProtoReflect

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

func (*Firmware) Reset

func (x *Firmware) Reset()

func (*Firmware) String

func (x *Firmware) String() string

type FirmwareFile

type FirmwareFile struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Size      int64  `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	FilePath  string `protobuf:"bytes,3,opt,name=filePath,proto3" json:"filePath,omitempty"`
	Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	FileMd5   string `protobuf:"bytes,5,opt,name=fileMd5,proto3" json:"fileMd5,omitempty"`
	// contains filtered or unexported fields
}

func (*FirmwareFile) Descriptor deprecated

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

Deprecated: Use FirmwareFile.ProtoReflect.Descriptor instead.

func (*FirmwareFile) GetFileMd5

func (x *FirmwareFile) GetFileMd5() string

func (*FirmwareFile) GetFilePath

func (x *FirmwareFile) GetFilePath() string

func (*FirmwareFile) GetName

func (x *FirmwareFile) GetName() string

func (*FirmwareFile) GetSignature

func (x *FirmwareFile) GetSignature() string

func (*FirmwareFile) GetSize

func (x *FirmwareFile) GetSize() int64

func (*FirmwareFile) ProtoMessage

func (*FirmwareFile) ProtoMessage()

func (*FirmwareFile) ProtoReflect

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

func (*FirmwareFile) Reset

func (x *FirmwareFile) Reset()

func (*FirmwareFile) String

func (x *FirmwareFile) String() string

type FirmwareInfo

type FirmwareInfo struct {
	CreatedTime int64                   `protobuf:"varint,1,opt,name=createdTime,proto3" json:"createdTime,omitempty"` //创建时间 只读
	FirmwareID  int64                   `protobuf:"varint,2,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`
	ProductID   string                  `protobuf:"bytes,3,opt,name=productID,proto3" json:"productID,omitempty"`
	ProductName string                  `protobuf:"bytes,4,opt,name=productName,proto3" json:"productName,omitempty"`
	Name        string                  `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`             //升级包名称
	Version     string                  `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`       //升级包版本
	IsDiff      int32                   `protobuf:"varint,7,opt,name=isDiff,proto3" json:"isDiff,omitempty"`        //是否差分包,1:整包,2:差分
	SignMethod  string                  `protobuf:"bytes,8,opt,name=signMethod,proto3" json:"signMethod,omitempty"` //签名方法 MD5/SHA
	Desc        *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=desc,proto3" json:"desc,omitempty"`             //描述
	ExtData     *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=extData,proto3" json:"extData,omitempty"`      //自定义数据
	Files       []*OtaFirmwareFile      `protobuf:"bytes,11,rep,name=files,proto3" json:"files,omitempty"`          //产品信息
	// contains filtered or unexported fields
}

func (*FirmwareInfo) Descriptor deprecated

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

Deprecated: Use FirmwareInfo.ProtoReflect.Descriptor instead.

func (*FirmwareInfo) GetCreatedTime

func (x *FirmwareInfo) GetCreatedTime() int64

func (*FirmwareInfo) GetDesc

func (x *FirmwareInfo) GetDesc() *wrapperspb.StringValue

func (*FirmwareInfo) GetExtData

func (x *FirmwareInfo) GetExtData() *wrapperspb.StringValue

func (*FirmwareInfo) GetFiles

func (x *FirmwareInfo) GetFiles() []*OtaFirmwareFile

func (*FirmwareInfo) GetFirmwareID

func (x *FirmwareInfo) GetFirmwareID() int64

func (*FirmwareInfo) GetIsDiff

func (x *FirmwareInfo) GetIsDiff() int32

func (*FirmwareInfo) GetName

func (x *FirmwareInfo) GetName() string

func (*FirmwareInfo) GetProductID

func (x *FirmwareInfo) GetProductID() string

func (*FirmwareInfo) GetProductName

func (x *FirmwareInfo) GetProductName() string

func (*FirmwareInfo) GetSignMethod

func (x *FirmwareInfo) GetSignMethod() string

func (*FirmwareInfo) GetVersion

func (x *FirmwareInfo) GetVersion() string

func (*FirmwareInfo) ProtoMessage

func (*FirmwareInfo) ProtoMessage()

func (*FirmwareInfo) ProtoReflect

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

func (*FirmwareInfo) Reset

func (x *FirmwareInfo) Reset()

func (*FirmwareInfo) String

func (x *FirmwareInfo) String() string

type FirmwareInfoDeleteReq

type FirmwareInfoDeleteReq struct {
	FirmwareID int64 `protobuf:"varint,1,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`
	// contains filtered or unexported fields
}

func (*FirmwareInfoDeleteReq) Descriptor deprecated

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

Deprecated: Use FirmwareInfoDeleteReq.ProtoReflect.Descriptor instead.

func (*FirmwareInfoDeleteReq) GetFirmwareID

func (x *FirmwareInfoDeleteReq) GetFirmwareID() int64

func (*FirmwareInfoDeleteReq) ProtoMessage

func (*FirmwareInfoDeleteReq) ProtoMessage()

func (*FirmwareInfoDeleteReq) ProtoReflect

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

func (*FirmwareInfoDeleteReq) Reset

func (x *FirmwareInfoDeleteReq) Reset()

func (*FirmwareInfoDeleteReq) String

func (x *FirmwareInfoDeleteReq) String() string

type FirmwareInfoDeleteResp

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

func (*FirmwareInfoDeleteResp) Descriptor deprecated

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

Deprecated: Use FirmwareInfoDeleteResp.ProtoReflect.Descriptor instead.

func (*FirmwareInfoDeleteResp) GetPaths

func (x *FirmwareInfoDeleteResp) GetPaths() []string

func (*FirmwareInfoDeleteResp) ProtoMessage

func (*FirmwareInfoDeleteResp) ProtoMessage()

func (*FirmwareInfoDeleteResp) ProtoReflect

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

func (*FirmwareInfoDeleteResp) Reset

func (x *FirmwareInfoDeleteResp) Reset()

func (*FirmwareInfoDeleteResp) String

func (x *FirmwareInfoDeleteResp) String() string

type FirmwareInfoIndexReq

type FirmwareInfoIndexReq struct {
	Page       *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` //分页信息 只获取一个则不填
	FirmwareID int64     `protobuf:"varint,2,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`
	ProductID  string    `protobuf:"bytes,3,opt,name=productID,proto3" json:"productID,omitempty"`
	// contains filtered or unexported fields
}

func (*FirmwareInfoIndexReq) Descriptor deprecated

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

Deprecated: Use FirmwareInfoIndexReq.ProtoReflect.Descriptor instead.

func (*FirmwareInfoIndexReq) GetFirmwareID

func (x *FirmwareInfoIndexReq) GetFirmwareID() int64

func (*FirmwareInfoIndexReq) GetPage

func (x *FirmwareInfoIndexReq) GetPage() *PageInfo

func (*FirmwareInfoIndexReq) GetProductID

func (x *FirmwareInfoIndexReq) GetProductID() string

func (*FirmwareInfoIndexReq) ProtoMessage

func (*FirmwareInfoIndexReq) ProtoMessage()

func (*FirmwareInfoIndexReq) ProtoReflect

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

func (*FirmwareInfoIndexReq) Reset

func (x *FirmwareInfoIndexReq) Reset()

func (*FirmwareInfoIndexReq) String

func (x *FirmwareInfoIndexReq) String() string

type FirmwareInfoIndexResp

type FirmwareInfoIndexResp struct {
	List  []*FirmwareInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`    //固件信息
	Total int64           `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` //总数(只有分页的时候会返回)
	// contains filtered or unexported fields
}

func (*FirmwareInfoIndexResp) Descriptor deprecated

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

Deprecated: Use FirmwareInfoIndexResp.ProtoReflect.Descriptor instead.

func (*FirmwareInfoIndexResp) GetList

func (x *FirmwareInfoIndexResp) GetList() []*FirmwareInfo

func (*FirmwareInfoIndexResp) GetTotal

func (x *FirmwareInfoIndexResp) GetTotal() int64

func (*FirmwareInfoIndexResp) ProtoMessage

func (*FirmwareInfoIndexResp) ProtoMessage()

func (*FirmwareInfoIndexResp) ProtoReflect

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

func (*FirmwareInfoIndexResp) Reset

func (x *FirmwareInfoIndexResp) Reset()

func (*FirmwareInfoIndexResp) String

func (x *FirmwareInfoIndexResp) String() string

type FirmwareInfoReadReq

type FirmwareInfoReadReq struct {
	FirmwareID int64 `protobuf:"varint,1,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`
	// contains filtered or unexported fields
}

func (*FirmwareInfoReadReq) Descriptor deprecated

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

Deprecated: Use FirmwareInfoReadReq.ProtoReflect.Descriptor instead.

func (*FirmwareInfoReadReq) GetFirmwareID

func (x *FirmwareInfoReadReq) GetFirmwareID() int64

func (*FirmwareInfoReadReq) ProtoMessage

func (*FirmwareInfoReadReq) ProtoMessage()

func (*FirmwareInfoReadReq) ProtoReflect

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

func (*FirmwareInfoReadReq) Reset

func (x *FirmwareInfoReadReq) Reset()

func (*FirmwareInfoReadReq) String

func (x *FirmwareInfoReadReq) String() string

type FirmwareInfoReadResp

type FirmwareInfoReadResp struct {
	CreatedTime int64                   `protobuf:"varint,1,opt,name=createdTime,proto3" json:"createdTime,omitempty"` //创建时间 只读
	FirmwareID  int64                   `protobuf:"varint,2,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`
	ProductID   string                  `protobuf:"bytes,3,opt,name=productID,proto3" json:"productID,omitempty"`
	ProductName string                  `protobuf:"bytes,4,opt,name=productName,proto3" json:"productName,omitempty"`
	Name        string                  `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`       //升级包名称
	Version     string                  `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` //升级包版本
	IsDiff      int32                   `protobuf:"varint,7,opt,name=isDiff,proto3" json:"isDiff,omitempty"`  //是否差分包,1:整包,2:差分
	SignMethod  string                  `protobuf:"bytes,8,opt,name=signMethod,proto3" json:"signMethod,omitempty"`
	Desc        *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=desc,proto3" json:"desc,omitempty"`       //描述
	ExtData     *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=extData,proto3" json:"extData,omitempty"` //自定义数据
	Files       []*OtaFirmwareFileResp  `protobuf:"bytes,12,rep,name=files,proto3" json:"files,omitempty"`     //产品信息
	// contains filtered or unexported fields
}

func (*FirmwareInfoReadResp) Descriptor deprecated

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

Deprecated: Use FirmwareInfoReadResp.ProtoReflect.Descriptor instead.

func (*FirmwareInfoReadResp) GetCreatedTime

func (x *FirmwareInfoReadResp) GetCreatedTime() int64

func (*FirmwareInfoReadResp) GetDesc

func (*FirmwareInfoReadResp) GetExtData

func (x *FirmwareInfoReadResp) GetExtData() *wrapperspb.StringValue

func (*FirmwareInfoReadResp) GetFiles

func (x *FirmwareInfoReadResp) GetFiles() []*OtaFirmwareFileResp

func (*FirmwareInfoReadResp) GetFirmwareID

func (x *FirmwareInfoReadResp) GetFirmwareID() int64

func (*FirmwareInfoReadResp) GetIsDiff

func (x *FirmwareInfoReadResp) GetIsDiff() int32

func (*FirmwareInfoReadResp) GetName

func (x *FirmwareInfoReadResp) GetName() string

func (*FirmwareInfoReadResp) GetProductID

func (x *FirmwareInfoReadResp) GetProductID() string

func (*FirmwareInfoReadResp) GetProductName

func (x *FirmwareInfoReadResp) GetProductName() string

func (*FirmwareInfoReadResp) GetSignMethod

func (x *FirmwareInfoReadResp) GetSignMethod() string

func (*FirmwareInfoReadResp) GetVersion

func (x *FirmwareInfoReadResp) GetVersion() string

func (*FirmwareInfoReadResp) ProtoMessage

func (*FirmwareInfoReadResp) ProtoMessage()

func (*FirmwareInfoReadResp) ProtoReflect

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

func (*FirmwareInfoReadResp) Reset

func (x *FirmwareInfoReadResp) Reset()

func (*FirmwareInfoReadResp) String

func (x *FirmwareInfoReadResp) String() string

type FirmwareResp

type FirmwareResp struct {
	FirmwareID int64 `protobuf:"varint,1,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`
	// contains filtered or unexported fields
}

func (*FirmwareResp) Descriptor deprecated

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

Deprecated: Use FirmwareResp.ProtoReflect.Descriptor instead.

func (*FirmwareResp) GetFirmwareID

func (x *FirmwareResp) GetFirmwareID() int64

func (*FirmwareResp) ProtoMessage

func (*FirmwareResp) ProtoMessage()

func (*FirmwareResp) ProtoReflect

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

func (*FirmwareResp) Reset

func (x *FirmwareResp) Reset()

func (*FirmwareResp) String

func (x *FirmwareResp) String() string

type GatewayCanBindIndexReq

type GatewayCanBindIndexReq struct {
	Gateway *DeviceCore `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayCanBindIndexReq) Descriptor deprecated

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

Deprecated: Use GatewayCanBindIndexReq.ProtoReflect.Descriptor instead.

func (*GatewayCanBindIndexReq) GetGateway

func (x *GatewayCanBindIndexReq) GetGateway() *DeviceCore

func (*GatewayCanBindIndexReq) ProtoMessage

func (*GatewayCanBindIndexReq) ProtoMessage()

func (*GatewayCanBindIndexReq) ProtoReflect

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

func (*GatewayCanBindIndexReq) Reset

func (x *GatewayCanBindIndexReq) Reset()

func (*GatewayCanBindIndexReq) String

func (x *GatewayCanBindIndexReq) String() string

type GatewayCanBindIndexResp

type GatewayCanBindIndexResp struct {
	SubDevices  []*DeviceCore `protobuf:"bytes,1,rep,name=subDevices,proto3" json:"subDevices,omitempty"`
	UpdatedTime int64         `protobuf:"varint,2,opt,name=updatedTime,proto3" json:"updatedTime,omitempty"` //更新时间
	// contains filtered or unexported fields
}

func (*GatewayCanBindIndexResp) Descriptor deprecated

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

Deprecated: Use GatewayCanBindIndexResp.ProtoReflect.Descriptor instead.

func (*GatewayCanBindIndexResp) GetSubDevices

func (x *GatewayCanBindIndexResp) GetSubDevices() []*DeviceCore

func (*GatewayCanBindIndexResp) GetUpdatedTime

func (x *GatewayCanBindIndexResp) GetUpdatedTime() int64

func (*GatewayCanBindIndexResp) ProtoMessage

func (*GatewayCanBindIndexResp) ProtoMessage()

func (*GatewayCanBindIndexResp) ProtoReflect

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

func (*GatewayCanBindIndexResp) Reset

func (x *GatewayCanBindIndexResp) Reset()

func (*GatewayCanBindIndexResp) String

func (x *GatewayCanBindIndexResp) String() string

type GatewayGetFoundReq

type GatewayGetFoundReq struct {
	ProductID  string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`   //产品id
	DeviceName string `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名
	// contains filtered or unexported fields
}

func (*GatewayGetFoundReq) Descriptor deprecated

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

Deprecated: Use GatewayGetFoundReq.ProtoReflect.Descriptor instead.

func (*GatewayGetFoundReq) GetDeviceName

func (x *GatewayGetFoundReq) GetDeviceName() string

func (*GatewayGetFoundReq) GetProductID

func (x *GatewayGetFoundReq) GetProductID() string

func (*GatewayGetFoundReq) ProtoMessage

func (*GatewayGetFoundReq) ProtoMessage()

func (*GatewayGetFoundReq) ProtoReflect

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

func (*GatewayGetFoundReq) Reset

func (x *GatewayGetFoundReq) Reset()

func (*GatewayGetFoundReq) String

func (x *GatewayGetFoundReq) String() string

type GatewayNotifyBindSendReq

type GatewayNotifyBindSendReq struct {
	Gateway    *DeviceCore   `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`
	SubDevices []*DeviceCore `protobuf:"bytes,2,rep,name=subDevices,proto3" json:"subDevices,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayNotifyBindSendReq) Descriptor deprecated

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

Deprecated: Use GatewayNotifyBindSendReq.ProtoReflect.Descriptor instead.

func (*GatewayNotifyBindSendReq) GetGateway

func (x *GatewayNotifyBindSendReq) GetGateway() *DeviceCore

func (*GatewayNotifyBindSendReq) GetSubDevices

func (x *GatewayNotifyBindSendReq) GetSubDevices() []*DeviceCore

func (*GatewayNotifyBindSendReq) ProtoMessage

func (*GatewayNotifyBindSendReq) ProtoMessage()

func (*GatewayNotifyBindSendReq) ProtoReflect

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

func (*GatewayNotifyBindSendReq) Reset

func (x *GatewayNotifyBindSendReq) Reset()

func (*GatewayNotifyBindSendReq) String

func (x *GatewayNotifyBindSendReq) String() string

type GroupDeviceIndexReq

type GroupDeviceIndexReq struct {
	Page       *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	GroupID    int64     `protobuf:"varint,2,opt,name=groupID,proto3" json:"groupID,omitempty"`
	ProductID  string    `protobuf:"bytes,3,opt,name=productID,proto3" json:"productID,omitempty"`
	DeviceName string    `protobuf:"bytes,4,opt,name=deviceName,proto3" json:"deviceName,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupDeviceIndexReq) Descriptor deprecated

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

Deprecated: Use GroupDeviceIndexReq.ProtoReflect.Descriptor instead.

func (*GroupDeviceIndexReq) GetDeviceName

func (x *GroupDeviceIndexReq) GetDeviceName() string

func (*GroupDeviceIndexReq) GetGroupID

func (x *GroupDeviceIndexReq) GetGroupID() int64

func (*GroupDeviceIndexReq) GetPage

func (x *GroupDeviceIndexReq) GetPage() *PageInfo

func (*GroupDeviceIndexReq) GetProductID

func (x *GroupDeviceIndexReq) GetProductID() string

func (*GroupDeviceIndexReq) ProtoMessage

func (*GroupDeviceIndexReq) ProtoMessage()

func (*GroupDeviceIndexReq) ProtoReflect

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

func (*GroupDeviceIndexReq) Reset

func (x *GroupDeviceIndexReq) Reset()

func (*GroupDeviceIndexReq) String

func (x *GroupDeviceIndexReq) String() string

type GroupDeviceIndexResp

type GroupDeviceIndexResp struct {
	List  []*DeviceInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64         `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupDeviceIndexResp) Descriptor deprecated

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

Deprecated: Use GroupDeviceIndexResp.ProtoReflect.Descriptor instead.

func (*GroupDeviceIndexResp) GetList

func (x *GroupDeviceIndexResp) GetList() []*DeviceInfo

func (*GroupDeviceIndexResp) GetTotal

func (x *GroupDeviceIndexResp) GetTotal() int64

func (*GroupDeviceIndexResp) ProtoMessage

func (*GroupDeviceIndexResp) ProtoMessage()

func (*GroupDeviceIndexResp) ProtoReflect

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

func (*GroupDeviceIndexResp) Reset

func (x *GroupDeviceIndexResp) Reset()

func (*GroupDeviceIndexResp) String

func (x *GroupDeviceIndexResp) String() string

type GroupDeviceMultiDeleteReq

type GroupDeviceMultiDeleteReq struct {
	GroupID int64         `protobuf:"varint,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
	List    []*DeviceCore `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupDeviceMultiDeleteReq) Descriptor deprecated

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

Deprecated: Use GroupDeviceMultiDeleteReq.ProtoReflect.Descriptor instead.

func (*GroupDeviceMultiDeleteReq) GetGroupID

func (x *GroupDeviceMultiDeleteReq) GetGroupID() int64

func (*GroupDeviceMultiDeleteReq) GetList

func (x *GroupDeviceMultiDeleteReq) GetList() []*DeviceCore

func (*GroupDeviceMultiDeleteReq) ProtoMessage

func (*GroupDeviceMultiDeleteReq) ProtoMessage()

func (*GroupDeviceMultiDeleteReq) ProtoReflect

func (*GroupDeviceMultiDeleteReq) Reset

func (x *GroupDeviceMultiDeleteReq) Reset()

func (*GroupDeviceMultiDeleteReq) String

func (x *GroupDeviceMultiDeleteReq) String() string

type GroupDeviceMultiSaveReq

type GroupDeviceMultiSaveReq struct {
	GroupID int64         `protobuf:"varint,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
	List    []*DeviceCore `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupDeviceMultiSaveReq) Descriptor deprecated

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

Deprecated: Use GroupDeviceMultiSaveReq.ProtoReflect.Descriptor instead.

func (*GroupDeviceMultiSaveReq) GetGroupID

func (x *GroupDeviceMultiSaveReq) GetGroupID() int64

func (*GroupDeviceMultiSaveReq) GetList

func (x *GroupDeviceMultiSaveReq) GetList() []*DeviceCore

func (*GroupDeviceMultiSaveReq) ProtoMessage

func (*GroupDeviceMultiSaveReq) ProtoMessage()

func (*GroupDeviceMultiSaveReq) ProtoReflect

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

func (*GroupDeviceMultiSaveReq) Reset

func (x *GroupDeviceMultiSaveReq) Reset()

func (*GroupDeviceMultiSaveReq) String

func (x *GroupDeviceMultiSaveReq) String() string

type GroupInfo

type GroupInfo struct {
	AreaID      int64             `protobuf:"varint,10,opt,name=areaID,proto3" json:"areaID,omitempty"` //分组可以属于某个区域下
	ProjectID   int64             `protobuf:"varint,3,opt,name=projectID,proto3" json:"projectID,omitempty"`
	Id          int64             `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ParentID    int64             `protobuf:"varint,2,opt,name=parentID,proto3" json:"parentID,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"`
	CreatedTime int64             `protobuf:"varint,6,opt,name=createdTime,proto3" json:"createdTime,omitempty"`
	Tags        map[string]string `` /* 149-byte string literal not displayed */
	ProductID   string            `protobuf:"bytes,8,opt,name=productID,proto3" json:"productID,omitempty"`
	ProductName string            `protobuf:"bytes,9,opt,name=productName,proto3" json:"productName,omitempty"`
	Devices     []*DeviceCore     `protobuf:"bytes,11,rep,name=devices,proto3" json:"devices,omitempty"`
	DeviceCount int64             `protobuf:"varint,12,opt,name=deviceCount,proto3" json:"deviceCount,omitempty"`
	IsLeaf      int64             `protobuf:"varint,13,opt,name=isLeaf,proto3" json:"isLeaf,omitempty"`
	Children    []*GroupInfo      `protobuf:"bytes,14,rep,name=children,proto3" json:"children,omitempty"` //  DeviceInfoCount deviceInfoCount =11;
	// contains filtered or unexported fields
}

func (*GroupInfo) Descriptor deprecated

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

Deprecated: Use GroupInfo.ProtoReflect.Descriptor instead.

func (*GroupInfo) GetAreaID

func (x *GroupInfo) GetAreaID() int64

func (*GroupInfo) GetChildren

func (x *GroupInfo) GetChildren() []*GroupInfo

func (*GroupInfo) GetCreatedTime

func (x *GroupInfo) GetCreatedTime() int64

func (*GroupInfo) GetDesc

func (x *GroupInfo) GetDesc() string

func (*GroupInfo) GetDeviceCount

func (x *GroupInfo) GetDeviceCount() int64

func (*GroupInfo) GetDevices

func (x *GroupInfo) GetDevices() []*DeviceCore

func (*GroupInfo) GetId

func (x *GroupInfo) GetId() int64

func (*GroupInfo) GetIsLeaf

func (x *GroupInfo) GetIsLeaf() int64

func (*GroupInfo) GetName

func (x *GroupInfo) GetName() string

func (*GroupInfo) GetParentID

func (x *GroupInfo) GetParentID() int64

func (*GroupInfo) GetProductID

func (x *GroupInfo) GetProductID() string

func (*GroupInfo) GetProductName

func (x *GroupInfo) GetProductName() string

func (*GroupInfo) GetProjectID

func (x *GroupInfo) GetProjectID() int64

func (*GroupInfo) GetTags

func (x *GroupInfo) GetTags() map[string]string

func (*GroupInfo) ProtoMessage

func (*GroupInfo) ProtoMessage()

func (*GroupInfo) ProtoReflect

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

func (*GroupInfo) Reset

func (x *GroupInfo) Reset()

func (*GroupInfo) String

func (x *GroupInfo) String() string

type GroupInfoCreateReq

type GroupInfoCreateReq struct {
	AreaID    int64  `protobuf:"varint,5,opt,name=areaID,proto3" json:"areaID,omitempty"` //分组可以属于某个区域下
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ParentID  int64  `protobuf:"varint,2,opt,name=parentID,proto3" json:"parentID,omitempty"`
	ProductID string `protobuf:"bytes,3,opt,name=productID,proto3" json:"productID,omitempty"`
	Desc      string `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupInfoCreateReq) Descriptor deprecated

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

Deprecated: Use GroupInfoCreateReq.ProtoReflect.Descriptor instead.

func (*GroupInfoCreateReq) GetAreaID

func (x *GroupInfoCreateReq) GetAreaID() int64

func (*GroupInfoCreateReq) GetDesc

func (x *GroupInfoCreateReq) GetDesc() string

func (*GroupInfoCreateReq) GetName

func (x *GroupInfoCreateReq) GetName() string

func (*GroupInfoCreateReq) GetParentID

func (x *GroupInfoCreateReq) GetParentID() int64

func (*GroupInfoCreateReq) GetProductID

func (x *GroupInfoCreateReq) GetProductID() string

func (*GroupInfoCreateReq) ProtoMessage

func (*GroupInfoCreateReq) ProtoMessage()

func (*GroupInfoCreateReq) ProtoReflect

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

func (*GroupInfoCreateReq) Reset

func (x *GroupInfoCreateReq) Reset()

func (*GroupInfoCreateReq) String

func (x *GroupInfoCreateReq) String() string

type GroupInfoIndexReq

type GroupInfoIndexReq struct {
	AreaID   int64             `protobuf:"varint,5,opt,name=areaID,proto3" json:"areaID,omitempty"` //分组可以属于某个区域下
	Page     *PageInfo         `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	Name     string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ParentID int64             `protobuf:"varint,3,opt,name=parentID,proto3" json:"parentID,omitempty"`
	Tags     map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GroupInfoIndexReq) Descriptor deprecated

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

Deprecated: Use GroupInfoIndexReq.ProtoReflect.Descriptor instead.

func (*GroupInfoIndexReq) GetAreaID

func (x *GroupInfoIndexReq) GetAreaID() int64

func (*GroupInfoIndexReq) GetName

func (x *GroupInfoIndexReq) GetName() string

func (*GroupInfoIndexReq) GetPage

func (x *GroupInfoIndexReq) GetPage() *PageInfo

func (*GroupInfoIndexReq) GetParentID

func (x *GroupInfoIndexReq) GetParentID() int64

func (*GroupInfoIndexReq) GetTags

func (x *GroupInfoIndexReq) GetTags() map[string]string

func (*GroupInfoIndexReq) ProtoMessage

func (*GroupInfoIndexReq) ProtoMessage()

func (*GroupInfoIndexReq) ProtoReflect

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

func (*GroupInfoIndexReq) Reset

func (x *GroupInfoIndexReq) Reset()

func (*GroupInfoIndexReq) String

func (x *GroupInfoIndexReq) String() string

type GroupInfoIndexResp

type GroupInfoIndexResp struct {
	List  []*GroupInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64        `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // repeated GroupInfo listAll = 3;
	// contains filtered or unexported fields
}

func (*GroupInfoIndexResp) Descriptor deprecated

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

Deprecated: Use GroupInfoIndexResp.ProtoReflect.Descriptor instead.

func (*GroupInfoIndexResp) GetList

func (x *GroupInfoIndexResp) GetList() []*GroupInfo

func (*GroupInfoIndexResp) GetTotal

func (x *GroupInfoIndexResp) GetTotal() int64

func (*GroupInfoIndexResp) ProtoMessage

func (*GroupInfoIndexResp) ProtoMessage()

func (*GroupInfoIndexResp) ProtoReflect

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

func (*GroupInfoIndexResp) Reset

func (x *GroupInfoIndexResp) Reset()

func (*GroupInfoIndexResp) String

func (x *GroupInfoIndexResp) String() string

type GroupInfoUpdateReq

type GroupInfoUpdateReq struct {
	Id        int64             `protobuf:"varint,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      map[string]string `` /* 149-byte string literal not displayed */
	ProductID string            `protobuf:"bytes,5,opt,name=productID,proto3" json:"productID,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupInfoUpdateReq) Descriptor deprecated

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

Deprecated: Use GroupInfoUpdateReq.ProtoReflect.Descriptor instead.

func (*GroupInfoUpdateReq) GetDesc

func (x *GroupInfoUpdateReq) GetDesc() string

func (*GroupInfoUpdateReq) GetId

func (x *GroupInfoUpdateReq) GetId() int64

func (*GroupInfoUpdateReq) GetName

func (x *GroupInfoUpdateReq) GetName() string

func (*GroupInfoUpdateReq) GetProductID

func (x *GroupInfoUpdateReq) GetProductID() string

func (*GroupInfoUpdateReq) GetTags

func (x *GroupInfoUpdateReq) GetTags() map[string]string

func (*GroupInfoUpdateReq) ProtoMessage

func (*GroupInfoUpdateReq) ProtoMessage()

func (*GroupInfoUpdateReq) ProtoReflect

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

func (*GroupInfoUpdateReq) Reset

func (x *GroupInfoUpdateReq) Reset()

func (*GroupInfoUpdateReq) String

func (x *GroupInfoUpdateReq) String() string

type HubLogIndexReq

type HubLogIndexReq struct {
	ProductID  string    `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`   //产品id
	DeviceName string    `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名
	TimeStart  int64     `protobuf:"varint,3,opt,name=timeStart,proto3" json:"timeStart,omitempty"`  //获取时间的开始(毫秒时间戳)
	TimeEnd    int64     `protobuf:"varint,4,opt,name=timeEnd,proto3" json:"timeEnd,omitempty"`      //时间的结束(毫秒时间戳)
	Page       *PageInfo `protobuf:"bytes,5,opt,name=page,proto3" json:"page,omitempty"`             //分页信息
	Actions    []string  `protobuf:"bytes,6,rep,name=actions,proto3" json:"actions,omitempty"`       //过滤操作类型 connected:上线 disconnected:下线  property:属性 event:事件 action:操作 thing:物模型提交的操作为匹配的日志
	Topics     []string  `protobuf:"bytes,7,rep,name=topics,proto3" json:"topics,omitempty"`         //过滤主题
	Content    string    `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"`       //过滤内容
	RequestID  string    `protobuf:"bytes,9,opt,name=requestID,proto3" json:"requestID,omitempty"`   //过滤请求ID
	// contains filtered or unexported fields
}

实时获取对应信息

func (*HubLogIndexReq) Descriptor deprecated

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

Deprecated: Use HubLogIndexReq.ProtoReflect.Descriptor instead.

func (*HubLogIndexReq) GetActions

func (x *HubLogIndexReq) GetActions() []string

func (*HubLogIndexReq) GetContent

func (x *HubLogIndexReq) GetContent() string

func (*HubLogIndexReq) GetDeviceName

func (x *HubLogIndexReq) GetDeviceName() string

func (*HubLogIndexReq) GetPage

func (x *HubLogIndexReq) GetPage() *PageInfo

func (*HubLogIndexReq) GetProductID

func (x *HubLogIndexReq) GetProductID() string

func (*HubLogIndexReq) GetRequestID

func (x *HubLogIndexReq) GetRequestID() string

func (*HubLogIndexReq) GetTimeEnd

func (x *HubLogIndexReq) GetTimeEnd() int64

func (*HubLogIndexReq) GetTimeStart

func (x *HubLogIndexReq) GetTimeStart() int64

func (*HubLogIndexReq) GetTopics

func (x *HubLogIndexReq) GetTopics() []string

func (*HubLogIndexReq) ProtoMessage

func (*HubLogIndexReq) ProtoMessage()

func (*HubLogIndexReq) ProtoReflect

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

func (*HubLogIndexReq) Reset

func (x *HubLogIndexReq) Reset()

func (*HubLogIndexReq) String

func (x *HubLogIndexReq) String() string

type HubLogIndexResp

type HubLogIndexResp struct {
	Total int64         `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` //总数
	List  []*HubLogInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

实时获取对应信息

func (*HubLogIndexResp) Descriptor deprecated

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

Deprecated: Use HubLogIndexResp.ProtoReflect.Descriptor instead.

func (*HubLogIndexResp) GetList

func (x *HubLogIndexResp) GetList() []*HubLogInfo

func (*HubLogIndexResp) GetTotal

func (x *HubLogIndexResp) GetTotal() int64

func (*HubLogIndexResp) ProtoMessage

func (*HubLogIndexResp) ProtoMessage()

func (*HubLogIndexResp) ProtoReflect

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

func (*HubLogIndexResp) Reset

func (x *HubLogIndexResp) Reset()

func (*HubLogIndexResp) String

func (x *HubLogIndexResp) String() string

type HubLogInfo

type HubLogInfo struct {
	Timestamp   int64  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`    //发生时间戳(毫秒时间戳)
	Action      string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`           //操作类型;connected:上线 disconnected:下线  property:属性 event:事件 action:操作 thing:物模型提交的操作为匹配的日志
	RequestID   string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"`     //请求ID
	TraceID     string `protobuf:"bytes,4,opt,name=traceID,proto3" json:"traceID,omitempty"`         //服务器端事务id
	Topic       string `protobuf:"bytes,5,opt,name=topic,proto3" json:"topic,omitempty"`             //主题
	Content     string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`         //具体内容
	ResultCode  int64  `protobuf:"varint,7,opt,name=resultCode,proto3" json:"resultCode,omitempty"`  //请求结果状态
	RespPayload string `protobuf:"bytes,8,opt,name=respPayload,proto3" json:"respPayload,omitempty"` //返回的内容
	// contains filtered or unexported fields
}

设备的日志数据

func (*HubLogInfo) Descriptor deprecated

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

Deprecated: Use HubLogInfo.ProtoReflect.Descriptor instead.

func (*HubLogInfo) GetAction

func (x *HubLogInfo) GetAction() string

func (*HubLogInfo) GetContent

func (x *HubLogInfo) GetContent() string

func (*HubLogInfo) GetRequestID

func (x *HubLogInfo) GetRequestID() string

func (*HubLogInfo) GetRespPayload

func (x *HubLogInfo) GetRespPayload() string

func (*HubLogInfo) GetResultCode

func (x *HubLogInfo) GetResultCode() int64

func (*HubLogInfo) GetTimestamp

func (x *HubLogInfo) GetTimestamp() int64

func (*HubLogInfo) GetTopic

func (x *HubLogInfo) GetTopic() string

func (*HubLogInfo) GetTraceID

func (x *HubLogInfo) GetTraceID() string

func (*HubLogInfo) ProtoMessage

func (*HubLogInfo) ProtoMessage()

func (*HubLogInfo) ProtoReflect

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

func (*HubLogInfo) Reset

func (x *HubLogInfo) Reset()

func (*HubLogInfo) String

func (x *HubLogInfo) String() string

type IDPath

type IDPath struct {
	Id         int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	IdPath     string `protobuf:"bytes,2,opt,name=idPath,proto3" json:"idPath,omitempty"`
	NoParentID int64  `protobuf:"varint,3,opt,name=noParentID,proto3" json:"noParentID,omitempty"`
	// contains filtered or unexported fields
}

func (*IDPath) Descriptor deprecated

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

Deprecated: Use IDPath.ProtoReflect.Descriptor instead.

func (*IDPath) GetId

func (x *IDPath) GetId() int64

func (*IDPath) GetIdPath

func (x *IDPath) GetIdPath() string

func (*IDPath) GetNoParentID

func (x *IDPath) GetNoParentID() int64

func (*IDPath) ProtoMessage

func (*IDPath) ProtoMessage()

func (*IDPath) ProtoReflect

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

func (*IDPath) Reset

func (x *IDPath) Reset()

func (*IDPath) String

func (x *IDPath) String() string

type IDPathWithUpdate

type IDPathWithUpdate struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	IdPath      string `protobuf:"bytes,2,opt,name=idPath,proto3" json:"idPath,omitempty"`
	UpdatedTime int64  `protobuf:"varint,3,opt,name=updatedTime,proto3" json:"updatedTime,omitempty"`
	// contains filtered or unexported fields
}

func (*IDPathWithUpdate) Descriptor deprecated

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

Deprecated: Use IDPathWithUpdate.ProtoReflect.Descriptor instead.

func (*IDPathWithUpdate) GetId

func (x *IDPathWithUpdate) GetId() int64

func (*IDPathWithUpdate) GetIdPath

func (x *IDPathWithUpdate) GetIdPath() string

func (*IDPathWithUpdate) GetUpdatedTime

func (x *IDPathWithUpdate) GetUpdatedTime() int64

func (*IDPathWithUpdate) ProtoMessage

func (*IDPathWithUpdate) ProtoMessage()

func (*IDPathWithUpdate) ProtoReflect

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

func (*IDPathWithUpdate) Reset

func (x *IDPathWithUpdate) Reset()

func (*IDPathWithUpdate) String

func (x *IDPathWithUpdate) String() string

type OtaFirmwareDeviceCancelReq

type OtaFirmwareDeviceCancelReq struct {
	FirmwareID  int64    `protobuf:"varint,1,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`
	JobID       int64    `protobuf:"varint,2,opt,name=jobID,proto3" json:"jobID,omitempty"`
	DeviceNames []string `protobuf:"bytes,3,rep,name=deviceNames,proto3" json:"deviceNames,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaFirmwareDeviceCancelReq) Descriptor deprecated

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

Deprecated: Use OtaFirmwareDeviceCancelReq.ProtoReflect.Descriptor instead.

func (*OtaFirmwareDeviceCancelReq) GetDeviceNames

func (x *OtaFirmwareDeviceCancelReq) GetDeviceNames() []string

func (*OtaFirmwareDeviceCancelReq) GetFirmwareID

func (x *OtaFirmwareDeviceCancelReq) GetFirmwareID() int64

func (*OtaFirmwareDeviceCancelReq) GetJobID

func (x *OtaFirmwareDeviceCancelReq) GetJobID() int64

func (*OtaFirmwareDeviceCancelReq) ProtoMessage

func (*OtaFirmwareDeviceCancelReq) ProtoMessage()

func (*OtaFirmwareDeviceCancelReq) ProtoReflect

func (*OtaFirmwareDeviceCancelReq) Reset

func (x *OtaFirmwareDeviceCancelReq) Reset()

func (*OtaFirmwareDeviceCancelReq) String

func (x *OtaFirmwareDeviceCancelReq) String() string

type OtaFirmwareDeviceConfirmReq

type OtaFirmwareDeviceConfirmReq struct {
	ProductID  string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`
	DeviceName string `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaFirmwareDeviceConfirmReq) Descriptor deprecated

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

Deprecated: Use OtaFirmwareDeviceConfirmReq.ProtoReflect.Descriptor instead.

func (*OtaFirmwareDeviceConfirmReq) GetDeviceName

func (x *OtaFirmwareDeviceConfirmReq) GetDeviceName() string

func (*OtaFirmwareDeviceConfirmReq) GetProductID

func (x *OtaFirmwareDeviceConfirmReq) GetProductID() string

func (*OtaFirmwareDeviceConfirmReq) ProtoMessage

func (*OtaFirmwareDeviceConfirmReq) ProtoMessage()

func (*OtaFirmwareDeviceConfirmReq) ProtoReflect

func (*OtaFirmwareDeviceConfirmReq) Reset

func (x *OtaFirmwareDeviceConfirmReq) Reset()

func (*OtaFirmwareDeviceConfirmReq) String

func (x *OtaFirmwareDeviceConfirmReq) String() string

type OtaFirmwareDeviceIndexReq

type OtaFirmwareDeviceIndexReq struct {
	Page       *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	FirmwareID int64     `protobuf:"varint,2,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`
	JobID      int64     `protobuf:"varint,3,opt,name=jobID,proto3" json:"jobID,omitempty"`
	DeviceName string    `protobuf:"bytes,4,opt,name=deviceName,proto3" json:"deviceName,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaFirmwareDeviceIndexReq) Descriptor deprecated

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

Deprecated: Use OtaFirmwareDeviceIndexReq.ProtoReflect.Descriptor instead.

func (*OtaFirmwareDeviceIndexReq) GetDeviceName

func (x *OtaFirmwareDeviceIndexReq) GetDeviceName() string

func (*OtaFirmwareDeviceIndexReq) GetFirmwareID

func (x *OtaFirmwareDeviceIndexReq) GetFirmwareID() int64

func (*OtaFirmwareDeviceIndexReq) GetJobID

func (x *OtaFirmwareDeviceIndexReq) GetJobID() int64

func (*OtaFirmwareDeviceIndexReq) GetPage

func (x *OtaFirmwareDeviceIndexReq) GetPage() *PageInfo

func (*OtaFirmwareDeviceIndexReq) ProtoMessage

func (*OtaFirmwareDeviceIndexReq) ProtoMessage()

func (*OtaFirmwareDeviceIndexReq) ProtoReflect

func (*OtaFirmwareDeviceIndexReq) Reset

func (x *OtaFirmwareDeviceIndexReq) Reset()

func (*OtaFirmwareDeviceIndexReq) String

func (x *OtaFirmwareDeviceIndexReq) String() string

type OtaFirmwareDeviceIndexResp

type OtaFirmwareDeviceIndexResp struct {
	List  []*OtaFirmwareDeviceInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64                    `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaFirmwareDeviceIndexResp) Descriptor deprecated

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

Deprecated: Use OtaFirmwareDeviceIndexResp.ProtoReflect.Descriptor instead.

func (*OtaFirmwareDeviceIndexResp) GetList

func (*OtaFirmwareDeviceIndexResp) GetTotal

func (x *OtaFirmwareDeviceIndexResp) GetTotal() int64

func (*OtaFirmwareDeviceIndexResp) ProtoMessage

func (*OtaFirmwareDeviceIndexResp) ProtoMessage()

func (*OtaFirmwareDeviceIndexResp) ProtoReflect

func (*OtaFirmwareDeviceIndexResp) Reset

func (x *OtaFirmwareDeviceIndexResp) Reset()

func (*OtaFirmwareDeviceIndexResp) String

func (x *OtaFirmwareDeviceIndexResp) String() string

type OtaFirmwareDeviceInfo

type OtaFirmwareDeviceInfo struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	FirmwareID  int64  `protobuf:"varint,2,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`
	JobID       int64  `protobuf:"varint,3,opt,name=jobID,proto3" json:"jobID,omitempty"`
	ProductID   string `protobuf:"bytes,4,opt,name=productID,proto3" json:"productID,omitempty"`
	ProductName string `protobuf:"bytes,5,opt,name=productName,proto3" json:"productName,omitempty"`
	DeviceName  string `protobuf:"bytes,6,opt,name=deviceName,proto3" json:"deviceName,omitempty"`
	SrcVersion  string `protobuf:"bytes,7,opt,name=srcVersion,proto3" json:"srcVersion,omitempty"`
	DestVersion string `protobuf:"bytes,8,opt,name=destVersion,proto3" json:"destVersion,omitempty"`
	Step        int64  `protobuf:"varint,9,opt,name=step,proto3" json:"step,omitempty"`      // 当前的升级进度  0-100%    -1:升级失败。-2:下载失败。-3:校验失败。-4:烧写失败。
	Detail      string `protobuf:"bytes,10,opt,name=detail,proto3" json:"detail,omitempty"`  //详情
	Status      int64  `protobuf:"varint,11,opt,name=status,proto3" json:"status,omitempty"` //设备升级作业状态。1:待确认。 2:待推送。 3:已推送。  4:升级中。 5:升级成功 6: 升级失败. 7:已取消
	CreatedTime int64  `protobuf:"varint,13,opt,name=createdTime,proto3" json:"createdTime,omitempty"`
	UpdatedTime int64  `protobuf:"varint,14,opt,name=updatedTime,proto3" json:"updatedTime,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaFirmwareDeviceInfo) Descriptor deprecated

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

Deprecated: Use OtaFirmwareDeviceInfo.ProtoReflect.Descriptor instead.

func (*OtaFirmwareDeviceInfo) GetCreatedTime

func (x *OtaFirmwareDeviceInfo) GetCreatedTime() int64

func (*OtaFirmwareDeviceInfo) GetDestVersion

func (x *OtaFirmwareDeviceInfo) GetDestVersion() string

func (*OtaFirmwareDeviceInfo) GetDetail

func (x *OtaFirmwareDeviceInfo) GetDetail() string

func (*OtaFirmwareDeviceInfo) GetDeviceName

func (x *OtaFirmwareDeviceInfo) GetDeviceName() string

func (*OtaFirmwareDeviceInfo) GetFirmwareID

func (x *OtaFirmwareDeviceInfo) GetFirmwareID() int64

func (*OtaFirmwareDeviceInfo) GetId

func (x *OtaFirmwareDeviceInfo) GetId() int64

func (*OtaFirmwareDeviceInfo) GetJobID

func (x *OtaFirmwareDeviceInfo) GetJobID() int64

func (*OtaFirmwareDeviceInfo) GetProductID

func (x *OtaFirmwareDeviceInfo) GetProductID() string

func (*OtaFirmwareDeviceInfo) GetProductName

func (x *OtaFirmwareDeviceInfo) GetProductName() string

func (*OtaFirmwareDeviceInfo) GetSrcVersion

func (x *OtaFirmwareDeviceInfo) GetSrcVersion() string

func (*OtaFirmwareDeviceInfo) GetStatus

func (x *OtaFirmwareDeviceInfo) GetStatus() int64

func (*OtaFirmwareDeviceInfo) GetStep

func (x *OtaFirmwareDeviceInfo) GetStep() int64

func (*OtaFirmwareDeviceInfo) GetUpdatedTime

func (x *OtaFirmwareDeviceInfo) GetUpdatedTime() int64

func (*OtaFirmwareDeviceInfo) ProtoMessage

func (*OtaFirmwareDeviceInfo) ProtoMessage()

func (*OtaFirmwareDeviceInfo) ProtoReflect

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

func (*OtaFirmwareDeviceInfo) Reset

func (x *OtaFirmwareDeviceInfo) Reset()

func (*OtaFirmwareDeviceInfo) String

func (x *OtaFirmwareDeviceInfo) String() string

type OtaFirmwareDeviceRetryReq

type OtaFirmwareDeviceRetryReq struct {
	FirmwareID  int64    `protobuf:"varint,1,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`
	JobID       int64    `protobuf:"varint,2,opt,name=jobID,proto3" json:"jobID,omitempty"`
	DeviceNames []string `protobuf:"bytes,3,rep,name=deviceNames,proto3" json:"deviceNames,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaFirmwareDeviceRetryReq) Descriptor deprecated

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

Deprecated: Use OtaFirmwareDeviceRetryReq.ProtoReflect.Descriptor instead.

func (*OtaFirmwareDeviceRetryReq) GetDeviceNames

func (x *OtaFirmwareDeviceRetryReq) GetDeviceNames() []string

func (*OtaFirmwareDeviceRetryReq) GetFirmwareID

func (x *OtaFirmwareDeviceRetryReq) GetFirmwareID() int64

func (*OtaFirmwareDeviceRetryReq) GetJobID

func (x *OtaFirmwareDeviceRetryReq) GetJobID() int64

func (*OtaFirmwareDeviceRetryReq) ProtoMessage

func (*OtaFirmwareDeviceRetryReq) ProtoMessage()

func (*OtaFirmwareDeviceRetryReq) ProtoReflect

func (*OtaFirmwareDeviceRetryReq) Reset

func (x *OtaFirmwareDeviceRetryReq) Reset()

func (*OtaFirmwareDeviceRetryReq) String

func (x *OtaFirmwareDeviceRetryReq) String() string

type OtaFirmwareFile

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

func (*OtaFirmwareFile) Descriptor deprecated

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

Deprecated: Use OtaFirmwareFile.ProtoReflect.Descriptor instead.

func (*OtaFirmwareFile) GetFilePath

func (x *OtaFirmwareFile) GetFilePath() string

func (*OtaFirmwareFile) GetName

func (x *OtaFirmwareFile) GetName() string

func (*OtaFirmwareFile) ProtoMessage

func (*OtaFirmwareFile) ProtoMessage()

func (*OtaFirmwareFile) ProtoReflect

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

func (*OtaFirmwareFile) Reset

func (x *OtaFirmwareFile) Reset()

func (*OtaFirmwareFile) String

func (x *OtaFirmwareFile) String() string

type OtaFirmwareFileIndexReq

type OtaFirmwareFileIndexReq struct {
	Page       *PageInfo              `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	FirmwareID int64                  `protobuf:"varint,2,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`
	Size       *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaFirmwareFileIndexReq) Descriptor deprecated

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

Deprecated: Use OtaFirmwareFileIndexReq.ProtoReflect.Descriptor instead.

func (*OtaFirmwareFileIndexReq) GetFirmwareID

func (x *OtaFirmwareFileIndexReq) GetFirmwareID() int64

func (*OtaFirmwareFileIndexReq) GetPage

func (x *OtaFirmwareFileIndexReq) GetPage() *PageInfo

func (*OtaFirmwareFileIndexReq) GetSize

func (*OtaFirmwareFileIndexReq) ProtoMessage

func (*OtaFirmwareFileIndexReq) ProtoMessage()

func (*OtaFirmwareFileIndexReq) ProtoReflect

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

func (*OtaFirmwareFileIndexReq) Reset

func (x *OtaFirmwareFileIndexReq) Reset()

func (*OtaFirmwareFileIndexReq) String

func (x *OtaFirmwareFileIndexReq) String() string

type OtaFirmwareFileIndexResp

type OtaFirmwareFileIndexResp struct {
	List  []*OtaFirmwareFileInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64                  `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaFirmwareFileIndexResp) Descriptor deprecated

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

Deprecated: Use OtaFirmwareFileIndexResp.ProtoReflect.Descriptor instead.

func (*OtaFirmwareFileIndexResp) GetList

func (*OtaFirmwareFileIndexResp) GetTotal

func (x *OtaFirmwareFileIndexResp) GetTotal() int64

func (*OtaFirmwareFileIndexResp) ProtoMessage

func (*OtaFirmwareFileIndexResp) ProtoMessage()

func (*OtaFirmwareFileIndexResp) ProtoReflect

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

func (*OtaFirmwareFileIndexResp) Reset

func (x *OtaFirmwareFileIndexResp) Reset()

func (*OtaFirmwareFileIndexResp) String

func (x *OtaFirmwareFileIndexResp) String() string

type OtaFirmwareFileInfo

type OtaFirmwareFileInfo struct {
	FileID     int64  `protobuf:"varint,1,opt,name=fileID,proto3" json:"fileID,omitempty"`
	FirmwareID int64  `protobuf:"varint,2,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`
	Name       string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Host       string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"`
	FilePath   string `protobuf:"bytes,5,opt,name=filePath,proto3" json:"filePath,omitempty"`
	Size       int64  `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	Storage    string `protobuf:"bytes,7,opt,name=storage,proto3" json:"storage,omitempty"`
	SignMethod string `protobuf:"bytes,8,opt,name=signMethod,proto3" json:"signMethod,omitempty"`
	Signature  string `protobuf:"bytes,9,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaFirmwareFileInfo) Descriptor deprecated

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

Deprecated: Use OtaFirmwareFileInfo.ProtoReflect.Descriptor instead.

func (*OtaFirmwareFileInfo) GetFileID

func (x *OtaFirmwareFileInfo) GetFileID() int64

func (*OtaFirmwareFileInfo) GetFilePath

func (x *OtaFirmwareFileInfo) GetFilePath() string

func (*OtaFirmwareFileInfo) GetFirmwareID

func (x *OtaFirmwareFileInfo) GetFirmwareID() int64

func (*OtaFirmwareFileInfo) GetHost

func (x *OtaFirmwareFileInfo) GetHost() string

func (*OtaFirmwareFileInfo) GetName

func (x *OtaFirmwareFileInfo) GetName() string

func (*OtaFirmwareFileInfo) GetSignMethod

func (x *OtaFirmwareFileInfo) GetSignMethod() string

func (*OtaFirmwareFileInfo) GetSignature

func (x *OtaFirmwareFileInfo) GetSignature() string

func (*OtaFirmwareFileInfo) GetSize

func (x *OtaFirmwareFileInfo) GetSize() int64

func (*OtaFirmwareFileInfo) GetStorage

func (x *OtaFirmwareFileInfo) GetStorage() string

func (*OtaFirmwareFileInfo) ProtoMessage

func (*OtaFirmwareFileInfo) ProtoMessage()

func (*OtaFirmwareFileInfo) ProtoReflect

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

func (*OtaFirmwareFileInfo) Reset

func (x *OtaFirmwareFileInfo) Reset()

func (*OtaFirmwareFileInfo) String

func (x *OtaFirmwareFileInfo) String() string

type OtaFirmwareFileReq

type OtaFirmwareFileReq struct {
	FileID     int64  `protobuf:"varint,1,opt,name=fileID,proto3" json:"fileID,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Host       string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	FilePath   string `protobuf:"bytes,4,opt,name=filePath,proto3" json:"filePath,omitempty"`
	Size       int64  `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	Storage    string `protobuf:"bytes,6,opt,name=storage,proto3" json:"storage,omitempty"`
	SignMethod string `protobuf:"bytes,7,opt,name=signMethod,proto3" json:"signMethod,omitempty"`
	Signature  string `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaFirmwareFileReq) Descriptor deprecated

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

Deprecated: Use OtaFirmwareFileReq.ProtoReflect.Descriptor instead.

func (*OtaFirmwareFileReq) GetFileID

func (x *OtaFirmwareFileReq) GetFileID() int64

func (*OtaFirmwareFileReq) GetFilePath

func (x *OtaFirmwareFileReq) GetFilePath() string

func (*OtaFirmwareFileReq) GetHost

func (x *OtaFirmwareFileReq) GetHost() string

func (*OtaFirmwareFileReq) GetName

func (x *OtaFirmwareFileReq) GetName() string

func (*OtaFirmwareFileReq) GetSignMethod

func (x *OtaFirmwareFileReq) GetSignMethod() string

func (*OtaFirmwareFileReq) GetSignature

func (x *OtaFirmwareFileReq) GetSignature() string

func (*OtaFirmwareFileReq) GetSize

func (x *OtaFirmwareFileReq) GetSize() int64

func (*OtaFirmwareFileReq) GetStorage

func (x *OtaFirmwareFileReq) GetStorage() string

func (*OtaFirmwareFileReq) ProtoMessage

func (*OtaFirmwareFileReq) ProtoMessage()

func (*OtaFirmwareFileReq) ProtoReflect

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

func (*OtaFirmwareFileReq) Reset

func (x *OtaFirmwareFileReq) Reset()

func (*OtaFirmwareFileReq) String

func (x *OtaFirmwareFileReq) String() string

type OtaFirmwareFileResp

type OtaFirmwareFileResp struct {
	FileID   int64  `protobuf:"varint,1,opt,name=fileID,proto3" json:"fileID,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Host     string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	FilePath string `protobuf:"bytes,4,opt,name=filePath,proto3" json:"filePath,omitempty"`
	Size     int64  `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	Storage  string `protobuf:"bytes,6,opt,name=storage,proto3" json:"storage,omitempty"`
	//string signMethod = 7;
	Signature string `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaFirmwareFileResp) Descriptor deprecated

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

Deprecated: Use OtaFirmwareFileResp.ProtoReflect.Descriptor instead.

func (*OtaFirmwareFileResp) GetFileID

func (x *OtaFirmwareFileResp) GetFileID() int64

func (*OtaFirmwareFileResp) GetFilePath

func (x *OtaFirmwareFileResp) GetFilePath() string

func (*OtaFirmwareFileResp) GetHost

func (x *OtaFirmwareFileResp) GetHost() string

func (*OtaFirmwareFileResp) GetName

func (x *OtaFirmwareFileResp) GetName() string

func (*OtaFirmwareFileResp) GetSignature

func (x *OtaFirmwareFileResp) GetSignature() string

func (*OtaFirmwareFileResp) GetSize

func (x *OtaFirmwareFileResp) GetSize() int64

func (*OtaFirmwareFileResp) GetStorage

func (x *OtaFirmwareFileResp) GetStorage() string

func (*OtaFirmwareFileResp) ProtoMessage

func (*OtaFirmwareFileResp) ProtoMessage()

func (*OtaFirmwareFileResp) ProtoReflect

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

func (*OtaFirmwareFileResp) Reset

func (x *OtaFirmwareFileResp) Reset()

func (*OtaFirmwareFileResp) String

func (x *OtaFirmwareFileResp) String() string

type OtaFirmwareInfo

type OtaFirmwareInfo struct {
	Id             int64           `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                          //固件id
	Name           string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                       //固件升级包名称
	Version        string          `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`                 //版本号
	ProductID      string          `protobuf:"bytes,4,opt,name=productID,proto3" json:"productID,omitempty"`             //产品id
	ProductName    string          `protobuf:"bytes,5,opt,name=productName,proto3" json:"productName,omitempty"`         //产品名称
	Status         int64           `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`                  //状态
	CreatedTime    int64           `protobuf:"varint,7,opt,name=createdTime,proto3" json:"createdTime,omitempty"`        //添加时间
	SignMethod     string          `protobuf:"bytes,8,opt,name=signMethod,proto3" json:"signMethod,omitempty"`           //签名方式:MD5/SHA256
	Desc           string          `protobuf:"bytes,9,opt,name=desc,proto3" json:"desc,omitempty"`                       //文件描述
	Extra          string          `protobuf:"bytes,10,opt,name=extra,proto3" json:"extra,omitempty"`                    //推给设备端端消息
	FileList       []*FirmwareFile `protobuf:"bytes,11,rep,name=fileList,proto3" json:"fileList,omitempty"`              //文件列表
	IsDiff         int64           `protobuf:"varint,12,opt,name=isDiff,proto3" json:"isDiff,omitempty"`                 //整包or差包
	IsNeedToVerify int64           `protobuf:"varint,13,opt,name=isNeedToVerify,proto3" json:"isNeedToVerify,omitempty"` //是否需要验证
	ModuleCode     string          `protobuf:"bytes,14,opt,name=moduleCode,proto3" json:"moduleCode,omitempty"`          //模块编码
	// contains filtered or unexported fields
}

func (*OtaFirmwareInfo) Descriptor deprecated

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

Deprecated: Use OtaFirmwareInfo.ProtoReflect.Descriptor instead.

func (*OtaFirmwareInfo) GetCreatedTime

func (x *OtaFirmwareInfo) GetCreatedTime() int64

func (*OtaFirmwareInfo) GetDesc

func (x *OtaFirmwareInfo) GetDesc() string

func (*OtaFirmwareInfo) GetExtra

func (x *OtaFirmwareInfo) GetExtra() string

func (*OtaFirmwareInfo) GetFileList

func (x *OtaFirmwareInfo) GetFileList() []*FirmwareFile

func (*OtaFirmwareInfo) GetId

func (x *OtaFirmwareInfo) GetId() int64

func (*OtaFirmwareInfo) GetIsDiff

func (x *OtaFirmwareInfo) GetIsDiff() int64

func (*OtaFirmwareInfo) GetIsNeedToVerify

func (x *OtaFirmwareInfo) GetIsNeedToVerify() int64

func (*OtaFirmwareInfo) GetModuleCode

func (x *OtaFirmwareInfo) GetModuleCode() string

func (*OtaFirmwareInfo) GetName

func (x *OtaFirmwareInfo) GetName() string

func (*OtaFirmwareInfo) GetProductID

func (x *OtaFirmwareInfo) GetProductID() string

func (*OtaFirmwareInfo) GetProductName

func (x *OtaFirmwareInfo) GetProductName() string

func (*OtaFirmwareInfo) GetSignMethod

func (x *OtaFirmwareInfo) GetSignMethod() string

func (*OtaFirmwareInfo) GetStatus

func (x *OtaFirmwareInfo) GetStatus() int64

func (*OtaFirmwareInfo) GetVersion

func (x *OtaFirmwareInfo) GetVersion() string

func (*OtaFirmwareInfo) ProtoMessage

func (*OtaFirmwareInfo) ProtoMessage()

func (*OtaFirmwareInfo) ProtoReflect

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

func (*OtaFirmwareInfo) Reset

func (x *OtaFirmwareInfo) Reset()

func (*OtaFirmwareInfo) String

func (x *OtaFirmwareInfo) String() string

type OtaFirmwareInfoCreateReq

type OtaFirmwareInfoCreateReq struct {
	ProductID string `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"` //产品id
	Name      string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`           //固件升级包名称
	//*
	//当前OTA升级包的版本号,仅支持英文字母、数字、半角句号(.)、短划线(-)和下划线(_)。长度限制为1~64个字符。
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` //版本号
	//*
	//OTA升级包签名方法。取值:
	//MD5(默认):MD5签名。
	//SHA256:SHA256签名。
	SignMethod string `protobuf:"bytes,6,opt,name=signMethod,proto3" json:"signMethod,omitempty"` //签名方法
	Desc       string `protobuf:"bytes,9,opt,name=desc,proto3" json:"desc,omitempty"`             //文件描述
	//*
	//OTA升级包类型。可选:
	//0:整包升级包,您上传的升级包文件包含完整的升级包,将推送整包升级包给设备进行升级。
	//1:差分升级包,您上传的升级包文件仅包含新版本升级包与之前版本的差异部分,仅推送差异部分给设备进行升级。
	//不传入此参数,则默认值为0。
	IsDiff         int64                   `protobuf:"varint,10,opt,name=isDiff,proto3" json:"isDiff,omitempty"` //升级包类型
	SrcVersion     string                  `protobuf:"bytes,12,opt,name=srcVersion,proto3" json:"srcVersion,omitempty"`
	IsNeedToVerify int64                   `protobuf:"varint,13,opt,name=isNeedToVerify,proto3" json:"isNeedToVerify,omitempty"` //是否需要验证
	Extra          *wrapperspb.StringValue `protobuf:"bytes,14,opt,name=extra,proto3" json:"extra,omitempty"`                    //自定义数据
	FilePaths      []string                `protobuf:"bytes,15,rep,name=filePaths,proto3" json:"filePaths,omitempty"`
	ModuleCode     string                  `protobuf:"bytes,16,opt,name=moduleCode,proto3" json:"moduleCode,omitempty"` //模块编码
	// contains filtered or unexported fields
}

func (*OtaFirmwareInfoCreateReq) Descriptor deprecated

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

Deprecated: Use OtaFirmwareInfoCreateReq.ProtoReflect.Descriptor instead.

func (*OtaFirmwareInfoCreateReq) GetDesc

func (x *OtaFirmwareInfoCreateReq) GetDesc() string

func (*OtaFirmwareInfoCreateReq) GetExtra

func (*OtaFirmwareInfoCreateReq) GetFilePaths

func (x *OtaFirmwareInfoCreateReq) GetFilePaths() []string

func (*OtaFirmwareInfoCreateReq) GetIsDiff

func (x *OtaFirmwareInfoCreateReq) GetIsDiff() int64

func (*OtaFirmwareInfoCreateReq) GetIsNeedToVerify

func (x *OtaFirmwareInfoCreateReq) GetIsNeedToVerify() int64

func (*OtaFirmwareInfoCreateReq) GetModuleCode

func (x *OtaFirmwareInfoCreateReq) GetModuleCode() string

func (*OtaFirmwareInfoCreateReq) GetName

func (x *OtaFirmwareInfoCreateReq) GetName() string

func (*OtaFirmwareInfoCreateReq) GetProductID

func (x *OtaFirmwareInfoCreateReq) GetProductID() string

func (*OtaFirmwareInfoCreateReq) GetSignMethod

func (x *OtaFirmwareInfoCreateReq) GetSignMethod() string

func (*OtaFirmwareInfoCreateReq) GetSrcVersion

func (x *OtaFirmwareInfoCreateReq) GetSrcVersion() string

func (*OtaFirmwareInfoCreateReq) GetVersion

func (x *OtaFirmwareInfoCreateReq) GetVersion() string

func (*OtaFirmwareInfoCreateReq) ProtoMessage

func (*OtaFirmwareInfoCreateReq) ProtoMessage()

func (*OtaFirmwareInfoCreateReq) ProtoReflect

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

func (*OtaFirmwareInfoCreateReq) Reset

func (x *OtaFirmwareInfoCreateReq) Reset()

func (*OtaFirmwareInfoCreateReq) String

func (x *OtaFirmwareInfoCreateReq) String() string

type OtaFirmwareInfoIndexReq

type OtaFirmwareInfoIndexReq struct {
	Page      *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`           //分页
	ProductID string    `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"` //产品id
	Name      string    `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`           //产品名称
	// contains filtered or unexported fields
}

func (*OtaFirmwareInfoIndexReq) Descriptor deprecated

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

Deprecated: Use OtaFirmwareInfoIndexReq.ProtoReflect.Descriptor instead.

func (*OtaFirmwareInfoIndexReq) GetName

func (x *OtaFirmwareInfoIndexReq) GetName() string

func (*OtaFirmwareInfoIndexReq) GetPage

func (x *OtaFirmwareInfoIndexReq) GetPage() *PageInfo

func (*OtaFirmwareInfoIndexReq) GetProductID

func (x *OtaFirmwareInfoIndexReq) GetProductID() string

func (*OtaFirmwareInfoIndexReq) ProtoMessage

func (*OtaFirmwareInfoIndexReq) ProtoMessage()

func (*OtaFirmwareInfoIndexReq) ProtoReflect

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

func (*OtaFirmwareInfoIndexReq) Reset

func (x *OtaFirmwareInfoIndexReq) Reset()

func (*OtaFirmwareInfoIndexReq) String

func (x *OtaFirmwareInfoIndexReq) String() string

type OtaFirmwareInfoIndexResp

type OtaFirmwareInfoIndexResp struct {
	List  []*OtaFirmwareInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64              `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaFirmwareInfoIndexResp) Descriptor deprecated

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

Deprecated: Use OtaFirmwareInfoIndexResp.ProtoReflect.Descriptor instead.

func (*OtaFirmwareInfoIndexResp) GetList

func (x *OtaFirmwareInfoIndexResp) GetList() []*OtaFirmwareInfo

func (*OtaFirmwareInfoIndexResp) GetTotal

func (x *OtaFirmwareInfoIndexResp) GetTotal() int64

func (*OtaFirmwareInfoIndexResp) ProtoMessage

func (*OtaFirmwareInfoIndexResp) ProtoMessage()

func (*OtaFirmwareInfoIndexResp) ProtoReflect

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

func (*OtaFirmwareInfoIndexResp) Reset

func (x *OtaFirmwareInfoIndexResp) Reset()

func (*OtaFirmwareInfoIndexResp) String

func (x *OtaFirmwareInfoIndexResp) String() string

type OtaFirmwareInfoUpdateReq

type OtaFirmwareInfoUpdateReq struct {
	Id    int64                   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`       //固件id
	Name  string                  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`    //固件升级包名称
	Desc  string                  `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`    //文件描述
	Extra *wrapperspb.StringValue `protobuf:"bytes,14,opt,name=extra,proto3" json:"extra,omitempty"` //推送设备端的信息
	// contains filtered or unexported fields
}

func (*OtaFirmwareInfoUpdateReq) Descriptor deprecated

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

Deprecated: Use OtaFirmwareInfoUpdateReq.ProtoReflect.Descriptor instead.

func (*OtaFirmwareInfoUpdateReq) GetDesc

func (x *OtaFirmwareInfoUpdateReq) GetDesc() string

func (*OtaFirmwareInfoUpdateReq) GetExtra

func (*OtaFirmwareInfoUpdateReq) GetId

func (x *OtaFirmwareInfoUpdateReq) GetId() int64

func (*OtaFirmwareInfoUpdateReq) GetName

func (x *OtaFirmwareInfoUpdateReq) GetName() string

func (*OtaFirmwareInfoUpdateReq) ProtoMessage

func (*OtaFirmwareInfoUpdateReq) ProtoMessage()

func (*OtaFirmwareInfoUpdateReq) ProtoReflect

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

func (*OtaFirmwareInfoUpdateReq) Reset

func (x *OtaFirmwareInfoUpdateReq) Reset()

func (*OtaFirmwareInfoUpdateReq) String

func (x *OtaFirmwareInfoUpdateReq) String() string

type OtaFirmwareJobIndexReq

type OtaFirmwareJobIndexReq struct {
	Page       *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	FirmwareID int64     `protobuf:"varint,2,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`
	ProductID  string    `protobuf:"bytes,3,opt,name=productID,proto3" json:"productID,omitempty"`
	DeviceName string    `protobuf:"bytes,4,opt,name=deviceName,proto3" json:"deviceName,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaFirmwareJobIndexReq) Descriptor deprecated

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

Deprecated: Use OtaFirmwareJobIndexReq.ProtoReflect.Descriptor instead.

func (*OtaFirmwareJobIndexReq) GetDeviceName

func (x *OtaFirmwareJobIndexReq) GetDeviceName() string

func (*OtaFirmwareJobIndexReq) GetFirmwareID

func (x *OtaFirmwareJobIndexReq) GetFirmwareID() int64

func (*OtaFirmwareJobIndexReq) GetPage

func (x *OtaFirmwareJobIndexReq) GetPage() *PageInfo

func (*OtaFirmwareJobIndexReq) GetProductID

func (x *OtaFirmwareJobIndexReq) GetProductID() string

func (*OtaFirmwareJobIndexReq) ProtoMessage

func (*OtaFirmwareJobIndexReq) ProtoMessage()

func (*OtaFirmwareJobIndexReq) ProtoReflect

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

func (*OtaFirmwareJobIndexReq) Reset

func (x *OtaFirmwareJobIndexReq) Reset()

func (*OtaFirmwareJobIndexReq) String

func (x *OtaFirmwareJobIndexReq) String() string

type OtaFirmwareJobIndexResp

type OtaFirmwareJobIndexResp struct {
	List  []*OtaFirmwareJobInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64                 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaFirmwareJobIndexResp) Descriptor deprecated

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

Deprecated: Use OtaFirmwareJobIndexResp.ProtoReflect.Descriptor instead.

func (*OtaFirmwareJobIndexResp) GetList

func (*OtaFirmwareJobIndexResp) GetTotal

func (x *OtaFirmwareJobIndexResp) GetTotal() int64

func (*OtaFirmwareJobIndexResp) ProtoMessage

func (*OtaFirmwareJobIndexResp) ProtoMessage()

func (*OtaFirmwareJobIndexResp) ProtoReflect

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

func (*OtaFirmwareJobIndexResp) Reset

func (x *OtaFirmwareJobIndexResp) Reset()

func (*OtaFirmwareJobIndexResp) String

func (x *OtaFirmwareJobIndexResp) String() string

type OtaFirmwareJobInfo

type OtaFirmwareJobInfo struct {
	Id          int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	FirmwareID  int64 `protobuf:"varint,2,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`   // 升级包ID,升级包的唯一标识符。
	Type        int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`               // 升级包所属产品的JobType。 验证升级包:1  批量升级:2
	Status      int64 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`           // 批次状态,计划中:1  执行中:2  已完成:3  已取消:4
	UpgradeType int64 `protobuf:"varint,5,opt,name=upgradeType,proto3" json:"upgradeType,omitempty"` // 升级策略,1-静态,2-动态
	//
	//待升级版本号列表。
	//发起全量升级(TargetSelection=ALL)和灰度升级(TargetSelection=GRAY)任务时,可以传入该参数。
	//使用差分升级包发起全量升级和灰度升级任务时,该参数值需指定为差分升级包的待升级版本号(SrcVersion)。
	//发起定向升级(TargetSelection=SPECIFIC)或分组升级(TargetSelection=GROUP)任务时,不能传入该参数。
	//可以调用 QueryDeviceDetail ,查看设备 OTA 模块版本号(FirmwareVersion)。
	//列表中不能有重复的版本号。
	//最多可传入 10 个版本号。
	SrcVersions      []string `protobuf:"bytes,6,rep,name=srcVersions,proto3" json:"srcVersions,omitempty"`             // 待升级版本号列表。最多可传入10个版本号。用逗号分隔多个版本号
	RetryInterval    int64    `protobuf:"varint,7,opt,name=retryInterval,proto3" json:"retryInterval,omitempty"`        // 设备升级失败后,自动重试的时间间隔,单位为分钟。 动态升级 静态升级 -1 为不重试
	RetryCount       int64    `protobuf:"varint,8,opt,name=retryCount,proto3" json:"retryCount,omitempty"`              // 自动重试次数。1/2/5次 动态升级 静态升级
	TimeoutInMinutes int64    `protobuf:"varint,9,opt,name=timeoutInMinutes,proto3" json:"timeoutInMinutes,omitempty"`  // 设备升级超时时间,单位为分钟。 动态升级 静态升级
	MaximumPerMinute int64    `protobuf:"varint,10,opt,name=maximumPerMinute,proto3" json:"maximumPerMinute,omitempty"` // 每分钟最多向多少个设备推送升级包下载URL。 动态升级 静态升级
	//
	//是否覆盖之前的升级任务。取值:
	//
	//2(默认):不覆盖。若设备已有升级任务,则只执行已有任务。
	//1:覆盖。设备只执行新的升级任务。此时 MultiModuleMode 不能传入 true。
	//动态升级 静态升级
	IsOverwriteMode int64 `protobuf:"varint,11,opt,name=isOverwriteMode,proto3" json:"isOverwriteMode,omitempty"` // 是否覆盖之前的升级任务。取值:1(不覆盖)、2(覆盖)。
	//
	//物联网平台是否主动向设备推送升级任务。
	//1(默认):是。批次任务创建完成后,物联网平台主动将升级任务,直接推送给升级范围内的在线设备。
	//此时,设备仍可主动向物联网平台发起请求,来获取 OTA 升级任务信息。
	//2:否。设备必须通过向物联网平台发起请求,来获取 OTA 升级任务信息。
	//动态升级
	IsNeedPush int64 `protobuf:"varint,12,opt,name=isNeedPush,proto3" json:"isNeedPush,omitempty"` // 物联网平台是否主动向设备推送升级任务。
	//
	//如需自主控制设备 OTA 升级时,可配置此参数,通过手机 App 来控制,设备是否可进行 OTA 升级。手机 App 需您自行开发。
	//2(默认):否。直接按照 NeedPush 设置,获取 OTA 升级任务信息。
	//1:是。设备无法获取 OTA 升级任务,需 App 侧确认 OTA 升级后,才能按照 NeedPush 设置,获取 OTA 升级任务信息。
	IsNeedConfirm   int64              `protobuf:"varint,13,opt,name=isNeedConfirm,proto3" json:"isNeedConfirm,omitempty"`
	TargetSelection int64              `protobuf:"varint,14,opt,name=targetSelection,proto3" json:"targetSelection,omitempty"` //升级范围。 1:全量升级。 2:定向升级。 3:灰度升级。 4:分组升级(不做) 5: 区域升级(不做)
	Dynamic         *OtaJobDynamicInfo `protobuf:"bytes,15,opt,name=dynamic,proto3" json:"dynamic,omitempty"`
	Static          *OtaJobStaticInfo  `protobuf:"bytes,16,opt,name=static,proto3" json:"static,omitempty"`
	Target          string             `protobuf:"bytes,17,opt,name=target,proto3" json:"target,omitempty"`           //分组升级和区域升级填写对应的id
	TenantCodes     []string           `protobuf:"bytes,18,rep,name=tenantCodes,proto3" json:"tenantCodes,omitempty"` //指定租户
	CreatedTime     int64              `protobuf:"varint,19,opt,name=createdTime,proto3" json:"createdTime,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaFirmwareJobInfo) Descriptor deprecated

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

Deprecated: Use OtaFirmwareJobInfo.ProtoReflect.Descriptor instead.

func (*OtaFirmwareJobInfo) GetCreatedTime

func (x *OtaFirmwareJobInfo) GetCreatedTime() int64

func (*OtaFirmwareJobInfo) GetDynamic

func (x *OtaFirmwareJobInfo) GetDynamic() *OtaJobDynamicInfo

func (*OtaFirmwareJobInfo) GetFirmwareID

func (x *OtaFirmwareJobInfo) GetFirmwareID() int64

func (*OtaFirmwareJobInfo) GetId

func (x *OtaFirmwareJobInfo) GetId() int64

func (*OtaFirmwareJobInfo) GetIsNeedConfirm

func (x *OtaFirmwareJobInfo) GetIsNeedConfirm() int64

func (*OtaFirmwareJobInfo) GetIsNeedPush

func (x *OtaFirmwareJobInfo) GetIsNeedPush() int64

func (*OtaFirmwareJobInfo) GetIsOverwriteMode

func (x *OtaFirmwareJobInfo) GetIsOverwriteMode() int64

func (*OtaFirmwareJobInfo) GetMaximumPerMinute

func (x *OtaFirmwareJobInfo) GetMaximumPerMinute() int64

func (*OtaFirmwareJobInfo) GetRetryCount

func (x *OtaFirmwareJobInfo) GetRetryCount() int64

func (*OtaFirmwareJobInfo) GetRetryInterval

func (x *OtaFirmwareJobInfo) GetRetryInterval() int64

func (*OtaFirmwareJobInfo) GetSrcVersions

func (x *OtaFirmwareJobInfo) GetSrcVersions() []string

func (*OtaFirmwareJobInfo) GetStatic

func (x *OtaFirmwareJobInfo) GetStatic() *OtaJobStaticInfo

func (*OtaFirmwareJobInfo) GetStatus

func (x *OtaFirmwareJobInfo) GetStatus() int64

func (*OtaFirmwareJobInfo) GetTarget

func (x *OtaFirmwareJobInfo) GetTarget() string

func (*OtaFirmwareJobInfo) GetTargetSelection

func (x *OtaFirmwareJobInfo) GetTargetSelection() int64

func (*OtaFirmwareJobInfo) GetTenantCodes

func (x *OtaFirmwareJobInfo) GetTenantCodes() []string

func (*OtaFirmwareJobInfo) GetTimeoutInMinutes

func (x *OtaFirmwareJobInfo) GetTimeoutInMinutes() int64

func (*OtaFirmwareJobInfo) GetType

func (x *OtaFirmwareJobInfo) GetType() int64

func (*OtaFirmwareJobInfo) GetUpgradeType

func (x *OtaFirmwareJobInfo) GetUpgradeType() int64

func (*OtaFirmwareJobInfo) ProtoMessage

func (*OtaFirmwareJobInfo) ProtoMessage()

func (*OtaFirmwareJobInfo) ProtoReflect

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

func (*OtaFirmwareJobInfo) Reset

func (x *OtaFirmwareJobInfo) Reset()

func (*OtaFirmwareJobInfo) String

func (x *OtaFirmwareJobInfo) String() string

type OtaJobByDeviceIndexReq

type OtaJobByDeviceIndexReq struct {
	PageInfo   *PageInfo `protobuf:"bytes,1,opt,name=pageInfo,proto3" json:"pageInfo,omitempty"`
	FirmwareID int64     `protobuf:"varint,2,opt,name=firmwareID,proto3" json:"firmwareID,omitempty"`
	ProductID  string    `protobuf:"bytes,3,opt,name=productID,proto3" json:"productID,omitempty"`
	DeviceName string    `protobuf:"bytes,4,opt,name=deviceName,proto3" json:"deviceName,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaJobByDeviceIndexReq) Descriptor deprecated

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

Deprecated: Use OtaJobByDeviceIndexReq.ProtoReflect.Descriptor instead.

func (*OtaJobByDeviceIndexReq) GetDeviceName

func (x *OtaJobByDeviceIndexReq) GetDeviceName() string

func (*OtaJobByDeviceIndexReq) GetFirmwareID

func (x *OtaJobByDeviceIndexReq) GetFirmwareID() int64

func (*OtaJobByDeviceIndexReq) GetPageInfo

func (x *OtaJobByDeviceIndexReq) GetPageInfo() *PageInfo

func (*OtaJobByDeviceIndexReq) GetProductID

func (x *OtaJobByDeviceIndexReq) GetProductID() string

func (*OtaJobByDeviceIndexReq) ProtoMessage

func (*OtaJobByDeviceIndexReq) ProtoMessage()

func (*OtaJobByDeviceIndexReq) ProtoReflect

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

func (*OtaJobByDeviceIndexReq) Reset

func (x *OtaJobByDeviceIndexReq) Reset()

func (*OtaJobByDeviceIndexReq) String

func (x *OtaJobByDeviceIndexReq) String() string

type OtaJobDynamicInfo

type OtaJobDynamicInfo struct {

	//
	//动态升级模式。取值范围:
	//1(默认):除了升级当前满足升级条件的设备,还将持续检查设备是否满足升级条件,对满足升级条件的设备进行升级。
	//2:仅对后续上报新版本号的设备生效。
	//动态升级
	DynamicMode int64 `protobuf:"varint,1,opt,name=dynamicMode,proto3" json:"dynamicMode,omitempty"` //
	// contains filtered or unexported fields
}

func (*OtaJobDynamicInfo) Descriptor deprecated

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

Deprecated: Use OtaJobDynamicInfo.ProtoReflect.Descriptor instead.

func (*OtaJobDynamicInfo) GetDynamicMode

func (x *OtaJobDynamicInfo) GetDynamicMode() int64

func (*OtaJobDynamicInfo) ProtoMessage

func (*OtaJobDynamicInfo) ProtoMessage()

func (*OtaJobDynamicInfo) ProtoReflect

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

func (*OtaJobDynamicInfo) Reset

func (x *OtaJobDynamicInfo) Reset()

func (*OtaJobDynamicInfo) String

func (x *OtaJobDynamicInfo) String() string

type OtaJobStaticInfo

type OtaJobStaticInfo struct {

	//
	//定向升级的设备名称列表。
	//使用差分升级包进行定向升级时,要升级的设备的当前 OTA 模块版本号需与差分升级包的待升级版本号(SrcVersion)相同。
	//可以调用 QueryDeviceDetail ,查看设备 OTA 模块版本号(FirmwareVersion)。
	//列表中的设备所属的产品必须与升级包所属产品一致。
	//列表中不能有重复的设备名称。
	//最多可传入 200 个设备名称。
	//静态升级
	TargetDeviceNames []string `protobuf:"bytes,1,rep,name=targetDeviceNames,proto3" json:"targetDeviceNames,omitempty"` // 定向升级的设备名称列表。最多可传入200个设备名称。以逗号分隔
	//
	//指定结束升级的时间。
	//结束时间距发起时间(ScheduleTime)最少 1 小时,最多为 30 天。取值为 13 位毫秒值时间戳。
	//不传入该参数,则表示不会强制结束升级。
	//静态升级
	ScheduleFinishTime int64 `protobuf:"varint,2,opt,name=scheduleFinishTime,proto3" json:"scheduleFinishTime,omitempty"` // 指定结束升级的时间,单位为毫秒。
	//
	//指定发起 OTA 升级的时间。
	//定时时间范围需为当前时间的 5 分钟后至 7 天内。取值为秒时间戳。
	//不传入该参数,则表示立即升级。
	//静态升级
	ScheduleTime int64 `protobuf:"varint,3,opt,name=scheduleTime,proto3" json:"scheduleTime,omitempty"`
	GrayPercent  int64 `protobuf:"varint,4,opt,name=grayPercent,proto3" json:"grayPercent,omitempty"` //灰度的范围,小数点后两位, 1.23%为 123
	// contains filtered or unexported fields
}

func (*OtaJobStaticInfo) Descriptor deprecated

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

Deprecated: Use OtaJobStaticInfo.ProtoReflect.Descriptor instead.

func (*OtaJobStaticInfo) GetGrayPercent

func (x *OtaJobStaticInfo) GetGrayPercent() int64

func (*OtaJobStaticInfo) GetScheduleFinishTime

func (x *OtaJobStaticInfo) GetScheduleFinishTime() int64

func (*OtaJobStaticInfo) GetScheduleTime

func (x *OtaJobStaticInfo) GetScheduleTime() int64

func (*OtaJobStaticInfo) GetTargetDeviceNames

func (x *OtaJobStaticInfo) GetTargetDeviceNames() []string

func (*OtaJobStaticInfo) ProtoMessage

func (*OtaJobStaticInfo) ProtoMessage()

func (*OtaJobStaticInfo) ProtoReflect

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

func (*OtaJobStaticInfo) Reset

func (x *OtaJobStaticInfo) Reset()

func (*OtaJobStaticInfo) String

func (x *OtaJobStaticInfo) String() string

type OtaManageClient

type OtaManageClient interface {
	//添加升级包
	OtaFirmwareInfoCreate(ctx context.Context, in *OtaFirmwareInfoCreateReq, opts ...grpc.CallOption) (*WithID, error)
	//修改升级包
	OtaFirmwareInfoUpdate(ctx context.Context, in *OtaFirmwareInfoUpdateReq, opts ...grpc.CallOption) (*WithID, error)
	//删除升级包
	OtaFirmwareInfoDelete(ctx context.Context, in *WithID, opts ...grpc.CallOption) (*Empty, error)
	//升级包列表
	OtaFirmwareInfoIndex(ctx context.Context, in *OtaFirmwareInfoIndexReq, opts ...grpc.CallOption) (*OtaFirmwareInfoIndexResp, error)
	//查询升级包
	OtaFirmwareInfoRead(ctx context.Context, in *WithID, opts ...grpc.CallOption) (*OtaFirmwareInfo, error)
	//创建静态升级批次
	OtaFirmwareJobCreate(ctx context.Context, in *OtaFirmwareJobInfo, opts ...grpc.CallOption) (*WithID, error)
	//获取升级包下的升级任务批次列表
	OtaFirmwareJobIndex(ctx context.Context, in *OtaFirmwareJobIndexReq, opts ...grpc.CallOption) (*OtaFirmwareJobIndexResp, error)
	//查询指定升级批次的详情
	OtaFirmwareJobRead(ctx context.Context, in *WithID, opts ...grpc.CallOption) (*OtaFirmwareJobInfo, error)
	//取消动态升级策略
	OtaFirmwareJobUpdate(ctx context.Context, in *OtaFirmwareJobInfo, opts ...grpc.CallOption) (*Empty, error)
	//查询指定升级批次下的设备升级作业列表
	OtaFirmwareDeviceIndex(ctx context.Context, in *OtaFirmwareDeviceIndexReq, opts ...grpc.CallOption) (*OtaFirmwareDeviceIndexResp, error)
	//取消指定批次下的设备升级作业
	OtaFirmwareDeviceCancel(ctx context.Context, in *OtaFirmwareDeviceCancelReq, opts ...grpc.CallOption) (*Empty, error)
	//重新升级指定批次下升级失败或升级取消的设备升级作业
	OtaFirmwareDeviceRetry(ctx context.Context, in *OtaFirmwareDeviceRetryReq, opts ...grpc.CallOption) (*Empty, error)
	//app确认设备升级
	OtaFirmwareDeviceConfirm(ctx context.Context, in *OtaFirmwareDeviceConfirmReq, opts ...grpc.CallOption) (*Empty, error)
	OtaModuleInfoCreate(ctx context.Context, in *OtaModuleInfo, opts ...grpc.CallOption) (*WithID, error)
	OtaModuleInfoUpdate(ctx context.Context, in *OtaModuleInfo, opts ...grpc.CallOption) (*Empty, error)
	OtaModuleInfoDelete(ctx context.Context, in *WithID, opts ...grpc.CallOption) (*Empty, error)
	OtaModuleInfoIndex(ctx context.Context, in *OtaModuleInfoIndexReq, opts ...grpc.CallOption) (*OtaModuleInfoIndexResp, error)
	OtaModuleInfoRead(ctx context.Context, in *WithIDCode, opts ...grpc.CallOption) (*OtaModuleInfo, error)
}

OtaManageClient is the client API for OtaManage 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 NewOtaManageClient

func NewOtaManageClient(cc grpc.ClientConnInterface) OtaManageClient

type OtaManageServer

type OtaManageServer interface {
	//添加升级包
	OtaFirmwareInfoCreate(context.Context, *OtaFirmwareInfoCreateReq) (*WithID, error)
	//修改升级包
	OtaFirmwareInfoUpdate(context.Context, *OtaFirmwareInfoUpdateReq) (*WithID, error)
	//删除升级包
	OtaFirmwareInfoDelete(context.Context, *WithID) (*Empty, error)
	//升级包列表
	OtaFirmwareInfoIndex(context.Context, *OtaFirmwareInfoIndexReq) (*OtaFirmwareInfoIndexResp, error)
	//查询升级包
	OtaFirmwareInfoRead(context.Context, *WithID) (*OtaFirmwareInfo, error)
	//创建静态升级批次
	OtaFirmwareJobCreate(context.Context, *OtaFirmwareJobInfo) (*WithID, error)
	//获取升级包下的升级任务批次列表
	OtaFirmwareJobIndex(context.Context, *OtaFirmwareJobIndexReq) (*OtaFirmwareJobIndexResp, error)
	//查询指定升级批次的详情
	OtaFirmwareJobRead(context.Context, *WithID) (*OtaFirmwareJobInfo, error)
	//取消动态升级策略
	OtaFirmwareJobUpdate(context.Context, *OtaFirmwareJobInfo) (*Empty, error)
	//查询指定升级批次下的设备升级作业列表
	OtaFirmwareDeviceIndex(context.Context, *OtaFirmwareDeviceIndexReq) (*OtaFirmwareDeviceIndexResp, error)
	//取消指定批次下的设备升级作业
	OtaFirmwareDeviceCancel(context.Context, *OtaFirmwareDeviceCancelReq) (*Empty, error)
	//重新升级指定批次下升级失败或升级取消的设备升级作业
	OtaFirmwareDeviceRetry(context.Context, *OtaFirmwareDeviceRetryReq) (*Empty, error)
	//app确认设备升级
	OtaFirmwareDeviceConfirm(context.Context, *OtaFirmwareDeviceConfirmReq) (*Empty, error)
	OtaModuleInfoCreate(context.Context, *OtaModuleInfo) (*WithID, error)
	OtaModuleInfoUpdate(context.Context, *OtaModuleInfo) (*Empty, error)
	OtaModuleInfoDelete(context.Context, *WithID) (*Empty, error)
	OtaModuleInfoIndex(context.Context, *OtaModuleInfoIndexReq) (*OtaModuleInfoIndexResp, error)
	OtaModuleInfoRead(context.Context, *WithIDCode) (*OtaModuleInfo, error)
	// contains filtered or unexported methods
}

OtaManageServer is the server API for OtaManage service. All implementations must embed UnimplementedOtaManageServer for forward compatibility

type OtaModuleInfo

type OtaModuleInfo struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Code        string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,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"`
	ProductID   string `protobuf:"bytes,5,opt,name=productID,proto3" json:"productID,omitempty"`
	CreatedTime int64  `protobuf:"varint,6,opt,name=createdTime,proto3" json:"createdTime,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaModuleInfo) Descriptor deprecated

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

Deprecated: Use OtaModuleInfo.ProtoReflect.Descriptor instead.

func (*OtaModuleInfo) GetCode

func (x *OtaModuleInfo) GetCode() string

func (*OtaModuleInfo) GetCreatedTime

func (x *OtaModuleInfo) GetCreatedTime() int64

func (*OtaModuleInfo) GetDesc

func (x *OtaModuleInfo) GetDesc() string

func (*OtaModuleInfo) GetId

func (x *OtaModuleInfo) GetId() int64

func (*OtaModuleInfo) GetName

func (x *OtaModuleInfo) GetName() string

func (*OtaModuleInfo) GetProductID

func (x *OtaModuleInfo) GetProductID() string

func (*OtaModuleInfo) ProtoMessage

func (*OtaModuleInfo) ProtoMessage()

func (*OtaModuleInfo) ProtoReflect

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

func (*OtaModuleInfo) Reset

func (x *OtaModuleInfo) Reset()

func (*OtaModuleInfo) String

func (x *OtaModuleInfo) String() string

type OtaModuleInfoIndexReq

type OtaModuleInfoIndexReq struct {
	Page      *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	Name      string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ProductID string    `protobuf:"bytes,3,opt,name=productID,proto3" json:"productID,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaModuleInfoIndexReq) Descriptor deprecated

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

Deprecated: Use OtaModuleInfoIndexReq.ProtoReflect.Descriptor instead.

func (*OtaModuleInfoIndexReq) GetName

func (x *OtaModuleInfoIndexReq) GetName() string

func (*OtaModuleInfoIndexReq) GetPage

func (x *OtaModuleInfoIndexReq) GetPage() *PageInfo

func (*OtaModuleInfoIndexReq) GetProductID

func (x *OtaModuleInfoIndexReq) GetProductID() string

func (*OtaModuleInfoIndexReq) ProtoMessage

func (*OtaModuleInfoIndexReq) ProtoMessage()

func (*OtaModuleInfoIndexReq) ProtoReflect

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

func (*OtaModuleInfoIndexReq) Reset

func (x *OtaModuleInfoIndexReq) Reset()

func (*OtaModuleInfoIndexReq) String

func (x *OtaModuleInfoIndexReq) String() string

type OtaModuleInfoIndexResp

type OtaModuleInfoIndexResp struct {
	Total int64            `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*OtaModuleInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*OtaModuleInfoIndexResp) Descriptor deprecated

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

Deprecated: Use OtaModuleInfoIndexResp.ProtoReflect.Descriptor instead.

func (*OtaModuleInfoIndexResp) GetList

func (x *OtaModuleInfoIndexResp) GetList() []*OtaModuleInfo

func (*OtaModuleInfoIndexResp) GetTotal

func (x *OtaModuleInfoIndexResp) GetTotal() int64

func (*OtaModuleInfoIndexResp) ProtoMessage

func (*OtaModuleInfoIndexResp) ProtoMessage()

func (*OtaModuleInfoIndexResp) ProtoReflect

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

func (*OtaModuleInfoIndexResp) Reset

func (x *OtaModuleInfoIndexResp) Reset()

func (*OtaModuleInfoIndexResp) String

func (x *OtaModuleInfoIndexResp) String() string

type PageInfo

type PageInfo struct {
	Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	//排序信息
	Orders []*PageInfo_OrderBy `protobuf:"bytes,3,rep,name=orders,proto3" json:"orders,omitempty"`
	// contains filtered or unexported fields
}

func (*PageInfo) Descriptor deprecated

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

Deprecated: Use PageInfo.ProtoReflect.Descriptor instead.

func (*PageInfo) GetOrders

func (x *PageInfo) GetOrders() []*PageInfo_OrderBy

func (*PageInfo) GetPage

func (x *PageInfo) GetPage() int64

func (*PageInfo) GetSize

func (x *PageInfo) GetSize() int64

func (*PageInfo) ProtoMessage

func (*PageInfo) ProtoMessage()

func (*PageInfo) ProtoReflect

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

func (*PageInfo) Reset

func (x *PageInfo) Reset()

func (*PageInfo) String

func (x *PageInfo) String() string

type PageInfo_OrderBy

type PageInfo_OrderBy struct {

	//排序的字段名
	Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	//排序方式:1 从小到大, 2 从大到小
	Sort int64 `protobuf:"varint,2,opt,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*PageInfo_OrderBy) Descriptor deprecated

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

Deprecated: Use PageInfo_OrderBy.ProtoReflect.Descriptor instead.

func (*PageInfo_OrderBy) GetField

func (x *PageInfo_OrderBy) GetField() string

func (*PageInfo_OrderBy) GetSort

func (x *PageInfo_OrderBy) GetSort() int64

func (*PageInfo_OrderBy) ProtoMessage

func (*PageInfo_OrderBy) ProtoMessage()

func (*PageInfo_OrderBy) ProtoReflect

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

func (*PageInfo_OrderBy) Reset

func (x *PageInfo_OrderBy) Reset()

func (*PageInfo_OrderBy) String

func (x *PageInfo_OrderBy) String() string

type Point

type Point struct {
	Longitude float64 `protobuf:"fixed64,1,opt,name=longitude,proto3" json:"longitude,omitempty"` //经度
	Latitude  float64 `protobuf:"fixed64,2,opt,name=latitude,proto3" json:"latitude,omitempty"`   //纬度
	// contains filtered or unexported fields
}

func (*Point) Descriptor deprecated

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

Deprecated: Use Point.ProtoReflect.Descriptor instead.

func (*Point) GetLatitude

func (x *Point) GetLatitude() float64

func (*Point) GetLongitude

func (x *Point) GetLongitude() float64

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) ProtoReflect

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

func (*Point) Reset

func (x *Point) Reset()

func (*Point) String

func (x *Point) String() string

type ProductCategory

type ProductCategory struct {
	Id              int64                   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ParentID        int64                   `protobuf:"varint,2,opt,name=parentID,proto3" json:"parentID,omitempty"`
	Name            string                  `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	HeadImg         string                  `protobuf:"bytes,4,opt,name=headImg,proto3" json:"headImg,omitempty"`
	IsUpdateHeadImg bool                    `protobuf:"varint,5,opt,name=isUpdateHeadImg,proto3" json:"isUpdateHeadImg,omitempty"` //只有这个参数为true的时候才会更新产品图片,传参为产品图片的file path
	Desc            *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"`
	IdPath          []int64                 `protobuf:"varint,9,rep,packed,name=idPath,proto3" json:"idPath,omitempty"`
	IsLeaf          int64                   `protobuf:"varint,10,opt,name=isLeaf,proto3" json:"isLeaf,omitempty"`
	DeviceCount     int64                   `protobuf:"varint,11,opt,name=deviceCount,proto3" json:"deviceCount,omitempty"`
	Children        []*ProductCategory      `protobuf:"bytes,7,rep,name=children,proto3" json:"children,omitempty"` //子节点
	// contains filtered or unexported fields
}

func (*ProductCategory) Descriptor deprecated

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

Deprecated: Use ProductCategory.ProtoReflect.Descriptor instead.

func (*ProductCategory) GetChildren

func (x *ProductCategory) GetChildren() []*ProductCategory

func (*ProductCategory) GetDesc

func (x *ProductCategory) GetDesc() *wrapperspb.StringValue

func (*ProductCategory) GetDeviceCount

func (x *ProductCategory) GetDeviceCount() int64

func (*ProductCategory) GetHeadImg

func (x *ProductCategory) GetHeadImg() string

func (*ProductCategory) GetId

func (x *ProductCategory) GetId() int64

func (*ProductCategory) GetIdPath

func (x *ProductCategory) GetIdPath() []int64

func (*ProductCategory) GetIsLeaf

func (x *ProductCategory) GetIsLeaf() int64

func (*ProductCategory) GetIsUpdateHeadImg

func (x *ProductCategory) GetIsUpdateHeadImg() bool

func (*ProductCategory) GetName

func (x *ProductCategory) GetName() string

func (*ProductCategory) GetParentID

func (x *ProductCategory) GetParentID() int64

func (*ProductCategory) ProtoMessage

func (*ProductCategory) ProtoMessage()

func (*ProductCategory) ProtoReflect

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

func (*ProductCategory) Reset

func (x *ProductCategory) Reset()

func (*ProductCategory) String

func (x *ProductCategory) String() string

type ProductCategoryIndexReq

type ProductCategoryIndexReq struct {
	Page      *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` //分页信息 只获取一个则不填
	Name      string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` //过滤名字
	ParentID  int64     `protobuf:"varint,3,opt,name=parentID,proto3" json:"parentID,omitempty"`
	Ids       []int64   `protobuf:"varint,4,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	ProjectID int64     `protobuf:"varint,5,opt,name=projectID,proto3" json:"projectID,omitempty"` //项目id,只获取项目下有设备的
	// contains filtered or unexported fields
}

func (*ProductCategoryIndexReq) Descriptor deprecated

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

Deprecated: Use ProductCategoryIndexReq.ProtoReflect.Descriptor instead.

func (*ProductCategoryIndexReq) GetIds

func (x *ProductCategoryIndexReq) GetIds() []int64

func (*ProductCategoryIndexReq) GetName

func (x *ProductCategoryIndexReq) GetName() string

func (*ProductCategoryIndexReq) GetPage

func (x *ProductCategoryIndexReq) GetPage() *PageInfo

func (*ProductCategoryIndexReq) GetParentID

func (x *ProductCategoryIndexReq) GetParentID() int64

func (*ProductCategoryIndexReq) GetProjectID

func (x *ProductCategoryIndexReq) GetProjectID() int64

func (*ProductCategoryIndexReq) ProtoMessage

func (*ProductCategoryIndexReq) ProtoMessage()

func (*ProductCategoryIndexReq) ProtoReflect

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

func (*ProductCategoryIndexReq) Reset

func (x *ProductCategoryIndexReq) Reset()

func (*ProductCategoryIndexReq) String

func (x *ProductCategoryIndexReq) String() string

type ProductCategoryIndexResp

type ProductCategoryIndexResp struct {
	List  []*ProductCategory `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`    //产品信息
	Total int64              `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` //总数(只有分页的时候会返回)
	// contains filtered or unexported fields
}

func (*ProductCategoryIndexResp) Descriptor deprecated

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

Deprecated: Use ProductCategoryIndexResp.ProtoReflect.Descriptor instead.

func (*ProductCategoryIndexResp) GetList

func (x *ProductCategoryIndexResp) GetList() []*ProductCategory

func (*ProductCategoryIndexResp) GetTotal

func (x *ProductCategoryIndexResp) GetTotal() int64

func (*ProductCategoryIndexResp) ProtoMessage

func (*ProductCategoryIndexResp) ProtoMessage()

func (*ProductCategoryIndexResp) ProtoReflect

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

func (*ProductCategoryIndexResp) Reset

func (x *ProductCategoryIndexResp) Reset()

func (*ProductCategoryIndexResp) String

func (x *ProductCategoryIndexResp) String() string

type ProductCategorySchemaIndexReq

type ProductCategorySchemaIndexReq struct {
	ProductCategoryID int64 `protobuf:"varint,1,opt,name=productCategoryID,proto3" json:"productCategoryID,omitempty"`
	WithFather        bool  `protobuf:"varint,8,opt,name=withFather,proto3" json:"withFather,omitempty"` //同时返回父节点的物模型
	// contains filtered or unexported fields
}

func (*ProductCategorySchemaIndexReq) Descriptor deprecated

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

Deprecated: Use ProductCategorySchemaIndexReq.ProtoReflect.Descriptor instead.

func (*ProductCategorySchemaIndexReq) GetProductCategoryID

func (x *ProductCategorySchemaIndexReq) GetProductCategoryID() int64

func (*ProductCategorySchemaIndexReq) GetWithFather

func (x *ProductCategorySchemaIndexReq) GetWithFather() bool

func (*ProductCategorySchemaIndexReq) ProtoMessage

func (*ProductCategorySchemaIndexReq) ProtoMessage()

func (*ProductCategorySchemaIndexReq) ProtoReflect

func (*ProductCategorySchemaIndexReq) Reset

func (x *ProductCategorySchemaIndexReq) Reset()

func (*ProductCategorySchemaIndexReq) String

type ProductCategorySchemaIndexResp

type ProductCategorySchemaIndexResp struct {
	Identifiers []string `protobuf:"bytes,5,rep,name=identifiers,proto3" json:"identifiers,omitempty"` //过滤标识符列表
	// contains filtered or unexported fields
}

func (*ProductCategorySchemaIndexResp) Descriptor deprecated

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

Deprecated: Use ProductCategorySchemaIndexResp.ProtoReflect.Descriptor instead.

func (*ProductCategorySchemaIndexResp) GetIdentifiers

func (x *ProductCategorySchemaIndexResp) GetIdentifiers() []string

func (*ProductCategorySchemaIndexResp) ProtoMessage

func (*ProductCategorySchemaIndexResp) ProtoMessage()

func (*ProductCategorySchemaIndexResp) ProtoReflect

func (*ProductCategorySchemaIndexResp) Reset

func (x *ProductCategorySchemaIndexResp) Reset()

func (*ProductCategorySchemaIndexResp) String

type ProductCategorySchemaMultiSaveReq

type ProductCategorySchemaMultiSaveReq struct {
	ProductCategoryID int64    `protobuf:"varint,1,opt,name=productCategoryID,proto3" json:"productCategoryID,omitempty"`
	Identifiers       []string `protobuf:"bytes,5,rep,name=identifiers,proto3" json:"identifiers,omitempty"` //过滤标识符列表
	// contains filtered or unexported fields
}

func (*ProductCategorySchemaMultiSaveReq) Descriptor deprecated

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

Deprecated: Use ProductCategorySchemaMultiSaveReq.ProtoReflect.Descriptor instead.

func (*ProductCategorySchemaMultiSaveReq) GetIdentifiers

func (x *ProductCategorySchemaMultiSaveReq) GetIdentifiers() []string

func (*ProductCategorySchemaMultiSaveReq) GetProductCategoryID

func (x *ProductCategorySchemaMultiSaveReq) GetProductCategoryID() int64

func (*ProductCategorySchemaMultiSaveReq) ProtoMessage

func (*ProductCategorySchemaMultiSaveReq) ProtoMessage()

func (*ProductCategorySchemaMultiSaveReq) ProtoReflect

func (*ProductCategorySchemaMultiSaveReq) Reset

func (*ProductCategorySchemaMultiSaveReq) String

type ProductCustom

type ProductCustom struct {
	ProductID       string                  `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`
	ScriptLang      int64                   `protobuf:"varint,3,opt,name=scriptLang,proto3" json:"scriptLang,omitempty"`          //脚本语言类型(默认JavaScript) 1:JavaScript 2:lua 3:python
	TransformScript *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=transformScript,proto3" json:"transformScript,omitempty"` //协议转换脚本
	LoginAuthScript *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=loginAuthScript,proto3" json:"loginAuthScript,omitempty"` //登录认证脚本
	CustomTopics    []*CustomTopic          `protobuf:"bytes,4,rep,name=customTopics,proto3" json:"customTopics,omitempty"`       //自定义topic信息 只有mqtt协议有用
	// contains filtered or unexported fields
}

func (*ProductCustom) Descriptor deprecated

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

Deprecated: Use ProductCustom.ProtoReflect.Descriptor instead.

func (*ProductCustom) GetCustomTopics

func (x *ProductCustom) GetCustomTopics() []*CustomTopic

func (*ProductCustom) GetLoginAuthScript

func (x *ProductCustom) GetLoginAuthScript() *wrapperspb.StringValue

func (*ProductCustom) GetProductID

func (x *ProductCustom) GetProductID() string

func (*ProductCustom) GetScriptLang

func (x *ProductCustom) GetScriptLang() int64

func (*ProductCustom) GetTransformScript

func (x *ProductCustom) GetTransformScript() *wrapperspb.StringValue

func (*ProductCustom) ProtoMessage

func (*ProductCustom) ProtoMessage()

func (*ProductCustom) ProtoReflect

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

func (*ProductCustom) Reset

func (x *ProductCustom) Reset()

func (*ProductCustom) String

func (x *ProductCustom) String() string

type ProductCustomReadReq

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

func (*ProductCustomReadReq) Descriptor deprecated

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

Deprecated: Use ProductCustomReadReq.ProtoReflect.Descriptor instead.

func (*ProductCustomReadReq) GetProductID

func (x *ProductCustomReadReq) GetProductID() string

func (*ProductCustomReadReq) ProtoMessage

func (*ProductCustomReadReq) ProtoMessage()

func (*ProductCustomReadReq) ProtoReflect

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

func (*ProductCustomReadReq) Reset

func (x *ProductCustomReadReq) Reset()

func (*ProductCustomReadReq) String

func (x *ProductCustomReadReq) String() string

type ProductCustomUi

type ProductCustomUi struct {
	Path       string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Version    int64  `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` //版本号,递增
	IsUpdateUi bool   `protobuf:"varint,4,opt,name=isUpdateUi,proto3" json:"isUpdateUi,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductCustomUi) Descriptor deprecated

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

Deprecated: Use ProductCustomUi.ProtoReflect.Descriptor instead.

func (*ProductCustomUi) GetIsUpdateUi

func (x *ProductCustomUi) GetIsUpdateUi() bool

func (*ProductCustomUi) GetPath

func (x *ProductCustomUi) GetPath() string

func (*ProductCustomUi) GetVersion

func (x *ProductCustomUi) GetVersion() int64

func (*ProductCustomUi) ProtoMessage

func (*ProductCustomUi) ProtoMessage()

func (*ProductCustomUi) ProtoReflect

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

func (*ProductCustomUi) Reset

func (x *ProductCustomUi) Reset()

func (*ProductCustomUi) String

func (x *ProductCustomUi) String() string

type ProductInfo

type ProductInfo struct {
	CreatedTime  int64                   `protobuf:"varint,1,opt,name=createdTime,proto3" json:"createdTime,omitempty"`   //创建时间 只读
	ProductID    string                  `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"`        //产品id 只读
	ProductName  string                  `protobuf:"bytes,3,opt,name=productName,proto3" json:"productName,omitempty"`    //产品名称
	AuthMode     int64                   `protobuf:"varint,4,opt,name=authMode,proto3" json:"authMode,omitempty"`         //认证方式:1:账密认证,2:秘钥认证
	DeviceType   int64                   `protobuf:"varint,5,opt,name=deviceType,proto3" json:"deviceType,omitempty"`     //设备类型:1:设备,2:网关,3:子设备
	CategoryID   int64                   `protobuf:"varint,6,opt,name=categoryID,proto3" json:"categoryID,omitempty"`     //产品品类
	NetType      int64                   `protobuf:"varint,7,opt,name=netType,proto3" json:"netType,omitempty"`           //通讯方式:1:其他,2:wi-fi,3:2G/3G/4G,4:5G,5:BLE,6:LoRaWAN
	ProtocolCode string                  `protobuf:"bytes,8,opt,name=protocolCode,proto3" json:"protocolCode,omitempty"`  //协议code,默认iThings  iThings,iThings-thingsboard,wumei,aliyun,huaweiyun,tuya
	AutoRegister int64                   `protobuf:"varint,9,opt,name=autoRegister,proto3" json:"autoRegister,omitempty"` //动态注册:1:关闭,2:打开,3:打开并自动创建设备
	Secret       string                  `protobuf:"bytes,10,opt,name=secret,proto3" json:"secret,omitempty"`             //动态注册产品秘钥 只读
	Desc         *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=desc,proto3" json:"desc,omitempty"`                 //描述
	Tags         map[string]string       ``                                                                               //产品标签
	/* 150-byte string literal not displayed */
	ProductImg         string                      `protobuf:"bytes,14,opt,name=productImg,proto3" json:"productImg,omitempty"`                  //产品图片
	IsUpdateProductImg bool                        `protobuf:"varint,15,opt,name=isUpdateProductImg,proto3" json:"isUpdateProductImg,omitempty"` //只有这个参数为true的时候才会更新产品图片,传参为产品图片的file path
	Protocol           *ProtocolInfo               `protobuf:"bytes,16,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Category           *ProductCategory            `protobuf:"bytes,17,opt,name=category,proto3" json:"category,omitempty"`
	ProtocolConf       map[string]string           ``                                                                         /* 166-byte string literal not displayed */
	TrialTime          *wrapperspb.Int64Value      `protobuf:"bytes,38,opt,name=trialTime,proto3" json:"trialTime,omitempty"` //试用时间(单位为天,为0不限制)
	SceneMode          string                      `protobuf:"bytes,19,opt,name=sceneMode,proto3" json:"sceneMode,omitempty"` //场景模式 读写类型: r(只读) rw(可读可写) none(不参与场景)
	Status             int64                       `protobuf:"varint,20,opt,name=status,proto3" json:"status,omitempty"`      //产品状态 1:启用 2:禁用 3:开发中
	CustomUi           map[string]*ProductCustomUi ``                                                                         //自定义ui
	/* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProductInfo) Descriptor deprecated

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

Deprecated: Use ProductInfo.ProtoReflect.Descriptor instead.

func (*ProductInfo) GetAuthMode

func (x *ProductInfo) GetAuthMode() int64

func (*ProductInfo) GetAutoRegister

func (x *ProductInfo) GetAutoRegister() int64

func (*ProductInfo) GetCategory

func (x *ProductInfo) GetCategory() *ProductCategory

func (*ProductInfo) GetCategoryID

func (x *ProductInfo) GetCategoryID() int64

func (*ProductInfo) GetCreatedTime

func (x *ProductInfo) GetCreatedTime() int64

func (*ProductInfo) GetCustomUi

func (x *ProductInfo) GetCustomUi() map[string]*ProductCustomUi

func (*ProductInfo) GetDesc

func (x *ProductInfo) GetDesc() *wrapperspb.StringValue

func (*ProductInfo) GetDeviceType

func (x *ProductInfo) GetDeviceType() int64

func (*ProductInfo) GetIsUpdateProductImg

func (x *ProductInfo) GetIsUpdateProductImg() bool

func (*ProductInfo) GetNetType

func (x *ProductInfo) GetNetType() int64

func (*ProductInfo) GetProductID

func (x *ProductInfo) GetProductID() string

func (*ProductInfo) GetProductImg

func (x *ProductInfo) GetProductImg() string

func (*ProductInfo) GetProductName

func (x *ProductInfo) GetProductName() string

func (*ProductInfo) GetProtocol

func (x *ProductInfo) GetProtocol() *ProtocolInfo

func (*ProductInfo) GetProtocolCode

func (x *ProductInfo) GetProtocolCode() string

func (*ProductInfo) GetProtocolConf

func (x *ProductInfo) GetProtocolConf() map[string]string

func (*ProductInfo) GetSceneMode

func (x *ProductInfo) GetSceneMode() string

func (*ProductInfo) GetSecret

func (x *ProductInfo) GetSecret() string

func (*ProductInfo) GetStatus

func (x *ProductInfo) GetStatus() int64

func (*ProductInfo) GetTags

func (x *ProductInfo) GetTags() map[string]string

func (*ProductInfo) GetTrialTime

func (x *ProductInfo) GetTrialTime() *wrapperspb.Int64Value

func (*ProductInfo) ProtoMessage

func (*ProductInfo) ProtoMessage()

func (*ProductInfo) ProtoReflect

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

func (*ProductInfo) Reset

func (x *ProductInfo) Reset()

func (*ProductInfo) String

func (x *ProductInfo) String() string

type ProductInfoDeleteReq

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

func (*ProductInfoDeleteReq) Descriptor deprecated

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

Deprecated: Use ProductInfoDeleteReq.ProtoReflect.Descriptor instead.

func (*ProductInfoDeleteReq) GetProductID

func (x *ProductInfoDeleteReq) GetProductID() string

func (*ProductInfoDeleteReq) ProtoMessage

func (*ProductInfoDeleteReq) ProtoMessage()

func (*ProductInfoDeleteReq) ProtoReflect

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

func (*ProductInfoDeleteReq) Reset

func (x *ProductInfoDeleteReq) Reset()

func (*ProductInfoDeleteReq) String

func (x *ProductInfoDeleteReq) String() string

type ProductInfoIndexReq

type ProductInfoIndexReq struct {
	Page        *PageInfo         `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`              //分页信息 只获取一个则不填
	DeviceType  int64             `protobuf:"varint,2,opt,name=deviceType,proto3" json:"deviceType,omitempty"` //过滤设备类型:0:全部,1:设备,2:网关,3:子设备
	DeviceTypes []int64           `protobuf:"varint,10,rep,packed,name=deviceTypes,proto3" json:"deviceTypes,omitempty"`
	ProductName string            `protobuf:"bytes,3,opt,name=productName,proto3" json:"productName,omitempty"` //过滤条件: 产品名称
	ProductIDs  []string          `protobuf:"bytes,4,rep,name=productIDs,proto3" json:"productIDs,omitempty"`   //过滤产品id列表
	Tags        map[string]string ``                                                                            //key tag过滤查询,非模糊查询 为tag的名,value为tag对应的值
	/* 149-byte string literal not displayed */
	ProtocolConf map[string]string `` //协议配置查询
	/* 165-byte string literal not displayed */
	ProtocolCode string   `protobuf:"bytes,7,opt,name=protocolCode,proto3" json:"protocolCode,omitempty"`
	WithProtocol bool     `protobuf:"varint,8,opt,name=withProtocol,proto3" json:"withProtocol,omitempty"`
	WithCategory bool     `protobuf:"varint,9,opt,name=withCategory,proto3" json:"withCategory,omitempty"`
	SceneMode    string   `protobuf:"bytes,16,opt,name=sceneMode,proto3" json:"sceneMode,omitempty"`             //场景模式 读写类型: r(只读) rw(可读可写) none(不参与场景)
	SceneModes   []string `protobuf:"bytes,17,rep,name=sceneModes,proto3" json:"sceneModes,omitempty"`           //场景模式 读写类型: r(只读) rw(可读可写) none(不参与场景)
	Status       int64    `protobuf:"varint,20,opt,name=status,proto3" json:"status,omitempty"`                  //产品状态 1:启用 2:禁用 3:开发中
	Statuses     []int64  `protobuf:"varint,21,rep,packed,name=statuses,proto3" json:"statuses,omitempty"`       //产品状态 1:启用 2:禁用 3:开发中
	NetType      int64    `protobuf:"varint,11,opt,name=netType,proto3" json:"netType,omitempty"`                //通讯方式:1:其他,2:wi-fi,3:2G/3G/4G,4:5G,5:BLE,6:LoRaWAN
	ProjectID    int64    `protobuf:"varint,12,opt,name=projectID,proto3" json:"projectID,omitempty"`            //项目id,只获取项目下有设备的
	AreaID       int64    `protobuf:"varint,22,opt,name=areaID,proto3" json:"areaID,omitempty"`                  //区域下有设备的产品列表
	CategoryIDs  []int64  `protobuf:"varint,23,rep,packed,name=categoryIDs,proto3" json:"categoryIDs,omitempty"` //产品品类
	// contains filtered or unexported fields
}

func (*ProductInfoIndexReq) Descriptor deprecated

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

Deprecated: Use ProductInfoIndexReq.ProtoReflect.Descriptor instead.

func (*ProductInfoIndexReq) GetAreaID

func (x *ProductInfoIndexReq) GetAreaID() int64

func (*ProductInfoIndexReq) GetCategoryIDs

func (x *ProductInfoIndexReq) GetCategoryIDs() []int64

func (*ProductInfoIndexReq) GetDeviceType

func (x *ProductInfoIndexReq) GetDeviceType() int64

func (*ProductInfoIndexReq) GetDeviceTypes

func (x *ProductInfoIndexReq) GetDeviceTypes() []int64

func (*ProductInfoIndexReq) GetNetType

func (x *ProductInfoIndexReq) GetNetType() int64

func (*ProductInfoIndexReq) GetPage

func (x *ProductInfoIndexReq) GetPage() *PageInfo

func (*ProductInfoIndexReq) GetProductIDs

func (x *ProductInfoIndexReq) GetProductIDs() []string

func (*ProductInfoIndexReq) GetProductName

func (x *ProductInfoIndexReq) GetProductName() string

func (*ProductInfoIndexReq) GetProjectID

func (x *ProductInfoIndexReq) GetProjectID() int64

func (*ProductInfoIndexReq) GetProtocolCode

func (x *ProductInfoIndexReq) GetProtocolCode() string

func (*ProductInfoIndexReq) GetProtocolConf

func (x *ProductInfoIndexReq) GetProtocolConf() map[string]string

func (*ProductInfoIndexReq) GetSceneMode

func (x *ProductInfoIndexReq) GetSceneMode() string

func (*ProductInfoIndexReq) GetSceneModes

func (x *ProductInfoIndexReq) GetSceneModes() []string

func (*ProductInfoIndexReq) GetStatus

func (x *ProductInfoIndexReq) GetStatus() int64

func (*ProductInfoIndexReq) GetStatuses

func (x *ProductInfoIndexReq) GetStatuses() []int64

func (*ProductInfoIndexReq) GetTags

func (x *ProductInfoIndexReq) GetTags() map[string]string

func (*ProductInfoIndexReq) GetWithCategory

func (x *ProductInfoIndexReq) GetWithCategory() bool

func (*ProductInfoIndexReq) GetWithProtocol

func (x *ProductInfoIndexReq) GetWithProtocol() bool

func (*ProductInfoIndexReq) ProtoMessage

func (*ProductInfoIndexReq) ProtoMessage()

func (*ProductInfoIndexReq) ProtoReflect

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

func (*ProductInfoIndexReq) Reset

func (x *ProductInfoIndexReq) Reset()

func (*ProductInfoIndexReq) String

func (x *ProductInfoIndexReq) String() string

type ProductInfoIndexResp

type ProductInfoIndexResp struct {
	List  []*ProductInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`    //产品信息
	Total int64          `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` //总数(只有分页的时候会返回)
	// contains filtered or unexported fields
}

func (*ProductInfoIndexResp) Descriptor deprecated

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

Deprecated: Use ProductInfoIndexResp.ProtoReflect.Descriptor instead.

func (*ProductInfoIndexResp) GetList

func (x *ProductInfoIndexResp) GetList() []*ProductInfo

func (*ProductInfoIndexResp) GetTotal

func (x *ProductInfoIndexResp) GetTotal() int64

func (*ProductInfoIndexResp) ProtoMessage

func (*ProductInfoIndexResp) ProtoMessage()

func (*ProductInfoIndexResp) ProtoReflect

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

func (*ProductInfoIndexResp) Reset

func (x *ProductInfoIndexResp) Reset()

func (*ProductInfoIndexResp) String

func (x *ProductInfoIndexResp) String() string

type ProductInfoReadReq

type ProductInfoReadReq struct {
	ProductID    string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"` //产品id
	WithProtocol bool   `protobuf:"varint,2,opt,name=withProtocol,proto3" json:"withProtocol,omitempty"`
	WithCategory bool   `protobuf:"varint,3,opt,name=withCategory,proto3" json:"withCategory,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductInfoReadReq) Descriptor deprecated

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

Deprecated: Use ProductInfoReadReq.ProtoReflect.Descriptor instead.

func (*ProductInfoReadReq) GetProductID

func (x *ProductInfoReadReq) GetProductID() string

func (*ProductInfoReadReq) GetWithCategory

func (x *ProductInfoReadReq) GetWithCategory() bool

func (*ProductInfoReadReq) GetWithProtocol

func (x *ProductInfoReadReq) GetWithProtocol() bool

func (*ProductInfoReadReq) ProtoMessage

func (*ProductInfoReadReq) ProtoMessage()

func (*ProductInfoReadReq) ProtoReflect

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

func (*ProductInfoReadReq) Reset

func (x *ProductInfoReadReq) Reset()

func (*ProductInfoReadReq) String

func (x *ProductInfoReadReq) String() string

type ProductInitReq

type ProductInitReq struct {

	//  repeated string initType =1;//thing:物模型
	ProductIDs []string `protobuf:"bytes,2,rep,name=productIDs,proto3" json:"productIDs,omitempty"` //产品id,不填初始化所有产品
	// contains filtered or unexported fields
}

func (*ProductInitReq) Descriptor deprecated

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

Deprecated: Use ProductInitReq.ProtoReflect.Descriptor instead.

func (*ProductInitReq) GetProductIDs

func (x *ProductInitReq) GetProductIDs() []string

func (*ProductInitReq) ProtoMessage

func (*ProductInitReq) ProtoMessage()

func (*ProductInitReq) ProtoReflect

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

func (*ProductInitReq) Reset

func (x *ProductInitReq) Reset()

func (*ProductInitReq) String

func (x *ProductInitReq) String() string

type ProductManageClient

type ProductManageClient interface {
	ProductInit(ctx context.Context, in *ProductInitReq, opts ...grpc.CallOption) (*Empty, error)
	//新增产品
	ProductInfoCreate(ctx context.Context, in *ProductInfo, opts ...grpc.CallOption) (*Empty, error)
	//更新产品
	ProductInfoUpdate(ctx context.Context, in *ProductInfo, opts ...grpc.CallOption) (*Empty, error)
	//删除产品
	ProductInfoDelete(ctx context.Context, in *ProductInfoDeleteReq, opts ...grpc.CallOption) (*Empty, error)
	//获取产品信息列表
	ProductInfoIndex(ctx context.Context, in *ProductInfoIndexReq, opts ...grpc.CallOption) (*ProductInfoIndexResp, error)
	//获取产品信息详情
	ProductInfoRead(ctx context.Context, in *ProductInfoReadReq, opts ...grpc.CallOption) (*ProductInfo, error)
	//更新产品物模型
	ProductSchemaUpdate(ctx context.Context, in *ProductSchemaUpdateReq, opts ...grpc.CallOption) (*Empty, error)
	//新增产品
	ProductSchemaCreate(ctx context.Context, in *ProductSchemaCreateReq, opts ...grpc.CallOption) (*Empty, error)
	//批量新增物模型,只新增没有的,已有的不处理
	ProductSchemaMultiCreate(ctx context.Context, in *ProductSchemaMultiCreateReq, opts ...grpc.CallOption) (*Empty, error)
	//删除产品
	ProductSchemaDelete(ctx context.Context, in *ProductSchemaDeleteReq, opts ...grpc.CallOption) (*Empty, error)
	//获取产品信息列表
	ProductSchemaIndex(ctx context.Context, in *ProductSchemaIndexReq, opts ...grpc.CallOption) (*ProductSchemaIndexResp, error)
	//删除产品
	ProductSchemaTslImport(ctx context.Context, in *ProductSchemaTslImportReq, opts ...grpc.CallOption) (*Empty, error)
	//获取产品信息列表
	ProductSchemaTslRead(ctx context.Context, in *ProductSchemaTslReadReq, opts ...grpc.CallOption) (*ProductSchemaTslReadResp, error)
	//脚本管理
	ProductCustomRead(ctx context.Context, in *ProductCustomReadReq, opts ...grpc.CallOption) (*ProductCustom, error)
	ProductCustomUpdate(ctx context.Context, in *ProductCustom, opts ...grpc.CallOption) (*Empty, error)
	//新增产品
	ProductCategoryCreate(ctx context.Context, in *ProductCategory, opts ...grpc.CallOption) (*WithID, error)
	//更新产品
	ProductCategoryUpdate(ctx context.Context, in *ProductCategory, opts ...grpc.CallOption) (*Empty, error)
	//删除产品
	ProductCategoryDelete(ctx context.Context, in *WithID, opts ...grpc.CallOption) (*Empty, error)
	//获取产品信息列表
	ProductCategoryIndex(ctx context.Context, in *ProductCategoryIndexReq, opts ...grpc.CallOption) (*ProductCategoryIndexResp, error)
	//获取产品信息详情
	ProductCategoryRead(ctx context.Context, in *WithIDChildren, opts ...grpc.CallOption) (*ProductCategory, error)
	//获取产品品类下的物模型列表,绑定的物模型会自动添加到该产品品类及子分类的产品中,并不支持删除
	ProductCategorySchemaIndex(ctx context.Context, in *ProductCategorySchemaIndexReq, opts ...grpc.CallOption) (*ProductCategorySchemaIndexResp, error)
	ProductCategorySchemaMultiUpdate(ctx context.Context, in *ProductCategorySchemaMultiSaveReq, opts ...grpc.CallOption) (*Empty, error)
	ProductCategorySchemaMultiCreate(ctx context.Context, in *ProductCategorySchemaMultiSaveReq, opts ...grpc.CallOption) (*Empty, error)
	ProductCategorySchemaMultiDelete(ctx context.Context, in *ProductCategorySchemaMultiSaveReq, opts ...grpc.CallOption) (*Empty, error)
}

ProductManageClient is the client API for ProductManage 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.

type ProductManageServer

type ProductManageServer interface {
	ProductInit(context.Context, *ProductInitReq) (*Empty, error)
	//新增产品
	ProductInfoCreate(context.Context, *ProductInfo) (*Empty, error)
	//更新产品
	ProductInfoUpdate(context.Context, *ProductInfo) (*Empty, error)
	//删除产品
	ProductInfoDelete(context.Context, *ProductInfoDeleteReq) (*Empty, error)
	//获取产品信息列表
	ProductInfoIndex(context.Context, *ProductInfoIndexReq) (*ProductInfoIndexResp, error)
	//获取产品信息详情
	ProductInfoRead(context.Context, *ProductInfoReadReq) (*ProductInfo, error)
	//更新产品物模型
	ProductSchemaUpdate(context.Context, *ProductSchemaUpdateReq) (*Empty, error)
	//新增产品
	ProductSchemaCreate(context.Context, *ProductSchemaCreateReq) (*Empty, error)
	//批量新增物模型,只新增没有的,已有的不处理
	ProductSchemaMultiCreate(context.Context, *ProductSchemaMultiCreateReq) (*Empty, error)
	//删除产品
	ProductSchemaDelete(context.Context, *ProductSchemaDeleteReq) (*Empty, error)
	//获取产品信息列表
	ProductSchemaIndex(context.Context, *ProductSchemaIndexReq) (*ProductSchemaIndexResp, error)
	//删除产品
	ProductSchemaTslImport(context.Context, *ProductSchemaTslImportReq) (*Empty, error)
	//获取产品信息列表
	ProductSchemaTslRead(context.Context, *ProductSchemaTslReadReq) (*ProductSchemaTslReadResp, error)
	//脚本管理
	ProductCustomRead(context.Context, *ProductCustomReadReq) (*ProductCustom, error)
	ProductCustomUpdate(context.Context, *ProductCustom) (*Empty, error)
	//新增产品
	ProductCategoryCreate(context.Context, *ProductCategory) (*WithID, error)
	//更新产品
	ProductCategoryUpdate(context.Context, *ProductCategory) (*Empty, error)
	//删除产品
	ProductCategoryDelete(context.Context, *WithID) (*Empty, error)
	//获取产品信息列表
	ProductCategoryIndex(context.Context, *ProductCategoryIndexReq) (*ProductCategoryIndexResp, error)
	//获取产品信息详情
	ProductCategoryRead(context.Context, *WithIDChildren) (*ProductCategory, error)
	//获取产品品类下的物模型列表,绑定的物模型会自动添加到该产品品类及子分类的产品中,并不支持删除
	ProductCategorySchemaIndex(context.Context, *ProductCategorySchemaIndexReq) (*ProductCategorySchemaIndexResp, error)
	ProductCategorySchemaMultiUpdate(context.Context, *ProductCategorySchemaMultiSaveReq) (*Empty, error)
	ProductCategorySchemaMultiCreate(context.Context, *ProductCategorySchemaMultiSaveReq) (*Empty, error)
	ProductCategorySchemaMultiDelete(context.Context, *ProductCategorySchemaMultiSaveReq) (*Empty, error)
	// contains filtered or unexported methods
}

ProductManageServer is the server API for ProductManage service. All implementations must embed UnimplementedProductManageServer for forward compatibility

type ProductRemoteConfig

type ProductRemoteConfig struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ProductID   string `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"`
	Content     string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	CreatedTime int64  `protobuf:"varint,4,opt,name=createdTime,proto3" json:"createdTime,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductRemoteConfig) Descriptor deprecated

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

Deprecated: Use ProductRemoteConfig.ProtoReflect.Descriptor instead.

func (*ProductRemoteConfig) GetContent

func (x *ProductRemoteConfig) GetContent() string

func (*ProductRemoteConfig) GetCreatedTime

func (x *ProductRemoteConfig) GetCreatedTime() int64

func (*ProductRemoteConfig) GetId

func (x *ProductRemoteConfig) GetId() int64

func (*ProductRemoteConfig) GetProductID

func (x *ProductRemoteConfig) GetProductID() string

func (*ProductRemoteConfig) ProtoMessage

func (*ProductRemoteConfig) ProtoMessage()

func (*ProductRemoteConfig) ProtoReflect

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

func (*ProductRemoteConfig) Reset

func (x *ProductRemoteConfig) Reset()

func (*ProductRemoteConfig) String

func (x *ProductRemoteConfig) String() string

type ProductSchemaCreateReq

type ProductSchemaCreateReq struct {
	Info *ProductSchemaInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` //物模型信息
	// contains filtered or unexported fields
}

func (*ProductSchemaCreateReq) Descriptor deprecated

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

Deprecated: Use ProductSchemaCreateReq.ProtoReflect.Descriptor instead.

func (*ProductSchemaCreateReq) GetInfo

func (*ProductSchemaCreateReq) ProtoMessage

func (*ProductSchemaCreateReq) ProtoMessage()

func (*ProductSchemaCreateReq) ProtoReflect

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

func (*ProductSchemaCreateReq) Reset

func (x *ProductSchemaCreateReq) Reset()

func (*ProductSchemaCreateReq) String

func (x *ProductSchemaCreateReq) String() string

type ProductSchemaDeleteReq

type ProductSchemaDeleteReq struct {
	ProductID  string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`   //产品id  如果为空返回所有产品的信息
	Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` //标识符
	// contains filtered or unexported fields
}

func (*ProductSchemaDeleteReq) Descriptor deprecated

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

Deprecated: Use ProductSchemaDeleteReq.ProtoReflect.Descriptor instead.

func (*ProductSchemaDeleteReq) GetIdentifier

func (x *ProductSchemaDeleteReq) GetIdentifier() string

func (*ProductSchemaDeleteReq) GetProductID

func (x *ProductSchemaDeleteReq) GetProductID() string

func (*ProductSchemaDeleteReq) ProtoMessage

func (*ProductSchemaDeleteReq) ProtoMessage()

func (*ProductSchemaDeleteReq) ProtoReflect

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

func (*ProductSchemaDeleteReq) Reset

func (x *ProductSchemaDeleteReq) Reset()

func (*ProductSchemaDeleteReq) String

func (x *ProductSchemaDeleteReq) String() string

type ProductSchemaIndexReq

type ProductSchemaIndexReq struct {
	Page              *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`           //分页信息 只获取一个则不填
	ProductID         string    `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"` //产品id  必填
	Type              int64     `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`          //物模型类型 1:property属性 2:event事件 3:action行为
	Types             []int64   `protobuf:"varint,17,rep,packed,name=types,proto3" json:"types,omitempty"`
	Tag               int64     `protobuf:"varint,4,opt,name=tag,proto3" json:"tag,omitempty"`                             //过滤条件: 物模型标签 1:自定义 2:可选 3:必选
	Identifiers       []string  `protobuf:"bytes,5,rep,name=identifiers,proto3" json:"identifiers,omitempty"`              //过滤标识符列表
	Name              string    `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`                            //标识符名字过滤
	IsCanSceneLinkage int64     `protobuf:"varint,8,opt,name=isCanSceneLinkage,proto3" json:"isCanSceneLinkage,omitempty"` //是否支持场景联动控制
	FuncGroup         int64     `protobuf:"varint,14,opt,name=funcGroup,proto3" json:"funcGroup,omitempty"`                // 功能分类: 1:普通功能 2:系统功能
	UserPerm          int64     `protobuf:"varint,15,opt,name=userPerm,proto3" json:"userPerm,omitempty"`                  //用户权限操作: 1:r(只读) 3:rw(可读可写)
	PropertyMode      string    `protobuf:"bytes,16,opt,name=propertyMode,proto3" json:"propertyMode,omitempty"`           //属性类型可用 读写类型: 1:r(只读) 2:rw(可读可写)
	ControlMode       int64     `protobuf:"varint,18,opt,name=controlMode,proto3" json:"controlMode,omitempty"`            //控制模式: 1: 可以群控,可以单控  2:只能单控
	// contains filtered or unexported fields
}

func (*ProductSchemaIndexReq) Descriptor deprecated

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

Deprecated: Use ProductSchemaIndexReq.ProtoReflect.Descriptor instead.

func (*ProductSchemaIndexReq) GetControlMode

func (x *ProductSchemaIndexReq) GetControlMode() int64

func (*ProductSchemaIndexReq) GetFuncGroup

func (x *ProductSchemaIndexReq) GetFuncGroup() int64

func (*ProductSchemaIndexReq) GetIdentifiers

func (x *ProductSchemaIndexReq) GetIdentifiers() []string

func (*ProductSchemaIndexReq) GetIsCanSceneLinkage

func (x *ProductSchemaIndexReq) GetIsCanSceneLinkage() int64

func (*ProductSchemaIndexReq) GetName

func (x *ProductSchemaIndexReq) GetName() string

func (*ProductSchemaIndexReq) GetPage

func (x *ProductSchemaIndexReq) GetPage() *PageInfo

func (*ProductSchemaIndexReq) GetProductID

func (x *ProductSchemaIndexReq) GetProductID() string

func (*ProductSchemaIndexReq) GetPropertyMode

func (x *ProductSchemaIndexReq) GetPropertyMode() string

func (*ProductSchemaIndexReq) GetTag

func (x *ProductSchemaIndexReq) GetTag() int64

func (*ProductSchemaIndexReq) GetType

func (x *ProductSchemaIndexReq) GetType() int64

func (*ProductSchemaIndexReq) GetTypes

func (x *ProductSchemaIndexReq) GetTypes() []int64

func (*ProductSchemaIndexReq) GetUserPerm

func (x *ProductSchemaIndexReq) GetUserPerm() int64

func (*ProductSchemaIndexReq) ProtoMessage

func (*ProductSchemaIndexReq) ProtoMessage()

func (*ProductSchemaIndexReq) ProtoReflect

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

func (*ProductSchemaIndexReq) Reset

func (x *ProductSchemaIndexReq) Reset()

func (*ProductSchemaIndexReq) String

func (x *ProductSchemaIndexReq) String() string

type ProductSchemaIndexResp

type ProductSchemaIndexResp struct {
	List  []*ProductSchemaInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64                `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` //总数(只有分页的时候会返回)
	// contains filtered or unexported fields
}

func (*ProductSchemaIndexResp) Descriptor deprecated

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

Deprecated: Use ProductSchemaIndexResp.ProtoReflect.Descriptor instead.

func (*ProductSchemaIndexResp) GetList

func (x *ProductSchemaIndexResp) GetList() []*ProductSchemaInfo

func (*ProductSchemaIndexResp) GetTotal

func (x *ProductSchemaIndexResp) GetTotal() int64

func (*ProductSchemaIndexResp) ProtoMessage

func (*ProductSchemaIndexResp) ProtoMessage()

func (*ProductSchemaIndexResp) ProtoReflect

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

func (*ProductSchemaIndexResp) Reset

func (x *ProductSchemaIndexResp) Reset()

func (*ProductSchemaIndexResp) String

func (x *ProductSchemaIndexResp) String() string

type ProductSchemaInfo

type ProductSchemaInfo struct {
	ProductID         string                  `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`                  //产品id  必填
	Type              int64                   `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`                           //物模型类型 1:property属性 2:event事件 3:action行为
	Tag               int64                   `protobuf:"varint,3,opt,name=tag,proto3" json:"tag,omitempty"`                             //物模型标签 1:自定义 2:可选 3:必选  必选不可删除
	Identifier        string                  `protobuf:"bytes,4,opt,name=identifier,proto3" json:"identifier,omitempty"`                //标识符
	Name              *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`                            //功能名称
	Desc              *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"`                            //描述
	Required          int64                   `protobuf:"varint,7,opt,name=required,proto3" json:"required,omitempty"`                   //是否必须 1:是 2:否
	IsCanSceneLinkage int64                   `protobuf:"varint,8,opt,name=isCanSceneLinkage,proto3" json:"isCanSceneLinkage,omitempty"` //是否支持场景联动控制
	FuncGroup         int64                   `protobuf:"varint,14,opt,name=funcGroup,proto3" json:"funcGroup,omitempty"`                // 功能分类: 1:普通功能 2:系统功能
	UserPerm          int64                   `protobuf:"varint,15,opt,name=userPerm,proto3" json:"userPerm,omitempty"`                  //用户权限操作: 1:r(只读) 3:rw(可读可写)
	ControlMode       int64                   `protobuf:"varint,16,opt,name=controlMode,proto3" json:"controlMode,omitempty"`            //控制模式: 1: 可以群控,可以单控  2:只能单控
	IsHistory         int64                   `protobuf:"varint,10,opt,name=isHistory,proto3" json:"isHistory,omitempty"`                // 是否存储历史记录
	Affordance        *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=affordance,proto3" json:"affordance,omitempty"`               //各功能类型的详细参数定义
	ExtendConfig      string                  `protobuf:"bytes,12,opt,name=extendConfig,proto3" json:"extendConfig,omitempty"`           //拓展参数
	Order             int64                   `protobuf:"varint,13,opt,name=order,proto3" json:"order,omitempty"`                        //排序
	// contains filtered or unexported fields
}

func (*ProductSchemaInfo) Descriptor deprecated

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

Deprecated: Use ProductSchemaInfo.ProtoReflect.Descriptor instead.

func (*ProductSchemaInfo) GetAffordance

func (x *ProductSchemaInfo) GetAffordance() *wrapperspb.StringValue

func (*ProductSchemaInfo) GetControlMode

func (x *ProductSchemaInfo) GetControlMode() int64

func (*ProductSchemaInfo) GetDesc

func (*ProductSchemaInfo) GetExtendConfig

func (x *ProductSchemaInfo) GetExtendConfig() string

func (*ProductSchemaInfo) GetFuncGroup

func (x *ProductSchemaInfo) GetFuncGroup() int64

func (*ProductSchemaInfo) GetIdentifier

func (x *ProductSchemaInfo) GetIdentifier() string

func (*ProductSchemaInfo) GetIsCanSceneLinkage

func (x *ProductSchemaInfo) GetIsCanSceneLinkage() int64

func (*ProductSchemaInfo) GetIsHistory

func (x *ProductSchemaInfo) GetIsHistory() int64

func (*ProductSchemaInfo) GetName

func (*ProductSchemaInfo) GetOrder

func (x *ProductSchemaInfo) GetOrder() int64

func (*ProductSchemaInfo) GetProductID

func (x *ProductSchemaInfo) GetProductID() string

func (*ProductSchemaInfo) GetRequired

func (x *ProductSchemaInfo) GetRequired() int64

func (*ProductSchemaInfo) GetTag

func (x *ProductSchemaInfo) GetTag() int64

func (*ProductSchemaInfo) GetType

func (x *ProductSchemaInfo) GetType() int64

func (*ProductSchemaInfo) GetUserPerm

func (x *ProductSchemaInfo) GetUserPerm() int64

func (*ProductSchemaInfo) ProtoMessage

func (*ProductSchemaInfo) ProtoMessage()

func (*ProductSchemaInfo) ProtoReflect

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

func (*ProductSchemaInfo) Reset

func (x *ProductSchemaInfo) Reset()

func (*ProductSchemaInfo) String

func (x *ProductSchemaInfo) String() string

type ProductSchemaMultiCreateReq

type ProductSchemaMultiCreateReq struct {
	ProductID string               `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`
	List      []*ProductSchemaInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` //物模型信息
	// contains filtered or unexported fields
}

func (*ProductSchemaMultiCreateReq) Descriptor deprecated

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

Deprecated: Use ProductSchemaMultiCreateReq.ProtoReflect.Descriptor instead.

func (*ProductSchemaMultiCreateReq) GetList

func (*ProductSchemaMultiCreateReq) GetProductID

func (x *ProductSchemaMultiCreateReq) GetProductID() string

func (*ProductSchemaMultiCreateReq) ProtoMessage

func (*ProductSchemaMultiCreateReq) ProtoMessage()

func (*ProductSchemaMultiCreateReq) ProtoReflect

func (*ProductSchemaMultiCreateReq) Reset

func (x *ProductSchemaMultiCreateReq) Reset()

func (*ProductSchemaMultiCreateReq) String

func (x *ProductSchemaMultiCreateReq) String() string

type ProductSchemaTslImportReq

type ProductSchemaTslImportReq struct {
	ProductID string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"` //产品id
	Tsl       string `protobuf:"bytes,2,opt,name=tsl,proto3" json:"tsl,omitempty"`             //物模型tsl
	// contains filtered or unexported fields
}

func (*ProductSchemaTslImportReq) Descriptor deprecated

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

Deprecated: Use ProductSchemaTslImportReq.ProtoReflect.Descriptor instead.

func (*ProductSchemaTslImportReq) GetProductID

func (x *ProductSchemaTslImportReq) GetProductID() string

func (*ProductSchemaTslImportReq) GetTsl

func (x *ProductSchemaTslImportReq) GetTsl() string

func (*ProductSchemaTslImportReq) ProtoMessage

func (*ProductSchemaTslImportReq) ProtoMessage()

func (*ProductSchemaTslImportReq) ProtoReflect

func (*ProductSchemaTslImportReq) Reset

func (x *ProductSchemaTslImportReq) Reset()

func (*ProductSchemaTslImportReq) String

func (x *ProductSchemaTslImportReq) String() string

type ProductSchemaTslReadReq

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

func (*ProductSchemaTslReadReq) Descriptor deprecated

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

Deprecated: Use ProductSchemaTslReadReq.ProtoReflect.Descriptor instead.

func (*ProductSchemaTslReadReq) GetProductID

func (x *ProductSchemaTslReadReq) GetProductID() string

func (*ProductSchemaTslReadReq) ProtoMessage

func (*ProductSchemaTslReadReq) ProtoMessage()

func (*ProductSchemaTslReadReq) ProtoReflect

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

func (*ProductSchemaTslReadReq) Reset

func (x *ProductSchemaTslReadReq) Reset()

func (*ProductSchemaTslReadReq) String

func (x *ProductSchemaTslReadReq) String() string

type ProductSchemaTslReadResp

type ProductSchemaTslReadResp struct {
	Tsl string `protobuf:"bytes,1,opt,name=tsl,proto3" json:"tsl,omitempty"` //物模型tsl
	// contains filtered or unexported fields
}

func (*ProductSchemaTslReadResp) Descriptor deprecated

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

Deprecated: Use ProductSchemaTslReadResp.ProtoReflect.Descriptor instead.

func (*ProductSchemaTslReadResp) GetTsl

func (x *ProductSchemaTslReadResp) GetTsl() string

func (*ProductSchemaTslReadResp) ProtoMessage

func (*ProductSchemaTslReadResp) ProtoMessage()

func (*ProductSchemaTslReadResp) ProtoReflect

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

func (*ProductSchemaTslReadResp) Reset

func (x *ProductSchemaTslReadResp) Reset()

func (*ProductSchemaTslReadResp) String

func (x *ProductSchemaTslReadResp) String() string

type ProductSchemaUpdateReq

type ProductSchemaUpdateReq struct {
	Info *ProductSchemaInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` //物模型信息
	// contains filtered or unexported fields
}

func (*ProductSchemaUpdateReq) Descriptor deprecated

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

Deprecated: Use ProductSchemaUpdateReq.ProtoReflect.Descriptor instead.

func (*ProductSchemaUpdateReq) GetInfo

func (*ProductSchemaUpdateReq) ProtoMessage

func (*ProductSchemaUpdateReq) ProtoMessage()

func (*ProductSchemaUpdateReq) ProtoReflect

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

func (*ProductSchemaUpdateReq) Reset

func (x *ProductSchemaUpdateReq) Reset()

func (*ProductSchemaUpdateReq) String

func (x *ProductSchemaUpdateReq) String() string

type PropertyControlMultiSendReq

type PropertyControlMultiSendReq struct {
	ProductID     string        `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`          //产品id
	DeviceNames   []string      `protobuf:"bytes,2,rep,name=deviceNames,proto3" json:"deviceNames,omitempty"`      //设备名
	Devices       []*DeviceCore `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`              //如果是不同的产品,则传这个字段,上面两个参数填了优先使用
	ShadowControl int64         `protobuf:"varint,4,opt,name=shadowControl,proto3" json:"shadowControl,omitempty"` //设备影子控制 0:自动,当设备不在线的时候设置设备影子,设备在线时直接下发给设备 1:只实时下发,不在线报错 2:如果有设备影子只修改影子,没有的也不下发
	Data          string        `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`                    //属性数据, JSON格式字符串, 注意字段需要在物模型属性里定义
	IsAsync       bool          `protobuf:"varint,6,opt,name=isAsync,proto3" json:"isAsync,omitempty"`             //是否异步操作 异步情况通过获取接口来获取
	AreaID        int64         `protobuf:"varint,7,opt,name=areaID,proto3" json:"areaID,omitempty"`               //控制一个区域的设备
	GroupID       int64         `protobuf:"varint,8,opt,name=groupID,proto3" json:"groupID,omitempty"`             //控制一个组的设备
	SyncTimeout   int64         `protobuf:"varint,9,opt,name=syncTimeout,proto3" json:"syncTimeout,omitempty"`     //同步超时时间(单位:秒,不填默认3秒)
	// contains filtered or unexported fields
}

func (*PropertyControlMultiSendReq) Descriptor deprecated

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

Deprecated: Use PropertyControlMultiSendReq.ProtoReflect.Descriptor instead.

func (*PropertyControlMultiSendReq) GetAreaID

func (x *PropertyControlMultiSendReq) GetAreaID() int64

func (*PropertyControlMultiSendReq) GetData

func (x *PropertyControlMultiSendReq) GetData() string

func (*PropertyControlMultiSendReq) GetDeviceNames

func (x *PropertyControlMultiSendReq) GetDeviceNames() []string

func (*PropertyControlMultiSendReq) GetDevices

func (x *PropertyControlMultiSendReq) GetDevices() []*DeviceCore

func (*PropertyControlMultiSendReq) GetGroupID

func (x *PropertyControlMultiSendReq) GetGroupID() int64

func (*PropertyControlMultiSendReq) GetIsAsync

func (x *PropertyControlMultiSendReq) GetIsAsync() bool

func (*PropertyControlMultiSendReq) GetProductID

func (x *PropertyControlMultiSendReq) GetProductID() string

func (*PropertyControlMultiSendReq) GetShadowControl

func (x *PropertyControlMultiSendReq) GetShadowControl() int64

func (*PropertyControlMultiSendReq) GetSyncTimeout

func (x *PropertyControlMultiSendReq) GetSyncTimeout() int64

func (*PropertyControlMultiSendReq) ProtoMessage

func (*PropertyControlMultiSendReq) ProtoMessage()

func (*PropertyControlMultiSendReq) ProtoReflect

func (*PropertyControlMultiSendReq) Reset

func (x *PropertyControlMultiSendReq) Reset()

func (*PropertyControlMultiSendReq) String

func (x *PropertyControlMultiSendReq) String() string

type PropertyControlMultiSendResp

type PropertyControlMultiSendResp struct {
	List []*PropertyControlSendMsg `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` //批量设备返回结果列表
	// contains filtered or unexported fields
}

func (*PropertyControlMultiSendResp) Descriptor deprecated

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

Deprecated: Use PropertyControlMultiSendResp.ProtoReflect.Descriptor instead.

func (*PropertyControlMultiSendResp) GetList

func (*PropertyControlMultiSendResp) ProtoMessage

func (*PropertyControlMultiSendResp) ProtoMessage()

func (*PropertyControlMultiSendResp) ProtoReflect

func (*PropertyControlMultiSendResp) Reset

func (x *PropertyControlMultiSendResp) Reset()

func (*PropertyControlMultiSendResp) String

type PropertyControlSendMsg

type PropertyControlSendMsg struct {
	ProductID  string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`
	DeviceName string `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名
	Code       int64  `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"`            //设备返回状态码
	Msg        string `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`               //返回状态
	MsgToken   string `protobuf:"bytes,5,opt,name=msgToken,proto3" json:"msgToken,omitempty"`     //调用id
	SysMsg     string `protobuf:"bytes,6,opt,name=sysMsg,proto3" json:"sysMsg,omitempty"`         //系统错误信息
	SysCode    int64  `protobuf:"varint,7,opt,name=sysCode,proto3" json:"sysCode,omitempty"`      //系统错误码
	// contains filtered or unexported fields
}

func (*PropertyControlSendMsg) Descriptor deprecated

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

Deprecated: Use PropertyControlSendMsg.ProtoReflect.Descriptor instead.

func (*PropertyControlSendMsg) GetCode

func (x *PropertyControlSendMsg) GetCode() int64

func (*PropertyControlSendMsg) GetDeviceName

func (x *PropertyControlSendMsg) GetDeviceName() string

func (*PropertyControlSendMsg) GetMsg

func (x *PropertyControlSendMsg) GetMsg() string

func (*PropertyControlSendMsg) GetMsgToken

func (x *PropertyControlSendMsg) GetMsgToken() string

func (*PropertyControlSendMsg) GetProductID

func (x *PropertyControlSendMsg) GetProductID() string

func (*PropertyControlSendMsg) GetSysCode

func (x *PropertyControlSendMsg) GetSysCode() int64

func (*PropertyControlSendMsg) GetSysMsg

func (x *PropertyControlSendMsg) GetSysMsg() string

func (*PropertyControlSendMsg) ProtoMessage

func (*PropertyControlSendMsg) ProtoMessage()

func (*PropertyControlSendMsg) ProtoReflect

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

func (*PropertyControlSendMsg) Reset

func (x *PropertyControlSendMsg) Reset()

func (*PropertyControlSendMsg) String

func (x *PropertyControlSendMsg) String() string

type PropertyControlSendReq

type PropertyControlSendReq struct {
	ProductID  string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`   //产品id
	DeviceName string `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名
	Data       string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`             //属性数据, JSON格式字符串, 注意字段需要在物模型属性里定义
	//设备影子控制 0:自动,当设备不在线的时候设置设备影子,设备在线时直接下发给设备 1:只实时下发,不在线报错
	// 2:如果有设备影子只修改影子,没有的也不下发 3: 只修改云端的值,不下发设备
	ShadowControl int64        `protobuf:"varint,4,opt,name=shadowControl,proto3" json:"shadowControl,omitempty"`
	IsAsync       bool         `protobuf:"varint,6,opt,name=isAsync,proto3" json:"isAsync,omitempty"` //是否异步操作 异步情况通过获取接口来获取
	WithProfile   *WithProfile `protobuf:"bytes,7,opt,name=withProfile,proto3" json:"withProfile,omitempty"`
	SyncTimeout   int64        `protobuf:"varint,8,opt,name=syncTimeout,proto3" json:"syncTimeout,omitempty"` //同步超时时间(单位:秒)
	// contains filtered or unexported fields
}

func (*PropertyControlSendReq) Descriptor deprecated

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

Deprecated: Use PropertyControlSendReq.ProtoReflect.Descriptor instead.

func (*PropertyControlSendReq) GetData

func (x *PropertyControlSendReq) GetData() string

func (*PropertyControlSendReq) GetDeviceName

func (x *PropertyControlSendReq) GetDeviceName() string

func (*PropertyControlSendReq) GetIsAsync

func (x *PropertyControlSendReq) GetIsAsync() bool

func (*PropertyControlSendReq) GetProductID

func (x *PropertyControlSendReq) GetProductID() string

func (*PropertyControlSendReq) GetShadowControl

func (x *PropertyControlSendReq) GetShadowControl() int64

func (*PropertyControlSendReq) GetSyncTimeout

func (x *PropertyControlSendReq) GetSyncTimeout() int64

func (*PropertyControlSendReq) GetWithProfile

func (x *PropertyControlSendReq) GetWithProfile() *WithProfile

func (*PropertyControlSendReq) ProtoMessage

func (*PropertyControlSendReq) ProtoMessage()

func (*PropertyControlSendReq) ProtoReflect

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

func (*PropertyControlSendReq) Reset

func (x *PropertyControlSendReq) Reset()

func (*PropertyControlSendReq) String

func (x *PropertyControlSendReq) String() string

type PropertyControlSendResp

type PropertyControlSendResp struct {
	Code     int64  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`        //设备返回状态码
	Msg      string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`           //返回状态
	MsgToken string `protobuf:"bytes,3,opt,name=msgToken,proto3" json:"msgToken,omitempty"` //调用id
	// contains filtered or unexported fields
}

func (*PropertyControlSendResp) Descriptor deprecated

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

Deprecated: Use PropertyControlSendResp.ProtoReflect.Descriptor instead.

func (*PropertyControlSendResp) GetCode

func (x *PropertyControlSendResp) GetCode() int64

func (*PropertyControlSendResp) GetMsg

func (x *PropertyControlSendResp) GetMsg() string

func (*PropertyControlSendResp) GetMsgToken

func (x *PropertyControlSendResp) GetMsgToken() string

func (*PropertyControlSendResp) ProtoMessage

func (*PropertyControlSendResp) ProtoMessage()

func (*PropertyControlSendResp) ProtoReflect

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

func (*PropertyControlSendResp) Reset

func (x *PropertyControlSendResp) Reset()

func (*PropertyControlSendResp) String

func (x *PropertyControlSendResp) String() string

type PropertyGetReportSendReq

type PropertyGetReportSendReq struct {
	ProductID  string   `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`   //产品id (必填)
	DeviceName string   `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名(必填)
	DataIDs    []string `protobuf:"bytes,3,rep,name=dataIDs,proto3" json:"dataIDs,omitempty"`       //获取的具体标识符的数据 如果不指定则获取所有属性数据,一个属性一条
	// contains filtered or unexported fields
}

func (*PropertyGetReportSendReq) Descriptor deprecated

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

Deprecated: Use PropertyGetReportSendReq.ProtoReflect.Descriptor instead.

func (*PropertyGetReportSendReq) GetDataIDs

func (x *PropertyGetReportSendReq) GetDataIDs() []string

func (*PropertyGetReportSendReq) GetDeviceName

func (x *PropertyGetReportSendReq) GetDeviceName() string

func (*PropertyGetReportSendReq) GetProductID

func (x *PropertyGetReportSendReq) GetProductID() string

func (*PropertyGetReportSendReq) ProtoMessage

func (*PropertyGetReportSendReq) ProtoMessage()

func (*PropertyGetReportSendReq) ProtoReflect

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

func (*PropertyGetReportSendReq) Reset

func (x *PropertyGetReportSendReq) Reset()

func (*PropertyGetReportSendReq) String

func (x *PropertyGetReportSendReq) String() string

type PropertyGetReportSendResp

type PropertyGetReportSendResp struct {
	Code      int64  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`           //设备返回状态码
	Msg       string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`              //返回状态
	MsgToken  string `protobuf:"bytes,3,opt,name=msgToken,proto3" json:"msgToken,omitempty"`    //调用id
	Timestamp int64  `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` //上报时间戳(毫秒时间戳)
	Params    string `protobuf:"bytes,5,opt,name=params,proto3" json:"params,omitempty"`        //获取到的值
	// contains filtered or unexported fields
}

func (*PropertyGetReportSendResp) Descriptor deprecated

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

Deprecated: Use PropertyGetReportSendResp.ProtoReflect.Descriptor instead.

func (*PropertyGetReportSendResp) GetCode

func (x *PropertyGetReportSendResp) GetCode() int64

func (*PropertyGetReportSendResp) GetMsg

func (x *PropertyGetReportSendResp) GetMsg() string

func (*PropertyGetReportSendResp) GetMsgToken

func (x *PropertyGetReportSendResp) GetMsgToken() string

func (*PropertyGetReportSendResp) GetParams

func (x *PropertyGetReportSendResp) GetParams() string

func (*PropertyGetReportSendResp) GetTimestamp

func (x *PropertyGetReportSendResp) GetTimestamp() int64

func (*PropertyGetReportSendResp) ProtoMessage

func (*PropertyGetReportSendResp) ProtoMessage()

func (*PropertyGetReportSendResp) ProtoReflect

func (*PropertyGetReportSendResp) Reset

func (x *PropertyGetReportSendResp) Reset()

func (*PropertyGetReportSendResp) String

func (x *PropertyGetReportSendResp) String() string

type PropertyLogIndexReq

type PropertyLogIndexReq struct {
	Page        *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`               //使用了聚合函数及间隔的时候无效
	DeviceNames []string  `protobuf:"bytes,3,rep,name=deviceNames,proto3" json:"deviceNames,omitempty"` //设备名(不填获取产品下所有设备)
	ProductID   string    `protobuf:"bytes,4,opt,name=productID,proto3" json:"productID,omitempty"`     //产品id (必填)
	DataID      string    `protobuf:"bytes,5,opt,name=dataID,proto3" json:"dataID,omitempty"`           //获取的具体标识符的数据(必填)
	TimeStart   int64     `protobuf:"varint,6,opt,name=timeStart,proto3" json:"timeStart,omitempty"`    //获取时间的开始(毫秒时间戳)
	TimeEnd     int64     `protobuf:"varint,7,opt,name=timeEnd,proto3" json:"timeEnd,omitempty"`        //时间的结束(毫秒时间戳)
	Interval    int64     `protobuf:"varint,8,opt,name=interval,proto3" json:"interval,omitempty"`      //间隔(单位毫秒) 如果这个值不为零值 则时间的开始和结束必须有效及聚合函数不应该为空
	ArgFunc     string    `protobuf:"bytes,9,opt,name=argFunc,proto3" json:"argFunc,omitempty"`         //聚合函数 avg:平均值 first:第一个参数 last:最后一个参数 count:总数 twa: 时间加权平均函数 参考:https://docs.taosdata.com/taos-sql/function
	//  /*
	//  FILL 语句指定某一窗口区间数据缺失的情况下的填充模式。填充模式包括以下几种:
	//    不进行填充:NONE(默认填充模式)。
	//    VALUE 填充:固定值填充,此时需要指定填充的数值。例如:FILL(VALUE, 1.23)。
	//    PREV 填充:使用前一个非 NULL 值填充数据。例如:FILL(PREV)。
	//    NULL 填充:使用 NULL 填充数据。例如:FILL(NULL)。
	//    LINEAR 填充:根据前后距离最近的非 NULL 值做线性插值填充。例如:FILL(LINEAR)。
	//    NEXT 填充:使用下一个非 NULL 值填充数据。例如:FILL(NEXT)。
	//  */
	Fill  string `protobuf:"bytes,10,opt,name=fill,proto3" json:"fill,omitempty"`    //填充模式 参考:https://docs.taosdata.com/taos-sql/distinguished/
	Order int64  `protobuf:"varint,11,opt,name=order,proto3" json:"order,omitempty"` //时间排序 0:aes(默认,从久到近排序) 1:desc(时间从近到久排序)
	// contains filtered or unexported fields
}

获取对应日志信息

func (*PropertyLogIndexReq) Descriptor deprecated

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

Deprecated: Use PropertyLogIndexReq.ProtoReflect.Descriptor instead.

func (*PropertyLogIndexReq) GetArgFunc

func (x *PropertyLogIndexReq) GetArgFunc() string

func (*PropertyLogIndexReq) GetDataID

func (x *PropertyLogIndexReq) GetDataID() string

func (*PropertyLogIndexReq) GetDeviceNames

func (x *PropertyLogIndexReq) GetDeviceNames() []string

func (*PropertyLogIndexReq) GetFill

func (x *PropertyLogIndexReq) GetFill() string

func (*PropertyLogIndexReq) GetInterval

func (x *PropertyLogIndexReq) GetInterval() int64

func (*PropertyLogIndexReq) GetOrder

func (x *PropertyLogIndexReq) GetOrder() int64

func (*PropertyLogIndexReq) GetPage

func (x *PropertyLogIndexReq) GetPage() *PageInfo

func (*PropertyLogIndexReq) GetProductID

func (x *PropertyLogIndexReq) GetProductID() string

func (*PropertyLogIndexReq) GetTimeEnd

func (x *PropertyLogIndexReq) GetTimeEnd() int64

func (*PropertyLogIndexReq) GetTimeStart

func (x *PropertyLogIndexReq) GetTimeStart() int64

func (*PropertyLogIndexReq) ProtoMessage

func (*PropertyLogIndexReq) ProtoMessage()

func (*PropertyLogIndexReq) ProtoReflect

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

func (*PropertyLogIndexReq) Reset

func (x *PropertyLogIndexReq) Reset()

func (*PropertyLogIndexReq) String

func (x *PropertyLogIndexReq) String() string

type PropertyLogIndexResp

type PropertyLogIndexResp struct {
	Total int64              `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` //总数
	List  []*PropertyLogInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

获取对应日志信息

func (*PropertyLogIndexResp) Descriptor deprecated

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

Deprecated: Use PropertyLogIndexResp.ProtoReflect.Descriptor instead.

func (*PropertyLogIndexResp) GetList

func (x *PropertyLogIndexResp) GetList() []*PropertyLogInfo

func (*PropertyLogIndexResp) GetTotal

func (x *PropertyLogIndexResp) GetTotal() int64

func (*PropertyLogIndexResp) ProtoMessage

func (*PropertyLogIndexResp) ProtoMessage()

func (*PropertyLogIndexResp) ProtoReflect

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

func (*PropertyLogIndexResp) Reset

func (x *PropertyLogIndexResp) Reset()

func (*PropertyLogIndexResp) String

func (x *PropertyLogIndexResp) String() string

type PropertyLogInfo

type PropertyLogInfo struct {
	Timestamp int64  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` //发生时间戳(毫秒时间戳)
	DataID    string `protobuf:"bytes,3,opt,name=dataID,proto3" json:"dataID,omitempty"`        //属性id
	Value     string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`          //获取到的值
	// contains filtered or unexported fields
}

设备的日志数据

func (*PropertyLogInfo) Descriptor deprecated

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

Deprecated: Use PropertyLogInfo.ProtoReflect.Descriptor instead.

func (*PropertyLogInfo) GetDataID

func (x *PropertyLogInfo) GetDataID() string

func (*PropertyLogInfo) GetTimestamp

func (x *PropertyLogInfo) GetTimestamp() int64

func (*PropertyLogInfo) GetValue

func (x *PropertyLogInfo) GetValue() string

func (*PropertyLogInfo) ProtoMessage

func (*PropertyLogInfo) ProtoMessage()

func (*PropertyLogInfo) ProtoReflect

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

func (*PropertyLogInfo) Reset

func (x *PropertyLogInfo) Reset()

func (*PropertyLogInfo) String

func (x *PropertyLogInfo) String() string

type PropertyLogLatestIndexReq

type PropertyLogLatestIndexReq struct {
	ProductID  string   `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"`   //产品id (必填)
	DeviceName string   `protobuf:"bytes,1,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名(必填)
	DataIDs    []string `protobuf:"bytes,3,rep,name=dataIDs,proto3" json:"dataIDs,omitempty"`       //获取的具体标识符的数据 如果不指定则获取所有属性数据,一个属性一条,如果没有获取到的不会返回值
	// contains filtered or unexported fields
}

获取对应日志信息

func (*PropertyLogLatestIndexReq) Descriptor deprecated

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

Deprecated: Use PropertyLogLatestIndexReq.ProtoReflect.Descriptor instead.

func (*PropertyLogLatestIndexReq) GetDataIDs

func (x *PropertyLogLatestIndexReq) GetDataIDs() []string

func (*PropertyLogLatestIndexReq) GetDeviceName

func (x *PropertyLogLatestIndexReq) GetDeviceName() string

func (*PropertyLogLatestIndexReq) GetProductID

func (x *PropertyLogLatestIndexReq) GetProductID() string

func (*PropertyLogLatestIndexReq) ProtoMessage

func (*PropertyLogLatestIndexReq) ProtoMessage()

func (*PropertyLogLatestIndexReq) ProtoReflect

func (*PropertyLogLatestIndexReq) Reset

func (x *PropertyLogLatestIndexReq) Reset()

func (*PropertyLogLatestIndexReq) String

func (x *PropertyLogLatestIndexReq) String() string

type ProtocolConfigField

type ProtocolConfigField struct {
	Id         int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Group      string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
	Key        string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	Label      string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
	IsRequired bool   `protobuf:"varint,5,opt,name=isRequired,proto3" json:"isRequired,omitempty"`
	Sort       int64  `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtocolConfigField) Descriptor deprecated

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

Deprecated: Use ProtocolConfigField.ProtoReflect.Descriptor instead.

func (*ProtocolConfigField) GetGroup

func (x *ProtocolConfigField) GetGroup() string

func (*ProtocolConfigField) GetId

func (x *ProtocolConfigField) GetId() int64

func (*ProtocolConfigField) GetIsRequired

func (x *ProtocolConfigField) GetIsRequired() bool

func (*ProtocolConfigField) GetKey

func (x *ProtocolConfigField) GetKey() string

func (*ProtocolConfigField) GetLabel

func (x *ProtocolConfigField) GetLabel() string

func (*ProtocolConfigField) GetSort

func (x *ProtocolConfigField) GetSort() int64

func (*ProtocolConfigField) ProtoMessage

func (*ProtocolConfigField) ProtoMessage()

func (*ProtocolConfigField) ProtoReflect

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

func (*ProtocolConfigField) Reset

func (x *ProtocolConfigField) Reset()

func (*ProtocolConfigField) String

func (x *ProtocolConfigField) String() string

type ProtocolConfigInfo

type ProtocolConfigInfo struct {
	Id     int64             `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Config map[string]string `` /* 153-byte string literal not displayed */
	Desc   string            `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtocolConfigInfo) Descriptor deprecated

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

Deprecated: Use ProtocolConfigInfo.ProtoReflect.Descriptor instead.

func (*ProtocolConfigInfo) GetConfig

func (x *ProtocolConfigInfo) GetConfig() map[string]string

func (*ProtocolConfigInfo) GetDesc

func (x *ProtocolConfigInfo) GetDesc() string

func (*ProtocolConfigInfo) GetId

func (x *ProtocolConfigInfo) GetId() int64

func (*ProtocolConfigInfo) ProtoMessage

func (*ProtocolConfigInfo) ProtoMessage()

func (*ProtocolConfigInfo) ProtoReflect

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

func (*ProtocolConfigInfo) Reset

func (x *ProtocolConfigInfo) Reset()

func (*ProtocolConfigInfo) String

func (x *ProtocolConfigInfo) String() string

type ProtocolInfo

type ProtocolInfo struct {
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Code          string                 `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`                   //  iThings,iThings-thingsboard,wumei,aliyun,huaweiyun,tuya
	TransProtocol string                 `protobuf:"bytes,5,opt,name=transProtocol,proto3" json:"transProtocol,omitempty"` // 传输协议: mqtt,tcp,udp
	Desc          string                 `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"`
	Endpoints     []string               `protobuf:"bytes,7,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	EtcdKey       string                 `protobuf:"bytes,8,opt,name=etcdKey,proto3" json:"etcdKey,omitempty"`
	ConfigFields  []*ProtocolConfigField `protobuf:"bytes,9,rep,name=configFields,proto3" json:"configFields,omitempty"` //配置字段列表,没有可以不传
	ConfigInfos   []*ProtocolConfigInfo  `protobuf:"bytes,10,rep,name=configInfos,proto3" json:"configInfos,omitempty"`  //配置列表
	// contains filtered or unexported fields
}

func (*ProtocolInfo) Descriptor deprecated

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

Deprecated: Use ProtocolInfo.ProtoReflect.Descriptor instead.

func (*ProtocolInfo) GetCode

func (x *ProtocolInfo) GetCode() string

func (*ProtocolInfo) GetConfigFields

func (x *ProtocolInfo) GetConfigFields() []*ProtocolConfigField

func (*ProtocolInfo) GetConfigInfos

func (x *ProtocolInfo) GetConfigInfos() []*ProtocolConfigInfo

func (*ProtocolInfo) GetDesc

func (x *ProtocolInfo) GetDesc() string

func (*ProtocolInfo) GetEndpoints

func (x *ProtocolInfo) GetEndpoints() []string

func (*ProtocolInfo) GetEtcdKey

func (x *ProtocolInfo) GetEtcdKey() string

func (*ProtocolInfo) GetId

func (x *ProtocolInfo) GetId() int64

func (*ProtocolInfo) GetName

func (x *ProtocolInfo) GetName() string

func (*ProtocolInfo) GetTransProtocol

func (x *ProtocolInfo) GetTransProtocol() string

func (*ProtocolInfo) ProtoMessage

func (*ProtocolInfo) ProtoMessage()

func (*ProtocolInfo) ProtoReflect

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

func (*ProtocolInfo) Reset

func (x *ProtocolInfo) Reset()

func (*ProtocolInfo) String

func (x *ProtocolInfo) String() string

type ProtocolInfoIndexReq

type ProtocolInfoIndexReq struct {
	Page          *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	Name          string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Code          string    `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`                   //  iThings,iThings-thingsboard,wumei,aliyun,huaweiyun,tuya
	TransProtocol string    `protobuf:"bytes,5,opt,name=transProtocol,proto3" json:"transProtocol,omitempty"` // 传输协议: mqtt,tcp,udp
	NotCodes      []string  `protobuf:"bytes,6,rep,name=notCodes,proto3" json:"notCodes,omitempty"`           //排除的协议包
	// contains filtered or unexported fields
}

func (*ProtocolInfoIndexReq) Descriptor deprecated

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

Deprecated: Use ProtocolInfoIndexReq.ProtoReflect.Descriptor instead.

func (*ProtocolInfoIndexReq) GetCode

func (x *ProtocolInfoIndexReq) GetCode() string

func (*ProtocolInfoIndexReq) GetName

func (x *ProtocolInfoIndexReq) GetName() string

func (*ProtocolInfoIndexReq) GetNotCodes

func (x *ProtocolInfoIndexReq) GetNotCodes() []string

func (*ProtocolInfoIndexReq) GetPage

func (x *ProtocolInfoIndexReq) GetPage() *PageInfo

func (*ProtocolInfoIndexReq) GetTransProtocol

func (x *ProtocolInfoIndexReq) GetTransProtocol() string

func (*ProtocolInfoIndexReq) ProtoMessage

func (*ProtocolInfoIndexReq) ProtoMessage()

func (*ProtocolInfoIndexReq) ProtoReflect

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

func (*ProtocolInfoIndexReq) Reset

func (x *ProtocolInfoIndexReq) Reset()

func (*ProtocolInfoIndexReq) String

func (x *ProtocolInfoIndexReq) String() string

type ProtocolInfoIndexResp

type ProtocolInfoIndexResp struct {
	List  []*ProtocolInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64           `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtocolInfoIndexResp) Descriptor deprecated

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

Deprecated: Use ProtocolInfoIndexResp.ProtoReflect.Descriptor instead.

func (*ProtocolInfoIndexResp) GetList

func (x *ProtocolInfoIndexResp) GetList() []*ProtocolInfo

func (*ProtocolInfoIndexResp) GetTotal

func (x *ProtocolInfoIndexResp) GetTotal() int64

func (*ProtocolInfoIndexResp) ProtoMessage

func (*ProtocolInfoIndexResp) ProtoMessage()

func (*ProtocolInfoIndexResp) ProtoReflect

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

func (*ProtocolInfoIndexResp) Reset

func (x *ProtocolInfoIndexResp) Reset()

func (*ProtocolInfoIndexResp) String

func (x *ProtocolInfoIndexResp) String() string

type ProtocolManageClient

type ProtocolManageClient interface {
	//协议列表
	ProtocolInfoIndex(ctx context.Context, in *ProtocolInfoIndexReq, opts ...grpc.CallOption) (*ProtocolInfoIndexResp, error)
	//协议详情
	ProtocolInfoRead(ctx context.Context, in *WithIDCode, opts ...grpc.CallOption) (*ProtocolInfo, error)
	//协议创建
	ProtocolInfoCreate(ctx context.Context, in *ProtocolInfo, opts ...grpc.CallOption) (*WithID, error)
	//协议更新
	ProtocolInfoUpdate(ctx context.Context, in *ProtocolInfo, opts ...grpc.CallOption) (*Empty, error)
	//协议删除
	ProtocolInfoDelete(ctx context.Context, in *WithID, opts ...grpc.CallOption) (*Empty, error)
	//更新服务状态,只给服务调用
	ProtocolServiceUpdate(ctx context.Context, in *ProtocolService, opts ...grpc.CallOption) (*Empty, error)
	ProtocolServiceDelete(ctx context.Context, in *WithID, opts ...grpc.CallOption) (*Empty, error)
	ProtocolServiceIndex(ctx context.Context, in *ProtocolServiceIndexReq, opts ...grpc.CallOption) (*ProtocolServiceIndexResp, error)
}

ProtocolManageClient is the client API for ProtocolManage 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.

type ProtocolManageServer

type ProtocolManageServer interface {
	//协议列表
	ProtocolInfoIndex(context.Context, *ProtocolInfoIndexReq) (*ProtocolInfoIndexResp, error)
	//协议详情
	ProtocolInfoRead(context.Context, *WithIDCode) (*ProtocolInfo, error)
	//协议创建
	ProtocolInfoCreate(context.Context, *ProtocolInfo) (*WithID, error)
	//协议更新
	ProtocolInfoUpdate(context.Context, *ProtocolInfo) (*Empty, error)
	//协议删除
	ProtocolInfoDelete(context.Context, *WithID) (*Empty, error)
	//更新服务状态,只给服务调用
	ProtocolServiceUpdate(context.Context, *ProtocolService) (*Empty, error)
	ProtocolServiceDelete(context.Context, *WithID) (*Empty, error)
	ProtocolServiceIndex(context.Context, *ProtocolServiceIndexReq) (*ProtocolServiceIndexResp, error)
	// contains filtered or unexported methods
}

ProtocolManageServer is the server API for ProtocolManage service. All implementations must embed UnimplementedProtocolManageServer for forward compatibility

type ProtocolService added in v1.0.2

type ProtocolService struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Code        string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`                //协议code
	Ip          string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`                    // 协议服务的ip地址
	Port        int64  `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`               //监听的端口,如果没有填0即可
	Status      int64  `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`           //服务状态
	UpdatedTime int64  `protobuf:"varint,6,opt,name=updatedTime,proto3" json:"updatedTime,omitempty"` //更新时间
	CreatedTime int64  `protobuf:"varint,7,opt,name=createdTime,proto3" json:"createdTime,omitempty"` //首次加入时间
	// contains filtered or unexported fields
}

func (*ProtocolService) Descriptor deprecated added in v1.0.2

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

Deprecated: Use ProtocolService.ProtoReflect.Descriptor instead.

func (*ProtocolService) GetCode added in v1.0.2

func (x *ProtocolService) GetCode() string

func (*ProtocolService) GetCreatedTime added in v1.0.2

func (x *ProtocolService) GetCreatedTime() int64

func (*ProtocolService) GetId added in v1.0.2

func (x *ProtocolService) GetId() int64

func (*ProtocolService) GetIp added in v1.0.2

func (x *ProtocolService) GetIp() string

func (*ProtocolService) GetPort added in v1.0.2

func (x *ProtocolService) GetPort() int64

func (*ProtocolService) GetStatus added in v1.0.2

func (x *ProtocolService) GetStatus() int64

func (*ProtocolService) GetUpdatedTime added in v1.0.2

func (x *ProtocolService) GetUpdatedTime() int64

func (*ProtocolService) ProtoMessage added in v1.0.2

func (*ProtocolService) ProtoMessage()

func (*ProtocolService) ProtoReflect added in v1.0.2

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

func (*ProtocolService) Reset added in v1.0.2

func (x *ProtocolService) Reset()

func (*ProtocolService) String added in v1.0.2

func (x *ProtocolService) String() string

type ProtocolServiceIndexReq added in v1.0.2

type ProtocolServiceIndexReq struct {
	Page *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	Code string    `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` //  iThings,iThings-thingsboard,wumei,aliyun,huaweiyun,tuya
	// contains filtered or unexported fields
}

func (*ProtocolServiceIndexReq) Descriptor deprecated added in v1.0.2

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

Deprecated: Use ProtocolServiceIndexReq.ProtoReflect.Descriptor instead.

func (*ProtocolServiceIndexReq) GetCode added in v1.0.2

func (x *ProtocolServiceIndexReq) GetCode() string

func (*ProtocolServiceIndexReq) GetPage added in v1.0.2

func (x *ProtocolServiceIndexReq) GetPage() *PageInfo

func (*ProtocolServiceIndexReq) ProtoMessage added in v1.0.2

func (*ProtocolServiceIndexReq) ProtoMessage()

func (*ProtocolServiceIndexReq) ProtoReflect added in v1.0.2

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

func (*ProtocolServiceIndexReq) Reset added in v1.0.2

func (x *ProtocolServiceIndexReq) Reset()

func (*ProtocolServiceIndexReq) String added in v1.0.2

func (x *ProtocolServiceIndexReq) String() string

type ProtocolServiceIndexResp added in v1.0.2

type ProtocolServiceIndexResp struct {
	List  []*ProtocolService `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64              `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtocolServiceIndexResp) Descriptor deprecated added in v1.0.2

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

Deprecated: Use ProtocolServiceIndexResp.ProtoReflect.Descriptor instead.

func (*ProtocolServiceIndexResp) GetList added in v1.0.2

func (x *ProtocolServiceIndexResp) GetList() []*ProtocolService

func (*ProtocolServiceIndexResp) GetTotal added in v1.0.2

func (x *ProtocolServiceIndexResp) GetTotal() int64

func (*ProtocolServiceIndexResp) ProtoMessage added in v1.0.2

func (*ProtocolServiceIndexResp) ProtoMessage()

func (*ProtocolServiceIndexResp) ProtoReflect added in v1.0.2

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

func (*ProtocolServiceIndexResp) Reset added in v1.0.2

func (x *ProtocolServiceIndexResp) Reset()

func (*ProtocolServiceIndexResp) String added in v1.0.2

func (x *ProtocolServiceIndexResp) String() string

type RemoteConfigClient

type RemoteConfigClient interface {
	RemoteConfigCreate(ctx context.Context, in *RemoteConfigCreateReq, opts ...grpc.CallOption) (*Empty, error)
	RemoteConfigIndex(ctx context.Context, in *RemoteConfigIndexReq, opts ...grpc.CallOption) (*RemoteConfigIndexResp, error)
	RemoteConfigPushAll(ctx context.Context, in *RemoteConfigPushAllReq, opts ...grpc.CallOption) (*Empty, error)
	RemoteConfigLastRead(ctx context.Context, in *RemoteConfigLastReadReq, opts ...grpc.CallOption) (*RemoteConfigLastReadResp, error)
}

RemoteConfigClient is the client API for RemoteConfig 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.

type RemoteConfigCreateReq

type RemoteConfigCreateReq struct {
	ProductID string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`
	Content   string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoteConfigCreateReq) Descriptor deprecated

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

Deprecated: Use RemoteConfigCreateReq.ProtoReflect.Descriptor instead.

func (*RemoteConfigCreateReq) GetContent

func (x *RemoteConfigCreateReq) GetContent() string

func (*RemoteConfigCreateReq) GetProductID

func (x *RemoteConfigCreateReq) GetProductID() string

func (*RemoteConfigCreateReq) ProtoMessage

func (*RemoteConfigCreateReq) ProtoMessage()

func (*RemoteConfigCreateReq) ProtoReflect

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

func (*RemoteConfigCreateReq) Reset

func (x *RemoteConfigCreateReq) Reset()

func (*RemoteConfigCreateReq) String

func (x *RemoteConfigCreateReq) String() string

type RemoteConfigIndexReq

type RemoteConfigIndexReq struct {
	Page      *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	ProductID string    `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoteConfigIndexReq) Descriptor deprecated

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

Deprecated: Use RemoteConfigIndexReq.ProtoReflect.Descriptor instead.

func (*RemoteConfigIndexReq) GetPage

func (x *RemoteConfigIndexReq) GetPage() *PageInfo

func (*RemoteConfigIndexReq) GetProductID

func (x *RemoteConfigIndexReq) GetProductID() string

func (*RemoteConfigIndexReq) ProtoMessage

func (*RemoteConfigIndexReq) ProtoMessage()

func (*RemoteConfigIndexReq) ProtoReflect

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

func (*RemoteConfigIndexReq) Reset

func (x *RemoteConfigIndexReq) Reset()

func (*RemoteConfigIndexReq) String

func (x *RemoteConfigIndexReq) String() string

type RemoteConfigIndexResp

type RemoteConfigIndexResp struct {
	List  []*ProductRemoteConfig `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64                  `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoteConfigIndexResp) Descriptor deprecated

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

Deprecated: Use RemoteConfigIndexResp.ProtoReflect.Descriptor instead.

func (*RemoteConfigIndexResp) GetList

func (*RemoteConfigIndexResp) GetTotal

func (x *RemoteConfigIndexResp) GetTotal() int64

func (*RemoteConfigIndexResp) ProtoMessage

func (*RemoteConfigIndexResp) ProtoMessage()

func (*RemoteConfigIndexResp) ProtoReflect

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

func (*RemoteConfigIndexResp) Reset

func (x *RemoteConfigIndexResp) Reset()

func (*RemoteConfigIndexResp) String

func (x *RemoteConfigIndexResp) String() string

type RemoteConfigLastReadReq

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

func (*RemoteConfigLastReadReq) Descriptor deprecated

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

Deprecated: Use RemoteConfigLastReadReq.ProtoReflect.Descriptor instead.

func (*RemoteConfigLastReadReq) GetProductID

func (x *RemoteConfigLastReadReq) GetProductID() string

func (*RemoteConfigLastReadReq) ProtoMessage

func (*RemoteConfigLastReadReq) ProtoMessage()

func (*RemoteConfigLastReadReq) ProtoReflect

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

func (*RemoteConfigLastReadReq) Reset

func (x *RemoteConfigLastReadReq) Reset()

func (*RemoteConfigLastReadReq) String

func (x *RemoteConfigLastReadReq) String() string

type RemoteConfigLastReadResp

type RemoteConfigLastReadResp struct {
	Info *ProductRemoteConfig `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoteConfigLastReadResp) Descriptor deprecated

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

Deprecated: Use RemoteConfigLastReadResp.ProtoReflect.Descriptor instead.

func (*RemoteConfigLastReadResp) GetInfo

func (*RemoteConfigLastReadResp) ProtoMessage

func (*RemoteConfigLastReadResp) ProtoMessage()

func (*RemoteConfigLastReadResp) ProtoReflect

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

func (*RemoteConfigLastReadResp) Reset

func (x *RemoteConfigLastReadResp) Reset()

func (*RemoteConfigLastReadResp) String

func (x *RemoteConfigLastReadResp) String() string

type RemoteConfigPushAllReq

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

func (*RemoteConfigPushAllReq) Descriptor deprecated

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

Deprecated: Use RemoteConfigPushAllReq.ProtoReflect.Descriptor instead.

func (*RemoteConfigPushAllReq) GetProductID

func (x *RemoteConfigPushAllReq) GetProductID() string

func (*RemoteConfigPushAllReq) ProtoMessage

func (*RemoteConfigPushAllReq) ProtoMessage()

func (*RemoteConfigPushAllReq) ProtoReflect

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

func (*RemoteConfigPushAllReq) Reset

func (x *RemoteConfigPushAllReq) Reset()

func (*RemoteConfigPushAllReq) String

func (x *RemoteConfigPushAllReq) String() string

type RemoteConfigServer

type RemoteConfigServer interface {
	RemoteConfigCreate(context.Context, *RemoteConfigCreateReq) (*Empty, error)
	RemoteConfigIndex(context.Context, *RemoteConfigIndexReq) (*RemoteConfigIndexResp, error)
	RemoteConfigPushAll(context.Context, *RemoteConfigPushAllReq) (*Empty, error)
	RemoteConfigLastRead(context.Context, *RemoteConfigLastReadReq) (*RemoteConfigLastReadResp, error)
	// contains filtered or unexported methods
}

RemoteConfigServer is the server API for RemoteConfig service. All implementations must embed UnimplementedRemoteConfigServer for forward compatibility

type RespReadReq

type RespReadReq struct {
	ProductID  string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`   //产品id
	DeviceName string `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名
	MsgToken   string `protobuf:"bytes,3,opt,name=msgToken,proto3" json:"msgToken,omitempty"`     //调用id
	// contains filtered or unexported fields
}

获取异步消息的请求

func (*RespReadReq) Descriptor deprecated

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

Deprecated: Use RespReadReq.ProtoReflect.Descriptor instead.

func (*RespReadReq) GetDeviceName

func (x *RespReadReq) GetDeviceName() string

func (*RespReadReq) GetMsgToken

func (x *RespReadReq) GetMsgToken() string

func (*RespReadReq) GetProductID

func (x *RespReadReq) GetProductID() string

func (*RespReadReq) ProtoMessage

func (*RespReadReq) ProtoMessage()

func (*RespReadReq) ProtoReflect

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

func (*RespReadReq) Reset

func (x *RespReadReq) Reset()

func (*RespReadReq) String

func (x *RespReadReq) String() string

type RootCheckReq

type RootCheckReq struct {
	Username    string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`       //用户名
	Password    string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`       //密码
	ClientID    string `protobuf:"bytes,3,opt,name=clientID,proto3" json:"clientID,omitempty"`       //clientID
	Ip          string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`                   //访问的ip地址
	Certificate []byte `protobuf:"bytes,5,opt,name=certificate,proto3" json:"certificate,omitempty"` //客户端证书
	// contains filtered or unexported fields
}

func (*RootCheckReq) Descriptor deprecated

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

Deprecated: Use RootCheckReq.ProtoReflect.Descriptor instead.

func (*RootCheckReq) GetCertificate

func (x *RootCheckReq) GetCertificate() []byte

func (*RootCheckReq) GetClientID

func (x *RootCheckReq) GetClientID() string

func (*RootCheckReq) GetIp

func (x *RootCheckReq) GetIp() string

func (*RootCheckReq) GetPassword

func (x *RootCheckReq) GetPassword() string

func (*RootCheckReq) GetUsername

func (x *RootCheckReq) GetUsername() string

func (*RootCheckReq) ProtoMessage

func (*RootCheckReq) ProtoMessage()

func (*RootCheckReq) ProtoReflect

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

func (*RootCheckReq) Reset

func (x *RootCheckReq) Reset()

func (*RootCheckReq) String

func (x *RootCheckReq) String() string

type SchemaAction

type SchemaAction struct {
	Input  []*SchemaParam `protobuf:"bytes,1,rep,name=input,proto3" json:"input,omitempty"`   //调用参数
	Output []*SchemaParam `protobuf:"bytes,2,rep,name=output,proto3" json:"output,omitempty"` //返回参数
	// contains filtered or unexported fields
}

func (*SchemaAction) Descriptor deprecated

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

Deprecated: Use SchemaAction.ProtoReflect.Descriptor instead.

func (*SchemaAction) GetInput

func (x *SchemaAction) GetInput() []*SchemaParam

func (*SchemaAction) GetOutput

func (x *SchemaAction) GetOutput() []*SchemaParam

func (*SchemaAction) ProtoMessage

func (*SchemaAction) ProtoMessage()

func (*SchemaAction) ProtoReflect

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

func (*SchemaAction) Reset

func (x *SchemaAction) Reset()

func (*SchemaAction) String

func (x *SchemaAction) String() string

type SchemaDefine

type SchemaDefine struct {
	Type    string            `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` //参数类型: bool int string struct float timestamp array enum
	Mapping map[string]string ``                                                              //枚举及bool类型:bool enum
	/* 155-byte string literal not displayed */
	Min       string        `protobuf:"bytes,3,opt,name=min,proto3" json:"min,omitempty"`             //数值最小值:int  float
	Max       string        `protobuf:"bytes,4,opt,name=max,proto3" json:"max,omitempty"`             //数值最大值:int string float
	Start     string        `protobuf:"bytes,5,opt,name=start,proto3" json:"start,omitempty"`         //初始值:int float
	Step      string        `protobuf:"bytes,6,opt,name=step,proto3" json:"step,omitempty"`           //步长:int float
	Unit      string        `protobuf:"bytes,7,opt,name=unit,proto3" json:"unit,omitempty"`           //单位:int float
	Specs     []*SchemaSpec `protobuf:"bytes,8,rep,name=specs,proto3" json:"specs,omitempty"`         //结构体:struct
	ArrayInfo *SchemaDefine `protobuf:"bytes,9,opt,name=arrayInfo,proto3" json:"arrayInfo,omitempty"` //数组:array
	// contains filtered or unexported fields
}

物模型定义

func (*SchemaDefine) Descriptor deprecated

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

Deprecated: Use SchemaDefine.ProtoReflect.Descriptor instead.

func (*SchemaDefine) GetArrayInfo

func (x *SchemaDefine) GetArrayInfo() *SchemaDefine

func (*SchemaDefine) GetMapping

func (x *SchemaDefine) GetMapping() map[string]string

func (*SchemaDefine) GetMax

func (x *SchemaDefine) GetMax() string

func (*SchemaDefine) GetMin

func (x *SchemaDefine) GetMin() string

func (*SchemaDefine) GetSpecs

func (x *SchemaDefine) GetSpecs() []*SchemaSpec

func (*SchemaDefine) GetStart

func (x *SchemaDefine) GetStart() string

func (*SchemaDefine) GetStep

func (x *SchemaDefine) GetStep() string

func (*SchemaDefine) GetType

func (x *SchemaDefine) GetType() string

func (*SchemaDefine) GetUnit

func (x *SchemaDefine) GetUnit() string

func (*SchemaDefine) ProtoMessage

func (*SchemaDefine) ProtoMessage()

func (*SchemaDefine) ProtoReflect

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

func (*SchemaDefine) Reset

func (x *SchemaDefine) Reset()

func (*SchemaDefine) String

func (x *SchemaDefine) String() string

type SchemaEvent

type SchemaEvent struct {
	Type   string         `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`     //事件类型: 信息:info  告警alert  故障:fault
	Params []*SchemaParam `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"` //事件参数
	// contains filtered or unexported fields
}

func (*SchemaEvent) Descriptor deprecated

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

Deprecated: Use SchemaEvent.ProtoReflect.Descriptor instead.

func (*SchemaEvent) GetParams

func (x *SchemaEvent) GetParams() []*SchemaParam

func (*SchemaEvent) GetType

func (x *SchemaEvent) GetType() string

func (*SchemaEvent) ProtoMessage

func (*SchemaEvent) ProtoMessage()

func (*SchemaEvent) ProtoReflect

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

func (*SchemaEvent) Reset

func (x *SchemaEvent) Reset()

func (*SchemaEvent) String

func (x *SchemaEvent) String() string

type SchemaManageClient

type SchemaManageClient interface {
	CommonSchemaInit(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
	//更新产品物模型
	CommonSchemaUpdate(ctx context.Context, in *CommonSchemaUpdateReq, opts ...grpc.CallOption) (*Empty, error)
	//新增产品
	CommonSchemaCreate(ctx context.Context, in *CommonSchemaCreateReq, opts ...grpc.CallOption) (*Empty, error)
	//删除产品
	CommonSchemaDelete(ctx context.Context, in *WithID, opts ...grpc.CallOption) (*Empty, error)
	//获取产品信息列表
	CommonSchemaIndex(ctx context.Context, in *CommonSchemaIndexReq, opts ...grpc.CallOption) (*CommonSchemaIndexResp, error)
}

SchemaManageClient is the client API for SchemaManage 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.

type SchemaManageServer

type SchemaManageServer interface {
	CommonSchemaInit(context.Context, *Empty) (*Empty, error)
	//更新产品物模型
	CommonSchemaUpdate(context.Context, *CommonSchemaUpdateReq) (*Empty, error)
	//新增产品
	CommonSchemaCreate(context.Context, *CommonSchemaCreateReq) (*Empty, error)
	//删除产品
	CommonSchemaDelete(context.Context, *WithID) (*Empty, error)
	//获取产品信息列表
	CommonSchemaIndex(context.Context, *CommonSchemaIndexReq) (*CommonSchemaIndexResp, error)
	// contains filtered or unexported methods
}

SchemaManageServer is the server API for SchemaManage service. All implementations must embed UnimplementedSchemaManageServer for forward compatibility

type SchemaParam

type SchemaParam struct {
	Identifier string        `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` //参数标识符
	Name       string        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`             //参数名称
	Define     *SchemaDefine `protobuf:"bytes,3,opt,name=define,proto3" json:"define,omitempty"`         //参数定义
	// contains filtered or unexported fields
}

物模型参数

func (*SchemaParam) Descriptor deprecated

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

Deprecated: Use SchemaParam.ProtoReflect.Descriptor instead.

func (*SchemaParam) GetDefine

func (x *SchemaParam) GetDefine() *SchemaDefine

func (*SchemaParam) GetIdentifier

func (x *SchemaParam) GetIdentifier() string

func (*SchemaParam) GetName

func (x *SchemaParam) GetName() string

func (*SchemaParam) ProtoMessage

func (*SchemaParam) ProtoMessage()

func (*SchemaParam) ProtoReflect

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

func (*SchemaParam) Reset

func (x *SchemaParam) Reset()

func (*SchemaParam) String

func (x *SchemaParam) String() string

type SchemaProperty

type SchemaProperty struct {
	Mode   string        `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"`     //读写类型: r(只读) rw(可读可写)
	Define *SchemaDefine `protobuf:"bytes,2,opt,name=define,proto3" json:"define,omitempty"` //参数定义
	// contains filtered or unexported fields
}

func (*SchemaProperty) Descriptor deprecated

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

Deprecated: Use SchemaProperty.ProtoReflect.Descriptor instead.

func (*SchemaProperty) GetDefine

func (x *SchemaProperty) GetDefine() *SchemaDefine

func (*SchemaProperty) GetMode

func (x *SchemaProperty) GetMode() string

func (*SchemaProperty) ProtoMessage

func (*SchemaProperty) ProtoMessage()

func (*SchemaProperty) ProtoReflect

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

func (*SchemaProperty) Reset

func (x *SchemaProperty) Reset()

func (*SchemaProperty) String

func (x *SchemaProperty) String() string

type SchemaSpec

type SchemaSpec struct {
	Identifier string        `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` //参数标识符
	Name       string        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`             //参数名称
	DataType   *SchemaDefine `protobuf:"bytes,3,opt,name=dataType,proto3" json:"dataType,omitempty"`     //参数定义
	// contains filtered or unexported fields
}

物模型结构体说明

func (*SchemaSpec) Descriptor deprecated

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

Deprecated: Use SchemaSpec.ProtoReflect.Descriptor instead.

func (*SchemaSpec) GetDataType

func (x *SchemaSpec) GetDataType() *SchemaDefine

func (*SchemaSpec) GetIdentifier

func (x *SchemaSpec) GetIdentifier() string

func (*SchemaSpec) GetName

func (x *SchemaSpec) GetName() string

func (*SchemaSpec) ProtoMessage

func (*SchemaSpec) ProtoMessage()

func (*SchemaSpec) ProtoReflect

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

func (*SchemaSpec) Reset

func (x *SchemaSpec) Reset()

func (*SchemaSpec) String

func (x *SchemaSpec) String() string

type SdkLogIndexReq

type SdkLogIndexReq struct {
	ProductID  string    `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`   //产品id
	DeviceName string    `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名
	TimeStart  int64     `protobuf:"varint,3,opt,name=timeStart,proto3" json:"timeStart,omitempty"`  //获取时间的开始
	TimeEnd    int64     `protobuf:"varint,4,opt,name=timeEnd,proto3" json:"timeEnd,omitempty"`      //时间的结束
	LogLevel   int64     `protobuf:"varint,5,opt,name=logLevel,proto3" json:"logLevel,omitempty"`    //日志等级
	Page       *PageInfo `protobuf:"bytes,6,opt,name=page,proto3" json:"page,omitempty"`             //分页信息 只获取一个则不填
	// contains filtered or unexported fields
}

获取sdk调试日志信息

func (*SdkLogIndexReq) Descriptor deprecated

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

Deprecated: Use SdkLogIndexReq.ProtoReflect.Descriptor instead.

func (*SdkLogIndexReq) GetDeviceName

func (x *SdkLogIndexReq) GetDeviceName() string

func (*SdkLogIndexReq) GetLogLevel

func (x *SdkLogIndexReq) GetLogLevel() int64

func (*SdkLogIndexReq) GetPage

func (x *SdkLogIndexReq) GetPage() *PageInfo

func (*SdkLogIndexReq) GetProductID

func (x *SdkLogIndexReq) GetProductID() string

func (*SdkLogIndexReq) GetTimeEnd

func (x *SdkLogIndexReq) GetTimeEnd() int64

func (*SdkLogIndexReq) GetTimeStart

func (x *SdkLogIndexReq) GetTimeStart() int64

func (*SdkLogIndexReq) ProtoMessage

func (*SdkLogIndexReq) ProtoMessage()

func (*SdkLogIndexReq) ProtoReflect

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

func (*SdkLogIndexReq) Reset

func (x *SdkLogIndexReq) Reset()

func (*SdkLogIndexReq) String

func (x *SdkLogIndexReq) String() string

type SdkLogIndexResp

type SdkLogIndexResp struct {
	Total int64         `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` //总数
	List  []*SdkLogInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

sdk调试日志信息

func (*SdkLogIndexResp) Descriptor deprecated

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

Deprecated: Use SdkLogIndexResp.ProtoReflect.Descriptor instead.

func (*SdkLogIndexResp) GetList

func (x *SdkLogIndexResp) GetList() []*SdkLogInfo

func (*SdkLogIndexResp) GetTotal

func (x *SdkLogIndexResp) GetTotal() int64

func (*SdkLogIndexResp) ProtoMessage

func (*SdkLogIndexResp) ProtoMessage()

func (*SdkLogIndexResp) ProtoReflect

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

func (*SdkLogIndexResp) Reset

func (x *SdkLogIndexResp) Reset()

func (*SdkLogIndexResp) String

func (x *SdkLogIndexResp) String() string

type SdkLogInfo

type SdkLogInfo struct {
	Timestamp int64  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` //发生时间戳(毫秒时间戳)
	Loglevel  int64  `protobuf:"varint,2,opt,name=loglevel,proto3" json:"loglevel,omitempty"`   //操作类型;显示相应的操作名称、API名称、服务的method
	Content   string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`      //具体内容
	// contains filtered or unexported fields
}

func (*SdkLogInfo) Descriptor deprecated

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

Deprecated: Use SdkLogInfo.ProtoReflect.Descriptor instead.

func (*SdkLogInfo) GetContent

func (x *SdkLogInfo) GetContent() string

func (*SdkLogInfo) GetLoglevel

func (x *SdkLogInfo) GetLoglevel() int64

func (*SdkLogInfo) GetTimestamp

func (x *SdkLogInfo) GetTimestamp() int64

func (*SdkLogInfo) ProtoMessage

func (*SdkLogInfo) ProtoMessage()

func (*SdkLogInfo) ProtoReflect

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

func (*SdkLogInfo) Reset

func (x *SdkLogInfo) Reset()

func (*SdkLogInfo) String

func (x *SdkLogInfo) String() string

type SendLogIndexReq

type SendLogIndexReq struct {
	ProductID  string    `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`   //产品id
	DeviceName string    `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名
	TimeStart  int64     `protobuf:"varint,3,opt,name=timeStart,proto3" json:"timeStart,omitempty"`  //获取时间的开始(毫秒时间戳)
	TimeEnd    int64     `protobuf:"varint,4,opt,name=timeEnd,proto3" json:"timeEnd,omitempty"`      //时间的结束(毫秒时间戳)
	Page       *PageInfo `protobuf:"bytes,5,opt,name=page,proto3" json:"page,omitempty"`             //分页信息
	UserID     int64     `protobuf:"varint,9,opt,name=userID,proto3" json:"userID,omitempty"`
	Actions    []string  `protobuf:"bytes,10,rep,name=actions,proto3" json:"actions,omitempty"`
	ResultCode int64     `protobuf:"varint,12,opt,name=resultCode,proto3" json:"resultCode,omitempty"` //请求结果状态,200为成功
	// contains filtered or unexported fields
}

实时获取对应信息

func (*SendLogIndexReq) Descriptor deprecated

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

Deprecated: Use SendLogIndexReq.ProtoReflect.Descriptor instead.

func (*SendLogIndexReq) GetActions

func (x *SendLogIndexReq) GetActions() []string

func (*SendLogIndexReq) GetDeviceName

func (x *SendLogIndexReq) GetDeviceName() string

func (*SendLogIndexReq) GetPage

func (x *SendLogIndexReq) GetPage() *PageInfo

func (*SendLogIndexReq) GetProductID

func (x *SendLogIndexReq) GetProductID() string

func (*SendLogIndexReq) GetResultCode

func (x *SendLogIndexReq) GetResultCode() int64

func (*SendLogIndexReq) GetTimeEnd

func (x *SendLogIndexReq) GetTimeEnd() int64

func (*SendLogIndexReq) GetTimeStart

func (x *SendLogIndexReq) GetTimeStart() int64

func (*SendLogIndexReq) GetUserID

func (x *SendLogIndexReq) GetUserID() int64

func (*SendLogIndexReq) ProtoMessage

func (*SendLogIndexReq) ProtoMessage()

func (*SendLogIndexReq) ProtoReflect

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

func (*SendLogIndexReq) Reset

func (x *SendLogIndexReq) Reset()

func (*SendLogIndexReq) String

func (x *SendLogIndexReq) String() string

type SendLogIndexResp

type SendLogIndexResp struct {
	Total int64          `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` //总数
	List  []*SendLogInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

实时获取对应信息

func (*SendLogIndexResp) Descriptor deprecated

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

Deprecated: Use SendLogIndexResp.ProtoReflect.Descriptor instead.

func (*SendLogIndexResp) GetList

func (x *SendLogIndexResp) GetList() []*SendLogInfo

func (*SendLogIndexResp) GetTotal

func (x *SendLogIndexResp) GetTotal() int64

func (*SendLogIndexResp) ProtoMessage

func (*SendLogIndexResp) ProtoMessage()

func (*SendLogIndexResp) ProtoReflect

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

func (*SendLogIndexResp) Reset

func (x *SendLogIndexResp) Reset()

func (*SendLogIndexResp) String

func (x *SendLogIndexResp) String() string

type SendLogInfo

type SendLogInfo struct {
	Timestamp  int64  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`    //发生时间戳(毫秒时间戳)
	Account    string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`         //账号
	UserID     int64  `protobuf:"varint,4,opt,name=userID,proto3" json:"userID,omitempty"`          //
	ProductID  string `protobuf:"bytes,5,opt,name=productID,proto3" json:"productID,omitempty"`     //
	DeviceName string `protobuf:"bytes,6,opt,name=deviceName,proto3" json:"deviceName,omitempty"`   //
	Action     string `protobuf:"bytes,7,opt,name=action,proto3" json:"action,omitempty"`           //操作类型 propertySend:属性控制 actionSend:操作控制 propertyGetReportSend:获取最新属性请求
	DataID     string `protobuf:"bytes,8,opt,name=dataID,proto3" json:"dataID,omitempty"`           //identify
	TraceID    string `protobuf:"bytes,9,opt,name=traceID,proto3" json:"traceID,omitempty"`         //服务器端事务id
	Content    string `protobuf:"bytes,10,opt,name=content,proto3" json:"content,omitempty"`        //操作的内容
	ResultCode int64  `protobuf:"varint,11,opt,name=resultCode,proto3" json:"resultCode,omitempty"` //请求结果状态,200为成功
	// contains filtered or unexported fields
}

设备的日志数据

func (*SendLogInfo) Descriptor deprecated

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

Deprecated: Use SendLogInfo.ProtoReflect.Descriptor instead.

func (*SendLogInfo) GetAccount

func (x *SendLogInfo) GetAccount() string

func (*SendLogInfo) GetAction

func (x *SendLogInfo) GetAction() string

func (*SendLogInfo) GetContent

func (x *SendLogInfo) GetContent() string

func (*SendLogInfo) GetDataID

func (x *SendLogInfo) GetDataID() string

func (*SendLogInfo) GetDeviceName

func (x *SendLogInfo) GetDeviceName() string

func (*SendLogInfo) GetProductID

func (x *SendLogInfo) GetProductID() string

func (*SendLogInfo) GetResultCode

func (x *SendLogInfo) GetResultCode() int64

func (*SendLogInfo) GetTimestamp

func (x *SendLogInfo) GetTimestamp() int64

func (*SendLogInfo) GetTraceID

func (x *SendLogInfo) GetTraceID() string

func (*SendLogInfo) GetUserID

func (x *SendLogInfo) GetUserID() int64

func (*SendLogInfo) ProtoMessage

func (*SendLogInfo) ProtoMessage()

func (*SendLogInfo) ProtoReflect

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

func (*SendLogInfo) Reset

func (x *SendLogInfo) Reset()

func (*SendLogInfo) String

func (x *SendLogInfo) String() string

type SendMsgReq

type SendMsgReq struct {
	Topic   string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`     //发送的topic
	Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` //发送的数据
	// contains filtered or unexported fields
}

func (*SendMsgReq) Descriptor deprecated

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

Deprecated: Use SendMsgReq.ProtoReflect.Descriptor instead.

func (*SendMsgReq) GetPayload

func (x *SendMsgReq) GetPayload() []byte

func (*SendMsgReq) GetTopic

func (x *SendMsgReq) GetTopic() string

func (*SendMsgReq) ProtoMessage

func (*SendMsgReq) ProtoMessage()

func (*SendMsgReq) ProtoReflect

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

func (*SendMsgReq) Reset

func (x *SendMsgReq) Reset()

func (*SendMsgReq) String

func (x *SendMsgReq) String() string

type SendMsgResp

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

func (*SendMsgResp) Descriptor deprecated

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

Deprecated: Use SendMsgResp.ProtoReflect.Descriptor instead.

func (*SendMsgResp) ProtoMessage

func (*SendMsgResp) ProtoMessage()

func (*SendMsgResp) ProtoReflect

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

func (*SendMsgResp) Reset

func (x *SendMsgResp) Reset()

func (*SendMsgResp) String

func (x *SendMsgResp) String() string

type SendOption

type SendOption struct {
	TimeoutToFail  int64 `protobuf:"varint,1,opt,name=timeoutToFail,proto3" json:"timeoutToFail,omitempty"`   //超时失败时间
	RequestTimeout int64 `protobuf:"varint,2,opt,name=requestTimeout,proto3" json:"requestTimeout,omitempty"` //请求超时,超时后会进行重试
	RetryInterval  int64 `protobuf:"varint,3,opt,name=retryInterval,proto3" json:"retryInterval,omitempty"`   //重试间隔
	// contains filtered or unexported fields
}

func (*SendOption) Descriptor deprecated

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

Deprecated: Use SendOption.ProtoReflect.Descriptor instead.

func (*SendOption) GetRequestTimeout

func (x *SendOption) GetRequestTimeout() int64

func (*SendOption) GetRetryInterval

func (x *SendOption) GetRetryInterval() int64

func (*SendOption) GetTimeoutToFail

func (x *SendOption) GetTimeoutToFail() int64

func (*SendOption) ProtoMessage

func (*SendOption) ProtoMessage()

func (*SendOption) ProtoReflect

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

func (*SendOption) Reset

func (x *SendOption) Reset()

func (*SendOption) String

func (x *SendOption) String() string

type ShadowIndex

type ShadowIndex struct {
	DataID            string `protobuf:"bytes,1,opt,name=dataID,proto3" json:"dataID,omitempty"`                        //属性id
	Value             string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`                          //获取到的值
	UpdatedDeviceTime int64  `protobuf:"varint,3,opt,name=updatedDeviceTime,proto3" json:"updatedDeviceTime,omitempty"` //更新到设备的时间
	// contains filtered or unexported fields
}

设备的日志数据

func (*ShadowIndex) Descriptor deprecated

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

Deprecated: Use ShadowIndex.ProtoReflect.Descriptor instead.

func (*ShadowIndex) GetDataID

func (x *ShadowIndex) GetDataID() string

func (*ShadowIndex) GetUpdatedDeviceTime

func (x *ShadowIndex) GetUpdatedDeviceTime() int64

func (*ShadowIndex) GetValue

func (x *ShadowIndex) GetValue() string

func (*ShadowIndex) ProtoMessage

func (*ShadowIndex) ProtoMessage()

func (*ShadowIndex) ProtoReflect

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

func (*ShadowIndex) Reset

func (x *ShadowIndex) Reset()

func (*ShadowIndex) String

func (x *ShadowIndex) String() string

type ShadowIndexResp

type ShadowIndexResp struct {
	List []*ShadowIndex `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ShadowIndexResp) Descriptor deprecated

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

Deprecated: Use ShadowIndexResp.ProtoReflect.Descriptor instead.

func (*ShadowIndexResp) GetList

func (x *ShadowIndexResp) GetList() []*ShadowIndex

func (*ShadowIndexResp) ProtoMessage

func (*ShadowIndexResp) ProtoMessage()

func (*ShadowIndexResp) ProtoReflect

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

func (*ShadowIndexResp) Reset

func (x *ShadowIndexResp) Reset()

func (*ShadowIndexResp) String

func (x *ShadowIndexResp) String() string

type SharePerm

type SharePerm struct {
	Perm int64 `protobuf:"varint,1,opt,name=perm,proto3" json:"perm,omitempty"` //1:r(只读) 3(默认):rw(可读可写)
	// contains filtered or unexported fields
}

func (*SharePerm) Descriptor deprecated

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

Deprecated: Use SharePerm.ProtoReflect.Descriptor instead.

func (*SharePerm) GetPerm

func (x *SharePerm) GetPerm() int64

func (*SharePerm) ProtoMessage

func (*SharePerm) ProtoMessage()

func (*SharePerm) ProtoReflect

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

func (*SharePerm) Reset

func (x *SharePerm) Reset()

func (*SharePerm) String

func (x *SharePerm) String() string

type StatusLogIndexReq

type StatusLogIndexReq struct {
	ProductID  string    `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"`   //产品id
	DeviceName string    `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名
	TimeStart  int64     `protobuf:"varint,3,opt,name=timeStart,proto3" json:"timeStart,omitempty"`  //获取时间的开始(毫秒时间戳)
	TimeEnd    int64     `protobuf:"varint,4,opt,name=timeEnd,proto3" json:"timeEnd,omitempty"`      //时间的结束(毫秒时间戳)
	Page       *PageInfo `protobuf:"bytes,5,opt,name=page,proto3" json:"page,omitempty"`             //分页信息
	Status     int64     `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"`        //在线状态
	// contains filtered or unexported fields
}

实时获取对应信息

func (*StatusLogIndexReq) Descriptor deprecated

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

Deprecated: Use StatusLogIndexReq.ProtoReflect.Descriptor instead.

func (*StatusLogIndexReq) GetDeviceName

func (x *StatusLogIndexReq) GetDeviceName() string

func (*StatusLogIndexReq) GetPage

func (x *StatusLogIndexReq) GetPage() *PageInfo

func (*StatusLogIndexReq) GetProductID

func (x *StatusLogIndexReq) GetProductID() string

func (*StatusLogIndexReq) GetStatus

func (x *StatusLogIndexReq) GetStatus() int64

func (*StatusLogIndexReq) GetTimeEnd

func (x *StatusLogIndexReq) GetTimeEnd() int64

func (*StatusLogIndexReq) GetTimeStart

func (x *StatusLogIndexReq) GetTimeStart() int64

func (*StatusLogIndexReq) ProtoMessage

func (*StatusLogIndexReq) ProtoMessage()

func (*StatusLogIndexReq) ProtoReflect

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

func (*StatusLogIndexReq) Reset

func (x *StatusLogIndexReq) Reset()

func (*StatusLogIndexReq) String

func (x *StatusLogIndexReq) String() string

type StatusLogIndexResp

type StatusLogIndexResp struct {
	Total int64            `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` //总数
	List  []*StatusLogInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

实时获取对应信息

func (*StatusLogIndexResp) Descriptor deprecated

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

Deprecated: Use StatusLogIndexResp.ProtoReflect.Descriptor instead.

func (*StatusLogIndexResp) GetList

func (x *StatusLogIndexResp) GetList() []*StatusLogInfo

func (*StatusLogIndexResp) GetTotal

func (x *StatusLogIndexResp) GetTotal() int64

func (*StatusLogIndexResp) ProtoMessage

func (*StatusLogIndexResp) ProtoMessage()

func (*StatusLogIndexResp) ProtoReflect

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

func (*StatusLogIndexResp) Reset

func (x *StatusLogIndexResp) Reset()

func (*StatusLogIndexResp) String

func (x *StatusLogIndexResp) String() string

type StatusLogInfo

type StatusLogInfo struct {
	Timestamp  int64  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`  //发生时间戳(毫秒时间戳)
	Status     int64  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`        //设备状态
	ProductID  string `protobuf:"bytes,3,opt,name=productID,proto3" json:"productID,omitempty"`   //产品id
	DeviceName string `protobuf:"bytes,4,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名
	// contains filtered or unexported fields
}

设备的日志数据

func (*StatusLogInfo) Descriptor deprecated

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

Deprecated: Use StatusLogInfo.ProtoReflect.Descriptor instead.

func (*StatusLogInfo) GetDeviceName

func (x *StatusLogInfo) GetDeviceName() string

func (*StatusLogInfo) GetProductID

func (x *StatusLogInfo) GetProductID() string

func (*StatusLogInfo) GetStatus

func (x *StatusLogInfo) GetStatus() int64

func (*StatusLogInfo) GetTimestamp

func (x *StatusLogInfo) GetTimestamp() int64

func (*StatusLogInfo) ProtoMessage

func (*StatusLogInfo) ProtoMessage()

func (*StatusLogInfo) ProtoReflect

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

func (*StatusLogInfo) Reset

func (x *StatusLogInfo) Reset()

func (*StatusLogInfo) String

func (x *StatusLogInfo) String() string

type TimeRange

type TimeRange struct {
	Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	End   int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeRange) Descriptor deprecated

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

Deprecated: Use TimeRange.ProtoReflect.Descriptor instead.

func (*TimeRange) GetEnd

func (x *TimeRange) GetEnd() int64

func (*TimeRange) GetStart

func (x *TimeRange) GetStart() int64

func (*TimeRange) ProtoMessage

func (*TimeRange) ProtoMessage()

func (*TimeRange) ProtoReflect

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

func (*TimeRange) Reset

func (x *TimeRange) Reset()

func (*TimeRange) String

func (x *TimeRange) String() string

type UnimplementedDeviceGroupServer

type UnimplementedDeviceGroupServer struct {
}

UnimplementedDeviceGroupServer must be embedded to have forward compatible implementations.

func (UnimplementedDeviceGroupServer) GroupDeviceIndex

func (UnimplementedDeviceGroupServer) GroupDeviceMultiCreate

func (UnimplementedDeviceGroupServer) GroupDeviceMultiDelete

func (UnimplementedDeviceGroupServer) GroupDeviceMultiUpdate

func (UnimplementedDeviceGroupServer) GroupInfoCreate

func (UnimplementedDeviceGroupServer) GroupInfoDelete

func (UnimplementedDeviceGroupServer) GroupInfoIndex

func (UnimplementedDeviceGroupServer) GroupInfoRead

func (UnimplementedDeviceGroupServer) GroupInfoUpdate

type UnimplementedDeviceInteractServer

type UnimplementedDeviceInteractServer struct {
}

UnimplementedDeviceInteractServer must be embedded to have forward compatible implementations.

func (UnimplementedDeviceInteractServer) ActionRead

func (UnimplementedDeviceInteractServer) ActionResp

func (UnimplementedDeviceInteractServer) ActionSend

func (UnimplementedDeviceInteractServer) GatewayGetFoundSend

func (UnimplementedDeviceInteractServer) GatewayNotifyBindSend

func (UnimplementedDeviceInteractServer) PropertyControlMultiSend

func (UnimplementedDeviceInteractServer) PropertyControlRead

func (UnimplementedDeviceInteractServer) PropertyControlSend

func (UnimplementedDeviceInteractServer) PropertyGetReportSend

func (UnimplementedDeviceInteractServer) SendMsg

type UnimplementedDeviceManageServer

type UnimplementedDeviceManageServer struct {
}

UnimplementedDeviceManageServer must be embedded to have forward compatible implementations.

func (UnimplementedDeviceManageServer) DeviceCount

func (UnimplementedDeviceManageServer) DeviceGatewayIndex

func (UnimplementedDeviceManageServer) DeviceGatewayMultiCreate

func (UnimplementedDeviceManageServer) DeviceGatewayMultiDelete

func (UnimplementedDeviceManageServer) DeviceGatewayMultiUpdate

func (UnimplementedDeviceManageServer) DeviceInfoBind

func (UnimplementedDeviceManageServer) DeviceInfoCanBind

func (UnimplementedDeviceManageServer) DeviceInfoCount

func (UnimplementedDeviceManageServer) DeviceInfoCreate

func (UnimplementedDeviceManageServer) DeviceInfoDelete

func (UnimplementedDeviceManageServer) DeviceInfoIndex

func (UnimplementedDeviceManageServer) DeviceInfoMultiBind

func (UnimplementedDeviceManageServer) DeviceInfoMultiUpdate

func (UnimplementedDeviceManageServer) DeviceInfoRead

func (UnimplementedDeviceManageServer) DeviceInfoUnbind

func (UnimplementedDeviceManageServer) DeviceInfoUpdate

func (UnimplementedDeviceManageServer) DeviceModuleVersionRead

func (UnimplementedDeviceManageServer) DeviceMove

func (UnimplementedDeviceManageServer) DeviceOnlineMultiFix

func (UnimplementedDeviceManageServer) DeviceProfileDelete

func (UnimplementedDeviceManageServer) DeviceProfileIndex

func (UnimplementedDeviceManageServer) DeviceProfileRead

func (UnimplementedDeviceManageServer) DeviceProfileUpdate

func (UnimplementedDeviceManageServer) DeviceTransfer

func (UnimplementedDeviceManageServer) DeviceTypeCount

func (UnimplementedDeviceManageServer) RootCheck

type UnimplementedDeviceMsgServer

type UnimplementedDeviceMsgServer struct {
}

UnimplementedDeviceMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedDeviceMsgServer) EventLogIndex

func (UnimplementedDeviceMsgServer) GatewayCanBindIndex

func (UnimplementedDeviceMsgServer) HubLogIndex

func (UnimplementedDeviceMsgServer) PropertyLogIndex

func (UnimplementedDeviceMsgServer) PropertyLogLatestIndex

func (UnimplementedDeviceMsgServer) SdkLogIndex

func (UnimplementedDeviceMsgServer) SendLogIndex

func (UnimplementedDeviceMsgServer) ShadowIndex

func (UnimplementedDeviceMsgServer) StatusLogIndex

type UnimplementedOtaManageServer

type UnimplementedOtaManageServer struct {
}

UnimplementedOtaManageServer must be embedded to have forward compatible implementations.

func (UnimplementedOtaManageServer) OtaFirmwareDeviceCancel

func (UnimplementedOtaManageServer) OtaFirmwareDeviceConfirm

func (UnimplementedOtaManageServer) OtaFirmwareDeviceIndex

func (UnimplementedOtaManageServer) OtaFirmwareDeviceRetry

func (UnimplementedOtaManageServer) OtaFirmwareInfoCreate

func (UnimplementedOtaManageServer) OtaFirmwareInfoDelete

func (UnimplementedOtaManageServer) OtaFirmwareInfoDelete(context.Context, *WithID) (*Empty, error)

func (UnimplementedOtaManageServer) OtaFirmwareInfoIndex

func (UnimplementedOtaManageServer) OtaFirmwareInfoRead

func (UnimplementedOtaManageServer) OtaFirmwareInfoUpdate

func (UnimplementedOtaManageServer) OtaFirmwareJobCreate

func (UnimplementedOtaManageServer) OtaFirmwareJobIndex

func (UnimplementedOtaManageServer) OtaFirmwareJobRead

func (UnimplementedOtaManageServer) OtaFirmwareJobUpdate

func (UnimplementedOtaManageServer) OtaModuleInfoCreate

func (UnimplementedOtaManageServer) OtaModuleInfoDelete

func (UnimplementedOtaManageServer) OtaModuleInfoDelete(context.Context, *WithID) (*Empty, error)

func (UnimplementedOtaManageServer) OtaModuleInfoIndex

func (UnimplementedOtaManageServer) OtaModuleInfoRead

func (UnimplementedOtaManageServer) OtaModuleInfoUpdate

type UnimplementedProductManageServer

type UnimplementedProductManageServer struct {
}

UnimplementedProductManageServer must be embedded to have forward compatible implementations.

func (UnimplementedProductManageServer) ProductCategoryCreate

func (UnimplementedProductManageServer) ProductCategoryDelete

func (UnimplementedProductManageServer) ProductCategoryDelete(context.Context, *WithID) (*Empty, error)

func (UnimplementedProductManageServer) ProductCategoryIndex

func (UnimplementedProductManageServer) ProductCategoryRead

func (UnimplementedProductManageServer) ProductCategorySchemaMultiCreate

func (UnimplementedProductManageServer) ProductCategorySchemaMultiDelete

func (UnimplementedProductManageServer) ProductCategorySchemaMultiUpdate

func (UnimplementedProductManageServer) ProductCategoryUpdate

func (UnimplementedProductManageServer) ProductCustomRead

func (UnimplementedProductManageServer) ProductCustomUpdate

func (UnimplementedProductManageServer) ProductInfoCreate

func (UnimplementedProductManageServer) ProductInfoDelete

func (UnimplementedProductManageServer) ProductInfoIndex

func (UnimplementedProductManageServer) ProductInfoRead

func (UnimplementedProductManageServer) ProductInfoUpdate

func (UnimplementedProductManageServer) ProductInit

func (UnimplementedProductManageServer) ProductSchemaCreate

func (UnimplementedProductManageServer) ProductSchemaDelete

func (UnimplementedProductManageServer) ProductSchemaIndex

func (UnimplementedProductManageServer) ProductSchemaMultiCreate

func (UnimplementedProductManageServer) ProductSchemaTslImport

func (UnimplementedProductManageServer) ProductSchemaTslRead

func (UnimplementedProductManageServer) ProductSchemaUpdate

type UnimplementedProtocolManageServer

type UnimplementedProtocolManageServer struct {
}

UnimplementedProtocolManageServer must be embedded to have forward compatible implementations.

func (UnimplementedProtocolManageServer) ProtocolInfoCreate

func (UnimplementedProtocolManageServer) ProtocolInfoDelete

func (UnimplementedProtocolManageServer) ProtocolInfoIndex

func (UnimplementedProtocolManageServer) ProtocolInfoRead

func (UnimplementedProtocolManageServer) ProtocolInfoUpdate

func (UnimplementedProtocolManageServer) ProtocolServiceDelete added in v1.0.2

func (UnimplementedProtocolManageServer) ProtocolServiceDelete(context.Context, *WithID) (*Empty, error)

func (UnimplementedProtocolManageServer) ProtocolServiceIndex added in v1.0.2

func (UnimplementedProtocolManageServer) ProtocolServiceUpdate added in v1.0.2

type UnimplementedRemoteConfigServer

type UnimplementedRemoteConfigServer struct {
}

UnimplementedRemoteConfigServer must be embedded to have forward compatible implementations.

func (UnimplementedRemoteConfigServer) RemoteConfigCreate

func (UnimplementedRemoteConfigServer) RemoteConfigIndex

func (UnimplementedRemoteConfigServer) RemoteConfigLastRead

func (UnimplementedRemoteConfigServer) RemoteConfigPushAll

type UnimplementedSchemaManageServer

type UnimplementedSchemaManageServer struct {
}

UnimplementedSchemaManageServer must be embedded to have forward compatible implementations.

func (UnimplementedSchemaManageServer) CommonSchemaCreate

func (UnimplementedSchemaManageServer) CommonSchemaDelete

func (UnimplementedSchemaManageServer) CommonSchemaIndex

func (UnimplementedSchemaManageServer) CommonSchemaInit

func (UnimplementedSchemaManageServer) CommonSchemaUpdate

type UnimplementedUserDeviceServer

type UnimplementedUserDeviceServer struct {
}

UnimplementedUserDeviceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserDeviceServer) UserDeivceShareMultiAccept added in v1.0.2

func (UnimplementedUserDeviceServer) UserDeivceShareMultiIndex added in v1.0.2

func (UnimplementedUserDeviceServer) UserDeviceCollectIndex

func (UnimplementedUserDeviceServer) UserDeviceCollectMultiCreate

func (UnimplementedUserDeviceServer) UserDeviceCollectMultiCreate(context.Context, *UserDeviceCollectSave) (*Empty, error)

func (UnimplementedUserDeviceServer) UserDeviceCollectMultiDelete

func (UnimplementedUserDeviceServer) UserDeviceCollectMultiDelete(context.Context, *UserDeviceCollectSave) (*Empty, error)

func (UnimplementedUserDeviceServer) UserDeviceShareCreate

func (UnimplementedUserDeviceServer) UserDeviceShareDelete

func (UnimplementedUserDeviceServer) UserDeviceShareIndex

func (UnimplementedUserDeviceServer) UserDeviceShareMultiCreate added in v1.0.2

func (UnimplementedUserDeviceServer) UserDeviceShareMultiDelete

func (UnimplementedUserDeviceServer) UserDeviceShareRead

func (UnimplementedUserDeviceServer) UserDeviceShareUpdate

func (UnimplementedUserDeviceServer) UserDeviceTransfer

type UnsafeDeviceGroupServer

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

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

type UnsafeDeviceInteractServer

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

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

type UnsafeDeviceManageServer

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

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

type UnsafeDeviceMsgServer

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

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

type UnsafeOtaManageServer

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

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

type UnsafeProductManageServer

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

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

type UnsafeProtocolManageServer

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

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

type UnsafeRemoteConfigServer

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

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

type UnsafeSchemaManageServer

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

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

type UnsafeUserDeviceServer

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

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

type UserDeviceClient

type UserDeviceClient interface {
	//用户收藏的设备
	UserDeviceCollectMultiCreate(ctx context.Context, in *UserDeviceCollectSave, opts ...grpc.CallOption) (*Empty, error)
	UserDeviceCollectMultiDelete(ctx context.Context, in *UserDeviceCollectSave, opts ...grpc.CallOption) (*Empty, error)
	UserDeviceCollectIndex(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UserDeviceCollectSave, error)
	//分享设备
	UserDeviceShareCreate(ctx context.Context, in *UserDeviceShareInfo, opts ...grpc.CallOption) (*WithID, error)
	//更新权限
	UserDeviceShareUpdate(ctx context.Context, in *UserDeviceShareInfo, opts ...grpc.CallOption) (*Empty, error)
	//取消分享设备
	UserDeviceShareDelete(ctx context.Context, in *UserDeviceShareReadReq, opts ...grpc.CallOption) (*Empty, error)
	//取消分享设备
	UserDeviceShareMultiDelete(ctx context.Context, in *UserDeviceShareMultiDeleteReq, opts ...grpc.CallOption) (*Empty, error)
	//获取设备分享列表(只有设备的所有者才能获取)
	UserDeviceShareIndex(ctx context.Context, in *UserDeviceShareIndexReq, opts ...grpc.CallOption) (*UserDeviceShareIndexResp, error)
	//获取设备分享的详情
	UserDeviceShareRead(ctx context.Context, in *UserDeviceShareReadReq, opts ...grpc.CallOption) (*UserDeviceShareInfo, error)
	//转让设备
	UserDeviceTransfer(ctx context.Context, in *DeviceTransferReq, opts ...grpc.CallOption) (*Empty, error)
	//  rpc userDeviceOtaGetVersion(UserDeviceOtaGetVersionReq)returns(userDeviceOtaGetVersionResp);
	//创建批量分享二维码,设备列表写入缓存
	UserDeviceShareMultiCreate(ctx context.Context, in *UserDeviceShareMultiInfo, opts ...grpc.CallOption) (*UserDeviceShareMultiToken, error)
	//扫码后获取设备列表
	UserDeivceShareMultiIndex(ctx context.Context, in *UserDeviceShareMultiToken, opts ...grpc.CallOption) (*UserDeviceShareMultiInfo, error)
	//接受批量分享的设备
	UserDeivceShareMultiAccept(ctx context.Context, in *UserDeviceShareMultiAcceptReq, opts ...grpc.CallOption) (*Empty, error)
}

UserDeviceClient is the client API for UserDevice 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 NewUserDeviceClient

func NewUserDeviceClient(cc grpc.ClientConnInterface) UserDeviceClient

type UserDeviceCollectSave

type UserDeviceCollectSave struct {
	Devices []*DeviceCore `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	// contains filtered or unexported fields
}

func (*UserDeviceCollectSave) Descriptor deprecated

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

Deprecated: Use UserDeviceCollectSave.ProtoReflect.Descriptor instead.

func (*UserDeviceCollectSave) GetDevices

func (x *UserDeviceCollectSave) GetDevices() []*DeviceCore

func (*UserDeviceCollectSave) ProtoMessage

func (*UserDeviceCollectSave) ProtoMessage()

func (*UserDeviceCollectSave) ProtoReflect

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

func (*UserDeviceCollectSave) Reset

func (x *UserDeviceCollectSave) Reset()

func (*UserDeviceCollectSave) String

func (x *UserDeviceCollectSave) String() string

type UserDeviceServer

type UserDeviceServer interface {
	//用户收藏的设备
	UserDeviceCollectMultiCreate(context.Context, *UserDeviceCollectSave) (*Empty, error)
	UserDeviceCollectMultiDelete(context.Context, *UserDeviceCollectSave) (*Empty, error)
	UserDeviceCollectIndex(context.Context, *Empty) (*UserDeviceCollectSave, error)
	//分享设备
	UserDeviceShareCreate(context.Context, *UserDeviceShareInfo) (*WithID, error)
	//更新权限
	UserDeviceShareUpdate(context.Context, *UserDeviceShareInfo) (*Empty, error)
	//取消分享设备
	UserDeviceShareDelete(context.Context, *UserDeviceShareReadReq) (*Empty, error)
	//取消分享设备
	UserDeviceShareMultiDelete(context.Context, *UserDeviceShareMultiDeleteReq) (*Empty, error)
	//获取设备分享列表(只有设备的所有者才能获取)
	UserDeviceShareIndex(context.Context, *UserDeviceShareIndexReq) (*UserDeviceShareIndexResp, error)
	//获取设备分享的详情
	UserDeviceShareRead(context.Context, *UserDeviceShareReadReq) (*UserDeviceShareInfo, error)
	//转让设备
	UserDeviceTransfer(context.Context, *DeviceTransferReq) (*Empty, error)
	//  rpc userDeviceOtaGetVersion(UserDeviceOtaGetVersionReq)returns(userDeviceOtaGetVersionResp);
	//创建批量分享二维码,设备列表写入缓存
	UserDeviceShareMultiCreate(context.Context, *UserDeviceShareMultiInfo) (*UserDeviceShareMultiToken, error)
	//扫码后获取设备列表
	UserDeivceShareMultiIndex(context.Context, *UserDeviceShareMultiToken) (*UserDeviceShareMultiInfo, error)
	//接受批量分享的设备
	UserDeivceShareMultiAccept(context.Context, *UserDeviceShareMultiAcceptReq) (*Empty, error)
	// contains filtered or unexported methods
}

UserDeviceServer is the server API for UserDevice service. All implementations must embed UnimplementedUserDeviceServer for forward compatibility

type UserDeviceShareIndexReq

type UserDeviceShareIndexReq struct {
	Page   *PageInfo   `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	Device *DeviceCore `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` //设备信息
	// contains filtered or unexported fields
}

func (*UserDeviceShareIndexReq) Descriptor deprecated

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

Deprecated: Use UserDeviceShareIndexReq.ProtoReflect.Descriptor instead.

func (*UserDeviceShareIndexReq) GetDevice

func (x *UserDeviceShareIndexReq) GetDevice() *DeviceCore

func (*UserDeviceShareIndexReq) GetPage

func (x *UserDeviceShareIndexReq) GetPage() *PageInfo

func (*UserDeviceShareIndexReq) ProtoMessage

func (*UserDeviceShareIndexReq) ProtoMessage()

func (*UserDeviceShareIndexReq) ProtoReflect

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

func (*UserDeviceShareIndexReq) Reset

func (x *UserDeviceShareIndexReq) Reset()

func (*UserDeviceShareIndexReq) String

func (x *UserDeviceShareIndexReq) String() string

type UserDeviceShareIndexResp

type UserDeviceShareIndexResp struct {
	List  []*UserDeviceShareInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64                  `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*UserDeviceShareIndexResp) Descriptor deprecated

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

Deprecated: Use UserDeviceShareIndexResp.ProtoReflect.Descriptor instead.

func (*UserDeviceShareIndexResp) GetList

func (*UserDeviceShareIndexResp) GetTotal

func (x *UserDeviceShareIndexResp) GetTotal() int64

func (*UserDeviceShareIndexResp) ProtoMessage

func (*UserDeviceShareIndexResp) ProtoMessage()

func (*UserDeviceShareIndexResp) ProtoReflect

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

func (*UserDeviceShareIndexResp) Reset

func (x *UserDeviceShareIndexResp) Reset()

func (*UserDeviceShareIndexResp) String

func (x *UserDeviceShareIndexResp) String() string

type UserDeviceShareInfo

type UserDeviceShareInfo struct {
	Id                int64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Device            *DeviceCore           `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`                       //设备信息
	SharedUserID      int64                 `protobuf:"varint,3,opt,name=sharedUserID,proto3" json:"sharedUserID,omitempty"`          //分享的对象
	SharedUserAccount string                `protobuf:"bytes,7,opt,name=sharedUserAccount,proto3" json:"sharedUserAccount,omitempty"` //分享的账号(只读)
	SchemaPerm        map[string]*SharePerm ``                                                                                        //物模型权限,只需要填写需要授权并授权的物模型id
	/* 161-byte string literal not displayed */
	AccessPerm map[string]*SharePerm `` //操作权限 hubLog:设备消息记录,ota:ota升级权限,deviceTiming:设备定时
	/* 161-byte string literal not displayed */
	AuthType    int64                  `protobuf:"varint,9,opt,name=authType,proto3" json:"authType,omitempty"`   //授权类型:1:全部授权 2:部分授权
	ProjectID   int64                  `protobuf:"varint,6,opt,name=projectID,proto3" json:"projectID,omitempty"` //设备归属的项目
	ExpTime     *wrapperspb.Int64Value `protobuf:"bytes,10,opt,name=expTime,proto3" json:"expTime,omitempty"`     //到期时间,如果为0,则不限制
	CreatedTime int64                  `protobuf:"varint,8,opt,name=createdTime,proto3" json:"createdTime,omitempty"`
	// contains filtered or unexported fields
}

func (*UserDeviceShareInfo) Descriptor deprecated

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

Deprecated: Use UserDeviceShareInfo.ProtoReflect.Descriptor instead.

func (*UserDeviceShareInfo) GetAccessPerm

func (x *UserDeviceShareInfo) GetAccessPerm() map[string]*SharePerm

func (*UserDeviceShareInfo) GetAuthType

func (x *UserDeviceShareInfo) GetAuthType() int64

func (*UserDeviceShareInfo) GetCreatedTime

func (x *UserDeviceShareInfo) GetCreatedTime() int64

func (*UserDeviceShareInfo) GetDevice

func (x *UserDeviceShareInfo) GetDevice() *DeviceCore

func (*UserDeviceShareInfo) GetExpTime

func (x *UserDeviceShareInfo) GetExpTime() *wrapperspb.Int64Value

func (*UserDeviceShareInfo) GetId

func (x *UserDeviceShareInfo) GetId() int64

func (*UserDeviceShareInfo) GetProjectID

func (x *UserDeviceShareInfo) GetProjectID() int64

func (*UserDeviceShareInfo) GetSchemaPerm

func (x *UserDeviceShareInfo) GetSchemaPerm() map[string]*SharePerm

func (*UserDeviceShareInfo) GetSharedUserAccount

func (x *UserDeviceShareInfo) GetSharedUserAccount() string

func (*UserDeviceShareInfo) GetSharedUserID

func (x *UserDeviceShareInfo) GetSharedUserID() int64

func (*UserDeviceShareInfo) ProtoMessage

func (*UserDeviceShareInfo) ProtoMessage()

func (*UserDeviceShareInfo) ProtoReflect

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

func (*UserDeviceShareInfo) Reset

func (x *UserDeviceShareInfo) Reset()

func (*UserDeviceShareInfo) String

func (x *UserDeviceShareInfo) String() string

type UserDeviceShareMultiAcceptReq added in v1.0.2

type UserDeviceShareMultiAcceptReq struct {
	ShareToken        string        `protobuf:"bytes,1,opt,name=shareToken,proto3" json:"shareToken,omitempty"`
	SharedUserID      int64         `protobuf:"varint,3,opt,name=sharedUserID,proto3" json:"sharedUserID,omitempty"`          //分享的对象
	SharedUserAccount string        `protobuf:"bytes,2,opt,name=sharedUserAccount,proto3" json:"sharedUserAccount,omitempty"` //分享的账号(只读)
	Devices           []*DeviceCore `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
	// contains filtered or unexported fields
}

func (*UserDeviceShareMultiAcceptReq) Descriptor deprecated added in v1.0.2

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

Deprecated: Use UserDeviceShareMultiAcceptReq.ProtoReflect.Descriptor instead.

func (*UserDeviceShareMultiAcceptReq) GetDevices added in v1.0.2

func (x *UserDeviceShareMultiAcceptReq) GetDevices() []*DeviceCore

func (*UserDeviceShareMultiAcceptReq) GetShareToken added in v1.0.2

func (x *UserDeviceShareMultiAcceptReq) GetShareToken() string

func (*UserDeviceShareMultiAcceptReq) GetSharedUserAccount added in v1.0.2

func (x *UserDeviceShareMultiAcceptReq) GetSharedUserAccount() string

func (*UserDeviceShareMultiAcceptReq) GetSharedUserID added in v1.0.2

func (x *UserDeviceShareMultiAcceptReq) GetSharedUserID() int64

func (*UserDeviceShareMultiAcceptReq) ProtoMessage added in v1.0.2

func (*UserDeviceShareMultiAcceptReq) ProtoMessage()

func (*UserDeviceShareMultiAcceptReq) ProtoReflect added in v1.0.2

func (*UserDeviceShareMultiAcceptReq) Reset added in v1.0.2

func (x *UserDeviceShareMultiAcceptReq) Reset()

func (*UserDeviceShareMultiAcceptReq) String added in v1.0.2

type UserDeviceShareMultiDeleteReq

type UserDeviceShareMultiDeleteReq struct {
	Ids       []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	ProjectID int64   `protobuf:"varint,2,opt,name=projectID,proto3" json:"projectID,omitempty"` //指定项目的情况下删除分享的所有设备
	// contains filtered or unexported fields
}

func (*UserDeviceShareMultiDeleteReq) Descriptor deprecated

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

Deprecated: Use UserDeviceShareMultiDeleteReq.ProtoReflect.Descriptor instead.

func (*UserDeviceShareMultiDeleteReq) GetIds

func (x *UserDeviceShareMultiDeleteReq) GetIds() []int64

func (*UserDeviceShareMultiDeleteReq) GetProjectID

func (x *UserDeviceShareMultiDeleteReq) GetProjectID() int64

func (*UserDeviceShareMultiDeleteReq) ProtoMessage

func (*UserDeviceShareMultiDeleteReq) ProtoMessage()

func (*UserDeviceShareMultiDeleteReq) ProtoReflect

func (*UserDeviceShareMultiDeleteReq) Reset

func (x *UserDeviceShareMultiDeleteReq) Reset()

func (*UserDeviceShareMultiDeleteReq) String

type UserDeviceShareMultiInfo added in v1.0.2

type UserDeviceShareMultiInfo struct {
	Devices    []*DeviceShareInfo    `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` //设备信息
	SchemaPerm map[string]*SharePerm ``                                                                    //物模型权限,只需要填写需要授权并授权的物模型id
	/* 161-byte string literal not displayed */
	AccessPerm map[string]*SharePerm `` //操作权限 hubLog:设备消息记录,ota:ota升级权限,deviceTiming:设备定时
	/* 161-byte string literal not displayed */
	AuthType    int64 `protobuf:"varint,4,opt,name=authType,proto3" json:"authType,omitempty"`   //授权类型:1:全部授权 2:部分授权
	ProjectID   int64 `protobuf:"varint,5,opt,name=projectID,proto3" json:"projectID,omitempty"` //设备归属的项目
	ExpTime     int64 `protobuf:"varint,6,opt,name=expTime,proto3" json:"expTime,omitempty"`     //有效期,如果为0,则不限制
	CreatedTime int64 `protobuf:"varint,7,opt,name=createdTime,proto3" json:"createdTime,omitempty"`
	UserID      int64 `protobuf:"varint,8,opt,name=userID,proto3" json:"userID,omitempty"` //生成分享的人id
	// contains filtered or unexported fields
}

func (*UserDeviceShareMultiInfo) Descriptor deprecated added in v1.0.2

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

Deprecated: Use UserDeviceShareMultiInfo.ProtoReflect.Descriptor instead.

func (*UserDeviceShareMultiInfo) GetAccessPerm added in v1.0.2

func (x *UserDeviceShareMultiInfo) GetAccessPerm() map[string]*SharePerm

func (*UserDeviceShareMultiInfo) GetAuthType added in v1.0.2

func (x *UserDeviceShareMultiInfo) GetAuthType() int64

func (*UserDeviceShareMultiInfo) GetCreatedTime added in v1.0.2

func (x *UserDeviceShareMultiInfo) GetCreatedTime() int64

func (*UserDeviceShareMultiInfo) GetDevices added in v1.0.2

func (x *UserDeviceShareMultiInfo) GetDevices() []*DeviceShareInfo

func (*UserDeviceShareMultiInfo) GetExpTime added in v1.0.2

func (x *UserDeviceShareMultiInfo) GetExpTime() int64

func (*UserDeviceShareMultiInfo) GetProjectID added in v1.0.2

func (x *UserDeviceShareMultiInfo) GetProjectID() int64

func (*UserDeviceShareMultiInfo) GetSchemaPerm added in v1.0.2

func (x *UserDeviceShareMultiInfo) GetSchemaPerm() map[string]*SharePerm

func (*UserDeviceShareMultiInfo) GetUserID added in v1.0.2

func (x *UserDeviceShareMultiInfo) GetUserID() int64

func (*UserDeviceShareMultiInfo) ProtoMessage added in v1.0.2

func (*UserDeviceShareMultiInfo) ProtoMessage()

func (*UserDeviceShareMultiInfo) ProtoReflect added in v1.0.2

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

func (*UserDeviceShareMultiInfo) Reset added in v1.0.2

func (x *UserDeviceShareMultiInfo) Reset()

func (*UserDeviceShareMultiInfo) String added in v1.0.2

func (x *UserDeviceShareMultiInfo) String() string

type UserDeviceShareMultiToken added in v1.0.2

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

func (*UserDeviceShareMultiToken) Descriptor deprecated added in v1.0.2

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

Deprecated: Use UserDeviceShareMultiToken.ProtoReflect.Descriptor instead.

func (*UserDeviceShareMultiToken) GetShareToken added in v1.0.2

func (x *UserDeviceShareMultiToken) GetShareToken() string

func (*UserDeviceShareMultiToken) ProtoMessage added in v1.0.2

func (*UserDeviceShareMultiToken) ProtoMessage()

func (*UserDeviceShareMultiToken) ProtoReflect added in v1.0.2

func (*UserDeviceShareMultiToken) Reset added in v1.0.2

func (x *UserDeviceShareMultiToken) Reset()

func (*UserDeviceShareMultiToken) String added in v1.0.2

func (x *UserDeviceShareMultiToken) String() string

type UserDeviceShareReadReq

type UserDeviceShareReadReq struct {
	Id     int64       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Device *DeviceCore `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` //设备信息
	// contains filtered or unexported fields
}

func (*UserDeviceShareReadReq) Descriptor deprecated

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

Deprecated: Use UserDeviceShareReadReq.ProtoReflect.Descriptor instead.

func (*UserDeviceShareReadReq) GetDevice

func (x *UserDeviceShareReadReq) GetDevice() *DeviceCore

func (*UserDeviceShareReadReq) GetId

func (x *UserDeviceShareReadReq) GetId() int64

func (*UserDeviceShareReadReq) ProtoMessage

func (*UserDeviceShareReadReq) ProtoMessage()

func (*UserDeviceShareReadReq) ProtoReflect

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

func (*UserDeviceShareReadReq) Reset

func (x *UserDeviceShareReadReq) Reset()

func (*UserDeviceShareReadReq) String

func (x *UserDeviceShareReadReq) String() string

type WithID

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

func (*WithID) Descriptor deprecated

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

Deprecated: Use WithID.ProtoReflect.Descriptor instead.

func (*WithID) GetId

func (x *WithID) GetId() int64

func (*WithID) ProtoMessage

func (*WithID) ProtoMessage()

func (*WithID) ProtoReflect

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

func (*WithID) Reset

func (x *WithID) Reset()

func (*WithID) String

func (x *WithID) String() string

type WithIDChildren

type WithIDChildren struct {
	Id           int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // id
	WithChildren bool  `protobuf:"varint,2,opt,name=withChildren,proto3" json:"withChildren,omitempty"`
	// contains filtered or unexported fields
}

func (*WithIDChildren) Descriptor deprecated

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

Deprecated: Use WithIDChildren.ProtoReflect.Descriptor instead.

func (*WithIDChildren) GetId

func (x *WithIDChildren) GetId() int64

func (*WithIDChildren) GetWithChildren

func (x *WithIDChildren) GetWithChildren() bool

func (*WithIDChildren) ProtoMessage

func (*WithIDChildren) ProtoMessage()

func (*WithIDChildren) ProtoReflect

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

func (*WithIDChildren) Reset

func (x *WithIDChildren) Reset()

func (*WithIDChildren) String

func (x *WithIDChildren) String() string

type WithIDCode

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

func (*WithIDCode) Descriptor deprecated

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

Deprecated: Use WithIDCode.ProtoReflect.Descriptor instead.

func (*WithIDCode) GetCode

func (x *WithIDCode) GetCode() string

func (*WithIDCode) GetId

func (x *WithIDCode) GetId() int64

func (*WithIDCode) ProtoMessage

func (*WithIDCode) ProtoMessage()

func (*WithIDCode) ProtoReflect

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

func (*WithIDCode) Reset

func (x *WithIDCode) Reset()

func (*WithIDCode) String

func (x *WithIDCode) String() string

type WithProfile

type WithProfile struct {
	Code   string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Params string `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*WithProfile) Descriptor deprecated

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

Deprecated: Use WithProfile.ProtoReflect.Descriptor instead.

func (*WithProfile) GetCode

func (x *WithProfile) GetCode() string

func (*WithProfile) GetParams

func (x *WithProfile) GetParams() string

func (*WithProfile) ProtoMessage

func (*WithProfile) ProtoMessage()

func (*WithProfile) ProtoReflect

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

func (*WithProfile) Reset

func (x *WithProfile) Reset()

func (*WithProfile) String

func (x *WithProfile) String() string

Jump to

Keyboard shortcuts

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