Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterDeviceGroupServer(s grpc.ServiceRegistrar, srv DeviceGroupServer)
- func RegisterDeviceInteractServer(s grpc.ServiceRegistrar, srv DeviceInteractServer)
- func RegisterDeviceManageServer(s grpc.ServiceRegistrar, srv DeviceManageServer)
- func RegisterDeviceMsgServer(s grpc.ServiceRegistrar, srv DeviceMsgServer)
- func RegisterOtaManageServer(s grpc.ServiceRegistrar, srv OtaManageServer)
- func RegisterProductManageServer(s grpc.ServiceRegistrar, srv ProductManageServer)
- func RegisterProtocolManageServer(s grpc.ServiceRegistrar, srv ProtocolManageServer)
- func RegisterRemoteConfigServer(s grpc.ServiceRegistrar, srv RemoteConfigServer)
- func RegisterSchemaManageServer(s grpc.ServiceRegistrar, srv SchemaManageServer)
- func RegisterUserDeviceServer(s grpc.ServiceRegistrar, srv UserDeviceServer)
- type AbnormalLogIndexReq
- func (*AbnormalLogIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *AbnormalLogIndexReq) GetAction() bool
- func (x *AbnormalLogIndexReq) GetDeviceName() string
- func (x *AbnormalLogIndexReq) GetPage() *PageInfo
- func (x *AbnormalLogIndexReq) GetProductID() string
- func (x *AbnormalLogIndexReq) GetResultCode() int64
- func (x *AbnormalLogIndexReq) GetTimeEnd() int64
- func (x *AbnormalLogIndexReq) GetTimeStart() int64
- func (x *AbnormalLogIndexReq) GetType() string
- func (x *AbnormalLogIndexReq) GetUserID() int64
- func (*AbnormalLogIndexReq) ProtoMessage()
- func (x *AbnormalLogIndexReq) ProtoReflect() protoreflect.Message
- func (x *AbnormalLogIndexReq) Reset()
- func (x *AbnormalLogIndexReq) String() string
- type AbnormalLogIndexResp
- func (*AbnormalLogIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *AbnormalLogIndexResp) GetList() []*AbnormalLogInfo
- func (x *AbnormalLogIndexResp) GetTotal() int64
- func (*AbnormalLogIndexResp) ProtoMessage()
- func (x *AbnormalLogIndexResp) ProtoReflect() protoreflect.Message
- func (x *AbnormalLogIndexResp) Reset()
- func (x *AbnormalLogIndexResp) String() string
- type AbnormalLogInfo
- func (*AbnormalLogInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AbnormalLogInfo) GetAction() bool
- func (x *AbnormalLogInfo) GetDeviceName() string
- func (x *AbnormalLogInfo) GetProductID() string
- func (x *AbnormalLogInfo) GetReason() string
- func (x *AbnormalLogInfo) GetTimestamp() int64
- func (x *AbnormalLogInfo) GetTraceID() string
- func (x *AbnormalLogInfo) GetType() string
- func (*AbnormalLogInfo) ProtoMessage()
- func (x *AbnormalLogInfo) ProtoReflect() protoreflect.Message
- func (x *AbnormalLogInfo) Reset()
- func (x *AbnormalLogInfo) String() string
- type ActionRespReq
- func (*ActionRespReq) Descriptor() ([]byte, []int)deprecated
- func (x *ActionRespReq) GetCode() int64
- func (x *ActionRespReq) GetDeviceName() string
- func (x *ActionRespReq) GetMsg() string
- func (x *ActionRespReq) GetMsgToken() string
- func (x *ActionRespReq) GetOutputParams() string
- func (x *ActionRespReq) GetProductID() string
- func (*ActionRespReq) ProtoMessage()
- func (x *ActionRespReq) ProtoReflect() protoreflect.Message
- func (x *ActionRespReq) Reset()
- func (x *ActionRespReq) String() string
- type ActionSendReq
- func (*ActionSendReq) Descriptor() ([]byte, []int)deprecated
- func (x *ActionSendReq) GetActionID() string
- func (x *ActionSendReq) GetDeviceName() string
- func (x *ActionSendReq) GetInputParams() string
- func (x *ActionSendReq) GetIsAsync() bool
- func (x *ActionSendReq) GetOption() *SendOption
- func (x *ActionSendReq) GetProductID() string
- func (*ActionSendReq) ProtoMessage()
- func (x *ActionSendReq) ProtoReflect() protoreflect.Message
- func (x *ActionSendReq) Reset()
- func (x *ActionSendReq) String() string
- type ActionSendResp
- func (*ActionSendResp) Descriptor() ([]byte, []int)deprecated
- func (x *ActionSendResp) GetCode() int64
- func (x *ActionSendResp) GetMsg() string
- func (x *ActionSendResp) GetMsgToken() string
- func (x *ActionSendResp) GetOutputParams() string
- func (*ActionSendResp) ProtoMessage()
- func (x *ActionSendResp) ProtoReflect() protoreflect.Message
- func (x *ActionSendResp) Reset()
- func (x *ActionSendResp) String() string
- type CommonSchemaCreateReq
- func (*CommonSchemaCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *CommonSchemaCreateReq) GetInfo() *CommonSchemaInfo
- func (*CommonSchemaCreateReq) ProtoMessage()
- func (x *CommonSchemaCreateReq) ProtoReflect() protoreflect.Message
- func (x *CommonSchemaCreateReq) Reset()
- func (x *CommonSchemaCreateReq) String() string
- type CommonSchemaIndexReq
- func (*CommonSchemaIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *CommonSchemaIndexReq) GetAreaID() int64
- func (x *CommonSchemaIndexReq) GetAreaIDPath() string
- func (x *CommonSchemaIndexReq) GetControlMode() int64
- func (x *CommonSchemaIndexReq) GetFuncGroup() int64
- func (x *CommonSchemaIndexReq) GetGroupID() int64
- func (x *CommonSchemaIndexReq) GetGroupIDs() []int64
- func (x *CommonSchemaIndexReq) GetIdentifiers() []string
- func (x *CommonSchemaIndexReq) GetIsCanSceneLinkage() int64
- func (x *CommonSchemaIndexReq) GetName() string
- func (x *CommonSchemaIndexReq) GetPage() *PageInfo
- func (x *CommonSchemaIndexReq) GetProductCategoryID() int64
- func (x *CommonSchemaIndexReq) GetProductCategoryWithFather() bool
- func (x *CommonSchemaIndexReq) GetProductIDs() []string
- func (x *CommonSchemaIndexReq) GetProductSceneMode() string
- func (x *CommonSchemaIndexReq) GetProjectID() int64
- func (x *CommonSchemaIndexReq) GetPropertyMode() string
- func (x *CommonSchemaIndexReq) GetType() int64
- func (x *CommonSchemaIndexReq) GetTypes() []int64
- func (x *CommonSchemaIndexReq) GetUserPerm() int64
- func (x *CommonSchemaIndexReq) GetWithProductCategory() bool
- func (*CommonSchemaIndexReq) ProtoMessage()
- func (x *CommonSchemaIndexReq) ProtoReflect() protoreflect.Message
- func (x *CommonSchemaIndexReq) Reset()
- func (x *CommonSchemaIndexReq) String() string
- type CommonSchemaIndexResp
- func (*CommonSchemaIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *CommonSchemaIndexResp) GetList() []*CommonSchemaInfo
- func (x *CommonSchemaIndexResp) GetTotal() int64
- func (*CommonSchemaIndexResp) ProtoMessage()
- func (x *CommonSchemaIndexResp) ProtoReflect() protoreflect.Message
- func (x *CommonSchemaIndexResp) Reset()
- func (x *CommonSchemaIndexResp) String() string
- type CommonSchemaInfo
- func (*CommonSchemaInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CommonSchemaInfo) GetAffordance() *wrapperspb.StringValue
- func (x *CommonSchemaInfo) GetControlMode() int64
- func (x *CommonSchemaInfo) GetDesc() *wrapperspb.StringValue
- func (x *CommonSchemaInfo) GetExtendConfig() string
- func (x *CommonSchemaInfo) GetFuncGroup() int64
- func (x *CommonSchemaInfo) GetId() int64
- func (x *CommonSchemaInfo) GetIdentifier() string
- func (x *CommonSchemaInfo) GetIsCanSceneLinkage() int64
- func (x *CommonSchemaInfo) GetIsHistory() int64
- func (x *CommonSchemaInfo) GetName() *wrapperspb.StringValue
- func (x *CommonSchemaInfo) GetOrder() int64
- func (x *CommonSchemaInfo) GetProductCategories() []*ProductCategory
- func (x *CommonSchemaInfo) GetRequired() int64
- func (x *CommonSchemaInfo) GetType() int64
- func (x *CommonSchemaInfo) GetUserPerm() int64
- func (*CommonSchemaInfo) ProtoMessage()
- func (x *CommonSchemaInfo) ProtoReflect() protoreflect.Message
- func (x *CommonSchemaInfo) Reset()
- func (x *CommonSchemaInfo) String() string
- type CommonSchemaUpdateReq
- func (*CommonSchemaUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *CommonSchemaUpdateReq) GetInfo() *CommonSchemaInfo
- func (*CommonSchemaUpdateReq) ProtoMessage()
- func (x *CommonSchemaUpdateReq) ProtoReflect() protoreflect.Message
- func (x *CommonSchemaUpdateReq) Reset()
- func (x *CommonSchemaUpdateReq) String() string
- type CompareInt64
- func (*CompareInt64) Descriptor() ([]byte, []int)deprecated
- func (x *CompareInt64) GetCmpType() string
- func (x *CompareInt64) GetValue() int64
- func (*CompareInt64) ProtoMessage()
- func (x *CompareInt64) ProtoReflect() protoreflect.Message
- func (x *CompareInt64) Reset()
- func (x *CompareInt64) String() string
- type CompareString
- func (*CompareString) Descriptor() ([]byte, []int)deprecated
- func (x *CompareString) GetCmpType() string
- func (x *CompareString) GetValue() string
- func (*CompareString) ProtoMessage()
- func (x *CompareString) ProtoReflect() protoreflect.Message
- func (x *CompareString) Reset()
- func (x *CompareString) String() string
- type CustomTopic
- func (*CustomTopic) Descriptor() ([]byte, []int)deprecated
- func (x *CustomTopic) GetDirection() int64
- func (x *CustomTopic) GetTopic() string
- func (*CustomTopic) ProtoMessage()
- func (x *CustomTopic) ProtoReflect() protoreflect.Message
- func (x *CustomTopic) Reset()
- func (x *CustomTopic) String() string
- type DeviceCore
- func (*DeviceCore) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceCore) GetDeviceName() string
- func (x *DeviceCore) GetProductID() string
- func (*DeviceCore) ProtoMessage()
- func (x *DeviceCore) ProtoReflect() protoreflect.Message
- func (x *DeviceCore) Reset()
- func (x *DeviceCore) String() string
- type DeviceCountInfo
- func (*DeviceCountInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceCountInfo) GetCount() map[string]int64
- func (x *DeviceCountInfo) GetRangeID() int64
- func (*DeviceCountInfo) ProtoMessage()
- func (x *DeviceCountInfo) ProtoReflect() protoreflect.Message
- func (x *DeviceCountInfo) Reset()
- func (x *DeviceCountInfo) String() string
- type DeviceCountReq
- func (*DeviceCountReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceCountReq) GetCountTypes() []string
- func (x *DeviceCountReq) GetRangeIDs() []int64
- func (x *DeviceCountReq) GetRangeType() int64
- func (*DeviceCountReq) ProtoMessage()
- func (x *DeviceCountReq) ProtoReflect() protoreflect.Message
- func (x *DeviceCountReq) Reset()
- func (x *DeviceCountReq) String() string
- type DeviceCountResp
- type DeviceError
- func (*DeviceError) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceError) GetCode() int64
- func (x *DeviceError) GetDeviceName() string
- func (x *DeviceError) GetMsg() string
- func (x *DeviceError) GetProductID() string
- func (*DeviceError) ProtoMessage()
- func (x *DeviceError) ProtoReflect() protoreflect.Message
- func (x *DeviceError) Reset()
- func (x *DeviceError) String() string
- type DeviceGatewayBindDevice
- func (*DeviceGatewayBindDevice) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceGatewayBindDevice) GetDeviceName() string
- func (x *DeviceGatewayBindDevice) GetProductID() string
- func (x *DeviceGatewayBindDevice) GetSign() *DeviceGatewaySign
- func (*DeviceGatewayBindDevice) ProtoMessage()
- func (x *DeviceGatewayBindDevice) ProtoReflect() protoreflect.Message
- func (x *DeviceGatewayBindDevice) Reset()
- func (x *DeviceGatewayBindDevice) String() string
- type DeviceGatewayIndexReq
- func (*DeviceGatewayIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceGatewayIndexReq) GetGateway() *DeviceCore
- func (x *DeviceGatewayIndexReq) GetPage() *PageInfo
- func (x *DeviceGatewayIndexReq) GetSubDevice() *DeviceCore
- func (*DeviceGatewayIndexReq) ProtoMessage()
- func (x *DeviceGatewayIndexReq) ProtoReflect() protoreflect.Message
- func (x *DeviceGatewayIndexReq) Reset()
- func (x *DeviceGatewayIndexReq) String() string
- type DeviceGatewayIndexResp
- func (*DeviceGatewayIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceGatewayIndexResp) GetList() []*DeviceCore
- func (x *DeviceGatewayIndexResp) GetTotal() int64
- func (*DeviceGatewayIndexResp) ProtoMessage()
- func (x *DeviceGatewayIndexResp) ProtoReflect() protoreflect.Message
- func (x *DeviceGatewayIndexResp) Reset()
- func (x *DeviceGatewayIndexResp) String() string
- type DeviceGatewayMultiCreateReq
- func (*DeviceGatewayMultiCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceGatewayMultiCreateReq) GetGateway() *DeviceCore
- func (x *DeviceGatewayMultiCreateReq) GetIsAuthSign() bool
- func (x *DeviceGatewayMultiCreateReq) GetIsNotNotify() bool
- func (x *DeviceGatewayMultiCreateReq) GetList() []*DeviceGatewayBindDevice
- func (*DeviceGatewayMultiCreateReq) ProtoMessage()
- func (x *DeviceGatewayMultiCreateReq) ProtoReflect() protoreflect.Message
- func (x *DeviceGatewayMultiCreateReq) Reset()
- func (x *DeviceGatewayMultiCreateReq) String() string
- type DeviceGatewayMultiSaveReq
- func (*DeviceGatewayMultiSaveReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceGatewayMultiSaveReq) GetGateway() *DeviceCore
- func (x *DeviceGatewayMultiSaveReq) GetIsNotNotify() bool
- func (x *DeviceGatewayMultiSaveReq) GetList() []*DeviceCore
- func (*DeviceGatewayMultiSaveReq) ProtoMessage()
- func (x *DeviceGatewayMultiSaveReq) ProtoReflect() protoreflect.Message
- func (x *DeviceGatewayMultiSaveReq) Reset()
- func (x *DeviceGatewayMultiSaveReq) String() string
- type DeviceGatewaySign
- func (*DeviceGatewaySign) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceGatewaySign) GetRandom() int64
- func (x *DeviceGatewaySign) GetSignMethod() string
- func (x *DeviceGatewaySign) GetSignature() string
- func (x *DeviceGatewaySign) GetTimestamp() int64
- func (*DeviceGatewaySign) ProtoMessage()
- func (x *DeviceGatewaySign) ProtoReflect() protoreflect.Message
- func (x *DeviceGatewaySign) Reset()
- func (x *DeviceGatewaySign) String() string
- type DeviceGroupClient
- type DeviceGroupServer
- type DeviceInfo
- func (*DeviceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfo) GetAdcode() *wrapperspb.StringValue
- func (x *DeviceInfo) GetAddress() *wrapperspb.StringValue
- func (x *DeviceInfo) GetAreaID() int64
- func (x *DeviceInfo) GetAreaIDPath() string
- func (x *DeviceInfo) GetCategoryID() int64
- func (x *DeviceInfo) GetCert() string
- func (x *DeviceInfo) GetCreatedTime() int64
- func (x *DeviceInfo) GetDesc() *wrapperspb.StringValue
- func (x *DeviceInfo) GetDeviceAlias() *wrapperspb.StringValue
- func (x *DeviceInfo) GetDeviceName() string
- func (x *DeviceInfo) GetDeviceType() int64
- func (x *DeviceInfo) GetDistributor() *IDPathWithUpdate
- func (x *DeviceInfo) GetExpTime() *wrapperspb.Int64Value
- func (x *DeviceInfo) GetFirstBind() int64
- func (x *DeviceInfo) GetFirstLogin() int64
- func (x *DeviceInfo) GetGateway() *DeviceInfo
- func (x *DeviceInfo) GetHardInfo() string
- func (x *DeviceInfo) GetIccid() *wrapperspb.StringValue
- func (x *DeviceInfo) GetId() int64
- func (x *DeviceInfo) GetImei() string
- func (x *DeviceInfo) GetIsEnable() int64
- func (x *DeviceInfo) GetIsOnline() int64
- func (x *DeviceInfo) GetLastIp() string
- func (x *DeviceInfo) GetLastLogin() int64
- func (x *DeviceInfo) GetLogLevel() int64
- func (x *DeviceInfo) GetMac() string
- func (x *DeviceInfo) GetMobileOperator() int64
- func (x *DeviceInfo) GetNeedConfirmJobID() int64
- func (x *DeviceInfo) GetNeedConfirmVersion() string
- func (x *DeviceInfo) GetNetType() int64
- func (x *DeviceInfo) GetPhone() *wrapperspb.StringValue
- func (x *DeviceInfo) GetPosition() *Point
- func (x *DeviceInfo) GetProductID() string
- func (x *DeviceInfo) GetProductImg() string
- func (x *DeviceInfo) GetProductName() string
- func (x *DeviceInfo) GetProjectID() int64
- func (x *DeviceInfo) GetProtocolConf() map[string]string
- func (x *DeviceInfo) GetRatedPower() int64
- func (x *DeviceInfo) GetRssi() *wrapperspb.Int64Value
- func (x *DeviceInfo) GetSchemaAlias() map[string]string
- func (x *DeviceInfo) GetSecret() string
- func (x *DeviceInfo) GetSoftInfo() string
- func (x *DeviceInfo) GetStatus() int64
- func (x *DeviceInfo) GetTags() map[string]string
- func (x *DeviceInfo) GetTenantCode() string
- func (x *DeviceInfo) GetUserID() int64
- func (x *DeviceInfo) GetVersion() *wrapperspb.StringValue
- func (*DeviceInfo) ProtoMessage()
- func (x *DeviceInfo) ProtoReflect() protoreflect.Message
- func (x *DeviceInfo) Reset()
- func (x *DeviceInfo) String() string
- type DeviceInfoBindReq
- func (*DeviceInfoBindReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoBindReq) GetAreaID() int64
- func (x *DeviceInfoBindReq) GetDevice() *DeviceCore
- func (x *DeviceInfoBindReq) GetProtocolCode() string
- func (*DeviceInfoBindReq) ProtoMessage()
- func (x *DeviceInfoBindReq) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoBindReq) Reset()
- func (x *DeviceInfoBindReq) String() string
- type DeviceInfoCanBindReq
- func (*DeviceInfoCanBindReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoCanBindReq) GetDevice() *DeviceCore
- func (*DeviceInfoCanBindReq) ProtoMessage()
- func (x *DeviceInfoCanBindReq) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoCanBindReq) Reset()
- func (x *DeviceInfoCanBindReq) String() string
- type DeviceInfoCount
- func (*DeviceInfoCount) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoCount) GetInactive() int64
- func (x *DeviceInfoCount) GetOffline() int64
- func (x *DeviceInfoCount) GetOnline() int64
- func (x *DeviceInfoCount) GetTotal() int64
- func (x *DeviceInfoCount) GetUnknown() int64
- func (*DeviceInfoCount) ProtoMessage()
- func (x *DeviceInfoCount) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoCount) Reset()
- func (x *DeviceInfoCount) String() string
- type DeviceInfoCountReq
- func (*DeviceInfoCountReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoCountReq) GetAreaIDs() []int64
- func (x *DeviceInfoCountReq) GetGroupIDs() []int64
- func (x *DeviceInfoCountReq) GetTimeRange() *TimeRange
- func (*DeviceInfoCountReq) ProtoMessage()
- func (x *DeviceInfoCountReq) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoCountReq) Reset()
- func (x *DeviceInfoCountReq) String() string
- type DeviceInfoDeleteReq
- func (*DeviceInfoDeleteReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoDeleteReq) GetDeviceName() string
- func (x *DeviceInfoDeleteReq) GetProductID() string
- func (*DeviceInfoDeleteReq) ProtoMessage()
- func (x *DeviceInfoDeleteReq) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoDeleteReq) Reset()
- func (x *DeviceInfoDeleteReq) String() string
- type DeviceInfoIndexReq
- func (*DeviceInfoIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoIndexReq) GetAreaIDPath() string
- func (x *DeviceInfoIndexReq) GetAreaIDs() []int64
- func (x *DeviceInfoIndexReq) GetDeviceAlias() string
- func (x *DeviceInfoIndexReq) GetDeviceName() string
- func (x *DeviceInfoIndexReq) GetDeviceNames() []string
- func (x *DeviceInfoIndexReq) GetDeviceType() int64
- func (x *DeviceInfoIndexReq) GetDeviceTypes() []int64
- func (x *DeviceInfoIndexReq) GetDevices() []*DeviceCore
- func (x *DeviceInfoIndexReq) GetDistributor() *IDPath
- func (x *DeviceInfoIndexReq) GetExpTime() *CompareInt64
- func (x *DeviceInfoIndexReq) GetGateway() *DeviceCore
- func (x *DeviceInfoIndexReq) GetGroupID() int64
- func (x *DeviceInfoIndexReq) GetGroupName() string
- func (x *DeviceInfoIndexReq) GetGroupPurpose() string
- func (x *DeviceInfoIndexReq) GetHasOwner() int64
- func (x *DeviceInfoIndexReq) GetIccid() string
- func (x *DeviceInfoIndexReq) GetIsOnline() int64
- func (x *DeviceInfoIndexReq) GetNetType() int64
- func (x *DeviceInfoIndexReq) GetNotAreaID() int64
- func (x *DeviceInfoIndexReq) GetNotGroupID() int64
- func (x *DeviceInfoIndexReq) GetNotVersion() string
- func (x *DeviceInfoIndexReq) GetPage() *PageInfo
- func (x *DeviceInfoIndexReq) GetParentGroupID() int64
- func (x *DeviceInfoIndexReq) GetPosition() *Point
- func (x *DeviceInfoIndexReq) GetProductCategoryID() int64
- func (x *DeviceInfoIndexReq) GetProductCategoryIDs() []int64
- func (x *DeviceInfoIndexReq) GetProductID() string
- func (x *DeviceInfoIndexReq) GetProductIDs() []string
- func (x *DeviceInfoIndexReq) GetRange() int64
- func (x *DeviceInfoIndexReq) GetRatedPower() *CompareInt64
- func (x *DeviceInfoIndexReq) GetStatus() int64
- func (x *DeviceInfoIndexReq) GetStatuses() []int64
- func (x *DeviceInfoIndexReq) GetTags() map[string]string
- func (x *DeviceInfoIndexReq) GetTenantCode() string
- func (x *DeviceInfoIndexReq) GetUserID() int64
- func (x *DeviceInfoIndexReq) GetVersions() []string
- func (x *DeviceInfoIndexReq) GetWithCollect() int64
- func (x *DeviceInfoIndexReq) GetWithGateway() bool
- func (x *DeviceInfoIndexReq) GetWithShared() int64
- func (*DeviceInfoIndexReq) ProtoMessage()
- func (x *DeviceInfoIndexReq) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoIndexReq) Reset()
- func (x *DeviceInfoIndexReq) String() string
- type DeviceInfoIndexResp
- func (*DeviceInfoIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoIndexResp) GetList() []*DeviceInfo
- func (x *DeviceInfoIndexResp) GetTotal() int64
- func (*DeviceInfoIndexResp) ProtoMessage()
- func (x *DeviceInfoIndexResp) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoIndexResp) Reset()
- func (x *DeviceInfoIndexResp) String() string
- type DeviceInfoMultiBindReq
- func (*DeviceInfoMultiBindReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoMultiBindReq) GetAreaID() int64
- func (x *DeviceInfoMultiBindReq) GetDevices() []*DeviceCore
- func (*DeviceInfoMultiBindReq) ProtoMessage()
- func (x *DeviceInfoMultiBindReq) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoMultiBindReq) Reset()
- func (x *DeviceInfoMultiBindReq) String() string
- type DeviceInfoMultiBindResp
- func (*DeviceInfoMultiBindResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoMultiBindResp) GetErrs() []*DeviceError
- func (*DeviceInfoMultiBindResp) ProtoMessage()
- func (x *DeviceInfoMultiBindResp) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoMultiBindResp) Reset()
- func (x *DeviceInfoMultiBindResp) String() string
- type DeviceInfoMultiUpdateReq
- func (*DeviceInfoMultiUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoMultiUpdateReq) GetAreaID() int64
- func (x *DeviceInfoMultiUpdateReq) GetDevices() []*DeviceCore
- func (x *DeviceInfoMultiUpdateReq) GetDistributor() *IDPath
- func (x *DeviceInfoMultiUpdateReq) GetFilterDistributorID() *CompareInt64
- func (x *DeviceInfoMultiUpdateReq) GetRatedPower() int64
- func (*DeviceInfoMultiUpdateReq) ProtoMessage()
- func (x *DeviceInfoMultiUpdateReq) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoMultiUpdateReq) Reset()
- func (x *DeviceInfoMultiUpdateReq) String() string
- type DeviceInfoReadReq
- func (*DeviceInfoReadReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoReadReq) GetDeviceName() string
- func (x *DeviceInfoReadReq) GetProductID() string
- func (x *DeviceInfoReadReq) GetWithGateway() bool
- func (*DeviceInfoReadReq) ProtoMessage()
- func (x *DeviceInfoReadReq) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoReadReq) Reset()
- func (x *DeviceInfoReadReq) String() string
- type DeviceInteractClient
- type DeviceInteractServer
- type DeviceManageClient
- type DeviceManageServer
- type DeviceModuleVersion
- func (*DeviceModuleVersion) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceModuleVersion) GetDeviceName() string
- func (x *DeviceModuleVersion) GetId() int64
- func (x *DeviceModuleVersion) GetModuleCode() string
- func (x *DeviceModuleVersion) GetProductID() string
- func (x *DeviceModuleVersion) GetVersion() string
- func (*DeviceModuleVersion) ProtoMessage()
- func (x *DeviceModuleVersion) ProtoReflect() protoreflect.Message
- func (x *DeviceModuleVersion) Reset()
- func (x *DeviceModuleVersion) String() string
- type DeviceModuleVersionIndexReq
- func (*DeviceModuleVersionIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceModuleVersionIndexReq) GetDeviceName() string
- func (x *DeviceModuleVersionIndexReq) GetModuleCode() string
- func (x *DeviceModuleVersionIndexReq) GetPage() *PageInfo
- func (x *DeviceModuleVersionIndexReq) GetProductID() string
- func (*DeviceModuleVersionIndexReq) ProtoMessage()
- func (x *DeviceModuleVersionIndexReq) ProtoReflect() protoreflect.Message
- func (x *DeviceModuleVersionIndexReq) Reset()
- func (x *DeviceModuleVersionIndexReq) String() string
- type DeviceModuleVersionIndexResp
- func (*DeviceModuleVersionIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceModuleVersionIndexResp) GetList() []*DeviceModuleVersion
- func (x *DeviceModuleVersionIndexResp) GetTotal() int64
- func (*DeviceModuleVersionIndexResp) ProtoMessage()
- func (x *DeviceModuleVersionIndexResp) ProtoReflect() protoreflect.Message
- func (x *DeviceModuleVersionIndexResp) Reset()
- func (x *DeviceModuleVersionIndexResp) String() string
- type DeviceModuleVersionReadReq
- func (*DeviceModuleVersionReadReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceModuleVersionReadReq) GetDeviceName() string
- func (x *DeviceModuleVersionReadReq) GetId() int64
- func (x *DeviceModuleVersionReadReq) GetModuleCode() string
- func (x *DeviceModuleVersionReadReq) GetProductID() string
- func (*DeviceModuleVersionReadReq) ProtoMessage()
- func (x *DeviceModuleVersionReadReq) ProtoReflect() protoreflect.Message
- func (x *DeviceModuleVersionReadReq) Reset()
- func (x *DeviceModuleVersionReadReq) String() string
- type DeviceMoveReq
- func (*DeviceMoveReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceMoveReq) GetNew() *DeviceCore
- func (x *DeviceMoveReq) GetOld() *DeviceCore
- func (x *DeviceMoveReq) GetWithTarget() []string
- func (*DeviceMoveReq) ProtoMessage()
- func (x *DeviceMoveReq) ProtoReflect() protoreflect.Message
- func (x *DeviceMoveReq) Reset()
- func (x *DeviceMoveReq) String() string
- type DeviceMsgClient
- type DeviceMsgServer
- type DeviceOnlineMultiFix
- func (*DeviceOnlineMultiFix) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnlineMultiFix) GetConnectAt() int64
- func (x *DeviceOnlineMultiFix) GetDevice() *DeviceCore
- func (x *DeviceOnlineMultiFix) GetIsOnline() int64
- func (*DeviceOnlineMultiFix) ProtoMessage()
- func (x *DeviceOnlineMultiFix) ProtoReflect() protoreflect.Message
- func (x *DeviceOnlineMultiFix) Reset()
- func (x *DeviceOnlineMultiFix) String() string
- type DeviceOnlineMultiFixReq
- func (*DeviceOnlineMultiFixReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnlineMultiFixReq) GetDevices() []*DeviceOnlineMultiFix
- func (*DeviceOnlineMultiFixReq) ProtoMessage()
- func (x *DeviceOnlineMultiFixReq) ProtoReflect() protoreflect.Message
- func (x *DeviceOnlineMultiFixReq) Reset()
- func (x *DeviceOnlineMultiFixReq) String() string
- type DeviceProfile
- func (*DeviceProfile) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceProfile) GetCode() string
- func (x *DeviceProfile) GetDevice() *DeviceCore
- func (x *DeviceProfile) GetParams() string
- func (*DeviceProfile) ProtoMessage()
- func (x *DeviceProfile) ProtoReflect() protoreflect.Message
- func (x *DeviceProfile) Reset()
- func (x *DeviceProfile) String() string
- type DeviceProfileIndexReq
- func (*DeviceProfileIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceProfileIndexReq) GetCodes() []string
- func (x *DeviceProfileIndexReq) GetDevice() *DeviceCore
- func (*DeviceProfileIndexReq) ProtoMessage()
- func (x *DeviceProfileIndexReq) ProtoReflect() protoreflect.Message
- func (x *DeviceProfileIndexReq) Reset()
- func (x *DeviceProfileIndexReq) String() string
- type DeviceProfileIndexResp
- func (*DeviceProfileIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceProfileIndexResp) GetProfiles() []*DeviceProfile
- func (*DeviceProfileIndexResp) ProtoMessage()
- func (x *DeviceProfileIndexResp) ProtoReflect() protoreflect.Message
- func (x *DeviceProfileIndexResp) Reset()
- func (x *DeviceProfileIndexResp) String() string
- type DeviceProfileReadReq
- func (*DeviceProfileReadReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceProfileReadReq) GetCode() string
- func (x *DeviceProfileReadReq) GetDevice() *DeviceCore
- func (*DeviceProfileReadReq) ProtoMessage()
- func (x *DeviceProfileReadReq) ProtoReflect() protoreflect.Message
- func (x *DeviceProfileReadReq) Reset()
- func (x *DeviceProfileReadReq) String() string
- type DeviceSchema
- func (*DeviceSchema) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceSchema) GetAffordance() *wrapperspb.StringValue
- func (x *DeviceSchema) GetControlMode() int64
- func (x *DeviceSchema) GetDesc() *wrapperspb.StringValue
- func (x *DeviceSchema) GetDeviceName() string
- func (x *DeviceSchema) GetExtendConfig() string
- func (x *DeviceSchema) GetFuncGroup() int64
- func (x *DeviceSchema) GetIdentifier() string
- func (x *DeviceSchema) GetIsCanSceneLinkage() int64
- func (x *DeviceSchema) GetIsHistory() int64
- func (x *DeviceSchema) GetName() *wrapperspb.StringValue
- func (x *DeviceSchema) GetOrder() int64
- func (x *DeviceSchema) GetProductID() string
- func (x *DeviceSchema) GetRequired() int64
- func (x *DeviceSchema) GetTag() int64
- func (x *DeviceSchema) GetType() int64
- func (x *DeviceSchema) GetUserPerm() int64
- func (*DeviceSchema) ProtoMessage()
- func (x *DeviceSchema) ProtoReflect() protoreflect.Message
- func (x *DeviceSchema) Reset()
- func (x *DeviceSchema) String() string
- type DeviceSchemaIndexReq
- func (*DeviceSchemaIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceSchemaIndexReq) GetControlMode() int64
- func (x *DeviceSchemaIndexReq) GetDeviceName() string
- func (x *DeviceSchemaIndexReq) GetFuncGroup() int64
- func (x *DeviceSchemaIndexReq) GetIdentifiers() []string
- func (x *DeviceSchemaIndexReq) GetIsCanSceneLinkage() int64
- func (x *DeviceSchemaIndexReq) GetName() string
- func (x *DeviceSchemaIndexReq) GetPage() *PageInfo
- func (x *DeviceSchemaIndexReq) GetProductID() string
- func (x *DeviceSchemaIndexReq) GetPropertyMode() string
- func (x *DeviceSchemaIndexReq) GetTag() int64
- func (x *DeviceSchemaIndexReq) GetType() int64
- func (x *DeviceSchemaIndexReq) GetTypes() []int64
- func (x *DeviceSchemaIndexReq) GetUserPerm() int64
- func (x *DeviceSchemaIndexReq) GetWithProductSchema() bool
- func (*DeviceSchemaIndexReq) ProtoMessage()
- func (x *DeviceSchemaIndexReq) ProtoReflect() protoreflect.Message
- func (x *DeviceSchemaIndexReq) Reset()
- func (x *DeviceSchemaIndexReq) String() string
- type DeviceSchemaIndexResp
- func (*DeviceSchemaIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceSchemaIndexResp) GetList() []*DeviceSchema
- func (x *DeviceSchemaIndexResp) GetTotal() int64
- func (*DeviceSchemaIndexResp) ProtoMessage()
- func (x *DeviceSchemaIndexResp) ProtoReflect() protoreflect.Message
- func (x *DeviceSchemaIndexResp) Reset()
- func (x *DeviceSchemaIndexResp) String() string
- type DeviceSchemaMultiCreateReq
- func (*DeviceSchemaMultiCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceSchemaMultiCreateReq) GetDeviceName() string
- func (x *DeviceSchemaMultiCreateReq) GetList() []*DeviceSchema
- func (x *DeviceSchemaMultiCreateReq) GetProductID() string
- func (*DeviceSchemaMultiCreateReq) ProtoMessage()
- func (x *DeviceSchemaMultiCreateReq) ProtoReflect() protoreflect.Message
- func (x *DeviceSchemaMultiCreateReq) Reset()
- func (x *DeviceSchemaMultiCreateReq) String() string
- type DeviceSchemaMultiDeleteReq
- func (*DeviceSchemaMultiDeleteReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceSchemaMultiDeleteReq) GetDeviceName() string
- func (x *DeviceSchemaMultiDeleteReq) GetIdentifiers() []string
- func (x *DeviceSchemaMultiDeleteReq) GetProductID() string
- func (*DeviceSchemaMultiDeleteReq) ProtoMessage()
- func (x *DeviceSchemaMultiDeleteReq) ProtoReflect() protoreflect.Message
- func (x *DeviceSchemaMultiDeleteReq) Reset()
- func (x *DeviceSchemaMultiDeleteReq) String() string
- type DeviceSchemaTslReadReq
- func (*DeviceSchemaTslReadReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceSchemaTslReadReq) GetDeviceName() string
- func (x *DeviceSchemaTslReadReq) GetProductID() string
- func (x *DeviceSchemaTslReadReq) GetWithProductSchema() bool
- func (*DeviceSchemaTslReadReq) ProtoMessage()
- func (x *DeviceSchemaTslReadReq) ProtoReflect() protoreflect.Message
- func (x *DeviceSchemaTslReadReq) Reset()
- func (x *DeviceSchemaTslReadReq) String() string
- type DeviceSchemaTslReadResp
- func (*DeviceSchemaTslReadResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceSchemaTslReadResp) GetTsl() string
- func (*DeviceSchemaTslReadResp) ProtoMessage()
- func (x *DeviceSchemaTslReadResp) ProtoReflect() protoreflect.Message
- func (x *DeviceSchemaTslReadResp) Reset()
- func (x *DeviceSchemaTslReadResp) String() string
- type DeviceShareInfo
- func (*DeviceShareInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceShareInfo) GetDeviceAlias() *wrapperspb.StringValue
- func (x *DeviceShareInfo) GetDeviceName() string
- func (x *DeviceShareInfo) GetProductID() string
- func (x *DeviceShareInfo) GetProductImg() string
- func (x *DeviceShareInfo) GetProductName() string
- func (*DeviceShareInfo) ProtoMessage()
- func (x *DeviceShareInfo) ProtoReflect() protoreflect.Message
- func (x *DeviceShareInfo) Reset()
- func (x *DeviceShareInfo) String() string
- type DeviceTransferReq
- func (*DeviceTransferReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceTransferReq) GetAreaID() int64
- func (x *DeviceTransferReq) GetDevice() *DeviceCore
- func (x *DeviceTransferReq) GetDevices() []*DeviceCore
- func (x *DeviceTransferReq) GetIsCleanData() int64
- func (x *DeviceTransferReq) GetProjectID() int64
- func (x *DeviceTransferReq) GetSrcProjectID() int64
- func (x *DeviceTransferReq) GetTransferTo() int64
- func (x *DeviceTransferReq) GetUserID() int64
- func (*DeviceTransferReq) ProtoMessage()
- func (x *DeviceTransferReq) ProtoReflect() protoreflect.Message
- func (x *DeviceTransferReq) Reset()
- func (x *DeviceTransferReq) String() string
- type DeviceTypeCountReq
- func (*DeviceTypeCountReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceTypeCountReq) GetAreaIDs() []int64
- func (x *DeviceTypeCountReq) GetGroupIDs() []int64
- func (x *DeviceTypeCountReq) GetTimeRange() *TimeRange
- func (*DeviceTypeCountReq) ProtoMessage()
- func (x *DeviceTypeCountReq) ProtoReflect() protoreflect.Message
- func (x *DeviceTypeCountReq) Reset()
- func (x *DeviceTypeCountReq) String() string
- type DeviceTypeCountResp
- func (*DeviceTypeCountResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceTypeCountResp) GetDevice() int64
- func (x *DeviceTypeCountResp) GetGateway() int64
- func (x *DeviceTypeCountResp) GetSubset() int64
- func (x *DeviceTypeCountResp) GetUnknown() int64
- func (*DeviceTypeCountResp) ProtoMessage()
- func (x *DeviceTypeCountResp) ProtoReflect() protoreflect.Message
- func (x *DeviceTypeCountResp) Reset()
- func (x *DeviceTypeCountResp) String() string
- type EdgeSendReq
- func (*EdgeSendReq) Descriptor() ([]byte, []int)deprecated
- func (x *EdgeSendReq) GetDeviceName() string
- func (x *EdgeSendReq) GetHandle() string
- func (x *EdgeSendReq) GetPayload() []byte
- func (x *EdgeSendReq) GetProductID() string
- func (x *EdgeSendReq) GetType() string
- func (*EdgeSendReq) ProtoMessage()
- func (x *EdgeSendReq) ProtoReflect() protoreflect.Message
- func (x *EdgeSendReq) Reset()
- func (x *EdgeSendReq) String() string
- type EdgeSendResp
- type Empty
- type EventLogIndexReq
- func (*EventLogIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *EventLogIndexReq) GetDataID() string
- func (x *EventLogIndexReq) GetDeviceName() string
- func (x *EventLogIndexReq) GetDeviceNames() []string
- func (x *EventLogIndexReq) GetPage() *PageInfo
- func (x *EventLogIndexReq) GetProductID() string
- func (x *EventLogIndexReq) GetTimeEnd() int64
- func (x *EventLogIndexReq) GetTimeStart() int64
- func (x *EventLogIndexReq) GetTypes() []string
- func (*EventLogIndexReq) ProtoMessage()
- func (x *EventLogIndexReq) ProtoReflect() protoreflect.Message
- func (x *EventLogIndexReq) Reset()
- func (x *EventLogIndexReq) String() string
- type EventLogIndexResp
- func (*EventLogIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *EventLogIndexResp) GetList() []*EventLogInfo
- func (x *EventLogIndexResp) GetTotal() int64
- func (*EventLogIndexResp) ProtoMessage()
- func (x *EventLogIndexResp) ProtoReflect() protoreflect.Message
- func (x *EventLogIndexResp) Reset()
- func (x *EventLogIndexResp) String() string
- type EventLogInfo
- func (*EventLogInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EventLogInfo) GetDataID() string
- func (x *EventLogInfo) GetParams() string
- func (x *EventLogInfo) GetTimestamp() int64
- func (x *EventLogInfo) GetType() string
- func (*EventLogInfo) ProtoMessage()
- func (x *EventLogInfo) ProtoReflect() protoreflect.Message
- func (x *EventLogInfo) Reset()
- func (x *EventLogInfo) String() string
- type Firmware
- func (*Firmware) Descriptor() ([]byte, []int)deprecated
- func (x *Firmware) GetCreatedTime() int64
- func (x *Firmware) GetDesc() *wrapperspb.StringValue
- func (x *Firmware) GetExtData() *wrapperspb.StringValue
- func (x *Firmware) GetFiles() []*OtaFirmwareFile
- func (x *Firmware) GetFirmwareID() int64
- func (x *Firmware) GetIsDiff() int32
- func (x *Firmware) GetName() string
- func (x *Firmware) GetProductID() string
- func (x *Firmware) GetSignMethod() string
- func (x *Firmware) GetVersion() string
- func (*Firmware) ProtoMessage()
- func (x *Firmware) ProtoReflect() protoreflect.Message
- func (x *Firmware) Reset()
- func (x *Firmware) String() string
- type FirmwareFile
- func (*FirmwareFile) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareFile) GetFileMd5() string
- func (x *FirmwareFile) GetFilePath() string
- func (x *FirmwareFile) GetName() string
- func (x *FirmwareFile) GetSignature() string
- func (x *FirmwareFile) GetSize() int64
- func (*FirmwareFile) ProtoMessage()
- func (x *FirmwareFile) ProtoReflect() protoreflect.Message
- func (x *FirmwareFile) Reset()
- func (x *FirmwareFile) String() string
- type FirmwareInfo
- func (*FirmwareInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareInfo) GetCreatedTime() int64
- func (x *FirmwareInfo) GetDesc() *wrapperspb.StringValue
- func (x *FirmwareInfo) GetExtData() *wrapperspb.StringValue
- func (x *FirmwareInfo) GetFiles() []*OtaFirmwareFile
- func (x *FirmwareInfo) GetFirmwareID() int64
- func (x *FirmwareInfo) GetIsDiff() int32
- func (x *FirmwareInfo) GetName() string
- func (x *FirmwareInfo) GetProductID() string
- func (x *FirmwareInfo) GetProductName() string
- func (x *FirmwareInfo) GetSignMethod() string
- func (x *FirmwareInfo) GetVersion() string
- func (*FirmwareInfo) ProtoMessage()
- func (x *FirmwareInfo) ProtoReflect() protoreflect.Message
- func (x *FirmwareInfo) Reset()
- func (x *FirmwareInfo) String() string
- type FirmwareInfoDeleteReq
- func (*FirmwareInfoDeleteReq) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareInfoDeleteReq) GetFirmwareID() int64
- func (*FirmwareInfoDeleteReq) ProtoMessage()
- func (x *FirmwareInfoDeleteReq) ProtoReflect() protoreflect.Message
- func (x *FirmwareInfoDeleteReq) Reset()
- func (x *FirmwareInfoDeleteReq) String() string
- type FirmwareInfoDeleteResp
- func (*FirmwareInfoDeleteResp) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareInfoDeleteResp) GetPaths() []string
- func (*FirmwareInfoDeleteResp) ProtoMessage()
- func (x *FirmwareInfoDeleteResp) ProtoReflect() protoreflect.Message
- func (x *FirmwareInfoDeleteResp) Reset()
- func (x *FirmwareInfoDeleteResp) String() string
- type FirmwareInfoIndexReq
- func (*FirmwareInfoIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareInfoIndexReq) GetFirmwareID() int64
- func (x *FirmwareInfoIndexReq) GetPage() *PageInfo
- func (x *FirmwareInfoIndexReq) GetProductID() string
- func (*FirmwareInfoIndexReq) ProtoMessage()
- func (x *FirmwareInfoIndexReq) ProtoReflect() protoreflect.Message
- func (x *FirmwareInfoIndexReq) Reset()
- func (x *FirmwareInfoIndexReq) String() string
- type FirmwareInfoIndexResp
- func (*FirmwareInfoIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareInfoIndexResp) GetList() []*FirmwareInfo
- func (x *FirmwareInfoIndexResp) GetTotal() int64
- func (*FirmwareInfoIndexResp) ProtoMessage()
- func (x *FirmwareInfoIndexResp) ProtoReflect() protoreflect.Message
- func (x *FirmwareInfoIndexResp) Reset()
- func (x *FirmwareInfoIndexResp) String() string
- type FirmwareInfoReadReq
- func (*FirmwareInfoReadReq) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareInfoReadReq) GetFirmwareID() int64
- func (*FirmwareInfoReadReq) ProtoMessage()
- func (x *FirmwareInfoReadReq) ProtoReflect() protoreflect.Message
- func (x *FirmwareInfoReadReq) Reset()
- func (x *FirmwareInfoReadReq) String() string
- type FirmwareInfoReadResp
- func (*FirmwareInfoReadResp) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareInfoReadResp) GetCreatedTime() int64
- func (x *FirmwareInfoReadResp) GetDesc() *wrapperspb.StringValue
- func (x *FirmwareInfoReadResp) GetExtData() *wrapperspb.StringValue
- func (x *FirmwareInfoReadResp) GetFiles() []*OtaFirmwareFileResp
- func (x *FirmwareInfoReadResp) GetFirmwareID() int64
- func (x *FirmwareInfoReadResp) GetIsDiff() int32
- func (x *FirmwareInfoReadResp) GetName() string
- func (x *FirmwareInfoReadResp) GetProductID() string
- func (x *FirmwareInfoReadResp) GetProductName() string
- func (x *FirmwareInfoReadResp) GetSignMethod() string
- func (x *FirmwareInfoReadResp) GetVersion() string
- func (*FirmwareInfoReadResp) ProtoMessage()
- func (x *FirmwareInfoReadResp) ProtoReflect() protoreflect.Message
- func (x *FirmwareInfoReadResp) Reset()
- func (x *FirmwareInfoReadResp) String() string
- type FirmwareResp
- type GatewayCanBindIndexReq
- func (*GatewayCanBindIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayCanBindIndexReq) GetGateway() *DeviceCore
- func (*GatewayCanBindIndexReq) ProtoMessage()
- func (x *GatewayCanBindIndexReq) ProtoReflect() protoreflect.Message
- func (x *GatewayCanBindIndexReq) Reset()
- func (x *GatewayCanBindIndexReq) String() string
- type GatewayCanBindIndexResp
- func (*GatewayCanBindIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayCanBindIndexResp) GetSubDevices() []*DeviceCore
- func (x *GatewayCanBindIndexResp) GetUpdatedTime() int64
- func (*GatewayCanBindIndexResp) ProtoMessage()
- func (x *GatewayCanBindIndexResp) ProtoReflect() protoreflect.Message
- func (x *GatewayCanBindIndexResp) Reset()
- func (x *GatewayCanBindIndexResp) String() string
- type GatewayGetFoundReq
- func (*GatewayGetFoundReq) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayGetFoundReq) GetDeviceName() string
- func (x *GatewayGetFoundReq) GetProductID() string
- func (*GatewayGetFoundReq) ProtoMessage()
- func (x *GatewayGetFoundReq) ProtoReflect() protoreflect.Message
- func (x *GatewayGetFoundReq) Reset()
- func (x *GatewayGetFoundReq) String() string
- type GatewayNotifyBindSendReq
- func (*GatewayNotifyBindSendReq) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayNotifyBindSendReq) GetGateway() *DeviceCore
- func (x *GatewayNotifyBindSendReq) GetSubDevices() []*DeviceCore
- func (*GatewayNotifyBindSendReq) ProtoMessage()
- func (x *GatewayNotifyBindSendReq) ProtoReflect() protoreflect.Message
- func (x *GatewayNotifyBindSendReq) Reset()
- func (x *GatewayNotifyBindSendReq) String() string
- type GroupCore
- func (*GroupCore) Descriptor() ([]byte, []int)deprecated
- func (x *GroupCore) GetId() int64
- func (x *GroupCore) GetName() string
- func (x *GroupCore) GetParentID() int64
- func (*GroupCore) ProtoMessage()
- func (x *GroupCore) ProtoReflect() protoreflect.Message
- func (x *GroupCore) Reset()
- func (x *GroupCore) String() string
- type GroupDeviceMultiDeleteReq
- func (*GroupDeviceMultiDeleteReq) Descriptor() ([]byte, []int)deprecated
- func (x *GroupDeviceMultiDeleteReq) GetGroupID() int64
- func (x *GroupDeviceMultiDeleteReq) GetList() []*DeviceCore
- func (x *GroupDeviceMultiDeleteReq) GetPurpose() string
- func (*GroupDeviceMultiDeleteReq) ProtoMessage()
- func (x *GroupDeviceMultiDeleteReq) ProtoReflect() protoreflect.Message
- func (x *GroupDeviceMultiDeleteReq) Reset()
- func (x *GroupDeviceMultiDeleteReq) String() string
- type GroupDeviceMultiSaveReq
- func (*GroupDeviceMultiSaveReq) Descriptor() ([]byte, []int)deprecated
- func (x *GroupDeviceMultiSaveReq) GetGroupID() int64
- func (x *GroupDeviceMultiSaveReq) GetList() []*DeviceCore
- func (*GroupDeviceMultiSaveReq) ProtoMessage()
- func (x *GroupDeviceMultiSaveReq) ProtoReflect() protoreflect.Message
- func (x *GroupDeviceMultiSaveReq) Reset()
- func (x *GroupDeviceMultiSaveReq) String() string
- type GroupInfo
- func (*GroupInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInfo) GetAreaID() int64
- func (x *GroupInfo) GetChildren() []*GroupInfo
- func (x *GroupInfo) GetCreatedTime() int64
- func (x *GroupInfo) GetDesc() string
- func (x *GroupInfo) GetDeviceCount() int64
- func (x *GroupInfo) GetDevices() []*DeviceCore
- func (x *GroupInfo) GetId() int64
- func (x *GroupInfo) GetIsLeaf() int64
- func (x *GroupInfo) GetName() string
- func (x *GroupInfo) GetParentID() int64
- func (x *GroupInfo) GetProductID() string
- func (x *GroupInfo) GetProductName() string
- func (x *GroupInfo) GetProjectID() int64
- func (x *GroupInfo) GetPurpose() string
- func (x *GroupInfo) GetTags() map[string]string
- func (*GroupInfo) ProtoMessage()
- func (x *GroupInfo) ProtoReflect() protoreflect.Message
- func (x *GroupInfo) Reset()
- func (x *GroupInfo) String() string
- type GroupInfoCreateReq
- func (*GroupInfoCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInfoCreateReq) GetAreaID() int64
- func (x *GroupInfoCreateReq) GetDesc() string
- func (x *GroupInfoCreateReq) GetName() string
- func (x *GroupInfoCreateReq) GetParentID() int64
- func (x *GroupInfoCreateReq) GetProductID() string
- func (x *GroupInfoCreateReq) GetPurpose() string
- func (*GroupInfoCreateReq) ProtoMessage()
- func (x *GroupInfoCreateReq) ProtoReflect() protoreflect.Message
- func (x *GroupInfoCreateReq) Reset()
- func (x *GroupInfoCreateReq) String() string
- type GroupInfoIndexReq
- func (*GroupInfoIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInfoIndexReq) GetAreaID() int64
- func (x *GroupInfoIndexReq) GetHasDevice() *DeviceCore
- func (x *GroupInfoIndexReq) GetName() string
- func (x *GroupInfoIndexReq) GetNames() []string
- func (x *GroupInfoIndexReq) GetPage() *PageInfo
- func (x *GroupInfoIndexReq) GetParentID() int64
- func (x *GroupInfoIndexReq) GetPurpose() string
- func (x *GroupInfoIndexReq) GetPurposes() []string
- func (x *GroupInfoIndexReq) GetTags() map[string]string
- func (*GroupInfoIndexReq) ProtoMessage()
- func (x *GroupInfoIndexReq) ProtoReflect() protoreflect.Message
- func (x *GroupInfoIndexReq) Reset()
- func (x *GroupInfoIndexReq) String() string
- type GroupInfoIndexResp
- func (*GroupInfoIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInfoIndexResp) GetList() []*GroupInfo
- func (x *GroupInfoIndexResp) GetTotal() int64
- func (*GroupInfoIndexResp) ProtoMessage()
- func (x *GroupInfoIndexResp) ProtoReflect() protoreflect.Message
- func (x *GroupInfoIndexResp) Reset()
- func (x *GroupInfoIndexResp) String() string
- type GroupInfoMultiCreateReq
- func (*GroupInfoMultiCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInfoMultiCreateReq) GetGroups() []*GroupInfo
- func (*GroupInfoMultiCreateReq) ProtoMessage()
- func (x *GroupInfoMultiCreateReq) ProtoReflect() protoreflect.Message
- func (x *GroupInfoMultiCreateReq) Reset()
- func (x *GroupInfoMultiCreateReq) String() string
- type GroupInfoUpdateReq
- func (*GroupInfoUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInfoUpdateReq) GetDesc() string
- func (x *GroupInfoUpdateReq) GetId() int64
- func (x *GroupInfoUpdateReq) GetName() string
- func (x *GroupInfoUpdateReq) GetProductID() string
- func (x *GroupInfoUpdateReq) GetTags() map[string]string
- func (*GroupInfoUpdateReq) ProtoMessage()
- func (x *GroupInfoUpdateReq) ProtoReflect() protoreflect.Message
- func (x *GroupInfoUpdateReq) Reset()
- func (x *GroupInfoUpdateReq) String() string
- type HubLogIndexReq
- func (*HubLogIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *HubLogIndexReq) GetActions() []string
- func (x *HubLogIndexReq) GetContent() string
- func (x *HubLogIndexReq) GetDeviceName() string
- func (x *HubLogIndexReq) GetPage() *PageInfo
- func (x *HubLogIndexReq) GetProductID() string
- func (x *HubLogIndexReq) GetRequestID() string
- func (x *HubLogIndexReq) GetTimeEnd() int64
- func (x *HubLogIndexReq) GetTimeStart() int64
- func (x *HubLogIndexReq) GetTopics() []string
- func (*HubLogIndexReq) ProtoMessage()
- func (x *HubLogIndexReq) ProtoReflect() protoreflect.Message
- func (x *HubLogIndexReq) Reset()
- func (x *HubLogIndexReq) String() string
- type HubLogIndexResp
- func (*HubLogIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *HubLogIndexResp) GetList() []*HubLogInfo
- func (x *HubLogIndexResp) GetTotal() int64
- func (*HubLogIndexResp) ProtoMessage()
- func (x *HubLogIndexResp) ProtoReflect() protoreflect.Message
- func (x *HubLogIndexResp) Reset()
- func (x *HubLogIndexResp) String() string
- type HubLogInfo
- func (*HubLogInfo) Descriptor() ([]byte, []int)deprecated
- func (x *HubLogInfo) GetAction() string
- func (x *HubLogInfo) GetContent() string
- func (x *HubLogInfo) GetRequestID() string
- func (x *HubLogInfo) GetRespPayload() string
- func (x *HubLogInfo) GetResultCode() int64
- func (x *HubLogInfo) GetTimestamp() int64
- func (x *HubLogInfo) GetTopic() string
- func (x *HubLogInfo) GetTraceID() string
- func (*HubLogInfo) ProtoMessage()
- func (x *HubLogInfo) ProtoReflect() protoreflect.Message
- func (x *HubLogInfo) Reset()
- func (x *HubLogInfo) String() string
- type IDPath
- func (*IDPath) Descriptor() ([]byte, []int)deprecated
- func (x *IDPath) GetId() int64
- func (x *IDPath) GetIdPath() string
- func (x *IDPath) GetNoParentID() int64
- func (*IDPath) ProtoMessage()
- func (x *IDPath) ProtoReflect() protoreflect.Message
- func (x *IDPath) Reset()
- func (x *IDPath) String() string
- type IDPathWithUpdate
- func (*IDPathWithUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *IDPathWithUpdate) GetId() int64
- func (x *IDPathWithUpdate) GetIdPath() string
- func (x *IDPathWithUpdate) GetUpdatedTime() int64
- func (*IDPathWithUpdate) ProtoMessage()
- func (x *IDPathWithUpdate) ProtoReflect() protoreflect.Message
- func (x *IDPathWithUpdate) Reset()
- func (x *IDPathWithUpdate) String() string
- type OtaFirmwareDeviceCancelReq
- func (*OtaFirmwareDeviceCancelReq) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareDeviceCancelReq) GetDeviceNames() []string
- func (x *OtaFirmwareDeviceCancelReq) GetFirmwareID() int64
- func (x *OtaFirmwareDeviceCancelReq) GetJobID() int64
- func (*OtaFirmwareDeviceCancelReq) ProtoMessage()
- func (x *OtaFirmwareDeviceCancelReq) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareDeviceCancelReq) Reset()
- func (x *OtaFirmwareDeviceCancelReq) String() string
- type OtaFirmwareDeviceConfirmReq
- func (*OtaFirmwareDeviceConfirmReq) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareDeviceConfirmReq) GetDeviceName() string
- func (x *OtaFirmwareDeviceConfirmReq) GetProductID() string
- func (*OtaFirmwareDeviceConfirmReq) ProtoMessage()
- func (x *OtaFirmwareDeviceConfirmReq) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareDeviceConfirmReq) Reset()
- func (x *OtaFirmwareDeviceConfirmReq) String() string
- type OtaFirmwareDeviceIndexReq
- func (*OtaFirmwareDeviceIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareDeviceIndexReq) GetDeviceName() string
- func (x *OtaFirmwareDeviceIndexReq) GetFirmwareID() int64
- func (x *OtaFirmwareDeviceIndexReq) GetJobID() int64
- func (x *OtaFirmwareDeviceIndexReq) GetPage() *PageInfo
- func (*OtaFirmwareDeviceIndexReq) ProtoMessage()
- func (x *OtaFirmwareDeviceIndexReq) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareDeviceIndexReq) Reset()
- func (x *OtaFirmwareDeviceIndexReq) String() string
- type OtaFirmwareDeviceIndexResp
- func (*OtaFirmwareDeviceIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareDeviceIndexResp) GetList() []*OtaFirmwareDeviceInfo
- func (x *OtaFirmwareDeviceIndexResp) GetTotal() int64
- func (*OtaFirmwareDeviceIndexResp) ProtoMessage()
- func (x *OtaFirmwareDeviceIndexResp) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareDeviceIndexResp) Reset()
- func (x *OtaFirmwareDeviceIndexResp) String() string
- type OtaFirmwareDeviceInfo
- func (*OtaFirmwareDeviceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareDeviceInfo) GetCreatedTime() int64
- func (x *OtaFirmwareDeviceInfo) GetDestVersion() string
- func (x *OtaFirmwareDeviceInfo) GetDetail() string
- func (x *OtaFirmwareDeviceInfo) GetDeviceName() string
- func (x *OtaFirmwareDeviceInfo) GetFirmwareID() int64
- func (x *OtaFirmwareDeviceInfo) GetId() int64
- func (x *OtaFirmwareDeviceInfo) GetJobID() int64
- func (x *OtaFirmwareDeviceInfo) GetProductID() string
- func (x *OtaFirmwareDeviceInfo) GetProductName() string
- func (x *OtaFirmwareDeviceInfo) GetSrcVersion() string
- func (x *OtaFirmwareDeviceInfo) GetStatus() int64
- func (x *OtaFirmwareDeviceInfo) GetStep() int64
- func (x *OtaFirmwareDeviceInfo) GetUpdatedTime() int64
- func (*OtaFirmwareDeviceInfo) ProtoMessage()
- func (x *OtaFirmwareDeviceInfo) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareDeviceInfo) Reset()
- func (x *OtaFirmwareDeviceInfo) String() string
- type OtaFirmwareDeviceRetryReq
- func (*OtaFirmwareDeviceRetryReq) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareDeviceRetryReq) GetDeviceNames() []string
- func (x *OtaFirmwareDeviceRetryReq) GetFirmwareID() int64
- func (x *OtaFirmwareDeviceRetryReq) GetJobID() int64
- func (*OtaFirmwareDeviceRetryReq) ProtoMessage()
- func (x *OtaFirmwareDeviceRetryReq) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareDeviceRetryReq) Reset()
- func (x *OtaFirmwareDeviceRetryReq) String() string
- type OtaFirmwareFile
- func (*OtaFirmwareFile) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareFile) GetFilePath() string
- func (x *OtaFirmwareFile) GetName() string
- func (*OtaFirmwareFile) ProtoMessage()
- func (x *OtaFirmwareFile) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareFile) Reset()
- func (x *OtaFirmwareFile) String() string
- type OtaFirmwareFileIndexReq
- func (*OtaFirmwareFileIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareFileIndexReq) GetFirmwareID() int64
- func (x *OtaFirmwareFileIndexReq) GetPage() *PageInfo
- func (x *OtaFirmwareFileIndexReq) GetSize() *wrapperspb.Int64Value
- func (*OtaFirmwareFileIndexReq) ProtoMessage()
- func (x *OtaFirmwareFileIndexReq) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareFileIndexReq) Reset()
- func (x *OtaFirmwareFileIndexReq) String() string
- type OtaFirmwareFileIndexResp
- func (*OtaFirmwareFileIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareFileIndexResp) GetList() []*OtaFirmwareFileInfo
- func (x *OtaFirmwareFileIndexResp) GetTotal() int64
- func (*OtaFirmwareFileIndexResp) ProtoMessage()
- func (x *OtaFirmwareFileIndexResp) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareFileIndexResp) Reset()
- func (x *OtaFirmwareFileIndexResp) String() string
- type OtaFirmwareFileInfo
- func (*OtaFirmwareFileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareFileInfo) GetFileID() int64
- func (x *OtaFirmwareFileInfo) GetFilePath() string
- func (x *OtaFirmwareFileInfo) GetFirmwareID() int64
- func (x *OtaFirmwareFileInfo) GetHost() string
- func (x *OtaFirmwareFileInfo) GetName() string
- func (x *OtaFirmwareFileInfo) GetSignMethod() string
- func (x *OtaFirmwareFileInfo) GetSignature() string
- func (x *OtaFirmwareFileInfo) GetSize() int64
- func (x *OtaFirmwareFileInfo) GetStorage() string
- func (*OtaFirmwareFileInfo) ProtoMessage()
- func (x *OtaFirmwareFileInfo) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareFileInfo) Reset()
- func (x *OtaFirmwareFileInfo) String() string
- type OtaFirmwareFileReq
- func (*OtaFirmwareFileReq) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareFileReq) GetFileID() int64
- func (x *OtaFirmwareFileReq) GetFilePath() string
- func (x *OtaFirmwareFileReq) GetHost() string
- func (x *OtaFirmwareFileReq) GetName() string
- func (x *OtaFirmwareFileReq) GetSignMethod() string
- func (x *OtaFirmwareFileReq) GetSignature() string
- func (x *OtaFirmwareFileReq) GetSize() int64
- func (x *OtaFirmwareFileReq) GetStorage() string
- func (*OtaFirmwareFileReq) ProtoMessage()
- func (x *OtaFirmwareFileReq) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareFileReq) Reset()
- func (x *OtaFirmwareFileReq) String() string
- type OtaFirmwareFileResp
- func (*OtaFirmwareFileResp) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareFileResp) GetFileID() int64
- func (x *OtaFirmwareFileResp) GetFilePath() string
- func (x *OtaFirmwareFileResp) GetHost() string
- func (x *OtaFirmwareFileResp) GetName() string
- func (x *OtaFirmwareFileResp) GetSignature() string
- func (x *OtaFirmwareFileResp) GetSize() int64
- func (x *OtaFirmwareFileResp) GetStorage() string
- func (*OtaFirmwareFileResp) ProtoMessage()
- func (x *OtaFirmwareFileResp) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareFileResp) Reset()
- func (x *OtaFirmwareFileResp) String() string
- type OtaFirmwareInfo
- func (*OtaFirmwareInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareInfo) GetCreatedTime() int64
- func (x *OtaFirmwareInfo) GetDesc() string
- func (x *OtaFirmwareInfo) GetExtra() string
- func (x *OtaFirmwareInfo) GetFileList() []*FirmwareFile
- func (x *OtaFirmwareInfo) GetId() int64
- func (x *OtaFirmwareInfo) GetIsDiff() int64
- func (x *OtaFirmwareInfo) GetIsNeedToVerify() int64
- func (x *OtaFirmwareInfo) GetModuleCode() string
- func (x *OtaFirmwareInfo) GetName() string
- func (x *OtaFirmwareInfo) GetProductID() string
- func (x *OtaFirmwareInfo) GetProductName() string
- func (x *OtaFirmwareInfo) GetSignMethod() string
- func (x *OtaFirmwareInfo) GetStatus() int64
- func (x *OtaFirmwareInfo) GetVersion() string
- func (*OtaFirmwareInfo) ProtoMessage()
- func (x *OtaFirmwareInfo) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareInfo) Reset()
- func (x *OtaFirmwareInfo) String() string
- type OtaFirmwareInfoCreateReq
- func (*OtaFirmwareInfoCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareInfoCreateReq) GetDesc() string
- func (x *OtaFirmwareInfoCreateReq) GetExtra() *wrapperspb.StringValue
- func (x *OtaFirmwareInfoCreateReq) GetFilePaths() []string
- func (x *OtaFirmwareInfoCreateReq) GetIsDiff() int64
- func (x *OtaFirmwareInfoCreateReq) GetIsNeedToVerify() int64
- func (x *OtaFirmwareInfoCreateReq) GetModuleCode() string
- func (x *OtaFirmwareInfoCreateReq) GetName() string
- func (x *OtaFirmwareInfoCreateReq) GetProductID() string
- func (x *OtaFirmwareInfoCreateReq) GetSignMethod() string
- func (x *OtaFirmwareInfoCreateReq) GetSrcVersion() string
- func (x *OtaFirmwareInfoCreateReq) GetVersion() string
- func (*OtaFirmwareInfoCreateReq) ProtoMessage()
- func (x *OtaFirmwareInfoCreateReq) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareInfoCreateReq) Reset()
- func (x *OtaFirmwareInfoCreateReq) String() string
- type OtaFirmwareInfoIndexReq
- func (*OtaFirmwareInfoIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareInfoIndexReq) GetName() string
- func (x *OtaFirmwareInfoIndexReq) GetPage() *PageInfo
- func (x *OtaFirmwareInfoIndexReq) GetProductID() string
- func (*OtaFirmwareInfoIndexReq) ProtoMessage()
- func (x *OtaFirmwareInfoIndexReq) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareInfoIndexReq) Reset()
- func (x *OtaFirmwareInfoIndexReq) String() string
- type OtaFirmwareInfoIndexResp
- func (*OtaFirmwareInfoIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareInfoIndexResp) GetList() []*OtaFirmwareInfo
- func (x *OtaFirmwareInfoIndexResp) GetTotal() int64
- func (*OtaFirmwareInfoIndexResp) ProtoMessage()
- func (x *OtaFirmwareInfoIndexResp) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareInfoIndexResp) Reset()
- func (x *OtaFirmwareInfoIndexResp) String() string
- type OtaFirmwareInfoUpdateReq
- func (*OtaFirmwareInfoUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareInfoUpdateReq) GetDesc() string
- func (x *OtaFirmwareInfoUpdateReq) GetExtra() *wrapperspb.StringValue
- func (x *OtaFirmwareInfoUpdateReq) GetId() int64
- func (x *OtaFirmwareInfoUpdateReq) GetName() string
- func (*OtaFirmwareInfoUpdateReq) ProtoMessage()
- func (x *OtaFirmwareInfoUpdateReq) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareInfoUpdateReq) Reset()
- func (x *OtaFirmwareInfoUpdateReq) String() string
- type OtaFirmwareJobIndexReq
- func (*OtaFirmwareJobIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareJobIndexReq) GetDeviceName() string
- func (x *OtaFirmwareJobIndexReq) GetFirmwareID() int64
- func (x *OtaFirmwareJobIndexReq) GetPage() *PageInfo
- func (x *OtaFirmwareJobIndexReq) GetProductID() string
- func (*OtaFirmwareJobIndexReq) ProtoMessage()
- func (x *OtaFirmwareJobIndexReq) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareJobIndexReq) Reset()
- func (x *OtaFirmwareJobIndexReq) String() string
- type OtaFirmwareJobIndexResp
- func (*OtaFirmwareJobIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareJobIndexResp) GetList() []*OtaFirmwareJobInfo
- func (x *OtaFirmwareJobIndexResp) GetTotal() int64
- func (*OtaFirmwareJobIndexResp) ProtoMessage()
- func (x *OtaFirmwareJobIndexResp) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareJobIndexResp) Reset()
- func (x *OtaFirmwareJobIndexResp) String() string
- type OtaFirmwareJobInfo
- func (*OtaFirmwareJobInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OtaFirmwareJobInfo) GetCreatedTime() int64
- func (x *OtaFirmwareJobInfo) GetDynamic() *OtaJobDynamicInfo
- func (x *OtaFirmwareJobInfo) GetFirmwareID() int64
- func (x *OtaFirmwareJobInfo) GetId() int64
- func (x *OtaFirmwareJobInfo) GetIsNeedConfirm() int64
- func (x *OtaFirmwareJobInfo) GetIsNeedPush() int64
- func (x *OtaFirmwareJobInfo) GetIsOverwriteMode() int64
- func (x *OtaFirmwareJobInfo) GetMaximumPerMinute() int64
- func (x *OtaFirmwareJobInfo) GetRetryCount() int64
- func (x *OtaFirmwareJobInfo) GetRetryInterval() int64
- func (x *OtaFirmwareJobInfo) GetSrcVersions() []string
- func (x *OtaFirmwareJobInfo) GetStatic() *OtaJobStaticInfo
- func (x *OtaFirmwareJobInfo) GetStatus() int64
- func (x *OtaFirmwareJobInfo) GetTarget() string
- func (x *OtaFirmwareJobInfo) GetTargetSelection() int64
- func (x *OtaFirmwareJobInfo) GetTenantCodes() []string
- func (x *OtaFirmwareJobInfo) GetTimeoutInMinutes() int64
- func (x *OtaFirmwareJobInfo) GetType() int64
- func (x *OtaFirmwareJobInfo) GetUpgradeType() int64
- func (*OtaFirmwareJobInfo) ProtoMessage()
- func (x *OtaFirmwareJobInfo) ProtoReflect() protoreflect.Message
- func (x *OtaFirmwareJobInfo) Reset()
- func (x *OtaFirmwareJobInfo) String() string
- type OtaJobByDeviceIndexReq
- func (*OtaJobByDeviceIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *OtaJobByDeviceIndexReq) GetDeviceName() string
- func (x *OtaJobByDeviceIndexReq) GetFirmwareID() int64
- func (x *OtaJobByDeviceIndexReq) GetPageInfo() *PageInfo
- func (x *OtaJobByDeviceIndexReq) GetProductID() string
- func (*OtaJobByDeviceIndexReq) ProtoMessage()
- func (x *OtaJobByDeviceIndexReq) ProtoReflect() protoreflect.Message
- func (x *OtaJobByDeviceIndexReq) Reset()
- func (x *OtaJobByDeviceIndexReq) String() string
- type OtaJobDynamicInfo
- func (*OtaJobDynamicInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OtaJobDynamicInfo) GetDynamicMode() int64
- func (*OtaJobDynamicInfo) ProtoMessage()
- func (x *OtaJobDynamicInfo) ProtoReflect() protoreflect.Message
- func (x *OtaJobDynamicInfo) Reset()
- func (x *OtaJobDynamicInfo) String() string
- type OtaJobStaticInfo
- func (*OtaJobStaticInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OtaJobStaticInfo) GetGrayPercent() int64
- func (x *OtaJobStaticInfo) GetScheduleFinishTime() int64
- func (x *OtaJobStaticInfo) GetScheduleTime() int64
- func (x *OtaJobStaticInfo) GetTargetDeviceNames() []string
- func (*OtaJobStaticInfo) ProtoMessage()
- func (x *OtaJobStaticInfo) ProtoReflect() protoreflect.Message
- func (x *OtaJobStaticInfo) Reset()
- func (x *OtaJobStaticInfo) String() string
- type OtaManageClient
- type OtaManageServer
- type OtaModuleInfo
- func (*OtaModuleInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OtaModuleInfo) GetCode() string
- func (x *OtaModuleInfo) GetCreatedTime() int64
- func (x *OtaModuleInfo) GetDesc() string
- func (x *OtaModuleInfo) GetId() int64
- func (x *OtaModuleInfo) GetName() string
- func (x *OtaModuleInfo) GetProductID() string
- func (*OtaModuleInfo) ProtoMessage()
- func (x *OtaModuleInfo) ProtoReflect() protoreflect.Message
- func (x *OtaModuleInfo) Reset()
- func (x *OtaModuleInfo) String() string
- type OtaModuleInfoIndexReq
- func (*OtaModuleInfoIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *OtaModuleInfoIndexReq) GetName() string
- func (x *OtaModuleInfoIndexReq) GetPage() *PageInfo
- func (x *OtaModuleInfoIndexReq) GetProductID() string
- func (*OtaModuleInfoIndexReq) ProtoMessage()
- func (x *OtaModuleInfoIndexReq) ProtoReflect() protoreflect.Message
- func (x *OtaModuleInfoIndexReq) Reset()
- func (x *OtaModuleInfoIndexReq) String() string
- type OtaModuleInfoIndexResp
- func (*OtaModuleInfoIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *OtaModuleInfoIndexResp) GetList() []*OtaModuleInfo
- func (x *OtaModuleInfoIndexResp) GetTotal() int64
- func (*OtaModuleInfoIndexResp) ProtoMessage()
- func (x *OtaModuleInfoIndexResp) ProtoReflect() protoreflect.Message
- func (x *OtaModuleInfoIndexResp) Reset()
- func (x *OtaModuleInfoIndexResp) String() string
- type PageInfo
- func (*PageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfo) GetOrders() []*PageInfo_OrderBy
- func (x *PageInfo) GetPage() int64
- func (x *PageInfo) GetSize() int64
- func (*PageInfo) ProtoMessage()
- func (x *PageInfo) ProtoReflect() protoreflect.Message
- func (x *PageInfo) Reset()
- func (x *PageInfo) String() string
- type PageInfo_OrderBy
- func (*PageInfo_OrderBy) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfo_OrderBy) GetField() string
- func (x *PageInfo_OrderBy) GetSort() int64
- func (*PageInfo_OrderBy) ProtoMessage()
- func (x *PageInfo_OrderBy) ProtoReflect() protoreflect.Message
- func (x *PageInfo_OrderBy) Reset()
- func (x *PageInfo_OrderBy) String() string
- type Point
- type ProductCategory
- func (*ProductCategory) Descriptor() ([]byte, []int)deprecated
- func (x *ProductCategory) GetChildren() []*ProductCategory
- func (x *ProductCategory) GetDesc() *wrapperspb.StringValue
- func (x *ProductCategory) GetDeviceCount() int64
- func (x *ProductCategory) GetHeadImg() string
- func (x *ProductCategory) GetId() int64
- func (x *ProductCategory) GetIdPath() []int64
- func (x *ProductCategory) GetIsLeaf() int64
- func (x *ProductCategory) GetIsUpdateHeadImg() bool
- func (x *ProductCategory) GetName() string
- func (x *ProductCategory) GetParentID() int64
- func (*ProductCategory) ProtoMessage()
- func (x *ProductCategory) ProtoReflect() protoreflect.Message
- func (x *ProductCategory) Reset()
- func (x *ProductCategory) String() string
- type ProductCategoryIndexReq
- func (*ProductCategoryIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductCategoryIndexReq) GetIds() []int64
- func (x *ProductCategoryIndexReq) GetName() string
- func (x *ProductCategoryIndexReq) GetPage() *PageInfo
- func (x *ProductCategoryIndexReq) GetParentID() int64
- func (x *ProductCategoryIndexReq) GetProjectID() int64
- func (*ProductCategoryIndexReq) ProtoMessage()
- func (x *ProductCategoryIndexReq) ProtoReflect() protoreflect.Message
- func (x *ProductCategoryIndexReq) Reset()
- func (x *ProductCategoryIndexReq) String() string
- type ProductCategoryIndexResp
- func (*ProductCategoryIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProductCategoryIndexResp) GetList() []*ProductCategory
- func (x *ProductCategoryIndexResp) GetTotal() int64
- func (*ProductCategoryIndexResp) ProtoMessage()
- func (x *ProductCategoryIndexResp) ProtoReflect() protoreflect.Message
- func (x *ProductCategoryIndexResp) Reset()
- func (x *ProductCategoryIndexResp) String() string
- type ProductCategorySchemaIndexReq
- func (*ProductCategorySchemaIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductCategorySchemaIndexReq) GetProductCategoryID() int64
- func (x *ProductCategorySchemaIndexReq) GetWithFather() bool
- func (*ProductCategorySchemaIndexReq) ProtoMessage()
- func (x *ProductCategorySchemaIndexReq) ProtoReflect() protoreflect.Message
- func (x *ProductCategorySchemaIndexReq) Reset()
- func (x *ProductCategorySchemaIndexReq) String() string
- type ProductCategorySchemaIndexResp
- func (*ProductCategorySchemaIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProductCategorySchemaIndexResp) GetIdentifiers() []string
- func (*ProductCategorySchemaIndexResp) ProtoMessage()
- func (x *ProductCategorySchemaIndexResp) ProtoReflect() protoreflect.Message
- func (x *ProductCategorySchemaIndexResp) Reset()
- func (x *ProductCategorySchemaIndexResp) String() string
- type ProductCategorySchemaMultiSaveReq
- func (*ProductCategorySchemaMultiSaveReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductCategorySchemaMultiSaveReq) GetIdentifiers() []string
- func (x *ProductCategorySchemaMultiSaveReq) GetProductCategoryID() int64
- func (*ProductCategorySchemaMultiSaveReq) ProtoMessage()
- func (x *ProductCategorySchemaMultiSaveReq) ProtoReflect() protoreflect.Message
- func (x *ProductCategorySchemaMultiSaveReq) Reset()
- func (x *ProductCategorySchemaMultiSaveReq) String() string
- type ProductCustom
- func (*ProductCustom) Descriptor() ([]byte, []int)deprecated
- func (x *ProductCustom) GetCustomTopics() []*CustomTopic
- func (x *ProductCustom) GetLoginAuthScript() *wrapperspb.StringValue
- func (x *ProductCustom) GetProductID() string
- func (x *ProductCustom) GetScriptLang() int64
- func (x *ProductCustom) GetTransformScript() *wrapperspb.StringValue
- func (*ProductCustom) ProtoMessage()
- func (x *ProductCustom) ProtoReflect() protoreflect.Message
- func (x *ProductCustom) Reset()
- func (x *ProductCustom) String() string
- type ProductCustomReadReq
- func (*ProductCustomReadReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductCustomReadReq) GetProductID() string
- func (*ProductCustomReadReq) ProtoMessage()
- func (x *ProductCustomReadReq) ProtoReflect() protoreflect.Message
- func (x *ProductCustomReadReq) Reset()
- func (x *ProductCustomReadReq) String() string
- type ProductCustomUi
- func (*ProductCustomUi) Descriptor() ([]byte, []int)deprecated
- func (x *ProductCustomUi) GetIsUpdateUi() bool
- func (x *ProductCustomUi) GetPath() string
- func (x *ProductCustomUi) GetVersion() int64
- func (*ProductCustomUi) ProtoMessage()
- func (x *ProductCustomUi) ProtoReflect() protoreflect.Message
- func (x *ProductCustomUi) Reset()
- func (x *ProductCustomUi) String() string
- type ProductInfo
- func (*ProductInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProductInfo) GetAuthMode() int64
- func (x *ProductInfo) GetAutoRegister() int64
- func (x *ProductInfo) GetCategory() *ProductCategory
- func (x *ProductInfo) GetCategoryID() int64
- func (x *ProductInfo) GetCreatedTime() int64
- func (x *ProductInfo) GetCustomUi() map[string]*ProductCustomUi
- func (x *ProductInfo) GetDesc() *wrapperspb.StringValue
- func (x *ProductInfo) GetDeviceSchemaMode() int64
- func (x *ProductInfo) GetDeviceType() int64
- func (x *ProductInfo) GetIsUpdateProductImg() bool
- func (x *ProductInfo) GetNetType() int64
- func (x *ProductInfo) GetProductID() string
- func (x *ProductInfo) GetProductImg() string
- func (x *ProductInfo) GetProductName() string
- func (x *ProductInfo) GetProtocol() *ProtocolInfo
- func (x *ProductInfo) GetProtocolCode() string
- func (x *ProductInfo) GetProtocolConf() map[string]string
- func (x *ProductInfo) GetSceneMode() string
- func (x *ProductInfo) GetSecret() string
- func (x *ProductInfo) GetStatus() int64
- func (x *ProductInfo) GetTags() map[string]string
- func (x *ProductInfo) GetTrialTime() *wrapperspb.Int64Value
- func (*ProductInfo) ProtoMessage()
- func (x *ProductInfo) ProtoReflect() protoreflect.Message
- func (x *ProductInfo) Reset()
- func (x *ProductInfo) String() string
- type ProductInfoDeleteReq
- func (*ProductInfoDeleteReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductInfoDeleteReq) GetProductID() string
- func (*ProductInfoDeleteReq) ProtoMessage()
- func (x *ProductInfoDeleteReq) ProtoReflect() protoreflect.Message
- func (x *ProductInfoDeleteReq) Reset()
- func (x *ProductInfoDeleteReq) String() string
- type ProductInfoIndexReq
- func (*ProductInfoIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductInfoIndexReq) GetAreaID() int64
- func (x *ProductInfoIndexReq) GetAreaIDPath() string
- func (x *ProductInfoIndexReq) GetCategoryIDs() []int64
- func (x *ProductInfoIndexReq) GetDeviceType() int64
- func (x *ProductInfoIndexReq) GetDeviceTypes() []int64
- func (x *ProductInfoIndexReq) GetNetType() int64
- func (x *ProductInfoIndexReq) GetPage() *PageInfo
- func (x *ProductInfoIndexReq) GetProductIDs() []string
- func (x *ProductInfoIndexReq) GetProductName() string
- func (x *ProductInfoIndexReq) GetProjectID() int64
- func (x *ProductInfoIndexReq) GetProtocolCode() string
- func (x *ProductInfoIndexReq) GetProtocolConf() map[string]string
- func (x *ProductInfoIndexReq) GetSceneMode() string
- func (x *ProductInfoIndexReq) GetSceneModes() []string
- func (x *ProductInfoIndexReq) GetStatus() int64
- func (x *ProductInfoIndexReq) GetStatuses() []int64
- func (x *ProductInfoIndexReq) GetTags() map[string]string
- func (x *ProductInfoIndexReq) GetWithCategory() bool
- func (x *ProductInfoIndexReq) GetWithProtocol() bool
- func (*ProductInfoIndexReq) ProtoMessage()
- func (x *ProductInfoIndexReq) ProtoReflect() protoreflect.Message
- func (x *ProductInfoIndexReq) Reset()
- func (x *ProductInfoIndexReq) String() string
- type ProductInfoIndexResp
- func (*ProductInfoIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProductInfoIndexResp) GetList() []*ProductInfo
- func (x *ProductInfoIndexResp) GetTotal() int64
- func (*ProductInfoIndexResp) ProtoMessage()
- func (x *ProductInfoIndexResp) ProtoReflect() protoreflect.Message
- func (x *ProductInfoIndexResp) Reset()
- func (x *ProductInfoIndexResp) String() string
- type ProductInfoReadReq
- func (*ProductInfoReadReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductInfoReadReq) GetProductID() string
- func (x *ProductInfoReadReq) GetWithCategory() bool
- func (x *ProductInfoReadReq) GetWithProtocol() bool
- func (*ProductInfoReadReq) ProtoMessage()
- func (x *ProductInfoReadReq) ProtoReflect() protoreflect.Message
- func (x *ProductInfoReadReq) Reset()
- func (x *ProductInfoReadReq) String() string
- type ProductInitReq
- type ProductManageClient
- type ProductManageServer
- type ProductRemoteConfig
- func (*ProductRemoteConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProductRemoteConfig) GetContent() string
- func (x *ProductRemoteConfig) GetCreatedTime() int64
- func (x *ProductRemoteConfig) GetId() int64
- func (x *ProductRemoteConfig) GetProductID() string
- func (*ProductRemoteConfig) ProtoMessage()
- func (x *ProductRemoteConfig) ProtoReflect() protoreflect.Message
- func (x *ProductRemoteConfig) Reset()
- func (x *ProductRemoteConfig) String() string
- type ProductSchemaCreateReq
- func (*ProductSchemaCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductSchemaCreateReq) GetInfo() *ProductSchemaInfo
- func (*ProductSchemaCreateReq) ProtoMessage()
- func (x *ProductSchemaCreateReq) ProtoReflect() protoreflect.Message
- func (x *ProductSchemaCreateReq) Reset()
- func (x *ProductSchemaCreateReq) String() string
- type ProductSchemaDeleteReq
- func (*ProductSchemaDeleteReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductSchemaDeleteReq) GetIdentifier() string
- func (x *ProductSchemaDeleteReq) GetProductID() string
- func (*ProductSchemaDeleteReq) ProtoMessage()
- func (x *ProductSchemaDeleteReq) ProtoReflect() protoreflect.Message
- func (x *ProductSchemaDeleteReq) Reset()
- func (x *ProductSchemaDeleteReq) String() string
- type ProductSchemaIndexReq
- func (*ProductSchemaIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductSchemaIndexReq) GetControlMode() int64
- func (x *ProductSchemaIndexReq) GetFuncGroup() int64
- func (x *ProductSchemaIndexReq) GetIdentifiers() []string
- func (x *ProductSchemaIndexReq) GetIsCanSceneLinkage() int64
- func (x *ProductSchemaIndexReq) GetName() string
- func (x *ProductSchemaIndexReq) GetPage() *PageInfo
- func (x *ProductSchemaIndexReq) GetProductID() string
- func (x *ProductSchemaIndexReq) GetPropertyMode() string
- func (x *ProductSchemaIndexReq) GetTag() int64
- func (x *ProductSchemaIndexReq) GetType() int64
- func (x *ProductSchemaIndexReq) GetTypes() []int64
- func (x *ProductSchemaIndexReq) GetUserPerm() int64
- func (*ProductSchemaIndexReq) ProtoMessage()
- func (x *ProductSchemaIndexReq) ProtoReflect() protoreflect.Message
- func (x *ProductSchemaIndexReq) Reset()
- func (x *ProductSchemaIndexReq) String() string
- type ProductSchemaIndexResp
- func (*ProductSchemaIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProductSchemaIndexResp) GetList() []*ProductSchemaInfo
- func (x *ProductSchemaIndexResp) GetTotal() int64
- func (*ProductSchemaIndexResp) ProtoMessage()
- func (x *ProductSchemaIndexResp) ProtoReflect() protoreflect.Message
- func (x *ProductSchemaIndexResp) Reset()
- func (x *ProductSchemaIndexResp) String() string
- type ProductSchemaInfo
- func (*ProductSchemaInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProductSchemaInfo) GetAffordance() *wrapperspb.StringValue
- func (x *ProductSchemaInfo) GetControlMode() int64
- func (x *ProductSchemaInfo) GetDesc() *wrapperspb.StringValue
- func (x *ProductSchemaInfo) GetExtendConfig() string
- func (x *ProductSchemaInfo) GetFuncGroup() int64
- func (x *ProductSchemaInfo) GetIdentifier() string
- func (x *ProductSchemaInfo) GetIsCanSceneLinkage() int64
- func (x *ProductSchemaInfo) GetIsHistory() int64
- func (x *ProductSchemaInfo) GetName() *wrapperspb.StringValue
- func (x *ProductSchemaInfo) GetOrder() int64
- func (x *ProductSchemaInfo) GetProductID() string
- func (x *ProductSchemaInfo) GetRequired() int64
- func (x *ProductSchemaInfo) GetTag() int64
- func (x *ProductSchemaInfo) GetType() int64
- func (x *ProductSchemaInfo) GetUserPerm() int64
- func (*ProductSchemaInfo) ProtoMessage()
- func (x *ProductSchemaInfo) ProtoReflect() protoreflect.Message
- func (x *ProductSchemaInfo) Reset()
- func (x *ProductSchemaInfo) String() string
- type ProductSchemaMultiCreateReq
- func (*ProductSchemaMultiCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductSchemaMultiCreateReq) GetList() []*ProductSchemaInfo
- func (x *ProductSchemaMultiCreateReq) GetProductID() string
- func (*ProductSchemaMultiCreateReq) ProtoMessage()
- func (x *ProductSchemaMultiCreateReq) ProtoReflect() protoreflect.Message
- func (x *ProductSchemaMultiCreateReq) Reset()
- func (x *ProductSchemaMultiCreateReq) String() string
- type ProductSchemaTslImportReq
- func (*ProductSchemaTslImportReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductSchemaTslImportReq) GetProductID() string
- func (x *ProductSchemaTslImportReq) GetTsl() string
- func (*ProductSchemaTslImportReq) ProtoMessage()
- func (x *ProductSchemaTslImportReq) ProtoReflect() protoreflect.Message
- func (x *ProductSchemaTslImportReq) Reset()
- func (x *ProductSchemaTslImportReq) String() string
- type ProductSchemaTslReadReq
- func (*ProductSchemaTslReadReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductSchemaTslReadReq) GetProductID() string
- func (*ProductSchemaTslReadReq) ProtoMessage()
- func (x *ProductSchemaTslReadReq) ProtoReflect() protoreflect.Message
- func (x *ProductSchemaTslReadReq) Reset()
- func (x *ProductSchemaTslReadReq) String() string
- type ProductSchemaTslReadResp
- func (*ProductSchemaTslReadResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProductSchemaTslReadResp) GetTsl() string
- func (*ProductSchemaTslReadResp) ProtoMessage()
- func (x *ProductSchemaTslReadResp) ProtoReflect() protoreflect.Message
- func (x *ProductSchemaTslReadResp) Reset()
- func (x *ProductSchemaTslReadResp) String() string
- type ProductSchemaUpdateReq
- func (*ProductSchemaUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductSchemaUpdateReq) GetInfo() *ProductSchemaInfo
- func (*ProductSchemaUpdateReq) ProtoMessage()
- func (x *ProductSchemaUpdateReq) ProtoReflect() protoreflect.Message
- func (x *ProductSchemaUpdateReq) Reset()
- func (x *ProductSchemaUpdateReq) String() string
- type PropertyControlMultiSendReq
- func (*PropertyControlMultiSendReq) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyControlMultiSendReq) GetAreaID() int64
- func (x *PropertyControlMultiSendReq) GetAreaIDPath() string
- func (x *PropertyControlMultiSendReq) GetData() string
- func (x *PropertyControlMultiSendReq) GetDeviceNames() []string
- func (x *PropertyControlMultiSendReq) GetDevices() []*DeviceCore
- func (x *PropertyControlMultiSendReq) GetGroupID() int64
- func (x *PropertyControlMultiSendReq) GetIsAsync() bool
- func (x *PropertyControlMultiSendReq) GetProductID() string
- func (x *PropertyControlMultiSendReq) GetShadowControl() int64
- func (x *PropertyControlMultiSendReq) GetSyncTimeout() int64
- func (*PropertyControlMultiSendReq) ProtoMessage()
- func (x *PropertyControlMultiSendReq) ProtoReflect() protoreflect.Message
- func (x *PropertyControlMultiSendReq) Reset()
- func (x *PropertyControlMultiSendReq) String() string
- type PropertyControlMultiSendResp
- func (*PropertyControlMultiSendResp) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyControlMultiSendResp) GetList() []*PropertyControlSendMsg
- func (*PropertyControlMultiSendResp) ProtoMessage()
- func (x *PropertyControlMultiSendResp) ProtoReflect() protoreflect.Message
- func (x *PropertyControlMultiSendResp) Reset()
- func (x *PropertyControlMultiSendResp) String() string
- type PropertyControlSendMsg
- func (*PropertyControlSendMsg) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyControlSendMsg) GetCode() int64
- func (x *PropertyControlSendMsg) GetDeviceName() string
- func (x *PropertyControlSendMsg) GetMsg() string
- func (x *PropertyControlSendMsg) GetMsgToken() string
- func (x *PropertyControlSendMsg) GetProductID() string
- func (x *PropertyControlSendMsg) GetSysCode() int64
- func (x *PropertyControlSendMsg) GetSysMsg() string
- func (*PropertyControlSendMsg) ProtoMessage()
- func (x *PropertyControlSendMsg) ProtoReflect() protoreflect.Message
- func (x *PropertyControlSendMsg) Reset()
- func (x *PropertyControlSendMsg) String() string
- type PropertyControlSendReq
- func (*PropertyControlSendReq) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyControlSendReq) GetData() string
- func (x *PropertyControlSendReq) GetDeviceName() string
- func (x *PropertyControlSendReq) GetIsAsync() bool
- func (x *PropertyControlSendReq) GetProductID() string
- func (x *PropertyControlSendReq) GetShadowControl() int64
- func (x *PropertyControlSendReq) GetSyncTimeout() int64
- func (x *PropertyControlSendReq) GetWithProfile() *WithProfile
- func (*PropertyControlSendReq) ProtoMessage()
- func (x *PropertyControlSendReq) ProtoReflect() protoreflect.Message
- func (x *PropertyControlSendReq) Reset()
- func (x *PropertyControlSendReq) String() string
- type PropertyControlSendResp
- func (*PropertyControlSendResp) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyControlSendResp) GetCode() int64
- func (x *PropertyControlSendResp) GetMsg() string
- func (x *PropertyControlSendResp) GetMsgToken() string
- func (*PropertyControlSendResp) ProtoMessage()
- func (x *PropertyControlSendResp) ProtoReflect() protoreflect.Message
- func (x *PropertyControlSendResp) Reset()
- func (x *PropertyControlSendResp) String() string
- type PropertyGetReportSendReq
- func (*PropertyGetReportSendReq) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyGetReportSendReq) GetDataIDs() []string
- func (x *PropertyGetReportSendReq) GetDeviceName() string
- func (x *PropertyGetReportSendReq) GetProductID() string
- func (*PropertyGetReportSendReq) ProtoMessage()
- func (x *PropertyGetReportSendReq) ProtoReflect() protoreflect.Message
- func (x *PropertyGetReportSendReq) Reset()
- func (x *PropertyGetReportSendReq) String() string
- type PropertyGetReportSendResp
- func (*PropertyGetReportSendResp) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyGetReportSendResp) GetCode() int64
- func (x *PropertyGetReportSendResp) GetMsg() string
- func (x *PropertyGetReportSendResp) GetMsgToken() string
- func (x *PropertyGetReportSendResp) GetParams() string
- func (x *PropertyGetReportSendResp) GetTimestamp() int64
- func (*PropertyGetReportSendResp) ProtoMessage()
- func (x *PropertyGetReportSendResp) ProtoReflect() protoreflect.Message
- func (x *PropertyGetReportSendResp) Reset()
- func (x *PropertyGetReportSendResp) String() string
- type PropertyLogIndexReq
- func (*PropertyLogIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyLogIndexReq) GetArgFunc() string
- func (x *PropertyLogIndexReq) GetDataID() string
- func (x *PropertyLogIndexReq) GetDeviceName() string
- func (x *PropertyLogIndexReq) GetDeviceNames() []string
- func (x *PropertyLogIndexReq) GetFill() string
- func (x *PropertyLogIndexReq) GetInterval() int64
- func (x *PropertyLogIndexReq) GetOrder() int64
- func (x *PropertyLogIndexReq) GetPage() *PageInfo
- func (x *PropertyLogIndexReq) GetProductID() string
- func (x *PropertyLogIndexReq) GetTimeEnd() int64
- func (x *PropertyLogIndexReq) GetTimeStart() int64
- func (*PropertyLogIndexReq) ProtoMessage()
- func (x *PropertyLogIndexReq) ProtoReflect() protoreflect.Message
- func (x *PropertyLogIndexReq) Reset()
- func (x *PropertyLogIndexReq) String() string
- type PropertyLogIndexResp
- func (*PropertyLogIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyLogIndexResp) GetList() []*PropertyLogInfo
- func (x *PropertyLogIndexResp) GetTotal() int64
- func (*PropertyLogIndexResp) ProtoMessage()
- func (x *PropertyLogIndexResp) ProtoReflect() protoreflect.Message
- func (x *PropertyLogIndexResp) Reset()
- func (x *PropertyLogIndexResp) String() string
- type PropertyLogInfo
- func (*PropertyLogInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyLogInfo) GetDataID() string
- func (x *PropertyLogInfo) GetTimestamp() int64
- func (x *PropertyLogInfo) GetValue() string
- func (*PropertyLogInfo) ProtoMessage()
- func (x *PropertyLogInfo) ProtoReflect() protoreflect.Message
- func (x *PropertyLogInfo) Reset()
- func (x *PropertyLogInfo) String() string
- type PropertyLogLatestIndexReq
- func (*PropertyLogLatestIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyLogLatestIndexReq) GetDataIDs() []string
- func (x *PropertyLogLatestIndexReq) GetDeviceName() string
- func (x *PropertyLogLatestIndexReq) GetProductID() string
- func (*PropertyLogLatestIndexReq) ProtoMessage()
- func (x *PropertyLogLatestIndexReq) ProtoReflect() protoreflect.Message
- func (x *PropertyLogLatestIndexReq) Reset()
- func (x *PropertyLogLatestIndexReq) String() string
- type ProtocolConfigField
- func (*ProtocolConfigField) Descriptor() ([]byte, []int)deprecated
- func (x *ProtocolConfigField) GetGroup() string
- func (x *ProtocolConfigField) GetId() int64
- func (x *ProtocolConfigField) GetIsRequired() bool
- func (x *ProtocolConfigField) GetKey() string
- func (x *ProtocolConfigField) GetLabel() string
- func (x *ProtocolConfigField) GetSort() int64
- func (*ProtocolConfigField) ProtoMessage()
- func (x *ProtocolConfigField) ProtoReflect() protoreflect.Message
- func (x *ProtocolConfigField) Reset()
- func (x *ProtocolConfigField) String() string
- type ProtocolConfigInfo
- func (*ProtocolConfigInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProtocolConfigInfo) GetConfig() map[string]string
- func (x *ProtocolConfigInfo) GetDesc() string
- func (x *ProtocolConfigInfo) GetId() int64
- func (*ProtocolConfigInfo) ProtoMessage()
- func (x *ProtocolConfigInfo) ProtoReflect() protoreflect.Message
- func (x *ProtocolConfigInfo) Reset()
- func (x *ProtocolConfigInfo) String() string
- type ProtocolInfo
- func (*ProtocolInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProtocolInfo) GetCode() string
- func (x *ProtocolInfo) GetConfigFields() []*ProtocolConfigField
- func (x *ProtocolInfo) GetConfigInfos() []*ProtocolConfigInfo
- func (x *ProtocolInfo) GetDesc() string
- func (x *ProtocolInfo) GetEndpoints() []string
- func (x *ProtocolInfo) GetEtcdKey() string
- func (x *ProtocolInfo) GetId() int64
- func (x *ProtocolInfo) GetName() string
- func (x *ProtocolInfo) GetTransProtocol() string
- func (*ProtocolInfo) ProtoMessage()
- func (x *ProtocolInfo) ProtoReflect() protoreflect.Message
- func (x *ProtocolInfo) Reset()
- func (x *ProtocolInfo) String() string
- type ProtocolInfoIndexReq
- func (*ProtocolInfoIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProtocolInfoIndexReq) GetCode() string
- func (x *ProtocolInfoIndexReq) GetName() string
- func (x *ProtocolInfoIndexReq) GetNotCodes() []string
- func (x *ProtocolInfoIndexReq) GetPage() *PageInfo
- func (x *ProtocolInfoIndexReq) GetTransProtocol() string
- func (*ProtocolInfoIndexReq) ProtoMessage()
- func (x *ProtocolInfoIndexReq) ProtoReflect() protoreflect.Message
- func (x *ProtocolInfoIndexReq) Reset()
- func (x *ProtocolInfoIndexReq) String() string
- type ProtocolInfoIndexResp
- func (*ProtocolInfoIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProtocolInfoIndexResp) GetList() []*ProtocolInfo
- func (x *ProtocolInfoIndexResp) GetTotal() int64
- func (*ProtocolInfoIndexResp) ProtoMessage()
- func (x *ProtocolInfoIndexResp) ProtoReflect() protoreflect.Message
- func (x *ProtocolInfoIndexResp) Reset()
- func (x *ProtocolInfoIndexResp) String() string
- type ProtocolManageClient
- type ProtocolManageServer
- type ProtocolService
- func (*ProtocolService) Descriptor() ([]byte, []int)deprecated
- func (x *ProtocolService) GetCode() string
- func (x *ProtocolService) GetCreatedTime() int64
- func (x *ProtocolService) GetId() int64
- func (x *ProtocolService) GetIp() string
- func (x *ProtocolService) GetPort() int64
- func (x *ProtocolService) GetStatus() int64
- func (x *ProtocolService) GetUpdatedTime() int64
- func (*ProtocolService) ProtoMessage()
- func (x *ProtocolService) ProtoReflect() protoreflect.Message
- func (x *ProtocolService) Reset()
- func (x *ProtocolService) String() string
- type ProtocolServiceIndexReq
- func (*ProtocolServiceIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProtocolServiceIndexReq) GetCode() string
- func (x *ProtocolServiceIndexReq) GetPage() *PageInfo
- func (*ProtocolServiceIndexReq) ProtoMessage()
- func (x *ProtocolServiceIndexReq) ProtoReflect() protoreflect.Message
- func (x *ProtocolServiceIndexReq) Reset()
- func (x *ProtocolServiceIndexReq) String() string
- type ProtocolServiceIndexResp
- func (*ProtocolServiceIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProtocolServiceIndexResp) GetList() []*ProtocolService
- func (x *ProtocolServiceIndexResp) GetTotal() int64
- func (*ProtocolServiceIndexResp) ProtoMessage()
- func (x *ProtocolServiceIndexResp) ProtoReflect() protoreflect.Message
- func (x *ProtocolServiceIndexResp) Reset()
- func (x *ProtocolServiceIndexResp) String() string
- type RemoteConfigClient
- type RemoteConfigCreateReq
- func (*RemoteConfigCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteConfigCreateReq) GetContent() string
- func (x *RemoteConfigCreateReq) GetProductID() string
- func (*RemoteConfigCreateReq) ProtoMessage()
- func (x *RemoteConfigCreateReq) ProtoReflect() protoreflect.Message
- func (x *RemoteConfigCreateReq) Reset()
- func (x *RemoteConfigCreateReq) String() string
- type RemoteConfigIndexReq
- func (*RemoteConfigIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteConfigIndexReq) GetPage() *PageInfo
- func (x *RemoteConfigIndexReq) GetProductID() string
- func (*RemoteConfigIndexReq) ProtoMessage()
- func (x *RemoteConfigIndexReq) ProtoReflect() protoreflect.Message
- func (x *RemoteConfigIndexReq) Reset()
- func (x *RemoteConfigIndexReq) String() string
- type RemoteConfigIndexResp
- func (*RemoteConfigIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteConfigIndexResp) GetList() []*ProductRemoteConfig
- func (x *RemoteConfigIndexResp) GetTotal() int64
- func (*RemoteConfigIndexResp) ProtoMessage()
- func (x *RemoteConfigIndexResp) ProtoReflect() protoreflect.Message
- func (x *RemoteConfigIndexResp) Reset()
- func (x *RemoteConfigIndexResp) String() string
- type RemoteConfigLastReadReq
- func (*RemoteConfigLastReadReq) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteConfigLastReadReq) GetProductID() string
- func (*RemoteConfigLastReadReq) ProtoMessage()
- func (x *RemoteConfigLastReadReq) ProtoReflect() protoreflect.Message
- func (x *RemoteConfigLastReadReq) Reset()
- func (x *RemoteConfigLastReadReq) String() string
- type RemoteConfigLastReadResp
- func (*RemoteConfigLastReadResp) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteConfigLastReadResp) GetInfo() *ProductRemoteConfig
- func (*RemoteConfigLastReadResp) ProtoMessage()
- func (x *RemoteConfigLastReadResp) ProtoReflect() protoreflect.Message
- func (x *RemoteConfigLastReadResp) Reset()
- func (x *RemoteConfigLastReadResp) String() string
- type RemoteConfigPushAllReq
- func (*RemoteConfigPushAllReq) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteConfigPushAllReq) GetProductID() string
- func (*RemoteConfigPushAllReq) ProtoMessage()
- func (x *RemoteConfigPushAllReq) ProtoReflect() protoreflect.Message
- func (x *RemoteConfigPushAllReq) Reset()
- func (x *RemoteConfigPushAllReq) String() string
- type RemoteConfigServer
- type RespReadReq
- func (*RespReadReq) Descriptor() ([]byte, []int)deprecated
- func (x *RespReadReq) GetDeviceName() string
- func (x *RespReadReq) GetMsgToken() string
- func (x *RespReadReq) GetProductID() string
- func (*RespReadReq) ProtoMessage()
- func (x *RespReadReq) ProtoReflect() protoreflect.Message
- func (x *RespReadReq) Reset()
- func (x *RespReadReq) String() string
- type RootCheckReq
- func (*RootCheckReq) Descriptor() ([]byte, []int)deprecated
- func (x *RootCheckReq) GetCertificate() []byte
- func (x *RootCheckReq) GetClientID() string
- func (x *RootCheckReq) GetIp() string
- func (x *RootCheckReq) GetPassword() string
- func (x *RootCheckReq) GetUsername() string
- func (*RootCheckReq) ProtoMessage()
- func (x *RootCheckReq) ProtoReflect() protoreflect.Message
- func (x *RootCheckReq) Reset()
- func (x *RootCheckReq) String() string
- type SchemaAction
- func (*SchemaAction) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaAction) GetInput() []*SchemaParam
- func (x *SchemaAction) GetOutput() []*SchemaParam
- func (*SchemaAction) ProtoMessage()
- func (x *SchemaAction) ProtoReflect() protoreflect.Message
- func (x *SchemaAction) Reset()
- func (x *SchemaAction) String() string
- type SchemaDefine
- func (*SchemaDefine) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaDefine) GetArrayInfo() *SchemaDefine
- func (x *SchemaDefine) GetMapping() map[string]string
- func (x *SchemaDefine) GetMax() string
- func (x *SchemaDefine) GetMin() string
- func (x *SchemaDefine) GetSpecs() []*SchemaSpec
- func (x *SchemaDefine) GetStart() string
- func (x *SchemaDefine) GetStep() string
- func (x *SchemaDefine) GetType() string
- func (x *SchemaDefine) GetUnit() string
- func (*SchemaDefine) ProtoMessage()
- func (x *SchemaDefine) ProtoReflect() protoreflect.Message
- func (x *SchemaDefine) Reset()
- func (x *SchemaDefine) String() string
- type SchemaEvent
- func (*SchemaEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaEvent) GetParams() []*SchemaParam
- func (x *SchemaEvent) GetType() string
- func (*SchemaEvent) ProtoMessage()
- func (x *SchemaEvent) ProtoReflect() protoreflect.Message
- func (x *SchemaEvent) Reset()
- func (x *SchemaEvent) String() string
- type SchemaManageClient
- type SchemaManageServer
- type SchemaParam
- func (*SchemaParam) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaParam) GetDefine() *SchemaDefine
- func (x *SchemaParam) GetIdentifier() string
- func (x *SchemaParam) GetName() string
- func (*SchemaParam) ProtoMessage()
- func (x *SchemaParam) ProtoReflect() protoreflect.Message
- func (x *SchemaParam) Reset()
- func (x *SchemaParam) String() string
- type SchemaProperty
- func (*SchemaProperty) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaProperty) GetDefine() *SchemaDefine
- func (x *SchemaProperty) GetMode() string
- func (*SchemaProperty) ProtoMessage()
- func (x *SchemaProperty) ProtoReflect() protoreflect.Message
- func (x *SchemaProperty) Reset()
- func (x *SchemaProperty) String() string
- type SchemaSpec
- func (*SchemaSpec) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaSpec) GetDataType() *SchemaDefine
- func (x *SchemaSpec) GetIdentifier() string
- func (x *SchemaSpec) GetName() string
- func (*SchemaSpec) ProtoMessage()
- func (x *SchemaSpec) ProtoReflect() protoreflect.Message
- func (x *SchemaSpec) Reset()
- func (x *SchemaSpec) String() string
- type SdkLogIndexReq
- func (*SdkLogIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *SdkLogIndexReq) GetDeviceName() string
- func (x *SdkLogIndexReq) GetLogLevel() int64
- func (x *SdkLogIndexReq) GetPage() *PageInfo
- func (x *SdkLogIndexReq) GetProductID() string
- func (x *SdkLogIndexReq) GetTimeEnd() int64
- func (x *SdkLogIndexReq) GetTimeStart() int64
- func (*SdkLogIndexReq) ProtoMessage()
- func (x *SdkLogIndexReq) ProtoReflect() protoreflect.Message
- func (x *SdkLogIndexReq) Reset()
- func (x *SdkLogIndexReq) String() string
- type SdkLogIndexResp
- func (*SdkLogIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *SdkLogIndexResp) GetList() []*SdkLogInfo
- func (x *SdkLogIndexResp) GetTotal() int64
- func (*SdkLogIndexResp) ProtoMessage()
- func (x *SdkLogIndexResp) ProtoReflect() protoreflect.Message
- func (x *SdkLogIndexResp) Reset()
- func (x *SdkLogIndexResp) String() string
- type SdkLogInfo
- func (*SdkLogInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SdkLogInfo) GetContent() string
- func (x *SdkLogInfo) GetLoglevel() int64
- func (x *SdkLogInfo) GetTimestamp() int64
- func (*SdkLogInfo) ProtoMessage()
- func (x *SdkLogInfo) ProtoReflect() protoreflect.Message
- func (x *SdkLogInfo) Reset()
- func (x *SdkLogInfo) String() string
- type SendLogIndexReq
- func (*SendLogIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *SendLogIndexReq) GetActions() []string
- func (x *SendLogIndexReq) GetDeviceName() string
- func (x *SendLogIndexReq) GetPage() *PageInfo
- func (x *SendLogIndexReq) GetProductID() string
- func (x *SendLogIndexReq) GetResultCode() int64
- func (x *SendLogIndexReq) GetTimeEnd() int64
- func (x *SendLogIndexReq) GetTimeStart() int64
- func (x *SendLogIndexReq) GetUserID() int64
- func (*SendLogIndexReq) ProtoMessage()
- func (x *SendLogIndexReq) ProtoReflect() protoreflect.Message
- func (x *SendLogIndexReq) Reset()
- func (x *SendLogIndexReq) String() string
- type SendLogIndexResp
- func (*SendLogIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *SendLogIndexResp) GetList() []*SendLogInfo
- func (x *SendLogIndexResp) GetTotal() int64
- func (*SendLogIndexResp) ProtoMessage()
- func (x *SendLogIndexResp) ProtoReflect() protoreflect.Message
- func (x *SendLogIndexResp) Reset()
- func (x *SendLogIndexResp) String() string
- type SendLogInfo
- func (*SendLogInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SendLogInfo) GetAccount() string
- func (x *SendLogInfo) GetAction() string
- func (x *SendLogInfo) GetContent() string
- func (x *SendLogInfo) GetDataID() string
- func (x *SendLogInfo) GetDeviceName() string
- func (x *SendLogInfo) GetProductID() string
- func (x *SendLogInfo) GetResultCode() int64
- func (x *SendLogInfo) GetTimestamp() int64
- func (x *SendLogInfo) GetTraceID() string
- func (x *SendLogInfo) GetUserID() int64
- func (*SendLogInfo) ProtoMessage()
- func (x *SendLogInfo) ProtoReflect() protoreflect.Message
- func (x *SendLogInfo) Reset()
- func (x *SendLogInfo) String() string
- type SendMsgReq
- type SendMsgResp
- type SendOption
- func (*SendOption) Descriptor() ([]byte, []int)deprecated
- func (x *SendOption) GetRequestTimeout() int64
- func (x *SendOption) GetRetryInterval() int64
- func (x *SendOption) GetTimeoutToFail() int64
- func (*SendOption) ProtoMessage()
- func (x *SendOption) ProtoReflect() protoreflect.Message
- func (x *SendOption) Reset()
- func (x *SendOption) String() string
- type ShadowIndex
- func (*ShadowIndex) Descriptor() ([]byte, []int)deprecated
- func (x *ShadowIndex) GetDataID() string
- func (x *ShadowIndex) GetUpdatedDeviceTime() int64
- func (x *ShadowIndex) GetValue() string
- func (*ShadowIndex) ProtoMessage()
- func (x *ShadowIndex) ProtoReflect() protoreflect.Message
- func (x *ShadowIndex) Reset()
- func (x *ShadowIndex) String() string
- type ShadowIndexResp
- type SharePerm
- type StatusLogIndexReq
- func (*StatusLogIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *StatusLogIndexReq) GetDeviceName() string
- func (x *StatusLogIndexReq) GetPage() *PageInfo
- func (x *StatusLogIndexReq) GetProductID() string
- func (x *StatusLogIndexReq) GetStatus() int64
- func (x *StatusLogIndexReq) GetTimeEnd() int64
- func (x *StatusLogIndexReq) GetTimeStart() int64
- func (*StatusLogIndexReq) ProtoMessage()
- func (x *StatusLogIndexReq) ProtoReflect() protoreflect.Message
- func (x *StatusLogIndexReq) Reset()
- func (x *StatusLogIndexReq) String() string
- type StatusLogIndexResp
- func (*StatusLogIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *StatusLogIndexResp) GetList() []*StatusLogInfo
- func (x *StatusLogIndexResp) GetTotal() int64
- func (*StatusLogIndexResp) ProtoMessage()
- func (x *StatusLogIndexResp) ProtoReflect() protoreflect.Message
- func (x *StatusLogIndexResp) Reset()
- func (x *StatusLogIndexResp) String() string
- type StatusLogInfo
- func (*StatusLogInfo) Descriptor() ([]byte, []int)deprecated
- func (x *StatusLogInfo) GetDeviceName() string
- func (x *StatusLogInfo) GetProductID() string
- func (x *StatusLogInfo) GetStatus() int64
- func (x *StatusLogInfo) GetTimestamp() int64
- func (*StatusLogInfo) ProtoMessage()
- func (x *StatusLogInfo) ProtoReflect() protoreflect.Message
- func (x *StatusLogInfo) Reset()
- func (x *StatusLogInfo) String() string
- type TimeRange
- type UnimplementedDeviceGroupServer
- func (UnimplementedDeviceGroupServer) GroupDeviceMultiCreate(context.Context, *GroupDeviceMultiSaveReq) (*Empty, error)
- func (UnimplementedDeviceGroupServer) GroupDeviceMultiDelete(context.Context, *GroupDeviceMultiDeleteReq) (*Empty, error)
- func (UnimplementedDeviceGroupServer) GroupDeviceMultiUpdate(context.Context, *GroupDeviceMultiSaveReq) (*Empty, error)
- func (UnimplementedDeviceGroupServer) GroupInfoCreate(context.Context, *GroupInfo) (*WithID, error)
- func (UnimplementedDeviceGroupServer) GroupInfoDelete(context.Context, *WithID) (*Empty, error)
- func (UnimplementedDeviceGroupServer) GroupInfoIndex(context.Context, *GroupInfoIndexReq) (*GroupInfoIndexResp, error)
- func (UnimplementedDeviceGroupServer) GroupInfoMultiCreate(context.Context, *GroupInfoMultiCreateReq) (*Empty, error)
- func (UnimplementedDeviceGroupServer) GroupInfoRead(context.Context, *WithIDChildren) (*GroupInfo, error)
- func (UnimplementedDeviceGroupServer) GroupInfoUpdate(context.Context, *GroupInfo) (*Empty, error)
- type UnimplementedDeviceInteractServer
- func (UnimplementedDeviceInteractServer) ActionRead(context.Context, *RespReadReq) (*ActionSendResp, error)
- func (UnimplementedDeviceInteractServer) ActionResp(context.Context, *ActionRespReq) (*Empty, error)
- func (UnimplementedDeviceInteractServer) ActionSend(context.Context, *ActionSendReq) (*ActionSendResp, error)
- func (UnimplementedDeviceInteractServer) EdgeSend(context.Context, *EdgeSendReq) (*EdgeSendResp, error)
- func (UnimplementedDeviceInteractServer) GatewayGetFoundSend(context.Context, *GatewayGetFoundReq) (*Empty, error)
- func (UnimplementedDeviceInteractServer) GatewayNotifyBindSend(context.Context, *GatewayNotifyBindSendReq) (*Empty, error)
- func (UnimplementedDeviceInteractServer) PropertyControlMultiSend(context.Context, *PropertyControlMultiSendReq) (*PropertyControlMultiSendResp, error)
- func (UnimplementedDeviceInteractServer) PropertyControlRead(context.Context, *RespReadReq) (*PropertyControlSendResp, error)
- func (UnimplementedDeviceInteractServer) PropertyControlSend(context.Context, *PropertyControlSendReq) (*PropertyControlSendResp, error)
- func (UnimplementedDeviceInteractServer) PropertyGetReportSend(context.Context, *PropertyGetReportSendReq) (*PropertyGetReportSendResp, error)
- func (UnimplementedDeviceInteractServer) SendMsg(context.Context, *SendMsgReq) (*SendMsgResp, error)
- type UnimplementedDeviceManageServer
- func (UnimplementedDeviceManageServer) DeviceCount(context.Context, *DeviceCountReq) (*DeviceCountResp, error)
- func (UnimplementedDeviceManageServer) DeviceGatewayIndex(context.Context, *DeviceGatewayIndexReq) (*DeviceGatewayIndexResp, error)
- func (UnimplementedDeviceManageServer) DeviceGatewayMultiCreate(context.Context, *DeviceGatewayMultiCreateReq) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceGatewayMultiDelete(context.Context, *DeviceGatewayMultiSaveReq) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceGatewayMultiUpdate(context.Context, *DeviceGatewayMultiSaveReq) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceInfoBind(context.Context, *DeviceInfoBindReq) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceInfoCanBind(context.Context, *DeviceInfoCanBindReq) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceInfoCount(context.Context, *DeviceInfoCountReq) (*DeviceInfoCount, error)
- func (UnimplementedDeviceManageServer) DeviceInfoCreate(context.Context, *DeviceInfo) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceInfoDelete(context.Context, *DeviceInfoDeleteReq) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceInfoIndex(context.Context, *DeviceInfoIndexReq) (*DeviceInfoIndexResp, error)
- func (UnimplementedDeviceManageServer) DeviceInfoMultiBind(context.Context, *DeviceInfoMultiBindReq) (*DeviceInfoMultiBindResp, error)
- func (UnimplementedDeviceManageServer) DeviceInfoMultiUpdate(context.Context, *DeviceInfoMultiUpdateReq) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceInfoRead(context.Context, *DeviceInfoReadReq) (*DeviceInfo, error)
- func (UnimplementedDeviceManageServer) DeviceInfoUnbind(context.Context, *DeviceCore) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceInfoUpdate(context.Context, *DeviceInfo) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceModuleVersionIndex(context.Context, *DeviceModuleVersionIndexReq) (*DeviceModuleVersionIndexResp, error)
- func (UnimplementedDeviceManageServer) DeviceModuleVersionRead(context.Context, *DeviceModuleVersionReadReq) (*DeviceModuleVersion, error)
- func (UnimplementedDeviceManageServer) DeviceMove(context.Context, *DeviceMoveReq) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceOnlineMultiFix(context.Context, *DeviceOnlineMultiFixReq) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceProfileDelete(context.Context, *DeviceProfileReadReq) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceProfileIndex(context.Context, *DeviceProfileIndexReq) (*DeviceProfileIndexResp, error)
- func (UnimplementedDeviceManageServer) DeviceProfileRead(context.Context, *DeviceProfileReadReq) (*DeviceProfile, error)
- func (UnimplementedDeviceManageServer) DeviceProfileUpdate(context.Context, *DeviceProfile) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceSchemaCreate(context.Context, *DeviceSchema) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceSchemaIndex(context.Context, *DeviceSchemaIndexReq) (*DeviceSchemaIndexResp, error)
- func (UnimplementedDeviceManageServer) DeviceSchemaMultiCreate(context.Context, *DeviceSchemaMultiCreateReq) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceSchemaMultiDelete(context.Context, *DeviceSchemaMultiDeleteReq) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceSchemaTslRead(context.Context, *DeviceSchemaTslReadReq) (*DeviceSchemaTslReadResp, error)
- func (UnimplementedDeviceManageServer) DeviceSchemaUpdate(context.Context, *DeviceSchema) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceTransfer(context.Context, *DeviceTransferReq) (*Empty, error)
- func (UnimplementedDeviceManageServer) DeviceTypeCount(context.Context, *DeviceTypeCountReq) (*DeviceTypeCountResp, error)
- func (UnimplementedDeviceManageServer) RootCheck(context.Context, *RootCheckReq) (*Empty, error)
- type UnimplementedDeviceMsgServer
- func (UnimplementedDeviceMsgServer) AbnormalLogCreate(context.Context, *AbnormalLogInfo) (*Empty, error)
- func (UnimplementedDeviceMsgServer) AbnormalLogIndex(context.Context, *AbnormalLogIndexReq) (*AbnormalLogIndexResp, error)
- func (UnimplementedDeviceMsgServer) EventLogIndex(context.Context, *EventLogIndexReq) (*EventLogIndexResp, error)
- func (UnimplementedDeviceMsgServer) GatewayCanBindIndex(context.Context, *GatewayCanBindIndexReq) (*GatewayCanBindIndexResp, error)
- func (UnimplementedDeviceMsgServer) HubLogIndex(context.Context, *HubLogIndexReq) (*HubLogIndexResp, error)
- func (UnimplementedDeviceMsgServer) PropertyLogIndex(context.Context, *PropertyLogIndexReq) (*PropertyLogIndexResp, error)
- func (UnimplementedDeviceMsgServer) PropertyLogLatestIndex(context.Context, *PropertyLogLatestIndexReq) (*PropertyLogIndexResp, error)
- func (UnimplementedDeviceMsgServer) SdkLogIndex(context.Context, *SdkLogIndexReq) (*SdkLogIndexResp, error)
- func (UnimplementedDeviceMsgServer) SendLogIndex(context.Context, *SendLogIndexReq) (*SendLogIndexResp, error)
- func (UnimplementedDeviceMsgServer) ShadowIndex(context.Context, *PropertyLogLatestIndexReq) (*ShadowIndexResp, error)
- func (UnimplementedDeviceMsgServer) StatusLogIndex(context.Context, *StatusLogIndexReq) (*StatusLogIndexResp, error)
- type UnimplementedOtaManageServer
- func (UnimplementedOtaManageServer) OtaFirmwareDeviceCancel(context.Context, *OtaFirmwareDeviceCancelReq) (*Empty, error)
- func (UnimplementedOtaManageServer) OtaFirmwareDeviceConfirm(context.Context, *OtaFirmwareDeviceConfirmReq) (*Empty, error)
- func (UnimplementedOtaManageServer) OtaFirmwareDeviceIndex(context.Context, *OtaFirmwareDeviceIndexReq) (*OtaFirmwareDeviceIndexResp, error)
- func (UnimplementedOtaManageServer) OtaFirmwareDeviceRetry(context.Context, *OtaFirmwareDeviceRetryReq) (*Empty, error)
- func (UnimplementedOtaManageServer) OtaFirmwareInfoCreate(context.Context, *OtaFirmwareInfoCreateReq) (*WithID, error)
- func (UnimplementedOtaManageServer) OtaFirmwareInfoDelete(context.Context, *WithID) (*Empty, error)
- func (UnimplementedOtaManageServer) OtaFirmwareInfoIndex(context.Context, *OtaFirmwareInfoIndexReq) (*OtaFirmwareInfoIndexResp, error)
- func (UnimplementedOtaManageServer) OtaFirmwareInfoRead(context.Context, *WithID) (*OtaFirmwareInfo, error)
- func (UnimplementedOtaManageServer) OtaFirmwareInfoUpdate(context.Context, *OtaFirmwareInfoUpdateReq) (*WithID, error)
- func (UnimplementedOtaManageServer) OtaFirmwareJobCreate(context.Context, *OtaFirmwareJobInfo) (*WithID, error)
- func (UnimplementedOtaManageServer) OtaFirmwareJobIndex(context.Context, *OtaFirmwareJobIndexReq) (*OtaFirmwareJobIndexResp, error)
- func (UnimplementedOtaManageServer) OtaFirmwareJobRead(context.Context, *WithID) (*OtaFirmwareJobInfo, error)
- func (UnimplementedOtaManageServer) OtaFirmwareJobUpdate(context.Context, *OtaFirmwareJobInfo) (*Empty, error)
- func (UnimplementedOtaManageServer) OtaModuleInfoCreate(context.Context, *OtaModuleInfo) (*WithID, error)
- func (UnimplementedOtaManageServer) OtaModuleInfoDelete(context.Context, *WithID) (*Empty, error)
- func (UnimplementedOtaManageServer) OtaModuleInfoIndex(context.Context, *OtaModuleInfoIndexReq) (*OtaModuleInfoIndexResp, error)
- func (UnimplementedOtaManageServer) OtaModuleInfoRead(context.Context, *WithIDCode) (*OtaModuleInfo, error)
- func (UnimplementedOtaManageServer) OtaModuleInfoUpdate(context.Context, *OtaModuleInfo) (*Empty, error)
- type UnimplementedProductManageServer
- func (UnimplementedProductManageServer) ProductCategoryCreate(context.Context, *ProductCategory) (*WithID, error)
- func (UnimplementedProductManageServer) ProductCategoryDelete(context.Context, *WithID) (*Empty, error)
- func (UnimplementedProductManageServer) ProductCategoryIndex(context.Context, *ProductCategoryIndexReq) (*ProductCategoryIndexResp, error)
- func (UnimplementedProductManageServer) ProductCategoryRead(context.Context, *WithIDChildren) (*ProductCategory, error)
- func (UnimplementedProductManageServer) ProductCategorySchemaIndex(context.Context, *ProductCategorySchemaIndexReq) (*ProductCategorySchemaIndexResp, error)
- func (UnimplementedProductManageServer) ProductCategorySchemaMultiCreate(context.Context, *ProductCategorySchemaMultiSaveReq) (*Empty, error)
- func (UnimplementedProductManageServer) ProductCategorySchemaMultiDelete(context.Context, *ProductCategorySchemaMultiSaveReq) (*Empty, error)
- func (UnimplementedProductManageServer) ProductCategorySchemaMultiUpdate(context.Context, *ProductCategorySchemaMultiSaveReq) (*Empty, error)
- func (UnimplementedProductManageServer) ProductCategoryUpdate(context.Context, *ProductCategory) (*Empty, error)
- func (UnimplementedProductManageServer) ProductCustomRead(context.Context, *ProductCustomReadReq) (*ProductCustom, error)
- func (UnimplementedProductManageServer) ProductCustomUpdate(context.Context, *ProductCustom) (*Empty, error)
- func (UnimplementedProductManageServer) ProductInfoCreate(context.Context, *ProductInfo) (*Empty, error)
- func (UnimplementedProductManageServer) ProductInfoDelete(context.Context, *ProductInfoDeleteReq) (*Empty, error)
- func (UnimplementedProductManageServer) ProductInfoIndex(context.Context, *ProductInfoIndexReq) (*ProductInfoIndexResp, error)
- func (UnimplementedProductManageServer) ProductInfoRead(context.Context, *ProductInfoReadReq) (*ProductInfo, error)
- func (UnimplementedProductManageServer) ProductInfoUpdate(context.Context, *ProductInfo) (*Empty, error)
- func (UnimplementedProductManageServer) ProductInit(context.Context, *ProductInitReq) (*Empty, error)
- func (UnimplementedProductManageServer) ProductSchemaCreate(context.Context, *ProductSchemaCreateReq) (*Empty, error)
- func (UnimplementedProductManageServer) ProductSchemaDelete(context.Context, *ProductSchemaDeleteReq) (*Empty, error)
- func (UnimplementedProductManageServer) ProductSchemaIndex(context.Context, *ProductSchemaIndexReq) (*ProductSchemaIndexResp, error)
- func (UnimplementedProductManageServer) ProductSchemaMultiCreate(context.Context, *ProductSchemaMultiCreateReq) (*Empty, error)
- func (UnimplementedProductManageServer) ProductSchemaTslImport(context.Context, *ProductSchemaTslImportReq) (*Empty, error)
- func (UnimplementedProductManageServer) ProductSchemaTslRead(context.Context, *ProductSchemaTslReadReq) (*ProductSchemaTslReadResp, error)
- func (UnimplementedProductManageServer) ProductSchemaUpdate(context.Context, *ProductSchemaUpdateReq) (*Empty, error)
- type UnimplementedProtocolManageServer
- func (UnimplementedProtocolManageServer) ProtocolInfoCreate(context.Context, *ProtocolInfo) (*WithID, error)
- func (UnimplementedProtocolManageServer) ProtocolInfoDelete(context.Context, *WithID) (*Empty, error)
- func (UnimplementedProtocolManageServer) ProtocolInfoIndex(context.Context, *ProtocolInfoIndexReq) (*ProtocolInfoIndexResp, error)
- func (UnimplementedProtocolManageServer) ProtocolInfoRead(context.Context, *WithIDCode) (*ProtocolInfo, error)
- func (UnimplementedProtocolManageServer) ProtocolInfoUpdate(context.Context, *ProtocolInfo) (*Empty, error)
- func (UnimplementedProtocolManageServer) ProtocolServiceDelete(context.Context, *WithID) (*Empty, error)
- func (UnimplementedProtocolManageServer) ProtocolServiceIndex(context.Context, *ProtocolServiceIndexReq) (*ProtocolServiceIndexResp, error)
- func (UnimplementedProtocolManageServer) ProtocolServiceUpdate(context.Context, *ProtocolService) (*Empty, error)
- type UnimplementedRemoteConfigServer
- func (UnimplementedRemoteConfigServer) RemoteConfigCreate(context.Context, *RemoteConfigCreateReq) (*Empty, error)
- func (UnimplementedRemoteConfigServer) RemoteConfigIndex(context.Context, *RemoteConfigIndexReq) (*RemoteConfigIndexResp, error)
- func (UnimplementedRemoteConfigServer) RemoteConfigLastRead(context.Context, *RemoteConfigLastReadReq) (*RemoteConfigLastReadResp, error)
- func (UnimplementedRemoteConfigServer) RemoteConfigPushAll(context.Context, *RemoteConfigPushAllReq) (*Empty, error)
- type UnimplementedSchemaManageServer
- func (UnimplementedSchemaManageServer) CommonSchemaCreate(context.Context, *CommonSchemaCreateReq) (*Empty, error)
- func (UnimplementedSchemaManageServer) CommonSchemaDelete(context.Context, *WithID) (*Empty, error)
- func (UnimplementedSchemaManageServer) CommonSchemaIndex(context.Context, *CommonSchemaIndexReq) (*CommonSchemaIndexResp, error)
- func (UnimplementedSchemaManageServer) CommonSchemaInit(context.Context, *Empty) (*Empty, error)
- func (UnimplementedSchemaManageServer) CommonSchemaUpdate(context.Context, *CommonSchemaUpdateReq) (*Empty, error)
- type UnimplementedUserDeviceServer
- func (UnimplementedUserDeviceServer) UserDeivceShareMultiAccept(context.Context, *UserDeviceShareMultiAcceptReq) (*Empty, error)
- func (UnimplementedUserDeviceServer) UserDeivceShareMultiIndex(context.Context, *UserDeviceShareMultiToken) (*UserDeviceShareMultiInfo, error)
- func (UnimplementedUserDeviceServer) UserDeviceCollectIndex(context.Context, *Empty) (*UserDeviceCollectSave, error)
- func (UnimplementedUserDeviceServer) UserDeviceCollectMultiCreate(context.Context, *UserDeviceCollectSave) (*Empty, error)
- func (UnimplementedUserDeviceServer) UserDeviceCollectMultiDelete(context.Context, *UserDeviceCollectSave) (*Empty, error)
- func (UnimplementedUserDeviceServer) UserDeviceShareCreate(context.Context, *UserDeviceShareInfo) (*WithID, error)
- func (UnimplementedUserDeviceServer) UserDeviceShareDelete(context.Context, *UserDeviceShareReadReq) (*Empty, error)
- func (UnimplementedUserDeviceServer) UserDeviceShareIndex(context.Context, *UserDeviceShareIndexReq) (*UserDeviceShareIndexResp, error)
- func (UnimplementedUserDeviceServer) UserDeviceShareMultiCreate(context.Context, *UserDeviceShareMultiInfo) (*UserDeviceShareMultiToken, error)
- func (UnimplementedUserDeviceServer) UserDeviceShareMultiDelete(context.Context, *UserDeviceShareMultiDeleteReq) (*Empty, error)
- func (UnimplementedUserDeviceServer) UserDeviceShareRead(context.Context, *UserDeviceShareReadReq) (*UserDeviceShareInfo, error)
- func (UnimplementedUserDeviceServer) UserDeviceShareUpdate(context.Context, *UserDeviceShareInfo) (*Empty, error)
- func (UnimplementedUserDeviceServer) UserDeviceTransfer(context.Context, *DeviceTransferReq) (*Empty, error)
- type UnsafeDeviceGroupServer
- type UnsafeDeviceInteractServer
- type UnsafeDeviceManageServer
- type UnsafeDeviceMsgServer
- type UnsafeOtaManageServer
- type UnsafeProductManageServer
- type UnsafeProtocolManageServer
- type UnsafeRemoteConfigServer
- type UnsafeSchemaManageServer
- type UnsafeUserDeviceServer
- type UserDeviceClient
- type UserDeviceCollectSave
- func (*UserDeviceCollectSave) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeviceCollectSave) GetDevices() []*DeviceCore
- func (*UserDeviceCollectSave) ProtoMessage()
- func (x *UserDeviceCollectSave) ProtoReflect() protoreflect.Message
- func (x *UserDeviceCollectSave) Reset()
- func (x *UserDeviceCollectSave) String() string
- type UserDeviceServer
- type UserDeviceShareIndexReq
- func (*UserDeviceShareIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeviceShareIndexReq) GetDevice() *DeviceCore
- func (x *UserDeviceShareIndexReq) GetPage() *PageInfo
- func (*UserDeviceShareIndexReq) ProtoMessage()
- func (x *UserDeviceShareIndexReq) ProtoReflect() protoreflect.Message
- func (x *UserDeviceShareIndexReq) Reset()
- func (x *UserDeviceShareIndexReq) String() string
- type UserDeviceShareIndexResp
- func (*UserDeviceShareIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeviceShareIndexResp) GetList() []*UserDeviceShareInfo
- func (x *UserDeviceShareIndexResp) GetTotal() int64
- func (*UserDeviceShareIndexResp) ProtoMessage()
- func (x *UserDeviceShareIndexResp) ProtoReflect() protoreflect.Message
- func (x *UserDeviceShareIndexResp) Reset()
- func (x *UserDeviceShareIndexResp) String() string
- type UserDeviceShareInfo
- func (*UserDeviceShareInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeviceShareInfo) GetAccessPerm() map[string]*SharePerm
- func (x *UserDeviceShareInfo) GetAuthType() int64
- func (x *UserDeviceShareInfo) GetCreatedTime() int64
- func (x *UserDeviceShareInfo) GetDevice() *DeviceCore
- func (x *UserDeviceShareInfo) GetExpTime() *wrapperspb.Int64Value
- func (x *UserDeviceShareInfo) GetId() int64
- func (x *UserDeviceShareInfo) GetProjectID() int64
- func (x *UserDeviceShareInfo) GetSchemaPerm() map[string]*SharePerm
- func (x *UserDeviceShareInfo) GetSharedUserAccount() string
- func (x *UserDeviceShareInfo) GetSharedUserID() int64
- func (*UserDeviceShareInfo) ProtoMessage()
- func (x *UserDeviceShareInfo) ProtoReflect() protoreflect.Message
- func (x *UserDeviceShareInfo) Reset()
- func (x *UserDeviceShareInfo) String() string
- type UserDeviceShareMultiAcceptReq
- func (*UserDeviceShareMultiAcceptReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeviceShareMultiAcceptReq) GetDevices() []*DeviceCore
- func (x *UserDeviceShareMultiAcceptReq) GetShareToken() string
- func (x *UserDeviceShareMultiAcceptReq) GetSharedUserAccount() string
- func (x *UserDeviceShareMultiAcceptReq) GetSharedUserID() int64
- func (*UserDeviceShareMultiAcceptReq) ProtoMessage()
- func (x *UserDeviceShareMultiAcceptReq) ProtoReflect() protoreflect.Message
- func (x *UserDeviceShareMultiAcceptReq) Reset()
- func (x *UserDeviceShareMultiAcceptReq) String() string
- type UserDeviceShareMultiDeleteReq
- func (*UserDeviceShareMultiDeleteReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeviceShareMultiDeleteReq) GetIds() []int64
- func (x *UserDeviceShareMultiDeleteReq) GetProjectID() int64
- func (*UserDeviceShareMultiDeleteReq) ProtoMessage()
- func (x *UserDeviceShareMultiDeleteReq) ProtoReflect() protoreflect.Message
- func (x *UserDeviceShareMultiDeleteReq) Reset()
- func (x *UserDeviceShareMultiDeleteReq) String() string
- type UserDeviceShareMultiInfo
- func (*UserDeviceShareMultiInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeviceShareMultiInfo) GetAccessPerm() map[string]*SharePerm
- func (x *UserDeviceShareMultiInfo) GetAuthType() int64
- func (x *UserDeviceShareMultiInfo) GetCreatedTime() int64
- func (x *UserDeviceShareMultiInfo) GetDevices() []*DeviceShareInfo
- func (x *UserDeviceShareMultiInfo) GetExpTime() int64
- func (x *UserDeviceShareMultiInfo) GetProjectID() int64
- func (x *UserDeviceShareMultiInfo) GetSchemaPerm() map[string]*SharePerm
- func (x *UserDeviceShareMultiInfo) GetUserID() int64
- func (*UserDeviceShareMultiInfo) ProtoMessage()
- func (x *UserDeviceShareMultiInfo) ProtoReflect() protoreflect.Message
- func (x *UserDeviceShareMultiInfo) Reset()
- func (x *UserDeviceShareMultiInfo) String() string
- type UserDeviceShareMultiToken
- func (*UserDeviceShareMultiToken) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeviceShareMultiToken) GetShareToken() string
- func (*UserDeviceShareMultiToken) ProtoMessage()
- func (x *UserDeviceShareMultiToken) ProtoReflect() protoreflect.Message
- func (x *UserDeviceShareMultiToken) Reset()
- func (x *UserDeviceShareMultiToken) String() string
- type UserDeviceShareReadReq
- func (*UserDeviceShareReadReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeviceShareReadReq) GetDevice() *DeviceCore
- func (x *UserDeviceShareReadReq) GetId() int64
- func (*UserDeviceShareReadReq) ProtoMessage()
- func (x *UserDeviceShareReadReq) ProtoReflect() protoreflect.Message
- func (x *UserDeviceShareReadReq) Reset()
- func (x *UserDeviceShareReadReq) String() string
- type WithID
- type WithIDChildren
- func (*WithIDChildren) Descriptor() ([]byte, []int)deprecated
- func (x *WithIDChildren) GetId() int64
- func (x *WithIDChildren) GetWithChildren() bool
- func (*WithIDChildren) ProtoMessage()
- func (x *WithIDChildren) ProtoReflect() protoreflect.Message
- func (x *WithIDChildren) Reset()
- func (x *WithIDChildren) String() string
- type WithIDCode
- type WithProfile
Constants ¶
const ( DeviceManage_RootCheck_FullMethodName = "/dm.DeviceManage/rootCheck" DeviceManage_DeviceInfoCreate_FullMethodName = "/dm.DeviceManage/deviceInfoCreate" DeviceManage_DeviceInfoUpdate_FullMethodName = "/dm.DeviceManage/deviceInfoUpdate" DeviceManage_DeviceOnlineMultiFix_FullMethodName = "/dm.DeviceManage/deviceOnlineMultiFix" DeviceManage_DeviceInfoDelete_FullMethodName = "/dm.DeviceManage/deviceInfoDelete" DeviceManage_DeviceInfoIndex_FullMethodName = "/dm.DeviceManage/deviceInfoIndex" DeviceManage_DeviceInfoMultiUpdate_FullMethodName = "/dm.DeviceManage/DeviceInfoMultiUpdate" DeviceManage_DeviceInfoRead_FullMethodName = "/dm.DeviceManage/deviceInfoRead" DeviceManage_DeviceInfoBind_FullMethodName = "/dm.DeviceManage/deviceInfoBind" DeviceManage_DeviceInfoMultiBind_FullMethodName = "/dm.DeviceManage/deviceInfoMultiBind" DeviceManage_DeviceInfoCanBind_FullMethodName = "/dm.DeviceManage/deviceInfoCanBind" DeviceManage_DeviceInfoUnbind_FullMethodName = "/dm.DeviceManage/deviceInfoUnbind" DeviceManage_DeviceTransfer_FullMethodName = "/dm.DeviceManage/deviceTransfer" DeviceManage_DeviceMove_FullMethodName = "/dm.DeviceManage/deviceMove" DeviceManage_DeviceModuleVersionRead_FullMethodName = "/dm.DeviceManage/deviceModuleVersionRead" DeviceManage_DeviceModuleVersionIndex_FullMethodName = "/dm.DeviceManage/deviceModuleVersionIndex" DeviceManage_DeviceGatewayMultiCreate_FullMethodName = "/dm.DeviceManage/deviceGatewayMultiCreate" DeviceManage_DeviceGatewayMultiUpdate_FullMethodName = "/dm.DeviceManage/deviceGatewayMultiUpdate" DeviceManage_DeviceGatewayIndex_FullMethodName = "/dm.DeviceManage/deviceGatewayIndex" DeviceManage_DeviceGatewayMultiDelete_FullMethodName = "/dm.DeviceManage/deviceGatewayMultiDelete" DeviceManage_DeviceInfoCount_FullMethodName = "/dm.DeviceManage/deviceInfoCount" DeviceManage_DeviceTypeCount_FullMethodName = "/dm.DeviceManage/deviceTypeCount" DeviceManage_DeviceCount_FullMethodName = "/dm.DeviceManage/deviceCount" DeviceManage_DeviceProfileRead_FullMethodName = "/dm.DeviceManage/deviceProfileRead" DeviceManage_DeviceProfileDelete_FullMethodName = "/dm.DeviceManage/deviceProfileDelete" DeviceManage_DeviceProfileUpdate_FullMethodName = "/dm.DeviceManage/deviceProfileUpdate" DeviceManage_DeviceProfileIndex_FullMethodName = "/dm.DeviceManage/deviceProfileIndex" DeviceManage_DeviceSchemaUpdate_FullMethodName = "/dm.DeviceManage/deviceSchemaUpdate" DeviceManage_DeviceSchemaCreate_FullMethodName = "/dm.DeviceManage/deviceSchemaCreate" DeviceManage_DeviceSchemaMultiCreate_FullMethodName = "/dm.DeviceManage/deviceSchemaMultiCreate" DeviceManage_DeviceSchemaMultiDelete_FullMethodName = "/dm.DeviceManage/deviceSchemaMultiDelete" DeviceManage_DeviceSchemaIndex_FullMethodName = "/dm.DeviceManage/deviceSchemaIndex" DeviceManage_DeviceSchemaTslRead_FullMethodName = "/dm.DeviceManage/deviceSchemaTslRead" )
const ( ProductManage_ProductInit_FullMethodName = "/dm.ProductManage/productInit" ProductManage_ProductInfoCreate_FullMethodName = "/dm.ProductManage/productInfoCreate" ProductManage_ProductInfoUpdate_FullMethodName = "/dm.ProductManage/productInfoUpdate" ProductManage_ProductInfoDelete_FullMethodName = "/dm.ProductManage/productInfoDelete" ProductManage_ProductInfoIndex_FullMethodName = "/dm.ProductManage/productInfoIndex" ProductManage_ProductInfoRead_FullMethodName = "/dm.ProductManage/productInfoRead" ProductManage_ProductSchemaUpdate_FullMethodName = "/dm.ProductManage/productSchemaUpdate" ProductManage_ProductSchemaCreate_FullMethodName = "/dm.ProductManage/productSchemaCreate" ProductManage_ProductSchemaMultiCreate_FullMethodName = "/dm.ProductManage/productSchemaMultiCreate" ProductManage_ProductSchemaDelete_FullMethodName = "/dm.ProductManage/productSchemaDelete" ProductManage_ProductSchemaIndex_FullMethodName = "/dm.ProductManage/productSchemaIndex" ProductManage_ProductSchemaTslImport_FullMethodName = "/dm.ProductManage/productSchemaTslImport" ProductManage_ProductSchemaTslRead_FullMethodName = "/dm.ProductManage/productSchemaTslRead" ProductManage_ProductCustomRead_FullMethodName = "/dm.ProductManage/productCustomRead" ProductManage_ProductCustomUpdate_FullMethodName = "/dm.ProductManage/productCustomUpdate" ProductManage_ProductCategoryCreate_FullMethodName = "/dm.ProductManage/productCategoryCreate" ProductManage_ProductCategoryUpdate_FullMethodName = "/dm.ProductManage/productCategoryUpdate" ProductManage_ProductCategoryDelete_FullMethodName = "/dm.ProductManage/productCategoryDelete" ProductManage_ProductCategoryIndex_FullMethodName = "/dm.ProductManage/productCategoryIndex" ProductManage_ProductCategoryRead_FullMethodName = "/dm.ProductManage/productCategoryRead" ProductManage_ProductCategorySchemaIndex_FullMethodName = "/dm.ProductManage/productCategorySchemaIndex" ProductManage_ProductCategorySchemaMultiUpdate_FullMethodName = "/dm.ProductManage/productCategorySchemaMultiUpdate" ProductManage_ProductCategorySchemaMultiCreate_FullMethodName = "/dm.ProductManage/productCategorySchemaMultiCreate" ProductManage_ProductCategorySchemaMultiDelete_FullMethodName = "/dm.ProductManage/productCategorySchemaMultiDelete" )
const ( SchemaManage_CommonSchemaInit_FullMethodName = "/dm.SchemaManage/commonSchemaInit" SchemaManage_CommonSchemaUpdate_FullMethodName = "/dm.SchemaManage/commonSchemaUpdate" SchemaManage_CommonSchemaCreate_FullMethodName = "/dm.SchemaManage/commonSchemaCreate" SchemaManage_CommonSchemaDelete_FullMethodName = "/dm.SchemaManage/commonSchemaDelete" SchemaManage_CommonSchemaIndex_FullMethodName = "/dm.SchemaManage/commonSchemaIndex" )
const ( ProtocolManage_ProtocolInfoIndex_FullMethodName = "/dm.ProtocolManage/protocolInfoIndex" ProtocolManage_ProtocolInfoRead_FullMethodName = "/dm.ProtocolManage/protocolInfoRead" ProtocolManage_ProtocolInfoCreate_FullMethodName = "/dm.ProtocolManage/protocolInfoCreate" ProtocolManage_ProtocolInfoUpdate_FullMethodName = "/dm.ProtocolManage/protocolInfoUpdate" ProtocolManage_ProtocolInfoDelete_FullMethodName = "/dm.ProtocolManage/protocolInfoDelete" ProtocolManage_ProtocolServiceUpdate_FullMethodName = "/dm.ProtocolManage/protocolServiceUpdate" ProtocolManage_ProtocolServiceDelete_FullMethodName = "/dm.ProtocolManage/protocolServiceDelete" ProtocolManage_ProtocolServiceIndex_FullMethodName = "/dm.ProtocolManage/protocolServiceIndex" )
const ( DeviceGroup_GroupInfoCreate_FullMethodName = "/dm.DeviceGroup/groupInfoCreate" DeviceGroup_GroupInfoMultiCreate_FullMethodName = "/dm.DeviceGroup/groupInfoMultiCreate" DeviceGroup_GroupInfoIndex_FullMethodName = "/dm.DeviceGroup/groupInfoIndex" DeviceGroup_GroupInfoRead_FullMethodName = "/dm.DeviceGroup/groupInfoRead" DeviceGroup_GroupInfoUpdate_FullMethodName = "/dm.DeviceGroup/groupInfoUpdate" DeviceGroup_GroupInfoDelete_FullMethodName = "/dm.DeviceGroup/groupInfoDelete" DeviceGroup_GroupDeviceMultiCreate_FullMethodName = "/dm.DeviceGroup/groupDeviceMultiCreate" DeviceGroup_GroupDeviceMultiUpdate_FullMethodName = "/dm.DeviceGroup/groupDeviceMultiUpdate" DeviceGroup_GroupDeviceMultiDelete_FullMethodName = "/dm.DeviceGroup/groupDeviceMultiDelete" )
const ( RemoteConfig_RemoteConfigCreate_FullMethodName = "/dm.RemoteConfig/RemoteConfigCreate" RemoteConfig_RemoteConfigIndex_FullMethodName = "/dm.RemoteConfig/RemoteConfigIndex" RemoteConfig_RemoteConfigPushAll_FullMethodName = "/dm.RemoteConfig/RemoteConfigPushAll" RemoteConfig_RemoteConfigLastRead_FullMethodName = "/dm.RemoteConfig/RemoteConfigLastRead" )
const ( DeviceMsg_SdkLogIndex_FullMethodName = "/dm.DeviceMsg/sdkLogIndex" DeviceMsg_HubLogIndex_FullMethodName = "/dm.DeviceMsg/hubLogIndex" DeviceMsg_SendLogIndex_FullMethodName = "/dm.DeviceMsg/sendLogIndex" DeviceMsg_StatusLogIndex_FullMethodName = "/dm.DeviceMsg/statusLogIndex" DeviceMsg_AbnormalLogIndex_FullMethodName = "/dm.DeviceMsg/abnormalLogIndex" DeviceMsg_AbnormalLogCreate_FullMethodName = "/dm.DeviceMsg/abnormalLogCreate" DeviceMsg_PropertyLogLatestIndex_FullMethodName = "/dm.DeviceMsg/propertyLogLatestIndex" DeviceMsg_PropertyLogIndex_FullMethodName = "/dm.DeviceMsg/propertyLogIndex" DeviceMsg_EventLogIndex_FullMethodName = "/dm.DeviceMsg/eventLogIndex" DeviceMsg_ShadowIndex_FullMethodName = "/dm.DeviceMsg/shadowIndex" DeviceMsg_GatewayCanBindIndex_FullMethodName = "/dm.DeviceMsg/gatewayCanBindIndex" )
const ( DeviceInteract_ActionSend_FullMethodName = "/dm.DeviceInteract/actionSend" DeviceInteract_ActionRead_FullMethodName = "/dm.DeviceInteract/actionRead" DeviceInteract_ActionResp_FullMethodName = "/dm.DeviceInteract/actionResp" DeviceInteract_PropertyGetReportSend_FullMethodName = "/dm.DeviceInteract/propertyGetReportSend" DeviceInteract_PropertyControlSend_FullMethodName = "/dm.DeviceInteract/propertyControlSend" DeviceInteract_PropertyControlMultiSend_FullMethodName = "/dm.DeviceInteract/propertyControlMultiSend" DeviceInteract_PropertyControlRead_FullMethodName = "/dm.DeviceInteract/propertyControlRead" DeviceInteract_SendMsg_FullMethodName = "/dm.DeviceInteract/sendMsg" DeviceInteract_GatewayGetFoundSend_FullMethodName = "/dm.DeviceInteract/gatewayGetFoundSend" DeviceInteract_GatewayNotifyBindSend_FullMethodName = "/dm.DeviceInteract/gatewayNotifyBindSend" DeviceInteract_EdgeSend_FullMethodName = "/dm.DeviceInteract/edgeSend" )
const ( OtaManage_OtaFirmwareInfoCreate_FullMethodName = "/dm.OtaManage/otaFirmwareInfoCreate" OtaManage_OtaFirmwareInfoUpdate_FullMethodName = "/dm.OtaManage/otaFirmwareInfoUpdate" OtaManage_OtaFirmwareInfoDelete_FullMethodName = "/dm.OtaManage/otaFirmwareInfoDelete" OtaManage_OtaFirmwareInfoIndex_FullMethodName = "/dm.OtaManage/otaFirmwareInfoIndex" OtaManage_OtaFirmwareInfoRead_FullMethodName = "/dm.OtaManage/otaFirmwareInfoRead" OtaManage_OtaFirmwareJobCreate_FullMethodName = "/dm.OtaManage/otaFirmwareJobCreate" OtaManage_OtaFirmwareJobIndex_FullMethodName = "/dm.OtaManage/otaFirmwareJobIndex" OtaManage_OtaFirmwareJobRead_FullMethodName = "/dm.OtaManage/otaFirmwareJobRead" OtaManage_OtaFirmwareJobUpdate_FullMethodName = "/dm.OtaManage/otaFirmwareJobUpdate" OtaManage_OtaFirmwareDeviceIndex_FullMethodName = "/dm.OtaManage/otaFirmwareDeviceIndex" OtaManage_OtaFirmwareDeviceCancel_FullMethodName = "/dm.OtaManage/otaFirmwareDeviceCancel" OtaManage_OtaFirmwareDeviceRetry_FullMethodName = "/dm.OtaManage/otaFirmwareDeviceRetry" OtaManage_OtaFirmwareDeviceConfirm_FullMethodName = "/dm.OtaManage/otaFirmwareDeviceConfirm" OtaManage_OtaModuleInfoCreate_FullMethodName = "/dm.OtaManage/otaModuleInfoCreate" OtaManage_OtaModuleInfoUpdate_FullMethodName = "/dm.OtaManage/otaModuleInfoUpdate" OtaManage_OtaModuleInfoDelete_FullMethodName = "/dm.OtaManage/otaModuleInfoDelete" OtaManage_OtaModuleInfoIndex_FullMethodName = "/dm.OtaManage/otaModuleInfoIndex" OtaManage_OtaModuleInfoRead_FullMethodName = "/dm.OtaManage/otaModuleInfoRead" )
const ( UserDevice_UserDeviceCollectMultiCreate_FullMethodName = "/dm.userDevice/userDeviceCollectMultiCreate" UserDevice_UserDeviceCollectMultiDelete_FullMethodName = "/dm.userDevice/userDeviceCollectMultiDelete" UserDevice_UserDeviceCollectIndex_FullMethodName = "/dm.userDevice/userDeviceCollectIndex" UserDevice_UserDeviceTransfer_FullMethodName = "/dm.userDevice/userDeviceTransfer" )
Variables ¶
var DeviceGroup_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dm.DeviceGroup", HandlerType: (*DeviceGroupServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "groupInfoCreate", Handler: _DeviceGroup_GroupInfoCreate_Handler, }, { MethodName: "groupInfoMultiCreate", Handler: _DeviceGroup_GroupInfoMultiCreate_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: "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)
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, }, { MethodName: "edgeSend", Handler: _DeviceInteract_EdgeSend_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)
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, }, { MethodName: "deviceSchemaUpdate", Handler: _DeviceManage_DeviceSchemaUpdate_Handler, }, { MethodName: "deviceSchemaCreate", Handler: _DeviceManage_DeviceSchemaCreate_Handler, }, { MethodName: "deviceSchemaMultiCreate", Handler: _DeviceManage_DeviceSchemaMultiCreate_Handler, }, { MethodName: "deviceSchemaMultiDelete", Handler: _DeviceManage_DeviceSchemaMultiDelete_Handler, }, { MethodName: "deviceSchemaIndex", Handler: _DeviceManage_DeviceSchemaIndex_Handler, }, { MethodName: "deviceSchemaTslRead", Handler: _DeviceManage_DeviceSchemaTslRead_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)
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: "abnormalLogIndex", Handler: _DeviceMsg_AbnormalLogIndex_Handler, }, { MethodName: "abnormalLogCreate", Handler: _DeviceMsg_AbnormalLogCreate_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)
var File_proto_dm_proto protoreflect.FileDescriptor
var File_proto_schemaInfo_proto protoreflect.FileDescriptor
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)
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)
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)
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)
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)
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 AbnormalLogIndexReq ¶ added in v1.0.4
type AbnormalLogIndexReq 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"` Action bool `protobuf:"varint,10,opt,name=action,proto3" json:"action,omitempty"` Type string `protobuf:"bytes,11,opt,name=type,proto3" json:"type,omitempty"` //异常类型 ResultCode int64 `protobuf:"varint,12,opt,name=resultCode,proto3" json:"resultCode,omitempty"` //请求结果状态,200为成功 // contains filtered or unexported fields }
实时获取对应信息
func (*AbnormalLogIndexReq) Descriptor
deprecated
added in
v1.0.4
func (*AbnormalLogIndexReq) Descriptor() ([]byte, []int)
Deprecated: Use AbnormalLogIndexReq.ProtoReflect.Descriptor instead.
func (*AbnormalLogIndexReq) GetAction ¶ added in v1.0.4
func (x *AbnormalLogIndexReq) GetAction() bool
func (*AbnormalLogIndexReq) GetDeviceName ¶ added in v1.0.4
func (x *AbnormalLogIndexReq) GetDeviceName() string
func (*AbnormalLogIndexReq) GetPage ¶ added in v1.0.4
func (x *AbnormalLogIndexReq) GetPage() *PageInfo
func (*AbnormalLogIndexReq) GetProductID ¶ added in v1.0.4
func (x *AbnormalLogIndexReq) GetProductID() string
func (*AbnormalLogIndexReq) GetResultCode ¶ added in v1.0.4
func (x *AbnormalLogIndexReq) GetResultCode() int64
func (*AbnormalLogIndexReq) GetTimeEnd ¶ added in v1.0.4
func (x *AbnormalLogIndexReq) GetTimeEnd() int64
func (*AbnormalLogIndexReq) GetTimeStart ¶ added in v1.0.4
func (x *AbnormalLogIndexReq) GetTimeStart() int64
func (*AbnormalLogIndexReq) GetType ¶ added in v1.0.4
func (x *AbnormalLogIndexReq) GetType() string
func (*AbnormalLogIndexReq) GetUserID ¶ added in v1.0.4
func (x *AbnormalLogIndexReq) GetUserID() int64
func (*AbnormalLogIndexReq) ProtoMessage ¶ added in v1.0.4
func (*AbnormalLogIndexReq) ProtoMessage()
func (*AbnormalLogIndexReq) ProtoReflect ¶ added in v1.0.4
func (x *AbnormalLogIndexReq) ProtoReflect() protoreflect.Message
func (*AbnormalLogIndexReq) Reset ¶ added in v1.0.4
func (x *AbnormalLogIndexReq) Reset()
func (*AbnormalLogIndexReq) String ¶ added in v1.0.4
func (x *AbnormalLogIndexReq) String() string
type AbnormalLogIndexResp ¶ added in v1.0.4
type AbnormalLogIndexResp struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` //总数 List []*AbnormalLogInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
实时获取对应信息
func (*AbnormalLogIndexResp) Descriptor
deprecated
added in
v1.0.4
func (*AbnormalLogIndexResp) Descriptor() ([]byte, []int)
Deprecated: Use AbnormalLogIndexResp.ProtoReflect.Descriptor instead.
func (*AbnormalLogIndexResp) GetList ¶ added in v1.0.4
func (x *AbnormalLogIndexResp) GetList() []*AbnormalLogInfo
func (*AbnormalLogIndexResp) GetTotal ¶ added in v1.0.4
func (x *AbnormalLogIndexResp) GetTotal() int64
func (*AbnormalLogIndexResp) ProtoMessage ¶ added in v1.0.4
func (*AbnormalLogIndexResp) ProtoMessage()
func (*AbnormalLogIndexResp) ProtoReflect ¶ added in v1.0.4
func (x *AbnormalLogIndexResp) ProtoReflect() protoreflect.Message
func (*AbnormalLogIndexResp) Reset ¶ added in v1.0.4
func (x *AbnormalLogIndexResp) Reset()
func (*AbnormalLogIndexResp) String ¶ added in v1.0.4
func (x *AbnormalLogIndexResp) String() string
type AbnormalLogInfo ¶ added in v1.0.4
type AbnormalLogInfo struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` //发生时间戳(毫秒时间戳) Action bool `protobuf:"varint,2,opt,name=action,proto3" json:"action,omitempty"` //触发1还是解除2 Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,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"` // Reason string `protobuf:"bytes,7,opt,name=Reason,proto3" json:"Reason,omitempty"` //原因 TraceID string `protobuf:"bytes,9,opt,name=traceID,proto3" json:"traceID,omitempty"` //服务器端事务id // contains filtered or unexported fields }
设备的日志数据
func (*AbnormalLogInfo) Descriptor
deprecated
added in
v1.0.4
func (*AbnormalLogInfo) Descriptor() ([]byte, []int)
Deprecated: Use AbnormalLogInfo.ProtoReflect.Descriptor instead.
func (*AbnormalLogInfo) GetAction ¶ added in v1.0.4
func (x *AbnormalLogInfo) GetAction() bool
func (*AbnormalLogInfo) GetDeviceName ¶ added in v1.0.4
func (x *AbnormalLogInfo) GetDeviceName() string
func (*AbnormalLogInfo) GetProductID ¶ added in v1.0.4
func (x *AbnormalLogInfo) GetProductID() string
func (*AbnormalLogInfo) GetReason ¶ added in v1.0.4
func (x *AbnormalLogInfo) GetReason() string
func (*AbnormalLogInfo) GetTimestamp ¶ added in v1.0.4
func (x *AbnormalLogInfo) GetTimestamp() int64
func (*AbnormalLogInfo) GetTraceID ¶ added in v1.0.4
func (x *AbnormalLogInfo) GetTraceID() string
func (*AbnormalLogInfo) GetType ¶ added in v1.0.4
func (x *AbnormalLogInfo) GetType() string
func (*AbnormalLogInfo) ProtoMessage ¶ added in v1.0.4
func (*AbnormalLogInfo) ProtoMessage()
func (*AbnormalLogInfo) ProtoReflect ¶ added in v1.0.4
func (x *AbnormalLogInfo) ProtoReflect() protoreflect.Message
func (*AbnormalLogInfo) Reset ¶ added in v1.0.4
func (x *AbnormalLogInfo) Reset()
func (*AbnormalLogInfo) String ¶ added in v1.0.4
func (x *AbnormalLogInfo) String() string
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 (x *CommonSchemaCreateReq) GetInfo() *CommonSchemaInfo
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"` //过滤区域下设备共有的物模型 AreaIDPath string `protobuf:"bytes,23,opt,name=areaIDPath,proto3" json:"areaIDPath,omitempty"` //区域路径过滤 ProjectID int64 `protobuf:"varint,24,opt,name=projectID,proto3" json:"projectID,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) GetAreaIDPath ¶ added in v1.0.6
func (x *CommonSchemaIndexReq) GetAreaIDPath() string
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) GetProjectID ¶ added in v1.0.6
func (x *CommonSchemaIndexReq) GetProjectID() int64
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 (x *CommonSchemaUpdateReq) GetInfo() *CommonSchemaInfo
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 (x *DeviceGatewayBindDevice) GetSign() *DeviceGatewaySign
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 (x *DeviceGatewayMultiCreateReq) GetList() []*DeviceGatewayBindDevice
func (*DeviceGatewayMultiCreateReq) ProtoMessage ¶
func (*DeviceGatewayMultiCreateReq) ProtoMessage()
func (*DeviceGatewayMultiCreateReq) ProtoReflect ¶
func (x *DeviceGatewayMultiCreateReq) ProtoReflect() protoreflect.Message
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 (x *DeviceGatewayMultiSaveReq) ProtoReflect() protoreflect.Message
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) GroupInfoMultiCreate(ctx context.Context, in *GroupInfoMultiCreateReq, opts ...grpc.CallOption) (*Empty, 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) // 删除分组设备 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.
func NewDeviceGroupClient ¶
func NewDeviceGroupClient(cc grpc.ClientConnInterface) DeviceGroupClient
type DeviceGroupServer ¶
type DeviceGroupServer interface { // 创建分组 GroupInfoCreate(context.Context, *GroupInfo) (*WithID, error) GroupInfoMultiCreate(context.Context, *GroupInfoMultiCreateReq) (*Empty, 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) // 删除分组设备 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"` //产品品类 LastIp string `protobuf:"bytes,49,opt,name=lastIp,proto3" json:"lastIp,omitempty"` //最后登录的ip,只读 Desc *wrapperspb.StringValue `protobuf:"bytes,47,opt,name=desc,proto3" json:"desc,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) GetDesc ¶ added in v1.0.5
func (x *DeviceInfo) GetDesc() *wrapperspb.StringValue
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) GetLastIp ¶ added in v1.0.5
func (x *DeviceInfo) GetLastIp() string
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 AreaIDPath string `protobuf:"bytes,32,opt,name=areaIDPath,proto3" json:"areaIDPath,omitempty"` //区域路径过滤 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 ProductCategoryIDs []int64 `protobuf:"varint,33,rep,packed,name=productCategoryIDs,proto3" json:"productCategoryIDs,omitempty"` //产品品类id Devices []*DeviceCore `protobuf:"bytes,12,rep,name=devices,proto3" json:"devices,omitempty"` 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"` ParentGroupID int64 `protobuf:"varint,42,opt,name=parentGroupID,proto3" json:"parentGroupID,omitempty"` GroupPurpose string `protobuf:"bytes,45,opt,name=groupPurpose,proto3" json:"groupPurpose,omitempty"` //设备分组用途 不填默认为default GroupName string `protobuf:"bytes,43,opt,name=groupName,proto3" json:"groupName,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"` Statuses []int64 `protobuf:"varint,35,rep,packed,name=statuses,proto3" json:"statuses,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卡卡号 WithGateway bool `protobuf:"varint,41,opt,name=withGateway,proto3" json:"withGateway,omitempty"` //同时返回子设备的网关 // contains filtered or unexported fields }
func (*DeviceInfoIndexReq) Descriptor
deprecated
func (*DeviceInfoIndexReq) Descriptor() ([]byte, []int)
Deprecated: Use DeviceInfoIndexReq.ProtoReflect.Descriptor instead.
func (*DeviceInfoIndexReq) GetAreaIDPath ¶ added in v1.0.4
func (x *DeviceInfoIndexReq) GetAreaIDPath() string
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) GetGroupName ¶ added in v1.0.5
func (x *DeviceInfoIndexReq) GetGroupName() string
func (*DeviceInfoIndexReq) GetGroupPurpose ¶ added in v1.0.6
func (x *DeviceInfoIndexReq) GetGroupPurpose() string
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) GetParentGroupID ¶ added in v1.0.5
func (x *DeviceInfoIndexReq) GetParentGroupID() int64
func (*DeviceInfoIndexReq) GetPosition ¶
func (x *DeviceInfoIndexReq) GetPosition() *Point
func (*DeviceInfoIndexReq) GetProductCategoryID ¶
func (x *DeviceInfoIndexReq) GetProductCategoryID() int64
func (*DeviceInfoIndexReq) GetProductCategoryIDs ¶ added in v1.0.4
func (x *DeviceInfoIndexReq) GetProductCategoryIDs() []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) GetStatuses ¶ added in v1.0.5
func (x *DeviceInfoIndexReq) GetStatuses() []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) GetWithGateway ¶ added in v1.0.5
func (x *DeviceInfoIndexReq) GetWithGateway() bool
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) // 提供给边缘端进行http访问 EdgeSend(ctx context.Context, in *EdgeSendReq, opts ...grpc.CallOption) (*EdgeSendResp, 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.
func NewDeviceInteractClient ¶
func NewDeviceInteractClient(cc grpc.ClientConnInterface) DeviceInteractClient
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) // 提供给边缘端进行http访问 EdgeSend(context.Context, *EdgeSendReq) (*EdgeSendResp, 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) // 更新设备物模型 DeviceSchemaUpdate(ctx context.Context, in *DeviceSchema, opts ...grpc.CallOption) (*Empty, error) // 新增设备 DeviceSchemaCreate(ctx context.Context, in *DeviceSchema, opts ...grpc.CallOption) (*Empty, error) // 批量新增物模型,只新增没有的,已有的不处理 DeviceSchemaMultiCreate(ctx context.Context, in *DeviceSchemaMultiCreateReq, opts ...grpc.CallOption) (*Empty, error) // 删除设备物模型 DeviceSchemaMultiDelete(ctx context.Context, in *DeviceSchemaMultiDeleteReq, opts ...grpc.CallOption) (*Empty, error) // 获取设备物模型列表 DeviceSchemaIndex(ctx context.Context, in *DeviceSchemaIndexReq, opts ...grpc.CallOption) (*DeviceSchemaIndexResp, error) DeviceSchemaTslRead(ctx context.Context, in *DeviceSchemaTslReadReq, opts ...grpc.CallOption) (*DeviceSchemaTslReadResp, 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.
func NewDeviceManageClient ¶
func NewDeviceManageClient(cc grpc.ClientConnInterface) DeviceManageClient
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) // 更新设备物模型 DeviceSchemaUpdate(context.Context, *DeviceSchema) (*Empty, error) // 新增设备 DeviceSchemaCreate(context.Context, *DeviceSchema) (*Empty, error) // 批量新增物模型,只新增没有的,已有的不处理 DeviceSchemaMultiCreate(context.Context, *DeviceSchemaMultiCreateReq) (*Empty, error) // 删除设备物模型 DeviceSchemaMultiDelete(context.Context, *DeviceSchemaMultiDeleteReq) (*Empty, error) // 获取设备物模型列表 DeviceSchemaIndex(context.Context, *DeviceSchemaIndexReq) (*DeviceSchemaIndexResp, error) DeviceSchemaTslRead(context.Context, *DeviceSchemaTslReadReq) (*DeviceSchemaTslReadResp, 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 (x *DeviceModuleVersionIndexReq) ProtoReflect() protoreflect.Message
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 (x *DeviceModuleVersionIndexResp) GetList() []*DeviceModuleVersion
func (*DeviceModuleVersionIndexResp) GetTotal ¶
func (x *DeviceModuleVersionIndexResp) GetTotal() int64
func (*DeviceModuleVersionIndexResp) ProtoMessage ¶
func (*DeviceModuleVersionIndexResp) ProtoMessage()
func (*DeviceModuleVersionIndexResp) ProtoReflect ¶
func (x *DeviceModuleVersionIndexResp) ProtoReflect() protoreflect.Message
func (*DeviceModuleVersionIndexResp) Reset ¶
func (x *DeviceModuleVersionIndexResp) Reset()
func (*DeviceModuleVersionIndexResp) String ¶
func (x *DeviceModuleVersionIndexResp) String() 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 (x *DeviceModuleVersionReadReq) ProtoReflect() protoreflect.Message
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) AbnormalLogIndex(ctx context.Context, in *AbnormalLogIndexReq, opts ...grpc.CallOption) (*AbnormalLogIndexResp, error) AbnormalLogCreate(ctx context.Context, in *AbnormalLogInfo, opts ...grpc.CallOption) (*Empty, 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) AbnormalLogIndex(context.Context, *AbnormalLogIndexReq) (*AbnormalLogIndexResp, error) AbnormalLogCreate(context.Context, *AbnormalLogInfo) (*Empty, 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 DeviceSchema ¶ added in v1.0.4
type DeviceSchema struct { ProductID string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"` //产品id 必填 DeviceName string `protobuf:"bytes,17,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备ID 必填 Tag int64 `protobuf:"varint,3,opt,name=tag,proto3" json:"tag,omitempty"` //物模型标签 1:自定义 2:可选 3:必选 必选不可删除 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(可读可写) 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 (*DeviceSchema) Descriptor
deprecated
added in
v1.0.4
func (*DeviceSchema) Descriptor() ([]byte, []int)
Deprecated: Use DeviceSchema.ProtoReflect.Descriptor instead.
func (*DeviceSchema) GetAffordance ¶ added in v1.0.4
func (x *DeviceSchema) GetAffordance() *wrapperspb.StringValue
func (*DeviceSchema) GetControlMode ¶ added in v1.0.4
func (x *DeviceSchema) GetControlMode() int64
func (*DeviceSchema) GetDesc ¶ added in v1.0.4
func (x *DeviceSchema) GetDesc() *wrapperspb.StringValue
func (*DeviceSchema) GetDeviceName ¶ added in v1.0.4
func (x *DeviceSchema) GetDeviceName() string
func (*DeviceSchema) GetExtendConfig ¶ added in v1.0.4
func (x *DeviceSchema) GetExtendConfig() string
func (*DeviceSchema) GetFuncGroup ¶ added in v1.0.4
func (x *DeviceSchema) GetFuncGroup() int64
func (*DeviceSchema) GetIdentifier ¶ added in v1.0.4
func (x *DeviceSchema) GetIdentifier() string
func (*DeviceSchema) GetIsCanSceneLinkage ¶ added in v1.0.4
func (x *DeviceSchema) GetIsCanSceneLinkage() int64
func (*DeviceSchema) GetIsHistory ¶ added in v1.0.4
func (x *DeviceSchema) GetIsHistory() int64
func (*DeviceSchema) GetName ¶ added in v1.0.4
func (x *DeviceSchema) GetName() *wrapperspb.StringValue
func (*DeviceSchema) GetOrder ¶ added in v1.0.4
func (x *DeviceSchema) GetOrder() int64
func (*DeviceSchema) GetProductID ¶ added in v1.0.4
func (x *DeviceSchema) GetProductID() string
func (*DeviceSchema) GetRequired ¶ added in v1.0.4
func (x *DeviceSchema) GetRequired() int64
func (*DeviceSchema) GetTag ¶ added in v1.0.5
func (x *DeviceSchema) GetTag() int64
func (*DeviceSchema) GetType ¶ added in v1.0.4
func (x *DeviceSchema) GetType() int64
func (*DeviceSchema) GetUserPerm ¶ added in v1.0.4
func (x *DeviceSchema) GetUserPerm() int64
func (*DeviceSchema) ProtoMessage ¶ added in v1.0.4
func (*DeviceSchema) ProtoMessage()
func (*DeviceSchema) ProtoReflect ¶ added in v1.0.4
func (x *DeviceSchema) ProtoReflect() protoreflect.Message
func (*DeviceSchema) Reset ¶ added in v1.0.4
func (x *DeviceSchema) Reset()
func (*DeviceSchema) String ¶ added in v1.0.4
func (x *DeviceSchema) String() string
type DeviceSchemaIndexReq ¶ added in v1.0.4
type DeviceSchemaIndexReq 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 必填 DeviceName string `protobuf:"bytes,19,opt,name=deviceName,proto3" json:"deviceName,omitempty"` 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:只能单控 WithProductSchema bool `protobuf:"varint,20,opt,name=withProductSchema,proto3" json:"withProductSchema,omitempty"` //同时获取产品物模型 // contains filtered or unexported fields }
func (*DeviceSchemaIndexReq) Descriptor
deprecated
added in
v1.0.4
func (*DeviceSchemaIndexReq) Descriptor() ([]byte, []int)
Deprecated: Use DeviceSchemaIndexReq.ProtoReflect.Descriptor instead.
func (*DeviceSchemaIndexReq) GetControlMode ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) GetControlMode() int64
func (*DeviceSchemaIndexReq) GetDeviceName ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) GetDeviceName() string
func (*DeviceSchemaIndexReq) GetFuncGroup ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) GetFuncGroup() int64
func (*DeviceSchemaIndexReq) GetIdentifiers ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) GetIdentifiers() []string
func (*DeviceSchemaIndexReq) GetIsCanSceneLinkage ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) GetIsCanSceneLinkage() int64
func (*DeviceSchemaIndexReq) GetName ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) GetName() string
func (*DeviceSchemaIndexReq) GetPage ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) GetPage() *PageInfo
func (*DeviceSchemaIndexReq) GetProductID ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) GetProductID() string
func (*DeviceSchemaIndexReq) GetPropertyMode ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) GetPropertyMode() string
func (*DeviceSchemaIndexReq) GetTag ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) GetTag() int64
func (*DeviceSchemaIndexReq) GetType ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) GetType() int64
func (*DeviceSchemaIndexReq) GetTypes ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) GetTypes() []int64
func (*DeviceSchemaIndexReq) GetUserPerm ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) GetUserPerm() int64
func (*DeviceSchemaIndexReq) GetWithProductSchema ¶ added in v1.0.5
func (x *DeviceSchemaIndexReq) GetWithProductSchema() bool
func (*DeviceSchemaIndexReq) ProtoMessage ¶ added in v1.0.4
func (*DeviceSchemaIndexReq) ProtoMessage()
func (*DeviceSchemaIndexReq) ProtoReflect ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) ProtoReflect() protoreflect.Message
func (*DeviceSchemaIndexReq) Reset ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) Reset()
func (*DeviceSchemaIndexReq) String ¶ added in v1.0.4
func (x *DeviceSchemaIndexReq) String() string
type DeviceSchemaIndexResp ¶ added in v1.0.4
type DeviceSchemaIndexResp struct { List []*DeviceSchema `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 (*DeviceSchemaIndexResp) Descriptor
deprecated
added in
v1.0.4
func (*DeviceSchemaIndexResp) Descriptor() ([]byte, []int)
Deprecated: Use DeviceSchemaIndexResp.ProtoReflect.Descriptor instead.
func (*DeviceSchemaIndexResp) GetList ¶ added in v1.0.4
func (x *DeviceSchemaIndexResp) GetList() []*DeviceSchema
func (*DeviceSchemaIndexResp) GetTotal ¶ added in v1.0.4
func (x *DeviceSchemaIndexResp) GetTotal() int64
func (*DeviceSchemaIndexResp) ProtoMessage ¶ added in v1.0.4
func (*DeviceSchemaIndexResp) ProtoMessage()
func (*DeviceSchemaIndexResp) ProtoReflect ¶ added in v1.0.4
func (x *DeviceSchemaIndexResp) ProtoReflect() protoreflect.Message
func (*DeviceSchemaIndexResp) Reset ¶ added in v1.0.4
func (x *DeviceSchemaIndexResp) Reset()
func (*DeviceSchemaIndexResp) String ¶ added in v1.0.4
func (x *DeviceSchemaIndexResp) String() string
type DeviceSchemaMultiCreateReq ¶ added in v1.0.4
type DeviceSchemaMultiCreateReq struct { ProductID string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"` DeviceName string `protobuf:"bytes,3,opt,name=deviceName,proto3" json:"deviceName,omitempty"` List []*DeviceSchema `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` //物模型信息 // contains filtered or unexported fields }
func (*DeviceSchemaMultiCreateReq) Descriptor
deprecated
added in
v1.0.4
func (*DeviceSchemaMultiCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use DeviceSchemaMultiCreateReq.ProtoReflect.Descriptor instead.
func (*DeviceSchemaMultiCreateReq) GetDeviceName ¶ added in v1.0.4
func (x *DeviceSchemaMultiCreateReq) GetDeviceName() string
func (*DeviceSchemaMultiCreateReq) GetList ¶ added in v1.0.4
func (x *DeviceSchemaMultiCreateReq) GetList() []*DeviceSchema
func (*DeviceSchemaMultiCreateReq) GetProductID ¶ added in v1.0.4
func (x *DeviceSchemaMultiCreateReq) GetProductID() string
func (*DeviceSchemaMultiCreateReq) ProtoMessage ¶ added in v1.0.4
func (*DeviceSchemaMultiCreateReq) ProtoMessage()
func (*DeviceSchemaMultiCreateReq) ProtoReflect ¶ added in v1.0.4
func (x *DeviceSchemaMultiCreateReq) ProtoReflect() protoreflect.Message
func (*DeviceSchemaMultiCreateReq) Reset ¶ added in v1.0.4
func (x *DeviceSchemaMultiCreateReq) Reset()
func (*DeviceSchemaMultiCreateReq) String ¶ added in v1.0.4
func (x *DeviceSchemaMultiCreateReq) String() string
type DeviceSchemaMultiDeleteReq ¶ added in v1.0.4
type DeviceSchemaMultiDeleteReq struct { ProductID string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"` //产品id 如果为空返回所有产品的信息 DeviceName string `protobuf:"bytes,3,opt,name=deviceName,proto3" json:"deviceName,omitempty"` Identifiers []string `protobuf:"bytes,2,rep,name=identifiers,proto3" json:"identifiers,omitempty"` //标识符 // contains filtered or unexported fields }
func (*DeviceSchemaMultiDeleteReq) Descriptor
deprecated
added in
v1.0.4
func (*DeviceSchemaMultiDeleteReq) Descriptor() ([]byte, []int)
Deprecated: Use DeviceSchemaMultiDeleteReq.ProtoReflect.Descriptor instead.
func (*DeviceSchemaMultiDeleteReq) GetDeviceName ¶ added in v1.0.4
func (x *DeviceSchemaMultiDeleteReq) GetDeviceName() string
func (*DeviceSchemaMultiDeleteReq) GetIdentifiers ¶ added in v1.0.4
func (x *DeviceSchemaMultiDeleteReq) GetIdentifiers() []string
func (*DeviceSchemaMultiDeleteReq) GetProductID ¶ added in v1.0.4
func (x *DeviceSchemaMultiDeleteReq) GetProductID() string
func (*DeviceSchemaMultiDeleteReq) ProtoMessage ¶ added in v1.0.4
func (*DeviceSchemaMultiDeleteReq) ProtoMessage()
func (*DeviceSchemaMultiDeleteReq) ProtoReflect ¶ added in v1.0.4
func (x *DeviceSchemaMultiDeleteReq) ProtoReflect() protoreflect.Message
func (*DeviceSchemaMultiDeleteReq) Reset ¶ added in v1.0.4
func (x *DeviceSchemaMultiDeleteReq) Reset()
func (*DeviceSchemaMultiDeleteReq) String ¶ added in v1.0.4
func (x *DeviceSchemaMultiDeleteReq) String() string
type DeviceSchemaTslReadReq ¶ added in v1.0.4
type DeviceSchemaTslReadReq struct { ProductID string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"` //产品id DeviceName string `protobuf:"bytes,17,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备ID 必填 WithProductSchema bool `protobuf:"varint,20,opt,name=withProductSchema,proto3" json:"withProductSchema,omitempty"` //同时获取产品物模型 // contains filtered or unexported fields }
func (*DeviceSchemaTslReadReq) Descriptor
deprecated
added in
v1.0.4
func (*DeviceSchemaTslReadReq) Descriptor() ([]byte, []int)
Deprecated: Use DeviceSchemaTslReadReq.ProtoReflect.Descriptor instead.
func (*DeviceSchemaTslReadReq) GetDeviceName ¶ added in v1.0.4
func (x *DeviceSchemaTslReadReq) GetDeviceName() string
func (*DeviceSchemaTslReadReq) GetProductID ¶ added in v1.0.4
func (x *DeviceSchemaTslReadReq) GetProductID() string
func (*DeviceSchemaTslReadReq) GetWithProductSchema ¶ added in v1.0.6
func (x *DeviceSchemaTslReadReq) GetWithProductSchema() bool
func (*DeviceSchemaTslReadReq) ProtoMessage ¶ added in v1.0.4
func (*DeviceSchemaTslReadReq) ProtoMessage()
func (*DeviceSchemaTslReadReq) ProtoReflect ¶ added in v1.0.4
func (x *DeviceSchemaTslReadReq) ProtoReflect() protoreflect.Message
func (*DeviceSchemaTslReadReq) Reset ¶ added in v1.0.4
func (x *DeviceSchemaTslReadReq) Reset()
func (*DeviceSchemaTslReadReq) String ¶ added in v1.0.4
func (x *DeviceSchemaTslReadReq) String() string
type DeviceSchemaTslReadResp ¶ added in v1.0.4
type DeviceSchemaTslReadResp struct { Tsl string `protobuf:"bytes,1,opt,name=tsl,proto3" json:"tsl,omitempty"` //物模型tsl // contains filtered or unexported fields }
func (*DeviceSchemaTslReadResp) Descriptor
deprecated
added in
v1.0.4
func (*DeviceSchemaTslReadResp) Descriptor() ([]byte, []int)
Deprecated: Use DeviceSchemaTslReadResp.ProtoReflect.Descriptor instead.
func (*DeviceSchemaTslReadResp) GetTsl ¶ added in v1.0.4
func (x *DeviceSchemaTslReadResp) GetTsl() string
func (*DeviceSchemaTslReadResp) ProtoMessage ¶ added in v1.0.4
func (*DeviceSchemaTslReadResp) ProtoMessage()
func (*DeviceSchemaTslReadResp) ProtoReflect ¶ added in v1.0.4
func (x *DeviceSchemaTslReadResp) ProtoReflect() protoreflect.Message
func (*DeviceSchemaTslReadResp) Reset ¶ added in v1.0.4
func (x *DeviceSchemaTslReadResp) Reset()
func (*DeviceSchemaTslReadResp) String ¶ added in v1.0.4
func (x *DeviceSchemaTslReadResp) String() string
type DeviceShareInfo ¶ added in v1.0.3
type DeviceShareInfo struct { // 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 EdgeSendReq ¶ added in v1.0.5
type EdgeSendReq struct { Handle string `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` //对应 mqtt topic的第一个 thing ota config 等等 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` //操作类型 从topic中提取 物模型下就是 property属性 event事件 action行为 Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` ProductID string `protobuf:"bytes,4,opt,name=productID,proto3" json:"productID,omitempty"` DeviceName string `protobuf:"bytes,5,opt,name=deviceName,proto3" json:"deviceName,omitempty"` // contains filtered or unexported fields }
func (*EdgeSendReq) Descriptor
deprecated
added in
v1.0.5
func (*EdgeSendReq) Descriptor() ([]byte, []int)
Deprecated: Use EdgeSendReq.ProtoReflect.Descriptor instead.
func (*EdgeSendReq) GetDeviceName ¶ added in v1.0.5
func (x *EdgeSendReq) GetDeviceName() string
func (*EdgeSendReq) GetHandle ¶ added in v1.0.5
func (x *EdgeSendReq) GetHandle() string
func (*EdgeSendReq) GetPayload ¶ added in v1.0.5
func (x *EdgeSendReq) GetPayload() []byte
func (*EdgeSendReq) GetProductID ¶ added in v1.0.5
func (x *EdgeSendReq) GetProductID() string
func (*EdgeSendReq) GetType ¶ added in v1.0.5
func (x *EdgeSendReq) GetType() string
func (*EdgeSendReq) ProtoMessage ¶ added in v1.0.5
func (*EdgeSendReq) ProtoMessage()
func (*EdgeSendReq) ProtoReflect ¶ added in v1.0.5
func (x *EdgeSendReq) ProtoReflect() protoreflect.Message
func (*EdgeSendReq) Reset ¶ added in v1.0.5
func (x *EdgeSendReq) Reset()
func (*EdgeSendReq) String ¶ added in v1.0.5
func (x *EdgeSendReq) String() string
type EdgeSendResp ¶ added in v1.0.5
type EdgeSendResp struct { Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*EdgeSendResp) Descriptor
deprecated
added in
v1.0.5
func (*EdgeSendResp) Descriptor() ([]byte, []int)
Deprecated: Use EdgeSendResp.ProtoReflect.Descriptor instead.
func (*EdgeSendResp) GetPayload ¶ added in v1.0.5
func (x *EdgeSendResp) GetPayload() []byte
func (*EdgeSendResp) ProtoMessage ¶ added in v1.0.5
func (*EdgeSendResp) ProtoMessage()
func (*EdgeSendResp) ProtoReflect ¶ added in v1.0.5
func (x *EdgeSendResp) ProtoReflect() protoreflect.Message
func (*EdgeSendResp) Reset ¶ added in v1.0.5
func (x *EdgeSendResp) Reset()
func (*EdgeSendResp) String ¶ added in v1.0.5
func (x *EdgeSendResp) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
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 (必填) DeviceName string `protobuf:"bytes,3,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备名(不填获取产品下所有设备) DeviceNames []string `protobuf:"bytes,8,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) GetDeviceName ¶ added in v1.0.4
func (x *EventLogIndexReq) GetDeviceName() 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) GetCreatedTime ¶
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 (*Firmware) GetProductID ¶
func (*Firmware) GetSignMethod ¶
func (*Firmware) GetVersion ¶
func (*Firmware) ProtoMessage ¶
func (*Firmware) ProtoMessage()
func (*Firmware) ProtoReflect ¶
func (x *Firmware) ProtoReflect() protoreflect.Message
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 (x *FirmwareInfoReadResp) GetDesc() *wrapperspb.StringValue
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 GroupCore ¶ added in v1.0.5
type GroupCore 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,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GroupCore) Descriptor
deprecated
added in
v1.0.5
func (*GroupCore) GetParentID ¶ added in v1.0.5
func (*GroupCore) ProtoMessage ¶ added in v1.0.5
func (*GroupCore) ProtoMessage()
func (*GroupCore) ProtoReflect ¶ added in v1.0.5
func (x *GroupCore) ProtoReflect() protoreflect.Message
type GroupDeviceMultiDeleteReq ¶
type GroupDeviceMultiDeleteReq struct { GroupID int64 `protobuf:"varint,1,opt,name=groupID,proto3" json:"groupID,omitempty"` Purpose string `protobuf:"bytes,2,opt,name=purpose,proto3" json:"purpose,omitempty"` //用途 不填默认为default List []*DeviceCore `protobuf:"bytes,3,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) GetPurpose ¶ added in v1.1.0
func (x *GroupDeviceMultiDeleteReq) GetPurpose() string
func (*GroupDeviceMultiDeleteReq) ProtoMessage ¶
func (*GroupDeviceMultiDeleteReq) ProtoMessage()
func (*GroupDeviceMultiDeleteReq) ProtoReflect ¶
func (x *GroupDeviceMultiDeleteReq) ProtoReflect() protoreflect.Message
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 { Purpose string `protobuf:"bytes,15,opt,name=purpose,proto3" json:"purpose,omitempty"` //用途 不填默认为default 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) GetChildren ¶
func (*GroupInfo) GetCreatedTime ¶
func (*GroupInfo) GetDeviceCount ¶
func (*GroupInfo) GetDevices ¶
func (x *GroupInfo) GetDevices() []*DeviceCore
func (*GroupInfo) GetParentID ¶
func (*GroupInfo) GetProductID ¶
func (*GroupInfo) GetProductName ¶
func (*GroupInfo) GetProjectID ¶
func (*GroupInfo) GetPurpose ¶ added in v1.0.6
func (*GroupInfo) ProtoMessage ¶
func (*GroupInfo) ProtoMessage()
func (*GroupInfo) ProtoReflect ¶
func (x *GroupInfo) ProtoReflect() protoreflect.Message
type GroupInfoCreateReq ¶
type GroupInfoCreateReq struct { Purpose string `protobuf:"bytes,6,opt,name=purpose,proto3" json:"purpose,omitempty"` //用途 不填默认为default 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) GetPurpose ¶ added in v1.0.6
func (x *GroupInfoCreateReq) GetPurpose() 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"` Names []string `protobuf:"bytes,6,rep,name=names,proto3" json:"names,omitempty"` ParentID int64 `protobuf:"varint,3,opt,name=parentID,proto3" json:"parentID,omitempty"` Tags map[string]string `` /* 149-byte string literal not displayed */ Purpose string `protobuf:"bytes,15,opt,name=purpose,proto3" json:"purpose,omitempty"` //用途 不填默认为default Purposes []string `protobuf:"bytes,16,rep,name=purposes,proto3" json:"purposes,omitempty"` //用途 HasDevice *DeviceCore `protobuf:"bytes,17,opt,name=hasDevice,proto3" json:"hasDevice,omitempty"` // 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) GetHasDevice ¶ added in v1.1.0
func (x *GroupInfoIndexReq) GetHasDevice() *DeviceCore
func (*GroupInfoIndexReq) GetName ¶
func (x *GroupInfoIndexReq) GetName() string
func (*GroupInfoIndexReq) GetNames ¶ added in v1.1.0
func (x *GroupInfoIndexReq) GetNames() []string
func (*GroupInfoIndexReq) GetPage ¶
func (x *GroupInfoIndexReq) GetPage() *PageInfo
func (*GroupInfoIndexReq) GetParentID ¶
func (x *GroupInfoIndexReq) GetParentID() int64
func (*GroupInfoIndexReq) GetPurpose ¶ added in v1.0.6
func (x *GroupInfoIndexReq) GetPurpose() string
func (*GroupInfoIndexReq) GetPurposes ¶ added in v1.1.0
func (x *GroupInfoIndexReq) GetPurposes() []string
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 GroupInfoMultiCreateReq ¶ added in v1.0.6
type GroupInfoMultiCreateReq struct { Groups []*GroupInfo `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*GroupInfoMultiCreateReq) Descriptor
deprecated
added in
v1.0.6
func (*GroupInfoMultiCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use GroupInfoMultiCreateReq.ProtoReflect.Descriptor instead.
func (*GroupInfoMultiCreateReq) GetGroups ¶ added in v1.0.6
func (x *GroupInfoMultiCreateReq) GetGroups() []*GroupInfo
func (*GroupInfoMultiCreateReq) ProtoMessage ¶ added in v1.0.6
func (*GroupInfoMultiCreateReq) ProtoMessage()
func (*GroupInfoMultiCreateReq) ProtoReflect ¶ added in v1.0.6
func (x *GroupInfoMultiCreateReq) ProtoReflect() protoreflect.Message
func (*GroupInfoMultiCreateReq) Reset ¶ added in v1.0.6
func (x *GroupInfoMultiCreateReq) Reset()
func (*GroupInfoMultiCreateReq) String ¶ added in v1.0.6
func (x *GroupInfoMultiCreateReq) 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) GetNoParentID ¶
func (*IDPath) ProtoMessage ¶
func (*IDPath) ProtoMessage()
func (*IDPath) ProtoReflect ¶
func (x *IDPath) ProtoReflect() protoreflect.Message
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 (x *OtaFirmwareDeviceCancelReq) ProtoReflect() protoreflect.Message
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 (x *OtaFirmwareDeviceConfirmReq) ProtoReflect() protoreflect.Message
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 (x *OtaFirmwareDeviceIndexReq) ProtoReflect() protoreflect.Message
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 (x *OtaFirmwareDeviceIndexResp) GetList() []*OtaFirmwareDeviceInfo
func (*OtaFirmwareDeviceIndexResp) GetTotal ¶
func (x *OtaFirmwareDeviceIndexResp) GetTotal() int64
func (*OtaFirmwareDeviceIndexResp) ProtoMessage ¶
func (*OtaFirmwareDeviceIndexResp) ProtoMessage()
func (*OtaFirmwareDeviceIndexResp) ProtoReflect ¶
func (x *OtaFirmwareDeviceIndexResp) ProtoReflect() protoreflect.Message
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 (x *OtaFirmwareDeviceRetryReq) ProtoReflect() protoreflect.Message
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 (x *OtaFirmwareFileIndexReq) GetSize() *wrapperspb.Int64Value
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 (x *OtaFirmwareFileIndexResp) GetList() []*OtaFirmwareFileInfo
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 (x *OtaFirmwareInfoCreateReq) GetExtra() *wrapperspb.StringValue
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 (x *OtaFirmwareInfoUpdateReq) GetExtra() *wrapperspb.StringValue
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 (x *OtaFirmwareJobIndexResp) GetList() []*OtaFirmwareJobInfo
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) GetOrders ¶
func (x *PageInfo) GetOrders() []*PageInfo_OrderBy
func (*PageInfo) ProtoMessage ¶
func (*PageInfo) ProtoMessage()
func (*PageInfo) ProtoReflect ¶
func (x *PageInfo) ProtoReflect() protoreflect.Message
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) GetLatitude ¶
func (*Point) GetLongitude ¶
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶
func (x *Point) ProtoReflect() protoreflect.Message
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 (x *ProductCategorySchemaIndexReq) ProtoReflect() protoreflect.Message
func (*ProductCategorySchemaIndexReq) Reset ¶
func (x *ProductCategorySchemaIndexReq) Reset()
func (*ProductCategorySchemaIndexReq) String ¶
func (x *ProductCategorySchemaIndexReq) String() 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 (x *ProductCategorySchemaIndexResp) ProtoReflect() protoreflect.Message
func (*ProductCategorySchemaIndexResp) Reset ¶
func (x *ProductCategorySchemaIndexResp) Reset()
func (*ProductCategorySchemaIndexResp) String ¶
func (x *ProductCategorySchemaIndexResp) String() 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 (x *ProductCategorySchemaMultiSaveReq) ProtoReflect() protoreflect.Message
func (*ProductCategorySchemaMultiSaveReq) Reset ¶
func (x *ProductCategorySchemaMultiSaveReq) Reset()
func (*ProductCategorySchemaMultiSaveReq) String ¶
func (x *ProductCategorySchemaMultiSaveReq) String() 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 */ DeviceSchemaMode int64 `protobuf:"varint,22,opt,name=deviceSchemaMode,proto3" json:"deviceSchemaMode,omitempty"` // 设备物模型模式:1:关闭,2:设备自动创建3: 设备自动创建及上报无定义自动创建 // 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) GetDeviceSchemaMode ¶ added in v1.0.4
func (x *ProductInfo) GetDeviceSchemaMode() int64
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"` //区域下有设备的产品列表 AreaIDPath string `protobuf:"bytes,24,opt,name=areaIDPath,proto3" json:"areaIDPath,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) GetAreaIDPath ¶ added in v1.0.6
func (x *ProductInfoIndexReq) GetAreaIDPath() string
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.
func NewProductManageClient ¶
func NewProductManageClient(cc grpc.ClientConnInterface) ProductManageClient
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 (x *ProductSchemaCreateReq) GetInfo() *ProductSchemaInfo
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 (x *ProductSchemaInfo) GetDesc() *wrapperspb.StringValue
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 (x *ProductSchemaInfo) GetName() *wrapperspb.StringValue
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 (x *ProductSchemaMultiCreateReq) GetList() []*ProductSchemaInfo
func (*ProductSchemaMultiCreateReq) GetProductID ¶
func (x *ProductSchemaMultiCreateReq) GetProductID() string
func (*ProductSchemaMultiCreateReq) ProtoMessage ¶
func (*ProductSchemaMultiCreateReq) ProtoMessage()
func (*ProductSchemaMultiCreateReq) ProtoReflect ¶
func (x *ProductSchemaMultiCreateReq) ProtoReflect() protoreflect.Message
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 (x *ProductSchemaTslImportReq) ProtoReflect() protoreflect.Message
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 (x *ProductSchemaUpdateReq) GetInfo() *ProductSchemaInfo
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"` //控制一个区域的设备 AreaIDPath string `protobuf:"bytes,10,opt,name=areaIDPath,proto3" json:"areaIDPath,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) GetAreaIDPath ¶ added in v1.1.0
func (x *PropertyControlMultiSendReq) GetAreaIDPath() string
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 (x *PropertyControlMultiSendReq) ProtoReflect() protoreflect.Message
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 (x *PropertyControlMultiSendResp) GetList() []*PropertyControlSendMsg
func (*PropertyControlMultiSendResp) ProtoMessage ¶
func (*PropertyControlMultiSendResp) ProtoMessage()
func (*PropertyControlMultiSendResp) ProtoReflect ¶
func (x *PropertyControlMultiSendResp) ProtoReflect() protoreflect.Message
func (*PropertyControlMultiSendResp) Reset ¶
func (x *PropertyControlMultiSendResp) Reset()
func (*PropertyControlMultiSendResp) String ¶
func (x *PropertyControlMultiSendResp) String() 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 (x *PropertyGetReportSendResp) ProtoReflect() protoreflect.Message
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"` //使用了聚合函数及间隔的时候无效 DeviceName string `protobuf:"bytes,2,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //设备ID 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) GetDeviceName ¶ added in v1.0.4
func (x *PropertyLogIndexReq) GetDeviceName() 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 (x *PropertyLogLatestIndexReq) ProtoReflect() protoreflect.Message
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.
func NewProtocolManageClient ¶
func NewProtocolManageClient(cc grpc.ClientConnInterface) ProtocolManageClient
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.
func NewRemoteConfigClient ¶
func NewRemoteConfigClient(cc grpc.ClientConnInterface) RemoteConfigClient
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 (x *RemoteConfigIndexResp) GetList() []*ProductRemoteConfig
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 (x *RemoteConfigLastReadResp) GetInfo() *ProductRemoteConfig
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.
func NewSchemaManageClient ¶
func NewSchemaManageClient(cc grpc.ClientConnInterface) SchemaManageClient
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 { // contains filtered or unexported fields }
func (*SharePerm) Descriptor
deprecated
func (*SharePerm) ProtoMessage ¶
func (*SharePerm) ProtoMessage()
func (*SharePerm) ProtoReflect ¶
func (x *SharePerm) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*TimeRange) ProtoMessage()
func (*TimeRange) ProtoReflect ¶
func (x *TimeRange) ProtoReflect() protoreflect.Message
type UnimplementedDeviceGroupServer ¶
type UnimplementedDeviceGroupServer struct { }
UnimplementedDeviceGroupServer must be embedded to have forward compatible implementations.
func (UnimplementedDeviceGroupServer) GroupDeviceMultiCreate ¶
func (UnimplementedDeviceGroupServer) GroupDeviceMultiCreate(context.Context, *GroupDeviceMultiSaveReq) (*Empty, error)
func (UnimplementedDeviceGroupServer) GroupDeviceMultiDelete ¶
func (UnimplementedDeviceGroupServer) GroupDeviceMultiDelete(context.Context, *GroupDeviceMultiDeleteReq) (*Empty, error)
func (UnimplementedDeviceGroupServer) GroupDeviceMultiUpdate ¶
func (UnimplementedDeviceGroupServer) GroupDeviceMultiUpdate(context.Context, *GroupDeviceMultiSaveReq) (*Empty, error)
func (UnimplementedDeviceGroupServer) GroupInfoCreate ¶
func (UnimplementedDeviceGroupServer) GroupInfoDelete ¶
func (UnimplementedDeviceGroupServer) GroupInfoIndex ¶
func (UnimplementedDeviceGroupServer) GroupInfoIndex(context.Context, *GroupInfoIndexReq) (*GroupInfoIndexResp, error)
func (UnimplementedDeviceGroupServer) GroupInfoMultiCreate ¶ added in v1.0.6
func (UnimplementedDeviceGroupServer) GroupInfoMultiCreate(context.Context, *GroupInfoMultiCreateReq) (*Empty, error)
func (UnimplementedDeviceGroupServer) GroupInfoRead ¶
func (UnimplementedDeviceGroupServer) GroupInfoRead(context.Context, *WithIDChildren) (*GroupInfo, error)
func (UnimplementedDeviceGroupServer) GroupInfoUpdate ¶
type UnimplementedDeviceInteractServer ¶
type UnimplementedDeviceInteractServer struct { }
UnimplementedDeviceInteractServer must be embedded to have forward compatible implementations.
func (UnimplementedDeviceInteractServer) ActionRead ¶
func (UnimplementedDeviceInteractServer) ActionRead(context.Context, *RespReadReq) (*ActionSendResp, error)
func (UnimplementedDeviceInteractServer) ActionResp ¶
func (UnimplementedDeviceInteractServer) ActionResp(context.Context, *ActionRespReq) (*Empty, error)
func (UnimplementedDeviceInteractServer) ActionSend ¶
func (UnimplementedDeviceInteractServer) ActionSend(context.Context, *ActionSendReq) (*ActionSendResp, error)
func (UnimplementedDeviceInteractServer) EdgeSend ¶ added in v1.0.5
func (UnimplementedDeviceInteractServer) EdgeSend(context.Context, *EdgeSendReq) (*EdgeSendResp, error)
func (UnimplementedDeviceInteractServer) GatewayGetFoundSend ¶
func (UnimplementedDeviceInteractServer) GatewayGetFoundSend(context.Context, *GatewayGetFoundReq) (*Empty, error)
func (UnimplementedDeviceInteractServer) GatewayNotifyBindSend ¶
func (UnimplementedDeviceInteractServer) GatewayNotifyBindSend(context.Context, *GatewayNotifyBindSendReq) (*Empty, error)
func (UnimplementedDeviceInteractServer) PropertyControlMultiSend ¶
func (UnimplementedDeviceInteractServer) PropertyControlMultiSend(context.Context, *PropertyControlMultiSendReq) (*PropertyControlMultiSendResp, error)
func (UnimplementedDeviceInteractServer) PropertyControlRead ¶
func (UnimplementedDeviceInteractServer) PropertyControlRead(context.Context, *RespReadReq) (*PropertyControlSendResp, error)
func (UnimplementedDeviceInteractServer) PropertyControlSend ¶
func (UnimplementedDeviceInteractServer) PropertyControlSend(context.Context, *PropertyControlSendReq) (*PropertyControlSendResp, error)
func (UnimplementedDeviceInteractServer) PropertyGetReportSend ¶
func (UnimplementedDeviceInteractServer) PropertyGetReportSend(context.Context, *PropertyGetReportSendReq) (*PropertyGetReportSendResp, error)
func (UnimplementedDeviceInteractServer) SendMsg ¶
func (UnimplementedDeviceInteractServer) SendMsg(context.Context, *SendMsgReq) (*SendMsgResp, error)
type UnimplementedDeviceManageServer ¶
type UnimplementedDeviceManageServer struct { }
UnimplementedDeviceManageServer must be embedded to have forward compatible implementations.
func (UnimplementedDeviceManageServer) DeviceCount ¶
func (UnimplementedDeviceManageServer) DeviceCount(context.Context, *DeviceCountReq) (*DeviceCountResp, error)
func (UnimplementedDeviceManageServer) DeviceGatewayIndex ¶
func (UnimplementedDeviceManageServer) DeviceGatewayIndex(context.Context, *DeviceGatewayIndexReq) (*DeviceGatewayIndexResp, error)
func (UnimplementedDeviceManageServer) DeviceGatewayMultiCreate ¶
func (UnimplementedDeviceManageServer) DeviceGatewayMultiCreate(context.Context, *DeviceGatewayMultiCreateReq) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceGatewayMultiDelete ¶
func (UnimplementedDeviceManageServer) DeviceGatewayMultiDelete(context.Context, *DeviceGatewayMultiSaveReq) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceGatewayMultiUpdate ¶
func (UnimplementedDeviceManageServer) DeviceGatewayMultiUpdate(context.Context, *DeviceGatewayMultiSaveReq) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceInfoBind ¶
func (UnimplementedDeviceManageServer) DeviceInfoBind(context.Context, *DeviceInfoBindReq) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceInfoCanBind ¶
func (UnimplementedDeviceManageServer) DeviceInfoCanBind(context.Context, *DeviceInfoCanBindReq) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceInfoCount ¶
func (UnimplementedDeviceManageServer) DeviceInfoCount(context.Context, *DeviceInfoCountReq) (*DeviceInfoCount, error)
func (UnimplementedDeviceManageServer) DeviceInfoCreate ¶
func (UnimplementedDeviceManageServer) DeviceInfoCreate(context.Context, *DeviceInfo) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceInfoDelete ¶
func (UnimplementedDeviceManageServer) DeviceInfoDelete(context.Context, *DeviceInfoDeleteReq) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceInfoIndex ¶
func (UnimplementedDeviceManageServer) DeviceInfoIndex(context.Context, *DeviceInfoIndexReq) (*DeviceInfoIndexResp, error)
func (UnimplementedDeviceManageServer) DeviceInfoMultiBind ¶
func (UnimplementedDeviceManageServer) DeviceInfoMultiBind(context.Context, *DeviceInfoMultiBindReq) (*DeviceInfoMultiBindResp, error)
func (UnimplementedDeviceManageServer) DeviceInfoMultiUpdate ¶
func (UnimplementedDeviceManageServer) DeviceInfoMultiUpdate(context.Context, *DeviceInfoMultiUpdateReq) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceInfoRead ¶
func (UnimplementedDeviceManageServer) DeviceInfoRead(context.Context, *DeviceInfoReadReq) (*DeviceInfo, error)
func (UnimplementedDeviceManageServer) DeviceInfoUnbind ¶
func (UnimplementedDeviceManageServer) DeviceInfoUnbind(context.Context, *DeviceCore) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceInfoUpdate ¶
func (UnimplementedDeviceManageServer) DeviceInfoUpdate(context.Context, *DeviceInfo) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceModuleVersionIndex ¶
func (UnimplementedDeviceManageServer) DeviceModuleVersionIndex(context.Context, *DeviceModuleVersionIndexReq) (*DeviceModuleVersionIndexResp, error)
func (UnimplementedDeviceManageServer) DeviceModuleVersionRead ¶
func (UnimplementedDeviceManageServer) DeviceModuleVersionRead(context.Context, *DeviceModuleVersionReadReq) (*DeviceModuleVersion, error)
func (UnimplementedDeviceManageServer) DeviceMove ¶
func (UnimplementedDeviceManageServer) DeviceMove(context.Context, *DeviceMoveReq) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceOnlineMultiFix ¶
func (UnimplementedDeviceManageServer) DeviceOnlineMultiFix(context.Context, *DeviceOnlineMultiFixReq) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceProfileDelete ¶
func (UnimplementedDeviceManageServer) DeviceProfileDelete(context.Context, *DeviceProfileReadReq) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceProfileIndex ¶
func (UnimplementedDeviceManageServer) DeviceProfileIndex(context.Context, *DeviceProfileIndexReq) (*DeviceProfileIndexResp, error)
func (UnimplementedDeviceManageServer) DeviceProfileRead ¶
func (UnimplementedDeviceManageServer) DeviceProfileRead(context.Context, *DeviceProfileReadReq) (*DeviceProfile, error)
func (UnimplementedDeviceManageServer) DeviceProfileUpdate ¶
func (UnimplementedDeviceManageServer) DeviceProfileUpdate(context.Context, *DeviceProfile) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceSchemaCreate ¶ added in v1.0.4
func (UnimplementedDeviceManageServer) DeviceSchemaCreate(context.Context, *DeviceSchema) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceSchemaIndex ¶ added in v1.0.4
func (UnimplementedDeviceManageServer) DeviceSchemaIndex(context.Context, *DeviceSchemaIndexReq) (*DeviceSchemaIndexResp, error)
func (UnimplementedDeviceManageServer) DeviceSchemaMultiCreate ¶ added in v1.0.4
func (UnimplementedDeviceManageServer) DeviceSchemaMultiCreate(context.Context, *DeviceSchemaMultiCreateReq) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceSchemaMultiDelete ¶ added in v1.0.4
func (UnimplementedDeviceManageServer) DeviceSchemaMultiDelete(context.Context, *DeviceSchemaMultiDeleteReq) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceSchemaTslRead ¶ added in v1.0.4
func (UnimplementedDeviceManageServer) DeviceSchemaTslRead(context.Context, *DeviceSchemaTslReadReq) (*DeviceSchemaTslReadResp, error)
func (UnimplementedDeviceManageServer) DeviceSchemaUpdate ¶ added in v1.0.4
func (UnimplementedDeviceManageServer) DeviceSchemaUpdate(context.Context, *DeviceSchema) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceTransfer ¶
func (UnimplementedDeviceManageServer) DeviceTransfer(context.Context, *DeviceTransferReq) (*Empty, error)
func (UnimplementedDeviceManageServer) DeviceTypeCount ¶
func (UnimplementedDeviceManageServer) DeviceTypeCount(context.Context, *DeviceTypeCountReq) (*DeviceTypeCountResp, error)
func (UnimplementedDeviceManageServer) RootCheck ¶
func (UnimplementedDeviceManageServer) RootCheck(context.Context, *RootCheckReq) (*Empty, error)
type UnimplementedDeviceMsgServer ¶
type UnimplementedDeviceMsgServer struct { }
UnimplementedDeviceMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedDeviceMsgServer) AbnormalLogCreate ¶ added in v1.0.4
func (UnimplementedDeviceMsgServer) AbnormalLogCreate(context.Context, *AbnormalLogInfo) (*Empty, error)
func (UnimplementedDeviceMsgServer) AbnormalLogIndex ¶ added in v1.0.4
func (UnimplementedDeviceMsgServer) AbnormalLogIndex(context.Context, *AbnormalLogIndexReq) (*AbnormalLogIndexResp, error)
func (UnimplementedDeviceMsgServer) EventLogIndex ¶
func (UnimplementedDeviceMsgServer) EventLogIndex(context.Context, *EventLogIndexReq) (*EventLogIndexResp, error)
func (UnimplementedDeviceMsgServer) GatewayCanBindIndex ¶
func (UnimplementedDeviceMsgServer) GatewayCanBindIndex(context.Context, *GatewayCanBindIndexReq) (*GatewayCanBindIndexResp, error)
func (UnimplementedDeviceMsgServer) HubLogIndex ¶
func (UnimplementedDeviceMsgServer) HubLogIndex(context.Context, *HubLogIndexReq) (*HubLogIndexResp, error)
func (UnimplementedDeviceMsgServer) PropertyLogIndex ¶
func (UnimplementedDeviceMsgServer) PropertyLogIndex(context.Context, *PropertyLogIndexReq) (*PropertyLogIndexResp, error)
func (UnimplementedDeviceMsgServer) PropertyLogLatestIndex ¶
func (UnimplementedDeviceMsgServer) PropertyLogLatestIndex(context.Context, *PropertyLogLatestIndexReq) (*PropertyLogIndexResp, error)
func (UnimplementedDeviceMsgServer) SdkLogIndex ¶
func (UnimplementedDeviceMsgServer) SdkLogIndex(context.Context, *SdkLogIndexReq) (*SdkLogIndexResp, error)
func (UnimplementedDeviceMsgServer) SendLogIndex ¶
func (UnimplementedDeviceMsgServer) SendLogIndex(context.Context, *SendLogIndexReq) (*SendLogIndexResp, error)
func (UnimplementedDeviceMsgServer) ShadowIndex ¶
func (UnimplementedDeviceMsgServer) ShadowIndex(context.Context, *PropertyLogLatestIndexReq) (*ShadowIndexResp, error)
func (UnimplementedDeviceMsgServer) StatusLogIndex ¶
func (UnimplementedDeviceMsgServer) StatusLogIndex(context.Context, *StatusLogIndexReq) (*StatusLogIndexResp, error)
type UnimplementedOtaManageServer ¶
type UnimplementedOtaManageServer struct { }
UnimplementedOtaManageServer must be embedded to have forward compatible implementations.
func (UnimplementedOtaManageServer) OtaFirmwareDeviceCancel ¶
func (UnimplementedOtaManageServer) OtaFirmwareDeviceCancel(context.Context, *OtaFirmwareDeviceCancelReq) (*Empty, error)
func (UnimplementedOtaManageServer) OtaFirmwareDeviceConfirm ¶
func (UnimplementedOtaManageServer) OtaFirmwareDeviceConfirm(context.Context, *OtaFirmwareDeviceConfirmReq) (*Empty, error)
func (UnimplementedOtaManageServer) OtaFirmwareDeviceIndex ¶
func (UnimplementedOtaManageServer) OtaFirmwareDeviceIndex(context.Context, *OtaFirmwareDeviceIndexReq) (*OtaFirmwareDeviceIndexResp, error)
func (UnimplementedOtaManageServer) OtaFirmwareDeviceRetry ¶
func (UnimplementedOtaManageServer) OtaFirmwareDeviceRetry(context.Context, *OtaFirmwareDeviceRetryReq) (*Empty, error)
func (UnimplementedOtaManageServer) OtaFirmwareInfoCreate ¶
func (UnimplementedOtaManageServer) OtaFirmwareInfoCreate(context.Context, *OtaFirmwareInfoCreateReq) (*WithID, error)
func (UnimplementedOtaManageServer) OtaFirmwareInfoDelete ¶
func (UnimplementedOtaManageServer) OtaFirmwareInfoIndex ¶
func (UnimplementedOtaManageServer) OtaFirmwareInfoIndex(context.Context, *OtaFirmwareInfoIndexReq) (*OtaFirmwareInfoIndexResp, error)
func (UnimplementedOtaManageServer) OtaFirmwareInfoRead ¶
func (UnimplementedOtaManageServer) OtaFirmwareInfoRead(context.Context, *WithID) (*OtaFirmwareInfo, error)
func (UnimplementedOtaManageServer) OtaFirmwareInfoUpdate ¶
func (UnimplementedOtaManageServer) OtaFirmwareInfoUpdate(context.Context, *OtaFirmwareInfoUpdateReq) (*WithID, error)
func (UnimplementedOtaManageServer) OtaFirmwareJobCreate ¶
func (UnimplementedOtaManageServer) OtaFirmwareJobCreate(context.Context, *OtaFirmwareJobInfo) (*WithID, error)
func (UnimplementedOtaManageServer) OtaFirmwareJobIndex ¶
func (UnimplementedOtaManageServer) OtaFirmwareJobIndex(context.Context, *OtaFirmwareJobIndexReq) (*OtaFirmwareJobIndexResp, error)
func (UnimplementedOtaManageServer) OtaFirmwareJobRead ¶
func (UnimplementedOtaManageServer) OtaFirmwareJobRead(context.Context, *WithID) (*OtaFirmwareJobInfo, error)
func (UnimplementedOtaManageServer) OtaFirmwareJobUpdate ¶
func (UnimplementedOtaManageServer) OtaFirmwareJobUpdate(context.Context, *OtaFirmwareJobInfo) (*Empty, error)
func (UnimplementedOtaManageServer) OtaModuleInfoCreate ¶
func (UnimplementedOtaManageServer) OtaModuleInfoCreate(context.Context, *OtaModuleInfo) (*WithID, error)
func (UnimplementedOtaManageServer) OtaModuleInfoDelete ¶
func (UnimplementedOtaManageServer) OtaModuleInfoIndex ¶
func (UnimplementedOtaManageServer) OtaModuleInfoIndex(context.Context, *OtaModuleInfoIndexReq) (*OtaModuleInfoIndexResp, error)
func (UnimplementedOtaManageServer) OtaModuleInfoRead ¶
func (UnimplementedOtaManageServer) OtaModuleInfoRead(context.Context, *WithIDCode) (*OtaModuleInfo, error)
func (UnimplementedOtaManageServer) OtaModuleInfoUpdate ¶
func (UnimplementedOtaManageServer) OtaModuleInfoUpdate(context.Context, *OtaModuleInfo) (*Empty, error)
type UnimplementedProductManageServer ¶
type UnimplementedProductManageServer struct { }
UnimplementedProductManageServer must be embedded to have forward compatible implementations.
func (UnimplementedProductManageServer) ProductCategoryCreate ¶
func (UnimplementedProductManageServer) ProductCategoryCreate(context.Context, *ProductCategory) (*WithID, error)
func (UnimplementedProductManageServer) ProductCategoryDelete ¶
func (UnimplementedProductManageServer) ProductCategoryIndex ¶
func (UnimplementedProductManageServer) ProductCategoryIndex(context.Context, *ProductCategoryIndexReq) (*ProductCategoryIndexResp, error)
func (UnimplementedProductManageServer) ProductCategoryRead ¶
func (UnimplementedProductManageServer) ProductCategoryRead(context.Context, *WithIDChildren) (*ProductCategory, error)
func (UnimplementedProductManageServer) ProductCategorySchemaIndex ¶
func (UnimplementedProductManageServer) ProductCategorySchemaIndex(context.Context, *ProductCategorySchemaIndexReq) (*ProductCategorySchemaIndexResp, error)
func (UnimplementedProductManageServer) ProductCategorySchemaMultiCreate ¶
func (UnimplementedProductManageServer) ProductCategorySchemaMultiCreate(context.Context, *ProductCategorySchemaMultiSaveReq) (*Empty, error)
func (UnimplementedProductManageServer) ProductCategorySchemaMultiDelete ¶
func (UnimplementedProductManageServer) ProductCategorySchemaMultiDelete(context.Context, *ProductCategorySchemaMultiSaveReq) (*Empty, error)
func (UnimplementedProductManageServer) ProductCategorySchemaMultiUpdate ¶
func (UnimplementedProductManageServer) ProductCategorySchemaMultiUpdate(context.Context, *ProductCategorySchemaMultiSaveReq) (*Empty, error)
func (UnimplementedProductManageServer) ProductCategoryUpdate ¶
func (UnimplementedProductManageServer) ProductCategoryUpdate(context.Context, *ProductCategory) (*Empty, error)
func (UnimplementedProductManageServer) ProductCustomRead ¶
func (UnimplementedProductManageServer) ProductCustomRead(context.Context, *ProductCustomReadReq) (*ProductCustom, error)
func (UnimplementedProductManageServer) ProductCustomUpdate ¶
func (UnimplementedProductManageServer) ProductCustomUpdate(context.Context, *ProductCustom) (*Empty, error)
func (UnimplementedProductManageServer) ProductInfoCreate ¶
func (UnimplementedProductManageServer) ProductInfoCreate(context.Context, *ProductInfo) (*Empty, error)
func (UnimplementedProductManageServer) ProductInfoDelete ¶
func (UnimplementedProductManageServer) ProductInfoDelete(context.Context, *ProductInfoDeleteReq) (*Empty, error)
func (UnimplementedProductManageServer) ProductInfoIndex ¶
func (UnimplementedProductManageServer) ProductInfoIndex(context.Context, *ProductInfoIndexReq) (*ProductInfoIndexResp, error)
func (UnimplementedProductManageServer) ProductInfoRead ¶
func (UnimplementedProductManageServer) ProductInfoRead(context.Context, *ProductInfoReadReq) (*ProductInfo, error)
func (UnimplementedProductManageServer) ProductInfoUpdate ¶
func (UnimplementedProductManageServer) ProductInfoUpdate(context.Context, *ProductInfo) (*Empty, error)
func (UnimplementedProductManageServer) ProductInit ¶
func (UnimplementedProductManageServer) ProductInit(context.Context, *ProductInitReq) (*Empty, error)
func (UnimplementedProductManageServer) ProductSchemaCreate ¶
func (UnimplementedProductManageServer) ProductSchemaCreate(context.Context, *ProductSchemaCreateReq) (*Empty, error)
func (UnimplementedProductManageServer) ProductSchemaDelete ¶
func (UnimplementedProductManageServer) ProductSchemaDelete(context.Context, *ProductSchemaDeleteReq) (*Empty, error)
func (UnimplementedProductManageServer) ProductSchemaIndex ¶
func (UnimplementedProductManageServer) ProductSchemaIndex(context.Context, *ProductSchemaIndexReq) (*ProductSchemaIndexResp, error)
func (UnimplementedProductManageServer) ProductSchemaMultiCreate ¶
func (UnimplementedProductManageServer) ProductSchemaMultiCreate(context.Context, *ProductSchemaMultiCreateReq) (*Empty, error)
func (UnimplementedProductManageServer) ProductSchemaTslImport ¶
func (UnimplementedProductManageServer) ProductSchemaTslImport(context.Context, *ProductSchemaTslImportReq) (*Empty, error)
func (UnimplementedProductManageServer) ProductSchemaTslRead ¶
func (UnimplementedProductManageServer) ProductSchemaTslRead(context.Context, *ProductSchemaTslReadReq) (*ProductSchemaTslReadResp, error)
func (UnimplementedProductManageServer) ProductSchemaUpdate ¶
func (UnimplementedProductManageServer) ProductSchemaUpdate(context.Context, *ProductSchemaUpdateReq) (*Empty, error)
type UnimplementedProtocolManageServer ¶
type UnimplementedProtocolManageServer struct { }
UnimplementedProtocolManageServer must be embedded to have forward compatible implementations.
func (UnimplementedProtocolManageServer) ProtocolInfoCreate ¶
func (UnimplementedProtocolManageServer) ProtocolInfoCreate(context.Context, *ProtocolInfo) (*WithID, error)
func (UnimplementedProtocolManageServer) ProtocolInfoDelete ¶
func (UnimplementedProtocolManageServer) ProtocolInfoIndex ¶
func (UnimplementedProtocolManageServer) ProtocolInfoIndex(context.Context, *ProtocolInfoIndexReq) (*ProtocolInfoIndexResp, error)
func (UnimplementedProtocolManageServer) ProtocolInfoRead ¶
func (UnimplementedProtocolManageServer) ProtocolInfoRead(context.Context, *WithIDCode) (*ProtocolInfo, error)
func (UnimplementedProtocolManageServer) ProtocolInfoUpdate ¶
func (UnimplementedProtocolManageServer) ProtocolInfoUpdate(context.Context, *ProtocolInfo) (*Empty, error)
func (UnimplementedProtocolManageServer) ProtocolServiceDelete ¶ added in v1.0.2
func (UnimplementedProtocolManageServer) ProtocolServiceIndex ¶ added in v1.0.2
func (UnimplementedProtocolManageServer) ProtocolServiceIndex(context.Context, *ProtocolServiceIndexReq) (*ProtocolServiceIndexResp, error)
func (UnimplementedProtocolManageServer) ProtocolServiceUpdate ¶ added in v1.0.2
func (UnimplementedProtocolManageServer) ProtocolServiceUpdate(context.Context, *ProtocolService) (*Empty, error)
type UnimplementedRemoteConfigServer ¶
type UnimplementedRemoteConfigServer struct { }
UnimplementedRemoteConfigServer must be embedded to have forward compatible implementations.
func (UnimplementedRemoteConfigServer) RemoteConfigCreate ¶
func (UnimplementedRemoteConfigServer) RemoteConfigCreate(context.Context, *RemoteConfigCreateReq) (*Empty, error)
func (UnimplementedRemoteConfigServer) RemoteConfigIndex ¶
func (UnimplementedRemoteConfigServer) RemoteConfigIndex(context.Context, *RemoteConfigIndexReq) (*RemoteConfigIndexResp, error)
func (UnimplementedRemoteConfigServer) RemoteConfigLastRead ¶
func (UnimplementedRemoteConfigServer) RemoteConfigLastRead(context.Context, *RemoteConfigLastReadReq) (*RemoteConfigLastReadResp, error)
func (UnimplementedRemoteConfigServer) RemoteConfigPushAll ¶
func (UnimplementedRemoteConfigServer) RemoteConfigPushAll(context.Context, *RemoteConfigPushAllReq) (*Empty, error)
type UnimplementedSchemaManageServer ¶
type UnimplementedSchemaManageServer struct { }
UnimplementedSchemaManageServer must be embedded to have forward compatible implementations.
func (UnimplementedSchemaManageServer) CommonSchemaCreate ¶
func (UnimplementedSchemaManageServer) CommonSchemaCreate(context.Context, *CommonSchemaCreateReq) (*Empty, error)
func (UnimplementedSchemaManageServer) CommonSchemaDelete ¶
func (UnimplementedSchemaManageServer) CommonSchemaIndex ¶
func (UnimplementedSchemaManageServer) CommonSchemaIndex(context.Context, *CommonSchemaIndexReq) (*CommonSchemaIndexResp, error)
func (UnimplementedSchemaManageServer) CommonSchemaInit ¶
func (UnimplementedSchemaManageServer) CommonSchemaUpdate ¶
func (UnimplementedSchemaManageServer) CommonSchemaUpdate(context.Context, *CommonSchemaUpdateReq) (*Empty, error)
type UnimplementedUserDeviceServer ¶
type UnimplementedUserDeviceServer struct { }
UnimplementedUserDeviceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserDeviceServer) UserDeivceShareMultiAccept ¶ added in v1.0.2
func (UnimplementedUserDeviceServer) UserDeivceShareMultiAccept(context.Context, *UserDeviceShareMultiAcceptReq) (*Empty, error)
func (UnimplementedUserDeviceServer) UserDeivceShareMultiIndex ¶ added in v1.0.2
func (UnimplementedUserDeviceServer) UserDeivceShareMultiIndex(context.Context, *UserDeviceShareMultiToken) (*UserDeviceShareMultiInfo, error)
func (UnimplementedUserDeviceServer) UserDeviceCollectIndex ¶
func (UnimplementedUserDeviceServer) UserDeviceCollectIndex(context.Context, *Empty) (*UserDeviceCollectSave, error)
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) UserDeviceShareCreate(context.Context, *UserDeviceShareInfo) (*WithID, error)
func (UnimplementedUserDeviceServer) UserDeviceShareDelete ¶
func (UnimplementedUserDeviceServer) UserDeviceShareDelete(context.Context, *UserDeviceShareReadReq) (*Empty, error)
func (UnimplementedUserDeviceServer) UserDeviceShareIndex ¶
func (UnimplementedUserDeviceServer) UserDeviceShareIndex(context.Context, *UserDeviceShareIndexReq) (*UserDeviceShareIndexResp, error)
func (UnimplementedUserDeviceServer) UserDeviceShareMultiCreate ¶ added in v1.0.2
func (UnimplementedUserDeviceServer) UserDeviceShareMultiCreate(context.Context, *UserDeviceShareMultiInfo) (*UserDeviceShareMultiToken, error)
func (UnimplementedUserDeviceServer) UserDeviceShareMultiDelete ¶
func (UnimplementedUserDeviceServer) UserDeviceShareMultiDelete(context.Context, *UserDeviceShareMultiDeleteReq) (*Empty, error)
func (UnimplementedUserDeviceServer) UserDeviceShareRead ¶
func (UnimplementedUserDeviceServer) UserDeviceShareRead(context.Context, *UserDeviceShareReadReq) (*UserDeviceShareInfo, error)
func (UnimplementedUserDeviceServer) UserDeviceShareUpdate ¶
func (UnimplementedUserDeviceServer) UserDeviceShareUpdate(context.Context, *UserDeviceShareInfo) (*Empty, error)
func (UnimplementedUserDeviceServer) UserDeviceTransfer ¶
func (UnimplementedUserDeviceServer) UserDeviceTransfer(context.Context, *DeviceTransferReq) (*Empty, error)
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) // // 创建批量分享二维码,设备列表写入缓存 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) // // 创建批量分享二维码,设备列表写入缓存 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 { // 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 { // contains filtered or unexported fields }
func (*UserDeviceShareIndexResp) Descriptor
deprecated
func (*UserDeviceShareIndexResp) Descriptor() ([]byte, []int)
Deprecated: Use UserDeviceShareIndexResp.ProtoReflect.Descriptor instead.
func (*UserDeviceShareIndexResp) GetList ¶
func (x *UserDeviceShareIndexResp) GetList() []*UserDeviceShareInfo
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 { string]*SharePerm `` //操作权限 hubLog:设备消息记录,ota:ota升级权限,deviceTiming:设备定时 /* 161-byte string literal not displayed */ // contains filtered or unexported fields }AccessPerm map[
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 { // 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 (x *UserDeviceShareMultiAcceptReq) ProtoReflect() protoreflect.Message
func (*UserDeviceShareMultiAcceptReq) Reset ¶ added in v1.0.2
func (x *UserDeviceShareMultiAcceptReq) Reset()
func (*UserDeviceShareMultiAcceptReq) String ¶ added in v1.0.2
func (x *UserDeviceShareMultiAcceptReq) String() string
type UserDeviceShareMultiDeleteReq ¶
type UserDeviceShareMultiDeleteReq struct { // 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 (x *UserDeviceShareMultiDeleteReq) ProtoReflect() protoreflect.Message
func (*UserDeviceShareMultiDeleteReq) Reset ¶
func (x *UserDeviceShareMultiDeleteReq) Reset()
func (*UserDeviceShareMultiDeleteReq) String ¶
func (x *UserDeviceShareMultiDeleteReq) String() string
type UserDeviceShareMultiInfo ¶ added in v1.0.2
type UserDeviceShareMultiInfo struct { string]*SharePerm `` //操作权限 hubLog:设备消息记录,ota:ota升级权限,deviceTiming:设备定时 /* 161-byte string literal not displayed */ // contains filtered or unexported fields }AccessPerm map[
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 { // 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 (x *UserDeviceShareMultiToken) ProtoReflect() protoreflect.Message
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 { // 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) ProtoMessage ¶
func (*WithID) ProtoMessage()
func (*WithID) ProtoReflect ¶
func (x *WithID) ProtoReflect() protoreflect.Message
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