Documentation
¶
Index ¶
- Variables
- func RegisterDeviceAuthServer(s grpc.ServiceRegistrar, srv DeviceAuthServer)
- func RegisterDeviceGroupServer(s grpc.ServiceRegistrar, srv DeviceGroupServer)
- func RegisterDeviceManageServer(s grpc.ServiceRegistrar, srv DeviceManageServer)
- func RegisterProductManageServer(s grpc.ServiceRegistrar, srv ProductManageServer)
- func RegisterRemoteConfigServer(s grpc.ServiceRegistrar, srv RemoteConfigServer)
- type AccessAuthReq
- func (*AccessAuthReq) Descriptor() ([]byte, []int)deprecated
- func (x *AccessAuthReq) GetAccess() string
- func (x *AccessAuthReq) GetClientID() string
- func (x *AccessAuthReq) GetIp() string
- func (x *AccessAuthReq) GetTopic() string
- func (x *AccessAuthReq) GetUsername() string
- func (*AccessAuthReq) ProtoMessage()
- func (x *AccessAuthReq) ProtoReflect() protoreflect.Message
- func (x *AccessAuthReq) Reset()
- func (x *AccessAuthReq) String() string
- type DeviceAuthClient
- type DeviceAuthServer
- 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 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() []*DeviceInfo
- 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) GetGatewayDeviceName() string
- func (x *DeviceGatewayMultiCreateReq) GetGatewayProductID() string
- func (x *DeviceGatewayMultiCreateReq) GetIsAuthSign() 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 DeviceGatewayMultiDeleteReq
- func (*DeviceGatewayMultiDeleteReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceGatewayMultiDeleteReq) GetGatewayDeviceName() string
- func (x *DeviceGatewayMultiDeleteReq) GetGatewayProductID() string
- func (x *DeviceGatewayMultiDeleteReq) GetList() []*DeviceCore
- func (*DeviceGatewayMultiDeleteReq) ProtoMessage()
- func (x *DeviceGatewayMultiDeleteReq) ProtoReflect() protoreflect.Message
- func (x *DeviceGatewayMultiDeleteReq) Reset()
- func (x *DeviceGatewayMultiDeleteReq) 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) GetAddress() *wrapperspb.StringValue
- func (x *DeviceInfo) GetAreaID() *wrapperspb.Int64Value
- func (x *DeviceInfo) GetCert() string
- func (x *DeviceInfo) GetCreatedTime() int64
- func (x *DeviceInfo) GetDeviceAlias() *wrapperspb.StringValue
- func (x *DeviceInfo) GetDeviceName() string
- func (x *DeviceInfo) GetFirstLogin() int64
- func (x *DeviceInfo) GetHardInfo() string
- func (x *DeviceInfo) GetIccid() *wrapperspb.StringValue
- func (x *DeviceInfo) GetImei() string
- func (x *DeviceInfo) GetIsOnline() int64
- func (x *DeviceInfo) GetLastLogin() int64
- func (x *DeviceInfo) GetLogLevel() int64
- func (x *DeviceInfo) GetMac() string
- func (x *DeviceInfo) GetMobileOperator() int64
- func (x *DeviceInfo) GetPhone() *wrapperspb.StringValue
- func (x *DeviceInfo) GetPosition() *Point
- func (x *DeviceInfo) GetProductID() string
- func (x *DeviceInfo) GetProductName() string
- func (x *DeviceInfo) GetProjectID() *wrapperspb.Int64Value
- func (x *DeviceInfo) GetSecret() string
- func (x *DeviceInfo) GetSoftInfo() string
- func (x *DeviceInfo) GetTags() map[string]string
- 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 DeviceInfoCountReq
- func (*DeviceInfoCountReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoCountReq) GetEndTime() int64
- func (x *DeviceInfoCountReq) GetStartTime() int64
- func (*DeviceInfoCountReq) ProtoMessage()
- func (x *DeviceInfoCountReq) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoCountReq) Reset()
- func (x *DeviceInfoCountReq) String() string
- type DeviceInfoCountResp
- func (*DeviceInfoCountResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoCountResp) GetInactive() int64
- func (x *DeviceInfoCountResp) GetOffline() int64
- func (x *DeviceInfoCountResp) GetOnline() int64
- func (x *DeviceInfoCountResp) GetUnknown() int64
- func (*DeviceInfoCountResp) ProtoMessage()
- func (x *DeviceInfoCountResp) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoCountResp) Reset()
- func (x *DeviceInfoCountResp) 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) GetAreaIDs() []int64
- func (x *DeviceInfoIndexReq) GetDeviceAlias() string
- func (x *DeviceInfoIndexReq) GetDeviceName() string
- func (x *DeviceInfoIndexReq) GetDeviceNames() []string
- func (x *DeviceInfoIndexReq) GetIsOnline() int64
- func (x *DeviceInfoIndexReq) GetPage() *PageInfo
- func (x *DeviceInfoIndexReq) GetPosition() *Point
- func (x *DeviceInfoIndexReq) GetProductID() string
- func (x *DeviceInfoIndexReq) GetRange() int64
- func (x *DeviceInfoIndexReq) GetTags() map[string]string
- 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 DeviceInfoReadReq
- func (*DeviceInfoReadReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoReadReq) GetDeviceName() string
- func (x *DeviceInfoReadReq) GetProductID() string
- func (*DeviceInfoReadReq) ProtoMessage()
- func (x *DeviceInfoReadReq) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoReadReq) Reset()
- func (x *DeviceInfoReadReq) String() string
- type DeviceManageClient
- type DeviceManageServer
- type DeviceRegisterReq
- func (*DeviceRegisterReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceRegisterReq) GetDeviceName() string
- func (x *DeviceRegisterReq) GetNonce() int64
- func (x *DeviceRegisterReq) GetProductID() string
- func (x *DeviceRegisterReq) GetSignature() string
- func (x *DeviceRegisterReq) GetTimestamp() int64
- func (*DeviceRegisterReq) ProtoMessage()
- func (x *DeviceRegisterReq) ProtoReflect() protoreflect.Message
- func (x *DeviceRegisterReq) Reset()
- func (x *DeviceRegisterReq) String() string
- type DeviceRegisterResp
- func (*DeviceRegisterResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceRegisterResp) GetLen() int64
- func (x *DeviceRegisterResp) GetPayload() string
- func (*DeviceRegisterResp) ProtoMessage()
- func (x *DeviceRegisterResp) ProtoReflect() protoreflect.Message
- func (x *DeviceRegisterResp) Reset()
- func (x *DeviceRegisterResp) String() string
- type DeviceTypeCountReq
- func (*DeviceTypeCountReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceTypeCountReq) GetEndTime() int64
- func (x *DeviceTypeCountReq) GetStartTime() int64
- 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 GroupDeviceIndexReq
- func (*GroupDeviceIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *GroupDeviceIndexReq) GetDeviceName() string
- func (x *GroupDeviceIndexReq) GetGroupID() int64
- func (x *GroupDeviceIndexReq) GetPage() *PageInfo
- func (x *GroupDeviceIndexReq) GetProductID() string
- func (*GroupDeviceIndexReq) ProtoMessage()
- func (x *GroupDeviceIndexReq) ProtoReflect() protoreflect.Message
- func (x *GroupDeviceIndexReq) Reset()
- func (x *GroupDeviceIndexReq) String() string
- type GroupDeviceIndexResp
- func (*GroupDeviceIndexResp) Descriptor() ([]byte, []int)deprecated
- func (x *GroupDeviceIndexResp) GetList() []*DeviceInfo
- func (x *GroupDeviceIndexResp) GetTotal() int64
- func (*GroupDeviceIndexResp) ProtoMessage()
- func (x *GroupDeviceIndexResp) ProtoReflect() protoreflect.Message
- func (x *GroupDeviceIndexResp) Reset()
- func (x *GroupDeviceIndexResp) String() string
- type GroupDeviceMultiCreateReq
- func (*GroupDeviceMultiCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *GroupDeviceMultiCreateReq) GetGroupID() int64
- func (x *GroupDeviceMultiCreateReq) GetList() []*DeviceCore
- func (*GroupDeviceMultiCreateReq) ProtoMessage()
- func (x *GroupDeviceMultiCreateReq) ProtoReflect() protoreflect.Message
- func (x *GroupDeviceMultiCreateReq) Reset()
- func (x *GroupDeviceMultiCreateReq) String() string
- type GroupDeviceMultiDeleteReq
- func (*GroupDeviceMultiDeleteReq) Descriptor() ([]byte, []int)deprecated
- func (x *GroupDeviceMultiDeleteReq) GetGroupID() int64
- func (x *GroupDeviceMultiDeleteReq) GetList() []*DeviceCore
- func (*GroupDeviceMultiDeleteReq) ProtoMessage()
- func (x *GroupDeviceMultiDeleteReq) ProtoReflect() protoreflect.Message
- func (x *GroupDeviceMultiDeleteReq) Reset()
- func (x *GroupDeviceMultiDeleteReq) String() string
- type GroupInfo
- func (*GroupInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInfo) GetCreatedTime() int64
- func (x *GroupInfo) GetDesc() string
- func (x *GroupInfo) GetGroupID() int64
- func (x *GroupInfo) GetGroupName() string
- func (x *GroupInfo) GetParentID() int64
- func (x *GroupInfo) GetProductID() string
- func (x *GroupInfo) GetProductName() string
- func (x *GroupInfo) GetProjectID() int64
- 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) GetDesc() string
- func (x *GroupInfoCreateReq) GetGroupName() string
- func (x *GroupInfoCreateReq) GetParentID() int64
- func (x *GroupInfoCreateReq) GetProductID() string
- func (*GroupInfoCreateReq) ProtoMessage()
- func (x *GroupInfoCreateReq) ProtoReflect() protoreflect.Message
- func (x *GroupInfoCreateReq) Reset()
- func (x *GroupInfoCreateReq) String() string
- type GroupInfoDeleteReq
- func (*GroupInfoDeleteReq) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInfoDeleteReq) GetGroupID() int64
- func (*GroupInfoDeleteReq) ProtoMessage()
- func (x *GroupInfoDeleteReq) ProtoReflect() protoreflect.Message
- func (x *GroupInfoDeleteReq) Reset()
- func (x *GroupInfoDeleteReq) String() string
- type GroupInfoIndexReq
- func (*GroupInfoIndexReq) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInfoIndexReq) GetGroupName() string
- func (x *GroupInfoIndexReq) GetPage() *PageInfo
- func (x *GroupInfoIndexReq) GetParentID() int64
- 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) GetListAll() []*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 GroupInfoReadReq
- type GroupInfoUpdateReq
- func (*GroupInfoUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInfoUpdateReq) GetDesc() string
- func (x *GroupInfoUpdateReq) GetGroupID() int64
- func (x *GroupInfoUpdateReq) GetGroupName() 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 LoginAuthReq
- func (*LoginAuthReq) Descriptor() ([]byte, []int)deprecated
- func (x *LoginAuthReq) GetCertificate() []byte
- func (x *LoginAuthReq) GetClientID() string
- func (x *LoginAuthReq) GetIp() string
- func (x *LoginAuthReq) GetPassword() string
- func (x *LoginAuthReq) GetUsername() string
- func (*LoginAuthReq) ProtoMessage()
- func (x *LoginAuthReq) ProtoReflect() protoreflect.Message
- func (x *LoginAuthReq) Reset()
- func (x *LoginAuthReq) 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) GetFiled() 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 ProductCustom
- func (*ProductCustom) Descriptor() ([]byte, []int)deprecated
- func (x *ProductCustom) GetCustomTopic() []string
- 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 ProductInfo
- func (*ProductInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProductInfo) GetAuthMode() int64
- func (x *ProductInfo) GetAutoRegister() int64
- func (x *ProductInfo) GetCategoryID() int64
- func (x *ProductInfo) GetCreatedTime() int64
- func (x *ProductInfo) GetDataProto() int64
- func (x *ProductInfo) GetDesc() *wrapperspb.StringValue
- func (x *ProductInfo) GetDevStatus() *wrapperspb.StringValue
- 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) GetSecret() string
- func (x *ProductInfo) GetTags() map[string]string
- 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) GetDeviceType() int64
- func (x *ProductInfoIndexReq) GetPage() *PageInfo
- func (x *ProductInfoIndexReq) GetProductIDs() []string
- func (x *ProductInfoIndexReq) GetProductName() string
- func (x *ProductInfoIndexReq) GetTags() map[string]string
- 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 (*ProductInfoReadReq) ProtoMessage()
- func (x *ProductInfoReadReq) ProtoReflect() protoreflect.Message
- func (x *ProductInfoReadReq) Reset()
- func (x *ProductInfoReadReq) String() string
- 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) GetIdentifiers() []string
- func (x *ProductSchemaIndexReq) GetPage() *PageInfo
- func (x *ProductSchemaIndexReq) GetProductID() string
- func (x *ProductSchemaIndexReq) GetTag() int64
- func (x *ProductSchemaIndexReq) GetType() 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) GetDesc() *wrapperspb.StringValue
- func (x *ProductSchemaInfo) GetIdentifier() string
- func (x *ProductSchemaInfo) GetName() *wrapperspb.StringValue
- func (x *ProductSchemaInfo) GetProductID() string
- func (x *ProductSchemaInfo) GetRequired() int64
- func (x *ProductSchemaInfo) GetTag() int64
- func (x *ProductSchemaInfo) GetType() int64
- func (*ProductSchemaInfo) ProtoMessage()
- func (x *ProductSchemaInfo) ProtoReflect() protoreflect.Message
- func (x *ProductSchemaInfo) Reset()
- func (x *ProductSchemaInfo) 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 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 Response
- 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 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 UnimplementedDeviceAuthServer
- func (UnimplementedDeviceAuthServer) AccessAuth(context.Context, *AccessAuthReq) (*Response, error)
- func (UnimplementedDeviceAuthServer) DeviceRegister(context.Context, *DeviceRegisterReq) (*DeviceRegisterResp, error)
- func (UnimplementedDeviceAuthServer) LoginAuth(context.Context, *LoginAuthReq) (*Response, error)
- func (UnimplementedDeviceAuthServer) RootCheck(context.Context, *RootCheckReq) (*Response, error)
- type UnimplementedDeviceGroupServer
- func (UnimplementedDeviceGroupServer) GroupDeviceIndex(context.Context, *GroupDeviceIndexReq) (*GroupDeviceIndexResp, error)
- func (UnimplementedDeviceGroupServer) GroupDeviceMultiCreate(context.Context, *GroupDeviceMultiCreateReq) (*Response, error)
- func (UnimplementedDeviceGroupServer) GroupDeviceMultiDelete(context.Context, *GroupDeviceMultiDeleteReq) (*Response, error)
- func (UnimplementedDeviceGroupServer) GroupInfoCreate(context.Context, *GroupInfoCreateReq) (*Response, error)
- func (UnimplementedDeviceGroupServer) GroupInfoDelete(context.Context, *GroupInfoDeleteReq) (*Response, error)
- func (UnimplementedDeviceGroupServer) GroupInfoIndex(context.Context, *GroupInfoIndexReq) (*GroupInfoIndexResp, error)
- func (UnimplementedDeviceGroupServer) GroupInfoRead(context.Context, *GroupInfoReadReq) (*GroupInfo, error)
- func (UnimplementedDeviceGroupServer) GroupInfoUpdate(context.Context, *GroupInfoUpdateReq) (*Response, error)
- type UnimplementedDeviceManageServer
- func (UnimplementedDeviceManageServer) DeviceGatewayIndex(context.Context, *DeviceGatewayIndexReq) (*DeviceGatewayIndexResp, error)
- func (UnimplementedDeviceManageServer) DeviceGatewayMultiCreate(context.Context, *DeviceGatewayMultiCreateReq) (*Response, error)
- func (UnimplementedDeviceManageServer) DeviceGatewayMultiDelete(context.Context, *DeviceGatewayMultiDeleteReq) (*Response, error)
- func (UnimplementedDeviceManageServer) DeviceInfoCount(context.Context, *DeviceInfoCountReq) (*DeviceInfoCountResp, error)
- func (UnimplementedDeviceManageServer) DeviceInfoCreate(context.Context, *DeviceInfo) (*Response, error)
- func (UnimplementedDeviceManageServer) DeviceInfoDelete(context.Context, *DeviceInfoDeleteReq) (*Response, error)
- func (UnimplementedDeviceManageServer) DeviceInfoIndex(context.Context, *DeviceInfoIndexReq) (*DeviceInfoIndexResp, error)
- func (UnimplementedDeviceManageServer) DeviceInfoRead(context.Context, *DeviceInfoReadReq) (*DeviceInfo, error)
- func (UnimplementedDeviceManageServer) DeviceInfoUpdate(context.Context, *DeviceInfo) (*Response, error)
- func (UnimplementedDeviceManageServer) DeviceTypeCount(context.Context, *DeviceTypeCountReq) (*DeviceTypeCountResp, error)
- type UnimplementedProductManageServer
- func (UnimplementedProductManageServer) ProductCustomRead(context.Context, *ProductCustomReadReq) (*ProductCustom, error)
- func (UnimplementedProductManageServer) ProductCustomUpdate(context.Context, *ProductCustom) (*Response, error)
- func (UnimplementedProductManageServer) ProductInfoCreate(context.Context, *ProductInfo) (*Response, error)
- func (UnimplementedProductManageServer) ProductInfoDelete(context.Context, *ProductInfoDeleteReq) (*Response, error)
- func (UnimplementedProductManageServer) ProductInfoIndex(context.Context, *ProductInfoIndexReq) (*ProductInfoIndexResp, error)
- func (UnimplementedProductManageServer) ProductInfoRead(context.Context, *ProductInfoReadReq) (*ProductInfo, error)
- func (UnimplementedProductManageServer) ProductInfoUpdate(context.Context, *ProductInfo) (*Response, error)
- func (UnimplementedProductManageServer) ProductSchemaCreate(context.Context, *ProductSchemaCreateReq) (*Response, error)
- func (UnimplementedProductManageServer) ProductSchemaDelete(context.Context, *ProductSchemaDeleteReq) (*Response, error)
- func (UnimplementedProductManageServer) ProductSchemaIndex(context.Context, *ProductSchemaIndexReq) (*ProductSchemaIndexResp, error)
- func (UnimplementedProductManageServer) ProductSchemaTslImport(context.Context, *ProductSchemaTslImportReq) (*Response, error)
- func (UnimplementedProductManageServer) ProductSchemaTslRead(context.Context, *ProductSchemaTslReadReq) (*ProductSchemaTslReadResp, error)
- func (UnimplementedProductManageServer) ProductSchemaUpdate(context.Context, *ProductSchemaUpdateReq) (*Response, error)
- type UnimplementedRemoteConfigServer
- func (UnimplementedRemoteConfigServer) RemoteConfigCreate(context.Context, *RemoteConfigCreateReq) (*Response, error)
- func (UnimplementedRemoteConfigServer) RemoteConfigIndex(context.Context, *RemoteConfigIndexReq) (*RemoteConfigIndexResp, error)
- func (UnimplementedRemoteConfigServer) RemoteConfigLastRead(context.Context, *RemoteConfigLastReadReq) (*RemoteConfigLastReadResp, error)
- func (UnimplementedRemoteConfigServer) RemoteConfigPushAll(context.Context, *RemoteConfigPushAllReq) (*Response, error)
- type UnsafeDeviceAuthServer
- type UnsafeDeviceGroupServer
- type UnsafeDeviceManageServer
- type UnsafeProductManageServer
- type UnsafeRemoteConfigServer
Constants ¶
This section is empty.
Variables ¶
var DeviceAuth_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dm.DeviceAuth", HandlerType: (*DeviceAuthServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "loginAuth", Handler: _DeviceAuth_LoginAuth_Handler, }, { MethodName: "accessAuth", Handler: _DeviceAuth_AccessAuth_Handler, }, { MethodName: "rootCheck", Handler: _DeviceAuth_RootCheck_Handler, }, { MethodName: "deviceRegister", Handler: _DeviceAuth_DeviceRegister_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/dm.proto", }
DeviceAuth_ServiceDesc is the grpc.ServiceDesc for DeviceAuth service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeviceGroup_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dm.DeviceGroup", HandlerType: (*DeviceGroupServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "groupInfoCreate", Handler: _DeviceGroup_GroupInfoCreate_Handler, }, { MethodName: "groupInfoIndex", Handler: _DeviceGroup_GroupInfoIndex_Handler, }, { MethodName: "groupInfoRead", Handler: _DeviceGroup_GroupInfoRead_Handler, }, { MethodName: "groupInfoUpdate", Handler: _DeviceGroup_GroupInfoUpdate_Handler, }, { MethodName: "groupInfoDelete", Handler: _DeviceGroup_GroupInfoDelete_Handler, }, { MethodName: "groupDeviceMultiCreate", Handler: _DeviceGroup_GroupDeviceMultiCreate_Handler, }, { MethodName: "groupDeviceIndex", Handler: _DeviceGroup_GroupDeviceIndex_Handler, }, { MethodName: "groupDeviceMultiDelete", Handler: _DeviceGroup_GroupDeviceMultiDelete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/dm.proto", }
DeviceGroup_ServiceDesc is the grpc.ServiceDesc for DeviceGroup service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeviceManage_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dm.DeviceManage", HandlerType: (*DeviceManageServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "deviceInfoCreate", Handler: _DeviceManage_DeviceInfoCreate_Handler, }, { MethodName: "deviceInfoUpdate", Handler: _DeviceManage_DeviceInfoUpdate_Handler, }, { MethodName: "deviceInfoDelete", Handler: _DeviceManage_DeviceInfoDelete_Handler, }, { MethodName: "deviceInfoIndex", Handler: _DeviceManage_DeviceInfoIndex_Handler, }, { MethodName: "deviceInfoRead", Handler: _DeviceManage_DeviceInfoRead_Handler, }, { MethodName: "deviceGatewayMultiCreate", Handler: _DeviceManage_DeviceGatewayMultiCreate_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, }, }, 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 File_proto_dm_proto protoreflect.FileDescriptor
var File_proto_schemaInfo_proto protoreflect.FileDescriptor
var ProductManage_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dm.ProductManage", HandlerType: (*ProductManageServer)(nil), Methods: []grpc.MethodDesc{ { 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: "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, }, }, 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 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)
Functions ¶
func RegisterDeviceAuthServer ¶
func RegisterDeviceAuthServer(s grpc.ServiceRegistrar, srv DeviceAuthServer)
func RegisterDeviceGroupServer ¶
func RegisterDeviceGroupServer(s grpc.ServiceRegistrar, srv DeviceGroupServer)
func RegisterDeviceManageServer ¶
func RegisterDeviceManageServer(s grpc.ServiceRegistrar, srv DeviceManageServer)
func RegisterProductManageServer ¶
func RegisterProductManageServer(s grpc.ServiceRegistrar, srv ProductManageServer)
func RegisterRemoteConfigServer ¶ added in v0.3.0
func RegisterRemoteConfigServer(s grpc.ServiceRegistrar, srv RemoteConfigServer)
Types ¶
type AccessAuthReq ¶
type AccessAuthReq struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` //用户名 Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` //主题 ClientID string `protobuf:"bytes,3,opt,name=clientID,proto3" json:"clientID,omitempty"` //clientID Access string `protobuf:"bytes,4,opt,name=access,proto3" json:"access,omitempty"` //操作 Ip string `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"` //访问的ip地址 // contains filtered or unexported fields }
func (*AccessAuthReq) Descriptor
deprecated
func (*AccessAuthReq) Descriptor() ([]byte, []int)
Deprecated: Use AccessAuthReq.ProtoReflect.Descriptor instead.
func (*AccessAuthReq) GetAccess ¶
func (x *AccessAuthReq) GetAccess() string
func (*AccessAuthReq) GetClientID ¶
func (x *AccessAuthReq) GetClientID() string
func (*AccessAuthReq) GetIp ¶
func (x *AccessAuthReq) GetIp() string
func (*AccessAuthReq) GetTopic ¶
func (x *AccessAuthReq) GetTopic() string
func (*AccessAuthReq) GetUsername ¶
func (x *AccessAuthReq) GetUsername() string
func (*AccessAuthReq) ProtoMessage ¶
func (*AccessAuthReq) ProtoMessage()
func (*AccessAuthReq) ProtoReflect ¶
func (x *AccessAuthReq) ProtoReflect() protoreflect.Message
func (*AccessAuthReq) Reset ¶
func (x *AccessAuthReq) Reset()
func (*AccessAuthReq) String ¶
func (x *AccessAuthReq) String() string
type DeviceAuthClient ¶
type DeviceAuthClient interface { //设备登录认证 LoginAuth(ctx context.Context, in *LoginAuthReq, opts ...grpc.CallOption) (*Response, error) //设备操作认证 AccessAuth(ctx context.Context, in *AccessAuthReq, opts ...grpc.CallOption) (*Response, error) //鉴定是否是root账号 RootCheck(ctx context.Context, in *RootCheckReq, opts ...grpc.CallOption) (*Response, error) //设备动态注册 DeviceRegister(ctx context.Context, in *DeviceRegisterReq, opts ...grpc.CallOption) (*DeviceRegisterResp, error) }
DeviceAuthClient is the client API for DeviceAuth 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 NewDeviceAuthClient ¶
func NewDeviceAuthClient(cc grpc.ClientConnInterface) DeviceAuthClient
type DeviceAuthServer ¶
type DeviceAuthServer interface { //设备登录认证 LoginAuth(context.Context, *LoginAuthReq) (*Response, error) //设备操作认证 AccessAuth(context.Context, *AccessAuthReq) (*Response, error) //鉴定是否是root账号 RootCheck(context.Context, *RootCheckReq) (*Response, error) //设备动态注册 DeviceRegister(context.Context, *DeviceRegisterReq) (*DeviceRegisterResp, error) // contains filtered or unexported methods }
DeviceAuthServer is the server API for DeviceAuth service. All implementations must embed UnimplementedDeviceAuthServer for forward compatibility
type DeviceCore ¶ added in v0.3.0
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
added in
v0.3.0
func (*DeviceCore) Descriptor() ([]byte, []int)
Deprecated: Use DeviceCore.ProtoReflect.Descriptor instead.
func (*DeviceCore) GetDeviceName ¶ added in v0.3.0
func (x *DeviceCore) GetDeviceName() string
func (*DeviceCore) GetProductID ¶ added in v0.3.0
func (x *DeviceCore) GetProductID() string
func (*DeviceCore) ProtoMessage ¶ added in v0.3.0
func (*DeviceCore) ProtoMessage()
func (*DeviceCore) ProtoReflect ¶ added in v0.3.0
func (x *DeviceCore) ProtoReflect() protoreflect.Message
func (*DeviceCore) Reset ¶ added in v0.3.0
func (x *DeviceCore) Reset()
func (*DeviceCore) String ¶ added in v0.3.0
func (x *DeviceCore) String() string
type DeviceGatewayBindDevice ¶ added in v0.5.1
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
added in
v0.5.1
func (*DeviceGatewayBindDevice) Descriptor() ([]byte, []int)
Deprecated: Use DeviceGatewayBindDevice.ProtoReflect.Descriptor instead.
func (*DeviceGatewayBindDevice) GetDeviceName ¶ added in v0.5.1
func (x *DeviceGatewayBindDevice) GetDeviceName() string
func (*DeviceGatewayBindDevice) GetProductID ¶ added in v0.5.1
func (x *DeviceGatewayBindDevice) GetProductID() string
func (*DeviceGatewayBindDevice) GetSign ¶ added in v0.5.1
func (x *DeviceGatewayBindDevice) GetSign() *DeviceGatewaySign
func (*DeviceGatewayBindDevice) ProtoMessage ¶ added in v0.5.1
func (*DeviceGatewayBindDevice) ProtoMessage()
func (*DeviceGatewayBindDevice) ProtoReflect ¶ added in v0.5.1
func (x *DeviceGatewayBindDevice) ProtoReflect() protoreflect.Message
func (*DeviceGatewayBindDevice) Reset ¶ added in v0.5.1
func (x *DeviceGatewayBindDevice) Reset()
func (*DeviceGatewayBindDevice) String ¶ added in v0.5.1
func (x *DeviceGatewayBindDevice) String() string
type DeviceGatewayIndexReq ¶ added in v0.3.0
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
added in
v0.3.0
func (*DeviceGatewayIndexReq) Descriptor() ([]byte, []int)
Deprecated: Use DeviceGatewayIndexReq.ProtoReflect.Descriptor instead.
func (*DeviceGatewayIndexReq) GetGateway ¶ added in v0.5.1
func (x *DeviceGatewayIndexReq) GetGateway() *DeviceCore
func (*DeviceGatewayIndexReq) GetPage ¶ added in v0.3.0
func (x *DeviceGatewayIndexReq) GetPage() *PageInfo
func (*DeviceGatewayIndexReq) GetSubDevice ¶ added in v0.5.1
func (x *DeviceGatewayIndexReq) GetSubDevice() *DeviceCore
func (*DeviceGatewayIndexReq) ProtoMessage ¶ added in v0.3.0
func (*DeviceGatewayIndexReq) ProtoMessage()
func (*DeviceGatewayIndexReq) ProtoReflect ¶ added in v0.3.0
func (x *DeviceGatewayIndexReq) ProtoReflect() protoreflect.Message
func (*DeviceGatewayIndexReq) Reset ¶ added in v0.3.0
func (x *DeviceGatewayIndexReq) Reset()
func (*DeviceGatewayIndexReq) String ¶ added in v0.3.0
func (x *DeviceGatewayIndexReq) String() string
type DeviceGatewayIndexResp ¶ added in v0.3.0
type DeviceGatewayIndexResp 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 (*DeviceGatewayIndexResp) Descriptor
deprecated
added in
v0.3.0
func (*DeviceGatewayIndexResp) Descriptor() ([]byte, []int)
Deprecated: Use DeviceGatewayIndexResp.ProtoReflect.Descriptor instead.
func (*DeviceGatewayIndexResp) GetList ¶ added in v0.3.0
func (x *DeviceGatewayIndexResp) GetList() []*DeviceInfo
func (*DeviceGatewayIndexResp) GetTotal ¶ added in v0.3.0
func (x *DeviceGatewayIndexResp) GetTotal() int64
func (*DeviceGatewayIndexResp) ProtoMessage ¶ added in v0.3.0
func (*DeviceGatewayIndexResp) ProtoMessage()
func (*DeviceGatewayIndexResp) ProtoReflect ¶ added in v0.3.0
func (x *DeviceGatewayIndexResp) ProtoReflect() protoreflect.Message
func (*DeviceGatewayIndexResp) Reset ¶ added in v0.3.0
func (x *DeviceGatewayIndexResp) Reset()
func (*DeviceGatewayIndexResp) String ¶ added in v0.3.0
func (x *DeviceGatewayIndexResp) String() string
type DeviceGatewayMultiCreateReq ¶ added in v0.3.0
type DeviceGatewayMultiCreateReq struct { GatewayProductID string `protobuf:"bytes,1,opt,name=gatewayProductID,proto3" json:"gatewayProductID,omitempty"` GatewayDeviceName string `protobuf:"bytes,2,opt,name=gatewayDeviceName,proto3" json:"gatewayDeviceName,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
added in
v0.3.0
func (*DeviceGatewayMultiCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use DeviceGatewayMultiCreateReq.ProtoReflect.Descriptor instead.
func (*DeviceGatewayMultiCreateReq) GetGatewayDeviceName ¶ added in v0.3.0
func (x *DeviceGatewayMultiCreateReq) GetGatewayDeviceName() string
func (*DeviceGatewayMultiCreateReq) GetGatewayProductID ¶ added in v0.3.0
func (x *DeviceGatewayMultiCreateReq) GetGatewayProductID() string
func (*DeviceGatewayMultiCreateReq) GetIsAuthSign ¶ added in v0.5.1
func (x *DeviceGatewayMultiCreateReq) GetIsAuthSign() bool
func (*DeviceGatewayMultiCreateReq) GetList ¶ added in v0.3.0
func (x *DeviceGatewayMultiCreateReq) GetList() []*DeviceGatewayBindDevice
func (*DeviceGatewayMultiCreateReq) ProtoMessage ¶ added in v0.3.0
func (*DeviceGatewayMultiCreateReq) ProtoMessage()
func (*DeviceGatewayMultiCreateReq) ProtoReflect ¶ added in v0.3.0
func (x *DeviceGatewayMultiCreateReq) ProtoReflect() protoreflect.Message
func (*DeviceGatewayMultiCreateReq) Reset ¶ added in v0.3.0
func (x *DeviceGatewayMultiCreateReq) Reset()
func (*DeviceGatewayMultiCreateReq) String ¶ added in v0.3.0
func (x *DeviceGatewayMultiCreateReq) String() string
type DeviceGatewayMultiDeleteReq ¶ added in v0.3.0
type DeviceGatewayMultiDeleteReq struct { GatewayProductID string `protobuf:"bytes,1,opt,name=gatewayProductID,proto3" json:"gatewayProductID,omitempty"` GatewayDeviceName string `protobuf:"bytes,2,opt,name=gatewayDeviceName,proto3" json:"gatewayDeviceName,omitempty"` List []*DeviceCore `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*DeviceGatewayMultiDeleteReq) Descriptor
deprecated
added in
v0.3.0
func (*DeviceGatewayMultiDeleteReq) Descriptor() ([]byte, []int)
Deprecated: Use DeviceGatewayMultiDeleteReq.ProtoReflect.Descriptor instead.
func (*DeviceGatewayMultiDeleteReq) GetGatewayDeviceName ¶ added in v0.3.0
func (x *DeviceGatewayMultiDeleteReq) GetGatewayDeviceName() string
func (*DeviceGatewayMultiDeleteReq) GetGatewayProductID ¶ added in v0.3.0
func (x *DeviceGatewayMultiDeleteReq) GetGatewayProductID() string
func (*DeviceGatewayMultiDeleteReq) GetList ¶ added in v0.3.0
func (x *DeviceGatewayMultiDeleteReq) GetList() []*DeviceCore
func (*DeviceGatewayMultiDeleteReq) ProtoMessage ¶ added in v0.3.0
func (*DeviceGatewayMultiDeleteReq) ProtoMessage()
func (*DeviceGatewayMultiDeleteReq) ProtoReflect ¶ added in v0.3.0
func (x *DeviceGatewayMultiDeleteReq) ProtoReflect() protoreflect.Message
func (*DeviceGatewayMultiDeleteReq) Reset ¶ added in v0.3.0
func (x *DeviceGatewayMultiDeleteReq) Reset()
func (*DeviceGatewayMultiDeleteReq) String ¶ added in v0.3.0
func (x *DeviceGatewayMultiDeleteReq) String() string
type DeviceGatewaySign ¶ added in v0.5.1
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
added in
v0.5.1
func (*DeviceGatewaySign) Descriptor() ([]byte, []int)
Deprecated: Use DeviceGatewaySign.ProtoReflect.Descriptor instead.
func (*DeviceGatewaySign) GetRandom ¶ added in v0.5.1
func (x *DeviceGatewaySign) GetRandom() int64
func (*DeviceGatewaySign) GetSignMethod ¶ added in v0.5.1
func (x *DeviceGatewaySign) GetSignMethod() string
func (*DeviceGatewaySign) GetSignature ¶ added in v0.5.1
func (x *DeviceGatewaySign) GetSignature() string
func (*DeviceGatewaySign) GetTimestamp ¶ added in v0.5.1
func (x *DeviceGatewaySign) GetTimestamp() int64
func (*DeviceGatewaySign) ProtoMessage ¶ added in v0.5.1
func (*DeviceGatewaySign) ProtoMessage()
func (*DeviceGatewaySign) ProtoReflect ¶ added in v0.5.1
func (x *DeviceGatewaySign) ProtoReflect() protoreflect.Message
func (*DeviceGatewaySign) Reset ¶ added in v0.5.1
func (x *DeviceGatewaySign) Reset()
func (*DeviceGatewaySign) String ¶ added in v0.5.1
func (x *DeviceGatewaySign) String() string
type DeviceGroupClient ¶
type DeviceGroupClient interface { //创建分组 GroupInfoCreate(ctx context.Context, in *GroupInfoCreateReq, opts ...grpc.CallOption) (*Response, error) //获取分组信息列表 GroupInfoIndex(ctx context.Context, in *GroupInfoIndexReq, opts ...grpc.CallOption) (*GroupInfoIndexResp, error) //获取分组信息详情 GroupInfoRead(ctx context.Context, in *GroupInfoReadReq, opts ...grpc.CallOption) (*GroupInfo, error) //更新分组 GroupInfoUpdate(ctx context.Context, in *GroupInfoUpdateReq, opts ...grpc.CallOption) (*Response, error) //删除分组 GroupInfoDelete(ctx context.Context, in *GroupInfoDeleteReq, opts ...grpc.CallOption) (*Response, error) //创建分组设备 GroupDeviceMultiCreate(ctx context.Context, in *GroupDeviceMultiCreateReq, opts ...grpc.CallOption) (*Response, error) //获取分组设备信息列表 GroupDeviceIndex(ctx context.Context, in *GroupDeviceIndexReq, opts ...grpc.CallOption) (*GroupDeviceIndexResp, error) //删除分组设备 GroupDeviceMultiDelete(ctx context.Context, in *GroupDeviceMultiDeleteReq, opts ...grpc.CallOption) (*Response, 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, *GroupInfoCreateReq) (*Response, error) //获取分组信息列表 GroupInfoIndex(context.Context, *GroupInfoIndexReq) (*GroupInfoIndexResp, error) //获取分组信息详情 GroupInfoRead(context.Context, *GroupInfoReadReq) (*GroupInfo, error) //更新分组 GroupInfoUpdate(context.Context, *GroupInfoUpdateReq) (*Response, error) //删除分组 GroupInfoDelete(context.Context, *GroupInfoDeleteReq) (*Response, error) //创建分组设备 GroupDeviceMultiCreate(context.Context, *GroupDeviceMultiCreateReq) (*Response, error) //获取分组设备信息列表 GroupDeviceIndex(context.Context, *GroupDeviceIndexReq) (*GroupDeviceIndexResp, error) //删除分组设备 GroupDeviceMultiDelete(context.Context, *GroupDeviceMultiDeleteReq) (*Response, 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 { ProductID string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"` //产品id 只读 ProjectID *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=projectID,proto3" json:"projectID,omitempty"` //项目id 只读(nil不更新,0为未分类,other则更新) AreaID *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=areaID,proto3" json:"areaID,omitempty"` //项目区域id 只读(nil不更新,0为未分类,other则更新) 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"` // 所在地址 读写 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"` //激活时间 只读 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卡卡号 // contains filtered or unexported fields }
func (*DeviceInfo) Descriptor
deprecated
func (*DeviceInfo) Descriptor() ([]byte, []int)
Deprecated: Use DeviceInfo.ProtoReflect.Descriptor instead.
func (*DeviceInfo) GetAddress ¶ added in v0.3.0
func (x *DeviceInfo) GetAddress() *wrapperspb.StringValue
func (*DeviceInfo) GetAreaID ¶ added in v0.5.1
func (x *DeviceInfo) GetAreaID() *wrapperspb.Int64Value
func (*DeviceInfo) GetCert ¶
func (x *DeviceInfo) GetCert() string
func (*DeviceInfo) GetCreatedTime ¶
func (x *DeviceInfo) GetCreatedTime() int64
func (*DeviceInfo) GetDeviceAlias ¶ added in v0.5.1
func (x *DeviceInfo) GetDeviceAlias() *wrapperspb.StringValue
func (*DeviceInfo) GetDeviceName ¶
func (x *DeviceInfo) GetDeviceName() string
func (*DeviceInfo) GetFirstLogin ¶
func (x *DeviceInfo) GetFirstLogin() int64
func (*DeviceInfo) GetHardInfo ¶ added in v0.5.1
func (x *DeviceInfo) GetHardInfo() string
func (*DeviceInfo) GetIccid ¶ added in v0.5.1
func (x *DeviceInfo) GetIccid() *wrapperspb.StringValue
func (*DeviceInfo) GetImei ¶ added in v0.5.1
func (x *DeviceInfo) GetImei() string
func (*DeviceInfo) GetIsOnline ¶
func (x *DeviceInfo) GetIsOnline() int64
func (*DeviceInfo) GetLastLogin ¶
func (x *DeviceInfo) GetLastLogin() int64
func (*DeviceInfo) GetLogLevel ¶
func (x *DeviceInfo) GetLogLevel() int64
func (*DeviceInfo) GetMac ¶ added in v0.5.1
func (x *DeviceInfo) GetMac() string
func (*DeviceInfo) GetMobileOperator ¶ added in v0.5.1
func (x *DeviceInfo) GetMobileOperator() int64
func (*DeviceInfo) GetPhone ¶ added in v0.5.1
func (x *DeviceInfo) GetPhone() *wrapperspb.StringValue
func (*DeviceInfo) GetPosition ¶ added in v0.3.0
func (x *DeviceInfo) GetPosition() *Point
func (*DeviceInfo) GetProductID ¶
func (x *DeviceInfo) GetProductID() string
func (*DeviceInfo) GetProductName ¶ added in v0.5.1
func (x *DeviceInfo) GetProductName() string
func (*DeviceInfo) GetProjectID ¶ added in v0.5.1
func (x *DeviceInfo) GetProjectID() *wrapperspb.Int64Value
func (*DeviceInfo) GetSecret ¶
func (x *DeviceInfo) GetSecret() string
func (*DeviceInfo) GetSoftInfo ¶ added in v0.5.1
func (x *DeviceInfo) GetSoftInfo() string
func (*DeviceInfo) GetTags ¶
func (x *DeviceInfo) GetTags() map[string]string
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 DeviceInfoCountReq ¶ added in v0.3.0
type DeviceInfoCountReq struct { StartTime int64 `protobuf:"varint,1,opt,name=startTime,proto3" json:"startTime,omitempty"` // 查询区间 开始 EndTime int64 `protobuf:"varint,2,opt,name=endTime,proto3" json:"endTime,omitempty"` // 查询区间 结束 // contains filtered or unexported fields }
func (*DeviceInfoCountReq) Descriptor
deprecated
added in
v0.3.0
func (*DeviceInfoCountReq) Descriptor() ([]byte, []int)
Deprecated: Use DeviceInfoCountReq.ProtoReflect.Descriptor instead.
func (*DeviceInfoCountReq) GetEndTime ¶ added in v0.3.0
func (x *DeviceInfoCountReq) GetEndTime() int64
func (*DeviceInfoCountReq) GetStartTime ¶ added in v0.3.0
func (x *DeviceInfoCountReq) GetStartTime() int64
func (*DeviceInfoCountReq) ProtoMessage ¶ added in v0.3.0
func (*DeviceInfoCountReq) ProtoMessage()
func (*DeviceInfoCountReq) ProtoReflect ¶ added in v0.3.0
func (x *DeviceInfoCountReq) ProtoReflect() protoreflect.Message
func (*DeviceInfoCountReq) Reset ¶ added in v0.3.0
func (x *DeviceInfoCountReq) Reset()
func (*DeviceInfoCountReq) String ¶ added in v0.3.0
func (x *DeviceInfoCountReq) String() string
type DeviceInfoCountResp ¶ added in v0.3.0
type DeviceInfoCountResp 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"` // contains filtered or unexported fields }
func (*DeviceInfoCountResp) Descriptor
deprecated
added in
v0.3.0
func (*DeviceInfoCountResp) Descriptor() ([]byte, []int)
Deprecated: Use DeviceInfoCountResp.ProtoReflect.Descriptor instead.
func (*DeviceInfoCountResp) GetInactive ¶ added in v0.3.0
func (x *DeviceInfoCountResp) GetInactive() int64
func (*DeviceInfoCountResp) GetOffline ¶ added in v0.3.0
func (x *DeviceInfoCountResp) GetOffline() int64
func (*DeviceInfoCountResp) GetOnline ¶ added in v0.3.0
func (x *DeviceInfoCountResp) GetOnline() int64
func (*DeviceInfoCountResp) GetUnknown ¶ added in v0.3.0
func (x *DeviceInfoCountResp) GetUnknown() int64
func (*DeviceInfoCountResp) ProtoMessage ¶ added in v0.3.0
func (*DeviceInfoCountResp) ProtoMessage()
func (*DeviceInfoCountResp) ProtoReflect ¶ added in v0.3.0
func (x *DeviceInfoCountResp) ProtoReflect() protoreflect.Message
func (*DeviceInfoCountResp) Reset ¶ added in v0.3.0
func (x *DeviceInfoCountResp) Reset()
func (*DeviceInfoCountResp) String ¶ added in v0.3.0
func (x *DeviceInfoCountResp) 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 DeviceName string `protobuf:"bytes,3,opt,name=deviceName,proto3" json:"deviceName,omitempty"` //过滤条件:模糊查询 设备名 DeviceNames []string `protobuf:"bytes,4,rep,name=deviceNames,proto3" json:"deviceNames,omitempty"` //过滤条件:精准查询 设备名 Tags map[string]string `` //key tag过滤查询,非模糊查询 为tag的名,value为tag对应的值 /* 149-byte string literal not displayed */ Range int64 `protobuf:"varint,6,opt,name=range,proto3" json:"range,omitempty"` //过滤条件:取距离坐标点固定范围内的设备 Position *Point `protobuf:"bytes,7,opt,name=Position,proto3" json:"Position,omitempty"` //设备定位,默认百度坐标系 AreaIDs []int64 `protobuf:"varint,8,rep,packed,name=areaIDs,proto3" json:"areaIDs,omitempty"` //区域ids DeviceAlias string `protobuf:"bytes,9,opt,name=deviceAlias,proto3" json:"deviceAlias,omitempty"` //过滤条件:模糊查询 设备别名 IsOnline int64 `protobuf:"varint,10,opt,name=isOnline,proto3" json:"isOnline,omitempty"` //在线状态过滤 1离线 2在线 // contains filtered or unexported fields }
func (*DeviceInfoIndexReq) Descriptor
deprecated
func (*DeviceInfoIndexReq) Descriptor() ([]byte, []int)
Deprecated: Use DeviceInfoIndexReq.ProtoReflect.Descriptor instead.
func (*DeviceInfoIndexReq) GetAreaIDs ¶ added in v0.5.1
func (x *DeviceInfoIndexReq) GetAreaIDs() []int64
func (*DeviceInfoIndexReq) GetDeviceAlias ¶ added in v0.5.1
func (x *DeviceInfoIndexReq) GetDeviceAlias() string
func (*DeviceInfoIndexReq) GetDeviceName ¶
func (x *DeviceInfoIndexReq) GetDeviceName() string
func (*DeviceInfoIndexReq) GetDeviceNames ¶ added in v0.5.1
func (x *DeviceInfoIndexReq) GetDeviceNames() []string
func (*DeviceInfoIndexReq) GetIsOnline ¶ added in v0.6.0
func (x *DeviceInfoIndexReq) GetIsOnline() int64
func (*DeviceInfoIndexReq) GetPage ¶
func (x *DeviceInfoIndexReq) GetPage() *PageInfo
func (*DeviceInfoIndexReq) GetPosition ¶ added in v0.3.0
func (x *DeviceInfoIndexReq) GetPosition() *Point
func (*DeviceInfoIndexReq) GetProductID ¶
func (x *DeviceInfoIndexReq) GetProductID() string
func (*DeviceInfoIndexReq) GetRange ¶ added in v0.3.0
func (x *DeviceInfoIndexReq) GetRange() int64
func (*DeviceInfoIndexReq) GetTags ¶
func (x *DeviceInfoIndexReq) GetTags() map[string]string
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 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"` //设备名称 // 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) 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 DeviceManageClient ¶
type DeviceManageClient interface { //新增设备 DeviceInfoCreate(ctx context.Context, in *DeviceInfo, opts ...grpc.CallOption) (*Response, error) //更新设备 DeviceInfoUpdate(ctx context.Context, in *DeviceInfo, opts ...grpc.CallOption) (*Response, error) //删除设备 DeviceInfoDelete(ctx context.Context, in *DeviceInfoDeleteReq, opts ...grpc.CallOption) (*Response, error) //获取设备信息列表 DeviceInfoIndex(ctx context.Context, in *DeviceInfoIndexReq, opts ...grpc.CallOption) (*DeviceInfoIndexResp, error) //获取设备信息详情 DeviceInfoRead(ctx context.Context, in *DeviceInfoReadReq, opts ...grpc.CallOption) (*DeviceInfo, error) //绑定网关下子设备设备 DeviceGatewayMultiCreate(ctx context.Context, in *DeviceGatewayMultiCreateReq, opts ...grpc.CallOption) (*Response, error) //获取绑定信息的设备信息列表 DeviceGatewayIndex(ctx context.Context, in *DeviceGatewayIndexReq, opts ...grpc.CallOption) (*DeviceGatewayIndexResp, error) //删除网关下子设备 DeviceGatewayMultiDelete(ctx context.Context, in *DeviceGatewayMultiDeleteReq, opts ...grpc.CallOption) (*Response, error) //设备计数 DeviceInfoCount(ctx context.Context, in *DeviceInfoCountReq, opts ...grpc.CallOption) (*DeviceInfoCountResp, error) //设备类型 DeviceTypeCount(ctx context.Context, in *DeviceTypeCountReq, opts ...grpc.CallOption) (*DeviceTypeCountResp, 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 { //新增设备 DeviceInfoCreate(context.Context, *DeviceInfo) (*Response, error) //更新设备 DeviceInfoUpdate(context.Context, *DeviceInfo) (*Response, error) //删除设备 DeviceInfoDelete(context.Context, *DeviceInfoDeleteReq) (*Response, error) //获取设备信息列表 DeviceInfoIndex(context.Context, *DeviceInfoIndexReq) (*DeviceInfoIndexResp, error) //获取设备信息详情 DeviceInfoRead(context.Context, *DeviceInfoReadReq) (*DeviceInfo, error) //绑定网关下子设备设备 DeviceGatewayMultiCreate(context.Context, *DeviceGatewayMultiCreateReq) (*Response, error) //获取绑定信息的设备信息列表 DeviceGatewayIndex(context.Context, *DeviceGatewayIndexReq) (*DeviceGatewayIndexResp, error) //删除网关下子设备 DeviceGatewayMultiDelete(context.Context, *DeviceGatewayMultiDeleteReq) (*Response, error) //设备计数 DeviceInfoCount(context.Context, *DeviceInfoCountReq) (*DeviceInfoCountResp, error) //设备类型 DeviceTypeCount(context.Context, *DeviceTypeCountReq) (*DeviceTypeCountResp, error) // contains filtered or unexported methods }
DeviceManageServer is the server API for DeviceManage service. All implementations must embed UnimplementedDeviceManageServer for forward compatibility
type DeviceRegisterReq ¶ added in v0.5.1
type DeviceRegisterReq 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"` //设备名称 Nonce int64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` //随机数 Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` //秒级时间戳 Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` //签名信息 // contains filtered or unexported fields }
func (*DeviceRegisterReq) Descriptor
deprecated
added in
v0.5.1
func (*DeviceRegisterReq) Descriptor() ([]byte, []int)
Deprecated: Use DeviceRegisterReq.ProtoReflect.Descriptor instead.
func (*DeviceRegisterReq) GetDeviceName ¶ added in v0.5.1
func (x *DeviceRegisterReq) GetDeviceName() string
func (*DeviceRegisterReq) GetNonce ¶ added in v0.5.1
func (x *DeviceRegisterReq) GetNonce() int64
func (*DeviceRegisterReq) GetProductID ¶ added in v0.5.1
func (x *DeviceRegisterReq) GetProductID() string
func (*DeviceRegisterReq) GetSignature ¶ added in v0.5.1
func (x *DeviceRegisterReq) GetSignature() string
func (*DeviceRegisterReq) GetTimestamp ¶ added in v0.5.1
func (x *DeviceRegisterReq) GetTimestamp() int64
func (*DeviceRegisterReq) ProtoMessage ¶ added in v0.5.1
func (*DeviceRegisterReq) ProtoMessage()
func (*DeviceRegisterReq) ProtoReflect ¶ added in v0.5.1
func (x *DeviceRegisterReq) ProtoReflect() protoreflect.Message
func (*DeviceRegisterReq) Reset ¶ added in v0.5.1
func (x *DeviceRegisterReq) Reset()
func (*DeviceRegisterReq) String ¶ added in v0.5.1
func (x *DeviceRegisterReq) String() string
type DeviceRegisterResp ¶ added in v0.5.1
type DeviceRegisterResp struct { Len int64 `protobuf:"varint,1,opt,name=len,proto3" json:"len,omitempty"` //payload加密前信息的长度 // //加密过程将原始 JSON 格式的 payload 转为字符串后进行 AES 加密,再进行 base64 加密。AES 加密算法为 CBC 模式,密钥长度128,取 productSecret 前16位,偏移量为长度16的字符“0”。 //原始 payload 内容说明: //key value 描述 //encryptionType 1 加密类型,1表示证书认证,2表示签名认证。 //psk 1239 设备密钥,当产品认证类型为签名认证时有此参数 //clientCert - 设备证书文件字符串格式,当产品认证类型为证书认证时有此参数。 //clientKey - 设备私钥文件字符串格式,当产品认证类型为证书认证时有此参数。 Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*DeviceRegisterResp) Descriptor
deprecated
added in
v0.5.1
func (*DeviceRegisterResp) Descriptor() ([]byte, []int)
Deprecated: Use DeviceRegisterResp.ProtoReflect.Descriptor instead.
func (*DeviceRegisterResp) GetLen ¶ added in v0.5.1
func (x *DeviceRegisterResp) GetLen() int64
func (*DeviceRegisterResp) GetPayload ¶ added in v0.5.1
func (x *DeviceRegisterResp) GetPayload() string
func (*DeviceRegisterResp) ProtoMessage ¶ added in v0.5.1
func (*DeviceRegisterResp) ProtoMessage()
func (*DeviceRegisterResp) ProtoReflect ¶ added in v0.5.1
func (x *DeviceRegisterResp) ProtoReflect() protoreflect.Message
func (*DeviceRegisterResp) Reset ¶ added in v0.5.1
func (x *DeviceRegisterResp) Reset()
func (*DeviceRegisterResp) String ¶ added in v0.5.1
func (x *DeviceRegisterResp) String() string
type DeviceTypeCountReq ¶ added in v0.3.0
type DeviceTypeCountReq struct { StartTime int64 `protobuf:"varint,1,opt,name=startTime,proto3" json:"startTime,omitempty"` // 查询区间 开始 EndTime int64 `protobuf:"varint,2,opt,name=endTime,proto3" json:"endTime,omitempty"` // 查询区间 结束 // contains filtered or unexported fields }
func (*DeviceTypeCountReq) Descriptor
deprecated
added in
v0.3.0
func (*DeviceTypeCountReq) Descriptor() ([]byte, []int)
Deprecated: Use DeviceTypeCountReq.ProtoReflect.Descriptor instead.
func (*DeviceTypeCountReq) GetEndTime ¶ added in v0.3.0
func (x *DeviceTypeCountReq) GetEndTime() int64
func (*DeviceTypeCountReq) GetStartTime ¶ added in v0.3.0
func (x *DeviceTypeCountReq) GetStartTime() int64
func (*DeviceTypeCountReq) ProtoMessage ¶ added in v0.3.0
func (*DeviceTypeCountReq) ProtoMessage()
func (*DeviceTypeCountReq) ProtoReflect ¶ added in v0.3.0
func (x *DeviceTypeCountReq) ProtoReflect() protoreflect.Message
func (*DeviceTypeCountReq) Reset ¶ added in v0.3.0
func (x *DeviceTypeCountReq) Reset()
func (*DeviceTypeCountReq) String ¶ added in v0.3.0
func (x *DeviceTypeCountReq) String() string
type DeviceTypeCountResp ¶ added in v0.3.0
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
added in
v0.3.0
func (*DeviceTypeCountResp) Descriptor() ([]byte, []int)
Deprecated: Use DeviceTypeCountResp.ProtoReflect.Descriptor instead.
func (*DeviceTypeCountResp) GetDevice ¶ added in v0.3.0
func (x *DeviceTypeCountResp) GetDevice() int64
func (*DeviceTypeCountResp) GetGateway ¶ added in v0.3.0
func (x *DeviceTypeCountResp) GetGateway() int64
func (*DeviceTypeCountResp) GetSubset ¶ added in v0.3.0
func (x *DeviceTypeCountResp) GetSubset() int64
func (*DeviceTypeCountResp) GetUnknown ¶ added in v0.3.0
func (x *DeviceTypeCountResp) GetUnknown() int64
func (*DeviceTypeCountResp) ProtoMessage ¶ added in v0.3.0
func (*DeviceTypeCountResp) ProtoMessage()
func (*DeviceTypeCountResp) ProtoReflect ¶ added in v0.3.0
func (x *DeviceTypeCountResp) ProtoReflect() protoreflect.Message
func (*DeviceTypeCountResp) Reset ¶ added in v0.3.0
func (x *DeviceTypeCountResp) Reset()
func (*DeviceTypeCountResp) String ¶ added in v0.3.0
func (x *DeviceTypeCountResp) String() string
type GroupDeviceIndexReq ¶
type GroupDeviceIndexReq struct { Page *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` GroupID int64 `protobuf:"varint,2,opt,name=groupID,proto3" json:"groupID,omitempty"` ProductID string `protobuf:"bytes,3,opt,name=productID,proto3" json:"productID,omitempty"` DeviceName string `protobuf:"bytes,4,opt,name=deviceName,proto3" json:"deviceName,omitempty"` // contains filtered or unexported fields }
func (*GroupDeviceIndexReq) Descriptor
deprecated
func (*GroupDeviceIndexReq) Descriptor() ([]byte, []int)
Deprecated: Use GroupDeviceIndexReq.ProtoReflect.Descriptor instead.
func (*GroupDeviceIndexReq) GetDeviceName ¶
func (x *GroupDeviceIndexReq) GetDeviceName() string
func (*GroupDeviceIndexReq) GetGroupID ¶
func (x *GroupDeviceIndexReq) GetGroupID() int64
func (*GroupDeviceIndexReq) GetPage ¶
func (x *GroupDeviceIndexReq) GetPage() *PageInfo
func (*GroupDeviceIndexReq) GetProductID ¶
func (x *GroupDeviceIndexReq) GetProductID() string
func (*GroupDeviceIndexReq) ProtoMessage ¶
func (*GroupDeviceIndexReq) ProtoMessage()
func (*GroupDeviceIndexReq) ProtoReflect ¶
func (x *GroupDeviceIndexReq) ProtoReflect() protoreflect.Message
func (*GroupDeviceIndexReq) Reset ¶
func (x *GroupDeviceIndexReq) Reset()
func (*GroupDeviceIndexReq) String ¶
func (x *GroupDeviceIndexReq) String() string
type GroupDeviceIndexResp ¶
type GroupDeviceIndexResp struct { List []*DeviceInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*GroupDeviceIndexResp) Descriptor
deprecated
func (*GroupDeviceIndexResp) Descriptor() ([]byte, []int)
Deprecated: Use GroupDeviceIndexResp.ProtoReflect.Descriptor instead.
func (*GroupDeviceIndexResp) GetList ¶
func (x *GroupDeviceIndexResp) GetList() []*DeviceInfo
func (*GroupDeviceIndexResp) GetTotal ¶
func (x *GroupDeviceIndexResp) GetTotal() int64
func (*GroupDeviceIndexResp) ProtoMessage ¶
func (*GroupDeviceIndexResp) ProtoMessage()
func (*GroupDeviceIndexResp) ProtoReflect ¶
func (x *GroupDeviceIndexResp) ProtoReflect() protoreflect.Message
func (*GroupDeviceIndexResp) Reset ¶
func (x *GroupDeviceIndexResp) Reset()
func (*GroupDeviceIndexResp) String ¶
func (x *GroupDeviceIndexResp) String() string
type GroupDeviceMultiCreateReq ¶ added in v0.3.0
type GroupDeviceMultiCreateReq 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 (*GroupDeviceMultiCreateReq) Descriptor
deprecated
added in
v0.3.0
func (*GroupDeviceMultiCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use GroupDeviceMultiCreateReq.ProtoReflect.Descriptor instead.
func (*GroupDeviceMultiCreateReq) GetGroupID ¶ added in v0.3.0
func (x *GroupDeviceMultiCreateReq) GetGroupID() int64
func (*GroupDeviceMultiCreateReq) GetList ¶ added in v0.3.0
func (x *GroupDeviceMultiCreateReq) GetList() []*DeviceCore
func (*GroupDeviceMultiCreateReq) ProtoMessage ¶ added in v0.3.0
func (*GroupDeviceMultiCreateReq) ProtoMessage()
func (*GroupDeviceMultiCreateReq) ProtoReflect ¶ added in v0.3.0
func (x *GroupDeviceMultiCreateReq) ProtoReflect() protoreflect.Message
func (*GroupDeviceMultiCreateReq) Reset ¶ added in v0.3.0
func (x *GroupDeviceMultiCreateReq) Reset()
func (*GroupDeviceMultiCreateReq) String ¶ added in v0.3.0
func (x *GroupDeviceMultiCreateReq) String() string
type GroupDeviceMultiDeleteReq ¶ added in v0.3.0
type GroupDeviceMultiDeleteReq struct { GroupID int64 `protobuf:"varint,1,opt,name=groupID,proto3" json:"groupID,omitempty"` List []*DeviceCore `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*GroupDeviceMultiDeleteReq) Descriptor
deprecated
added in
v0.3.0
func (*GroupDeviceMultiDeleteReq) Descriptor() ([]byte, []int)
Deprecated: Use GroupDeviceMultiDeleteReq.ProtoReflect.Descriptor instead.
func (*GroupDeviceMultiDeleteReq) GetGroupID ¶ added in v0.3.0
func (x *GroupDeviceMultiDeleteReq) GetGroupID() int64
func (*GroupDeviceMultiDeleteReq) GetList ¶ added in v0.3.0
func (x *GroupDeviceMultiDeleteReq) GetList() []*DeviceCore
func (*GroupDeviceMultiDeleteReq) ProtoMessage ¶ added in v0.3.0
func (*GroupDeviceMultiDeleteReq) ProtoMessage()
func (*GroupDeviceMultiDeleteReq) ProtoReflect ¶ added in v0.3.0
func (x *GroupDeviceMultiDeleteReq) ProtoReflect() protoreflect.Message
func (*GroupDeviceMultiDeleteReq) Reset ¶ added in v0.3.0
func (x *GroupDeviceMultiDeleteReq) Reset()
func (*GroupDeviceMultiDeleteReq) String ¶ added in v0.3.0
func (x *GroupDeviceMultiDeleteReq) String() string
type GroupInfo ¶
type GroupInfo struct { GroupID int64 `protobuf:"varint,1,opt,name=groupID,proto3" json:"groupID,omitempty"` ParentID int64 `protobuf:"varint,2,opt,name=parentID,proto3" json:"parentID,omitempty"` ProjectID int64 `protobuf:"varint,3,opt,name=projectID,proto3" json:"projectID,omitempty"` GroupName string `protobuf:"bytes,4,opt,name=groupName,proto3" json:"groupName,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"` // contains filtered or unexported fields }
func (*GroupInfo) Descriptor
deprecated
func (*GroupInfo) GetCreatedTime ¶
func (*GroupInfo) GetGroupID ¶
func (*GroupInfo) GetGroupName ¶
func (*GroupInfo) GetParentID ¶
func (*GroupInfo) GetProductID ¶ added in v0.5.1
func (*GroupInfo) GetProductName ¶ added in v0.5.1
func (*GroupInfo) GetProjectID ¶ added in v0.5.1
func (*GroupInfo) ProtoMessage ¶
func (*GroupInfo) ProtoMessage()
func (*GroupInfo) ProtoReflect ¶
func (x *GroupInfo) ProtoReflect() protoreflect.Message
type GroupInfoCreateReq ¶
type GroupInfoCreateReq struct { GroupName string `protobuf:"bytes,1,opt,name=groupName,proto3" json:"groupName,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) GetDesc ¶
func (x *GroupInfoCreateReq) GetDesc() string
func (*GroupInfoCreateReq) GetGroupName ¶
func (x *GroupInfoCreateReq) GetGroupName() string
func (*GroupInfoCreateReq) GetParentID ¶
func (x *GroupInfoCreateReq) GetParentID() int64
func (*GroupInfoCreateReq) GetProductID ¶ added in v0.5.1
func (x *GroupInfoCreateReq) GetProductID() string
func (*GroupInfoCreateReq) ProtoMessage ¶
func (*GroupInfoCreateReq) ProtoMessage()
func (*GroupInfoCreateReq) ProtoReflect ¶
func (x *GroupInfoCreateReq) ProtoReflect() protoreflect.Message
func (*GroupInfoCreateReq) Reset ¶
func (x *GroupInfoCreateReq) Reset()
func (*GroupInfoCreateReq) String ¶
func (x *GroupInfoCreateReq) String() string
type GroupInfoDeleteReq ¶
type GroupInfoDeleteReq struct { GroupID int64 `protobuf:"varint,1,opt,name=groupID,proto3" json:"groupID,omitempty"` // contains filtered or unexported fields }
func (*GroupInfoDeleteReq) Descriptor
deprecated
func (*GroupInfoDeleteReq) Descriptor() ([]byte, []int)
Deprecated: Use GroupInfoDeleteReq.ProtoReflect.Descriptor instead.
func (*GroupInfoDeleteReq) GetGroupID ¶
func (x *GroupInfoDeleteReq) GetGroupID() int64
func (*GroupInfoDeleteReq) ProtoMessage ¶
func (*GroupInfoDeleteReq) ProtoMessage()
func (*GroupInfoDeleteReq) ProtoReflect ¶
func (x *GroupInfoDeleteReq) ProtoReflect() protoreflect.Message
func (*GroupInfoDeleteReq) Reset ¶
func (x *GroupInfoDeleteReq) Reset()
func (*GroupInfoDeleteReq) String ¶
func (x *GroupInfoDeleteReq) String() string
type GroupInfoIndexReq ¶
type GroupInfoIndexReq struct { Page *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName,omitempty"` ParentID int64 `protobuf:"varint,3,opt,name=parentID,proto3" json:"parentID,omitempty"` Tags map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GroupInfoIndexReq) Descriptor
deprecated
func (*GroupInfoIndexReq) Descriptor() ([]byte, []int)
Deprecated: Use GroupInfoIndexReq.ProtoReflect.Descriptor instead.
func (*GroupInfoIndexReq) GetGroupName ¶
func (x *GroupInfoIndexReq) GetGroupName() string
func (*GroupInfoIndexReq) GetPage ¶
func (x *GroupInfoIndexReq) GetPage() *PageInfo
func (*GroupInfoIndexReq) GetParentID ¶
func (x *GroupInfoIndexReq) GetParentID() int64
func (*GroupInfoIndexReq) GetTags ¶
func (x *GroupInfoIndexReq) GetTags() map[string]string
func (*GroupInfoIndexReq) ProtoMessage ¶
func (*GroupInfoIndexReq) ProtoMessage()
func (*GroupInfoIndexReq) ProtoReflect ¶
func (x *GroupInfoIndexReq) ProtoReflect() protoreflect.Message
func (*GroupInfoIndexReq) Reset ¶
func (x *GroupInfoIndexReq) Reset()
func (*GroupInfoIndexReq) String ¶
func (x *GroupInfoIndexReq) String() string
type GroupInfoIndexResp ¶
type GroupInfoIndexResp struct { List []*GroupInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` ListAll []*GroupInfo `protobuf:"bytes,3,rep,name=listAll,proto3" json:"listAll,omitempty"` // 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) GetListAll ¶
func (x *GroupInfoIndexResp) GetListAll() []*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 GroupInfoReadReq ¶
type GroupInfoReadReq struct { GroupID int64 `protobuf:"varint,1,opt,name=groupID,proto3" json:"groupID,omitempty"` // contains filtered or unexported fields }
func (*GroupInfoReadReq) Descriptor
deprecated
func (*GroupInfoReadReq) Descriptor() ([]byte, []int)
Deprecated: Use GroupInfoReadReq.ProtoReflect.Descriptor instead.
func (*GroupInfoReadReq) GetGroupID ¶
func (x *GroupInfoReadReq) GetGroupID() int64
func (*GroupInfoReadReq) ProtoMessage ¶
func (*GroupInfoReadReq) ProtoMessage()
func (*GroupInfoReadReq) ProtoReflect ¶
func (x *GroupInfoReadReq) ProtoReflect() protoreflect.Message
func (*GroupInfoReadReq) Reset ¶
func (x *GroupInfoReadReq) Reset()
func (*GroupInfoReadReq) String ¶
func (x *GroupInfoReadReq) String() string
type GroupInfoUpdateReq ¶
type GroupInfoUpdateReq struct { GroupID int64 `protobuf:"varint,1,opt,name=groupID,proto3" json:"groupID,omitempty"` GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName,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) GetGroupID ¶
func (x *GroupInfoUpdateReq) GetGroupID() int64
func (*GroupInfoUpdateReq) GetGroupName ¶
func (x *GroupInfoUpdateReq) GetGroupName() string
func (*GroupInfoUpdateReq) GetProductID ¶ added in v0.5.1
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 LoginAuthReq ¶
type LoginAuthReq 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 (*LoginAuthReq) Descriptor
deprecated
func (*LoginAuthReq) Descriptor() ([]byte, []int)
Deprecated: Use LoginAuthReq.ProtoReflect.Descriptor instead.
func (*LoginAuthReq) GetCertificate ¶
func (x *LoginAuthReq) GetCertificate() []byte
func (*LoginAuthReq) GetClientID ¶
func (x *LoginAuthReq) GetClientID() string
func (*LoginAuthReq) GetIp ¶
func (x *LoginAuthReq) GetIp() string
func (*LoginAuthReq) GetPassword ¶
func (x *LoginAuthReq) GetPassword() string
func (*LoginAuthReq) GetUsername ¶
func (x *LoginAuthReq) GetUsername() string
func (*LoginAuthReq) ProtoMessage ¶
func (*LoginAuthReq) ProtoMessage()
func (*LoginAuthReq) ProtoReflect ¶
func (x *LoginAuthReq) ProtoReflect() protoreflect.Message
func (*LoginAuthReq) Reset ¶
func (x *LoginAuthReq) Reset()
func (*LoginAuthReq) String ¶
func (x *LoginAuthReq) 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 ¶ added in v0.5.1
func (x *PageInfo) GetOrders() []*PageInfo_OrderBy
func (*PageInfo) ProtoMessage ¶
func (*PageInfo) ProtoMessage()
func (*PageInfo) ProtoReflect ¶
func (x *PageInfo) ProtoReflect() protoreflect.Message
type PageInfo_OrderBy ¶ added in v0.5.1
type PageInfo_OrderBy struct { //排序的字段名 Filed string `protobuf:"bytes,1,opt,name=filed,proto3" json:"filed,omitempty"` //排序方式:0 aes, 1 desc Sort int64 `protobuf:"varint,2,opt,name=sort,proto3" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*PageInfo_OrderBy) Descriptor
deprecated
added in
v0.5.1
func (*PageInfo_OrderBy) Descriptor() ([]byte, []int)
Deprecated: Use PageInfo_OrderBy.ProtoReflect.Descriptor instead.
func (*PageInfo_OrderBy) GetFiled ¶ added in v0.5.1
func (x *PageInfo_OrderBy) GetFiled() string
func (*PageInfo_OrderBy) GetSort ¶ added in v0.5.1
func (x *PageInfo_OrderBy) GetSort() int64
func (*PageInfo_OrderBy) ProtoMessage ¶ added in v0.5.1
func (*PageInfo_OrderBy) ProtoMessage()
func (*PageInfo_OrderBy) ProtoReflect ¶ added in v0.5.1
func (x *PageInfo_OrderBy) ProtoReflect() protoreflect.Message
func (*PageInfo_OrderBy) Reset ¶ added in v0.5.1
func (x *PageInfo_OrderBy) Reset()
func (*PageInfo_OrderBy) String ¶ added in v0.5.1
func (x *PageInfo_OrderBy) String() string
type Point ¶ added in v0.3.0
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
added in
v0.3.0
func (*Point) GetLatitude ¶ added in v0.3.0
func (*Point) GetLongitude ¶ added in v0.3.0
func (*Point) ProtoMessage ¶ added in v0.3.0
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶ added in v0.3.0
func (x *Point) ProtoReflect() protoreflect.Message
type ProductCustom ¶ added in v0.5.1
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"` //协议转换脚本 CustomTopic []string `protobuf:"bytes,4,rep,name=customTopic,proto3" json:"customTopic,omitempty"` //自定义topic数组 // contains filtered or unexported fields }
func (*ProductCustom) Descriptor
deprecated
added in
v0.5.1
func (*ProductCustom) Descriptor() ([]byte, []int)
Deprecated: Use ProductCustom.ProtoReflect.Descriptor instead.
func (*ProductCustom) GetCustomTopic ¶ added in v0.5.1
func (x *ProductCustom) GetCustomTopic() []string
func (*ProductCustom) GetProductID ¶ added in v0.5.1
func (x *ProductCustom) GetProductID() string
func (*ProductCustom) GetScriptLang ¶ added in v0.5.1
func (x *ProductCustom) GetScriptLang() int64
func (*ProductCustom) GetTransformScript ¶ added in v0.5.1
func (x *ProductCustom) GetTransformScript() *wrapperspb.StringValue
func (*ProductCustom) ProtoMessage ¶ added in v0.5.1
func (*ProductCustom) ProtoMessage()
func (*ProductCustom) ProtoReflect ¶ added in v0.5.1
func (x *ProductCustom) ProtoReflect() protoreflect.Message
func (*ProductCustom) Reset ¶ added in v0.5.1
func (x *ProductCustom) Reset()
func (*ProductCustom) String ¶ added in v0.5.1
func (x *ProductCustom) String() string
type ProductCustomReadReq ¶ added in v0.5.1
type ProductCustomReadReq struct { ProductID string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"` // contains filtered or unexported fields }
func (*ProductCustomReadReq) Descriptor
deprecated
added in
v0.5.1
func (*ProductCustomReadReq) Descriptor() ([]byte, []int)
Deprecated: Use ProductCustomReadReq.ProtoReflect.Descriptor instead.
func (*ProductCustomReadReq) GetProductID ¶ added in v0.5.1
func (x *ProductCustomReadReq) GetProductID() string
func (*ProductCustomReadReq) ProtoMessage ¶ added in v0.5.1
func (*ProductCustomReadReq) ProtoMessage()
func (*ProductCustomReadReq) ProtoReflect ¶ added in v0.5.1
func (x *ProductCustomReadReq) ProtoReflect() protoreflect.Message
func (*ProductCustomReadReq) Reset ¶ added in v0.5.1
func (x *ProductCustomReadReq) Reset()
func (*ProductCustomReadReq) String ¶ added in v0.5.1
func (x *ProductCustomReadReq) 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 DataProto int64 `protobuf:"varint,8,opt,name=dataProto,proto3" json:"dataProto,omitempty"` //数据协议:1:自定义,2:数据模板 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"` //描述 DevStatus *wrapperspb.StringValue `protobuf:"bytes,12,opt,name=devStatus,proto3" json:"devStatus,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 // 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) GetCategoryID ¶
func (x *ProductInfo) GetCategoryID() int64
func (*ProductInfo) GetCreatedTime ¶
func (x *ProductInfo) GetCreatedTime() int64
func (*ProductInfo) GetDataProto ¶
func (x *ProductInfo) GetDataProto() int64
func (*ProductInfo) GetDesc ¶
func (x *ProductInfo) GetDesc() *wrapperspb.StringValue
func (*ProductInfo) GetDevStatus ¶
func (x *ProductInfo) GetDevStatus() *wrapperspb.StringValue
func (*ProductInfo) GetDeviceType ¶
func (x *ProductInfo) GetDeviceType() int64
func (*ProductInfo) GetIsUpdateProductImg ¶ added in v0.5.1
func (x *ProductInfo) GetIsUpdateProductImg() bool
func (*ProductInfo) GetNetType ¶
func (x *ProductInfo) GetNetType() int64
func (*ProductInfo) GetProductID ¶
func (x *ProductInfo) GetProductID() string
func (*ProductInfo) GetProductImg ¶ added in v0.5.1
func (x *ProductInfo) GetProductImg() string
func (*ProductInfo) GetProductName ¶
func (x *ProductInfo) GetProductName() string
func (*ProductInfo) GetSecret ¶
func (x *ProductInfo) GetSecret() string
func (*ProductInfo) GetTags ¶ added in v0.3.0
func (x *ProductInfo) GetTags() map[string]string
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:子设备 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 */ // contains filtered or unexported fields }
func (*ProductInfoIndexReq) Descriptor
deprecated
func (*ProductInfoIndexReq) Descriptor() ([]byte, []int)
Deprecated: Use ProductInfoIndexReq.ProtoReflect.Descriptor instead.
func (*ProductInfoIndexReq) GetDeviceType ¶
func (x *ProductInfoIndexReq) GetDeviceType() 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) GetTags ¶ added in v0.3.0
func (x *ProductInfoIndexReq) GetTags() map[string]string
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 // 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) 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 ProductManageClient ¶
type ProductManageClient interface { //新增产品 ProductInfoCreate(ctx context.Context, in *ProductInfo, opts ...grpc.CallOption) (*Response, error) //更新产品 ProductInfoUpdate(ctx context.Context, in *ProductInfo, opts ...grpc.CallOption) (*Response, error) //删除产品 ProductInfoDelete(ctx context.Context, in *ProductInfoDeleteReq, opts ...grpc.CallOption) (*Response, 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) (*Response, error) //新增产品 ProductSchemaCreate(ctx context.Context, in *ProductSchemaCreateReq, opts ...grpc.CallOption) (*Response, error) //删除产品 ProductSchemaDelete(ctx context.Context, in *ProductSchemaDeleteReq, opts ...grpc.CallOption) (*Response, error) //获取产品信息列表 ProductSchemaIndex(ctx context.Context, in *ProductSchemaIndexReq, opts ...grpc.CallOption) (*ProductSchemaIndexResp, error) //删除产品 ProductSchemaTslImport(ctx context.Context, in *ProductSchemaTslImportReq, opts ...grpc.CallOption) (*Response, 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) (*Response, 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 { //新增产品 ProductInfoCreate(context.Context, *ProductInfo) (*Response, error) //更新产品 ProductInfoUpdate(context.Context, *ProductInfo) (*Response, error) //删除产品 ProductInfoDelete(context.Context, *ProductInfoDeleteReq) (*Response, error) //获取产品信息列表 ProductInfoIndex(context.Context, *ProductInfoIndexReq) (*ProductInfoIndexResp, error) //获取产品信息详情 ProductInfoRead(context.Context, *ProductInfoReadReq) (*ProductInfo, error) //更新产品物模型 ProductSchemaUpdate(context.Context, *ProductSchemaUpdateReq) (*Response, error) //新增产品 ProductSchemaCreate(context.Context, *ProductSchemaCreateReq) (*Response, error) //删除产品 ProductSchemaDelete(context.Context, *ProductSchemaDeleteReq) (*Response, error) //获取产品信息列表 ProductSchemaIndex(context.Context, *ProductSchemaIndexReq) (*ProductSchemaIndexResp, error) //删除产品 ProductSchemaTslImport(context.Context, *ProductSchemaTslImportReq) (*Response, error) //获取产品信息列表 ProductSchemaTslRead(context.Context, *ProductSchemaTslReadReq) (*ProductSchemaTslReadResp, error) //脚本管理 ProductCustomRead(context.Context, *ProductCustomReadReq) (*ProductCustom, error) ProductCustomUpdate(context.Context, *ProductCustom) (*Response, error) // contains filtered or unexported methods }
ProductManageServer is the server API for ProductManage service. All implementations must embed UnimplementedProductManageServer for forward compatibility
type ProductRemoteConfig ¶ added in v0.3.0
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
added in
v0.3.0
func (*ProductRemoteConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProductRemoteConfig.ProtoReflect.Descriptor instead.
func (*ProductRemoteConfig) GetContent ¶ added in v0.3.0
func (x *ProductRemoteConfig) GetContent() string
func (*ProductRemoteConfig) GetCreatedTime ¶ added in v0.3.0
func (x *ProductRemoteConfig) GetCreatedTime() int64
func (*ProductRemoteConfig) GetId ¶ added in v0.3.0
func (x *ProductRemoteConfig) GetId() int64
func (*ProductRemoteConfig) GetProductID ¶ added in v0.3.0
func (x *ProductRemoteConfig) GetProductID() string
func (*ProductRemoteConfig) ProtoMessage ¶ added in v0.3.0
func (*ProductRemoteConfig) ProtoMessage()
func (*ProductRemoteConfig) ProtoReflect ¶ added in v0.3.0
func (x *ProductRemoteConfig) ProtoReflect() protoreflect.Message
func (*ProductRemoteConfig) Reset ¶ added in v0.3.0
func (x *ProductRemoteConfig) Reset()
func (*ProductRemoteConfig) String ¶ added in v0.3.0
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行为 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"` //过滤标识符列表 // contains filtered or unexported fields }
func (*ProductSchemaIndexReq) Descriptor
deprecated
func (*ProductSchemaIndexReq) Descriptor() ([]byte, []int)
Deprecated: Use ProductSchemaIndexReq.ProtoReflect.Descriptor instead.
func (*ProductSchemaIndexReq) GetIdentifiers ¶
func (x *ProductSchemaIndexReq) GetIdentifiers() []string
func (*ProductSchemaIndexReq) GetPage ¶
func (x *ProductSchemaIndexReq) GetPage() *PageInfo
func (*ProductSchemaIndexReq) GetProductID ¶
func (x *ProductSchemaIndexReq) GetProductID() string
func (*ProductSchemaIndexReq) GetTag ¶
func (x *ProductSchemaIndexReq) GetTag() int64
func (*ProductSchemaIndexReq) GetType ¶
func (x *ProductSchemaIndexReq) GetType() 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:否 Affordance *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=affordance,proto3" json:"affordance,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) GetDesc ¶
func (x *ProductSchemaInfo) GetDesc() *wrapperspb.StringValue
func (*ProductSchemaInfo) GetIdentifier ¶
func (x *ProductSchemaInfo) GetIdentifier() string
func (*ProductSchemaInfo) GetName ¶
func (x *ProductSchemaInfo) GetName() *wrapperspb.StringValue
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) 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 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 RemoteConfigClient ¶ added in v0.3.0
type RemoteConfigClient interface { RemoteConfigCreate(ctx context.Context, in *RemoteConfigCreateReq, opts ...grpc.CallOption) (*Response, error) RemoteConfigIndex(ctx context.Context, in *RemoteConfigIndexReq, opts ...grpc.CallOption) (*RemoteConfigIndexResp, error) RemoteConfigPushAll(ctx context.Context, in *RemoteConfigPushAllReq, opts ...grpc.CallOption) (*Response, 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 ¶ added in v0.3.0
func NewRemoteConfigClient(cc grpc.ClientConnInterface) RemoteConfigClient
type RemoteConfigCreateReq ¶ added in v0.3.0
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
added in
v0.3.0
func (*RemoteConfigCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use RemoteConfigCreateReq.ProtoReflect.Descriptor instead.
func (*RemoteConfigCreateReq) GetContent ¶ added in v0.3.0
func (x *RemoteConfigCreateReq) GetContent() string
func (*RemoteConfigCreateReq) GetProductID ¶ added in v0.3.0
func (x *RemoteConfigCreateReq) GetProductID() string
func (*RemoteConfigCreateReq) ProtoMessage ¶ added in v0.3.0
func (*RemoteConfigCreateReq) ProtoMessage()
func (*RemoteConfigCreateReq) ProtoReflect ¶ added in v0.3.0
func (x *RemoteConfigCreateReq) ProtoReflect() protoreflect.Message
func (*RemoteConfigCreateReq) Reset ¶ added in v0.3.0
func (x *RemoteConfigCreateReq) Reset()
func (*RemoteConfigCreateReq) String ¶ added in v0.3.0
func (x *RemoteConfigCreateReq) String() string
type RemoteConfigIndexReq ¶ added in v0.3.0
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
added in
v0.3.0
func (*RemoteConfigIndexReq) Descriptor() ([]byte, []int)
Deprecated: Use RemoteConfigIndexReq.ProtoReflect.Descriptor instead.
func (*RemoteConfigIndexReq) GetPage ¶ added in v0.3.0
func (x *RemoteConfigIndexReq) GetPage() *PageInfo
func (*RemoteConfigIndexReq) GetProductID ¶ added in v0.3.0
func (x *RemoteConfigIndexReq) GetProductID() string
func (*RemoteConfigIndexReq) ProtoMessage ¶ added in v0.3.0
func (*RemoteConfigIndexReq) ProtoMessage()
func (*RemoteConfigIndexReq) ProtoReflect ¶ added in v0.3.0
func (x *RemoteConfigIndexReq) ProtoReflect() protoreflect.Message
func (*RemoteConfigIndexReq) Reset ¶ added in v0.3.0
func (x *RemoteConfigIndexReq) Reset()
func (*RemoteConfigIndexReq) String ¶ added in v0.3.0
func (x *RemoteConfigIndexReq) String() string
type RemoteConfigIndexResp ¶ added in v0.3.0
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
added in
v0.3.0
func (*RemoteConfigIndexResp) Descriptor() ([]byte, []int)
Deprecated: Use RemoteConfigIndexResp.ProtoReflect.Descriptor instead.
func (*RemoteConfigIndexResp) GetList ¶ added in v0.3.0
func (x *RemoteConfigIndexResp) GetList() []*ProductRemoteConfig
func (*RemoteConfigIndexResp) GetTotal ¶ added in v0.3.0
func (x *RemoteConfigIndexResp) GetTotal() int64
func (*RemoteConfigIndexResp) ProtoMessage ¶ added in v0.3.0
func (*RemoteConfigIndexResp) ProtoMessage()
func (*RemoteConfigIndexResp) ProtoReflect ¶ added in v0.3.0
func (x *RemoteConfigIndexResp) ProtoReflect() protoreflect.Message
func (*RemoteConfigIndexResp) Reset ¶ added in v0.3.0
func (x *RemoteConfigIndexResp) Reset()
func (*RemoteConfigIndexResp) String ¶ added in v0.3.0
func (x *RemoteConfigIndexResp) String() string
type RemoteConfigLastReadReq ¶ added in v0.3.0
type RemoteConfigLastReadReq struct { ProductID string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"` // contains filtered or unexported fields }
func (*RemoteConfigLastReadReq) Descriptor
deprecated
added in
v0.3.0
func (*RemoteConfigLastReadReq) Descriptor() ([]byte, []int)
Deprecated: Use RemoteConfigLastReadReq.ProtoReflect.Descriptor instead.
func (*RemoteConfigLastReadReq) GetProductID ¶ added in v0.3.0
func (x *RemoteConfigLastReadReq) GetProductID() string
func (*RemoteConfigLastReadReq) ProtoMessage ¶ added in v0.3.0
func (*RemoteConfigLastReadReq) ProtoMessage()
func (*RemoteConfigLastReadReq) ProtoReflect ¶ added in v0.3.0
func (x *RemoteConfigLastReadReq) ProtoReflect() protoreflect.Message
func (*RemoteConfigLastReadReq) Reset ¶ added in v0.3.0
func (x *RemoteConfigLastReadReq) Reset()
func (*RemoteConfigLastReadReq) String ¶ added in v0.3.0
func (x *RemoteConfigLastReadReq) String() string
type RemoteConfigLastReadResp ¶ added in v0.3.0
type RemoteConfigLastReadResp struct { Info *ProductRemoteConfig `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*RemoteConfigLastReadResp) Descriptor
deprecated
added in
v0.3.0
func (*RemoteConfigLastReadResp) Descriptor() ([]byte, []int)
Deprecated: Use RemoteConfigLastReadResp.ProtoReflect.Descriptor instead.
func (*RemoteConfigLastReadResp) GetInfo ¶ added in v0.3.0
func (x *RemoteConfigLastReadResp) GetInfo() *ProductRemoteConfig
func (*RemoteConfigLastReadResp) ProtoMessage ¶ added in v0.3.0
func (*RemoteConfigLastReadResp) ProtoMessage()
func (*RemoteConfigLastReadResp) ProtoReflect ¶ added in v0.3.0
func (x *RemoteConfigLastReadResp) ProtoReflect() protoreflect.Message
func (*RemoteConfigLastReadResp) Reset ¶ added in v0.3.0
func (x *RemoteConfigLastReadResp) Reset()
func (*RemoteConfigLastReadResp) String ¶ added in v0.3.0
func (x *RemoteConfigLastReadResp) String() string
type RemoteConfigPushAllReq ¶ added in v0.3.0
type RemoteConfigPushAllReq struct { ProductID string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"` // contains filtered or unexported fields }
func (*RemoteConfigPushAllReq) Descriptor
deprecated
added in
v0.3.0
func (*RemoteConfigPushAllReq) Descriptor() ([]byte, []int)
Deprecated: Use RemoteConfigPushAllReq.ProtoReflect.Descriptor instead.
func (*RemoteConfigPushAllReq) GetProductID ¶ added in v0.3.0
func (x *RemoteConfigPushAllReq) GetProductID() string
func (*RemoteConfigPushAllReq) ProtoMessage ¶ added in v0.3.0
func (*RemoteConfigPushAllReq) ProtoMessage()
func (*RemoteConfigPushAllReq) ProtoReflect ¶ added in v0.3.0
func (x *RemoteConfigPushAllReq) ProtoReflect() protoreflect.Message
func (*RemoteConfigPushAllReq) Reset ¶ added in v0.3.0
func (x *RemoteConfigPushAllReq) Reset()
func (*RemoteConfigPushAllReq) String ¶ added in v0.3.0
func (x *RemoteConfigPushAllReq) String() string
type RemoteConfigServer ¶ added in v0.3.0
type RemoteConfigServer interface { RemoteConfigCreate(context.Context, *RemoteConfigCreateReq) (*Response, error) RemoteConfigIndex(context.Context, *RemoteConfigIndexReq) (*RemoteConfigIndexResp, error) RemoteConfigPushAll(context.Context, *RemoteConfigPushAllReq) (*Response, 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 Response ¶
type Response struct {
// contains filtered or unexported fields
}
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
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 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 UnimplementedDeviceAuthServer ¶
type UnimplementedDeviceAuthServer struct { }
UnimplementedDeviceAuthServer must be embedded to have forward compatible implementations.
func (UnimplementedDeviceAuthServer) AccessAuth ¶
func (UnimplementedDeviceAuthServer) AccessAuth(context.Context, *AccessAuthReq) (*Response, error)
func (UnimplementedDeviceAuthServer) DeviceRegister ¶ added in v0.5.1
func (UnimplementedDeviceAuthServer) DeviceRegister(context.Context, *DeviceRegisterReq) (*DeviceRegisterResp, error)
func (UnimplementedDeviceAuthServer) LoginAuth ¶
func (UnimplementedDeviceAuthServer) LoginAuth(context.Context, *LoginAuthReq) (*Response, error)
func (UnimplementedDeviceAuthServer) RootCheck ¶
func (UnimplementedDeviceAuthServer) RootCheck(context.Context, *RootCheckReq) (*Response, error)
type UnimplementedDeviceGroupServer ¶
type UnimplementedDeviceGroupServer struct { }
UnimplementedDeviceGroupServer must be embedded to have forward compatible implementations.
func (UnimplementedDeviceGroupServer) GroupDeviceIndex ¶
func (UnimplementedDeviceGroupServer) GroupDeviceIndex(context.Context, *GroupDeviceIndexReq) (*GroupDeviceIndexResp, error)
func (UnimplementedDeviceGroupServer) GroupDeviceMultiCreate ¶ added in v0.3.0
func (UnimplementedDeviceGroupServer) GroupDeviceMultiCreate(context.Context, *GroupDeviceMultiCreateReq) (*Response, error)
func (UnimplementedDeviceGroupServer) GroupDeviceMultiDelete ¶ added in v0.3.0
func (UnimplementedDeviceGroupServer) GroupDeviceMultiDelete(context.Context, *GroupDeviceMultiDeleteReq) (*Response, error)
func (UnimplementedDeviceGroupServer) GroupInfoCreate ¶
func (UnimplementedDeviceGroupServer) GroupInfoCreate(context.Context, *GroupInfoCreateReq) (*Response, error)
func (UnimplementedDeviceGroupServer) GroupInfoDelete ¶
func (UnimplementedDeviceGroupServer) GroupInfoDelete(context.Context, *GroupInfoDeleteReq) (*Response, error)
func (UnimplementedDeviceGroupServer) GroupInfoIndex ¶
func (UnimplementedDeviceGroupServer) GroupInfoIndex(context.Context, *GroupInfoIndexReq) (*GroupInfoIndexResp, error)
func (UnimplementedDeviceGroupServer) GroupInfoRead ¶
func (UnimplementedDeviceGroupServer) GroupInfoRead(context.Context, *GroupInfoReadReq) (*GroupInfo, error)
func (UnimplementedDeviceGroupServer) GroupInfoUpdate ¶
func (UnimplementedDeviceGroupServer) GroupInfoUpdate(context.Context, *GroupInfoUpdateReq) (*Response, error)
type UnimplementedDeviceManageServer ¶
type UnimplementedDeviceManageServer struct { }
UnimplementedDeviceManageServer must be embedded to have forward compatible implementations.
func (UnimplementedDeviceManageServer) DeviceGatewayIndex ¶ added in v0.3.0
func (UnimplementedDeviceManageServer) DeviceGatewayIndex(context.Context, *DeviceGatewayIndexReq) (*DeviceGatewayIndexResp, error)
func (UnimplementedDeviceManageServer) DeviceGatewayMultiCreate ¶ added in v0.3.0
func (UnimplementedDeviceManageServer) DeviceGatewayMultiCreate(context.Context, *DeviceGatewayMultiCreateReq) (*Response, error)
func (UnimplementedDeviceManageServer) DeviceGatewayMultiDelete ¶ added in v0.3.0
func (UnimplementedDeviceManageServer) DeviceGatewayMultiDelete(context.Context, *DeviceGatewayMultiDeleteReq) (*Response, error)
func (UnimplementedDeviceManageServer) DeviceInfoCount ¶ added in v0.3.0
func (UnimplementedDeviceManageServer) DeviceInfoCount(context.Context, *DeviceInfoCountReq) (*DeviceInfoCountResp, error)
func (UnimplementedDeviceManageServer) DeviceInfoCreate ¶
func (UnimplementedDeviceManageServer) DeviceInfoCreate(context.Context, *DeviceInfo) (*Response, error)
func (UnimplementedDeviceManageServer) DeviceInfoDelete ¶
func (UnimplementedDeviceManageServer) DeviceInfoDelete(context.Context, *DeviceInfoDeleteReq) (*Response, error)
func (UnimplementedDeviceManageServer) DeviceInfoIndex ¶
func (UnimplementedDeviceManageServer) DeviceInfoIndex(context.Context, *DeviceInfoIndexReq) (*DeviceInfoIndexResp, error)
func (UnimplementedDeviceManageServer) DeviceInfoRead ¶
func (UnimplementedDeviceManageServer) DeviceInfoRead(context.Context, *DeviceInfoReadReq) (*DeviceInfo, error)
func (UnimplementedDeviceManageServer) DeviceInfoUpdate ¶
func (UnimplementedDeviceManageServer) DeviceInfoUpdate(context.Context, *DeviceInfo) (*Response, error)
func (UnimplementedDeviceManageServer) DeviceTypeCount ¶ added in v0.3.0
func (UnimplementedDeviceManageServer) DeviceTypeCount(context.Context, *DeviceTypeCountReq) (*DeviceTypeCountResp, error)
type UnimplementedProductManageServer ¶
type UnimplementedProductManageServer struct { }
UnimplementedProductManageServer must be embedded to have forward compatible implementations.
func (UnimplementedProductManageServer) ProductCustomRead ¶ added in v0.5.1
func (UnimplementedProductManageServer) ProductCustomRead(context.Context, *ProductCustomReadReq) (*ProductCustom, error)
func (UnimplementedProductManageServer) ProductCustomUpdate ¶ added in v0.5.1
func (UnimplementedProductManageServer) ProductCustomUpdate(context.Context, *ProductCustom) (*Response, error)
func (UnimplementedProductManageServer) ProductInfoCreate ¶
func (UnimplementedProductManageServer) ProductInfoCreate(context.Context, *ProductInfo) (*Response, error)
func (UnimplementedProductManageServer) ProductInfoDelete ¶
func (UnimplementedProductManageServer) ProductInfoDelete(context.Context, *ProductInfoDeleteReq) (*Response, 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) (*Response, error)
func (UnimplementedProductManageServer) ProductSchemaCreate ¶
func (UnimplementedProductManageServer) ProductSchemaCreate(context.Context, *ProductSchemaCreateReq) (*Response, error)
func (UnimplementedProductManageServer) ProductSchemaDelete ¶
func (UnimplementedProductManageServer) ProductSchemaDelete(context.Context, *ProductSchemaDeleteReq) (*Response, error)
func (UnimplementedProductManageServer) ProductSchemaIndex ¶
func (UnimplementedProductManageServer) ProductSchemaIndex(context.Context, *ProductSchemaIndexReq) (*ProductSchemaIndexResp, error)
func (UnimplementedProductManageServer) ProductSchemaTslImport ¶
func (UnimplementedProductManageServer) ProductSchemaTslImport(context.Context, *ProductSchemaTslImportReq) (*Response, error)
func (UnimplementedProductManageServer) ProductSchemaTslRead ¶
func (UnimplementedProductManageServer) ProductSchemaTslRead(context.Context, *ProductSchemaTslReadReq) (*ProductSchemaTslReadResp, error)
func (UnimplementedProductManageServer) ProductSchemaUpdate ¶
func (UnimplementedProductManageServer) ProductSchemaUpdate(context.Context, *ProductSchemaUpdateReq) (*Response, error)
type UnimplementedRemoteConfigServer ¶ added in v0.3.0
type UnimplementedRemoteConfigServer struct { }
UnimplementedRemoteConfigServer must be embedded to have forward compatible implementations.
func (UnimplementedRemoteConfigServer) RemoteConfigCreate ¶ added in v0.3.0
func (UnimplementedRemoteConfigServer) RemoteConfigCreate(context.Context, *RemoteConfigCreateReq) (*Response, error)
func (UnimplementedRemoteConfigServer) RemoteConfigIndex ¶ added in v0.3.0
func (UnimplementedRemoteConfigServer) RemoteConfigIndex(context.Context, *RemoteConfigIndexReq) (*RemoteConfigIndexResp, error)
func (UnimplementedRemoteConfigServer) RemoteConfigLastRead ¶ added in v0.3.0
func (UnimplementedRemoteConfigServer) RemoteConfigLastRead(context.Context, *RemoteConfigLastReadReq) (*RemoteConfigLastReadResp, error)
func (UnimplementedRemoteConfigServer) RemoteConfigPushAll ¶ added in v0.3.0
func (UnimplementedRemoteConfigServer) RemoteConfigPushAll(context.Context, *RemoteConfigPushAllReq) (*Response, error)
type UnsafeDeviceAuthServer ¶
type UnsafeDeviceAuthServer interface {
// contains filtered or unexported methods
}
UnsafeDeviceAuthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeviceAuthServer will result in compilation errors.
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 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 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 UnsafeRemoteConfigServer ¶ added in v0.3.0
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.