|
|
|
@ -36,6 +36,7 @@ enum EdgeVersion { |
|
|
|
V_3_4_0 = 2; |
|
|
|
V_3_6_0 = 3; |
|
|
|
V_3_6_1 = 4; |
|
|
|
V_3_6_2 = 5; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
@ -138,25 +139,28 @@ message RuleChainUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 idMSB = 2; |
|
|
|
int64 idLSB = 3; |
|
|
|
string name = 4; |
|
|
|
optional int64 firstRuleNodeIdMSB = 5; |
|
|
|
optional int64 firstRuleNodeIdLSB = 6; |
|
|
|
bool root = 7; |
|
|
|
bool debugMode = 8; |
|
|
|
string configuration = 9; |
|
|
|
string name = 4 [deprecated = true]; |
|
|
|
optional int64 firstRuleNodeIdMSB = 5 [deprecated = true]; |
|
|
|
optional int64 firstRuleNodeIdLSB = 6 [deprecated = true]; |
|
|
|
bool root = 7 [deprecated = true]; |
|
|
|
bool debugMode = 8 [deprecated = true]; |
|
|
|
string configuration = 9 [deprecated = true]; |
|
|
|
string entity = 10; |
|
|
|
} |
|
|
|
|
|
|
|
message RuleChainMetadataUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 ruleChainIdMSB = 2; |
|
|
|
int64 ruleChainIdLSB = 3; |
|
|
|
int32 firstNodeIndex = 4; |
|
|
|
repeated RuleNodeProto nodes = 5; |
|
|
|
repeated NodeConnectionInfoProto connections = 6; |
|
|
|
repeated RuleChainConnectionInfoProto ruleChainConnections = 7; |
|
|
|
int64 ruleChainIdMSB = 2 [deprecated = true]; |
|
|
|
int64 ruleChainIdLSB = 3 [deprecated = true]; |
|
|
|
int32 firstNodeIndex = 4 [deprecated = true]; |
|
|
|
repeated RuleNodeProto nodes = 5 [deprecated = true]; |
|
|
|
repeated NodeConnectionInfoProto connections = 6 [deprecated = true]; |
|
|
|
repeated RuleChainConnectionInfoProto ruleChainConnections = 7 [deprecated = true]; |
|
|
|
string entity = 8; |
|
|
|
} |
|
|
|
|
|
|
|
message RuleNodeProto { |
|
|
|
option deprecated = true; |
|
|
|
int64 idMSB = 1; |
|
|
|
int64 idLSB = 2; |
|
|
|
string type = 3; |
|
|
|
@ -169,12 +173,14 @@ message RuleNodeProto { |
|
|
|
} |
|
|
|
|
|
|
|
message NodeConnectionInfoProto { |
|
|
|
option deprecated = true; |
|
|
|
int32 fromIndex = 1; |
|
|
|
int32 toIndex = 2; |
|
|
|
string type = 3; |
|
|
|
} |
|
|
|
|
|
|
|
message RuleChainConnectionInfoProto { |
|
|
|
option deprecated = true; |
|
|
|
int32 fromIndex = 1; |
|
|
|
int64 targetRuleChainIdMSB = 2; |
|
|
|
int64 targetRuleChainIdLSB = 3; |
|
|
|
@ -186,184 +192,196 @@ message DashboardUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 idMSB = 2; |
|
|
|
int64 idLSB = 3; |
|
|
|
optional int64 customerIdMSB = 4; |
|
|
|
optional int64 customerIdLSB = 5; |
|
|
|
string title = 6; |
|
|
|
string configuration = 7; |
|
|
|
optional string assignedCustomers = 8; |
|
|
|
optional string image = 9; |
|
|
|
optional int32 mobileOrder = 10; |
|
|
|
bool mobileHide = 11; |
|
|
|
optional int64 customerIdMSB = 4 [deprecated = true]; |
|
|
|
optional int64 customerIdLSB = 5 [deprecated = true]; |
|
|
|
string title = 6 [deprecated = true]; |
|
|
|
string configuration = 7 [deprecated = true]; |
|
|
|
optional string assignedCustomers = 8 [deprecated = true]; |
|
|
|
optional string image = 9 [deprecated = true]; |
|
|
|
optional int32 mobileOrder = 10 [deprecated = true]; |
|
|
|
bool mobileHide = 11 [deprecated = true]; |
|
|
|
string entity = 12; |
|
|
|
} |
|
|
|
|
|
|
|
message DeviceUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 idMSB = 2; |
|
|
|
int64 idLSB = 3; |
|
|
|
optional int64 customerIdMSB = 4; |
|
|
|
optional int64 customerIdLSB = 5; |
|
|
|
optional int64 deviceProfileIdMSB = 6; |
|
|
|
optional int64 deviceProfileIdLSB = 7; |
|
|
|
string name = 8; |
|
|
|
string type = 9; |
|
|
|
optional string label = 10; |
|
|
|
optional string additionalInfo = 11; |
|
|
|
optional int64 customerIdMSB = 4 [deprecated = true]; |
|
|
|
optional int64 customerIdLSB = 5 [deprecated = true]; |
|
|
|
optional int64 deviceProfileIdMSB = 6 [deprecated = true]; |
|
|
|
optional int64 deviceProfileIdLSB = 7 [deprecated = true]; |
|
|
|
string name = 8 [deprecated = true]; |
|
|
|
string type = 9 [deprecated = true]; |
|
|
|
optional string label = 10 [deprecated = true]; |
|
|
|
optional string additionalInfo = 11 [deprecated = true]; |
|
|
|
optional string conflictName = 12 [deprecated = true]; |
|
|
|
optional int64 firmwareIdMSB = 13; |
|
|
|
optional int64 firmwareIdLSB = 14; |
|
|
|
optional bytes deviceDataBytes = 15; |
|
|
|
optional int64 softwareIdMSB = 16; |
|
|
|
optional int64 softwareIdLSB = 17; |
|
|
|
optional int64 firmwareIdMSB = 13 [deprecated = true]; |
|
|
|
optional int64 firmwareIdLSB = 14 [deprecated = true]; |
|
|
|
optional bytes deviceDataBytes = 15 [deprecated = true]; |
|
|
|
optional int64 softwareIdMSB = 16 [deprecated = true]; |
|
|
|
optional int64 softwareIdLSB = 17 [deprecated = true]; |
|
|
|
string entity = 18; |
|
|
|
} |
|
|
|
|
|
|
|
message DeviceProfileUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 idMSB = 2; |
|
|
|
int64 idLSB = 3; |
|
|
|
string name = 4; |
|
|
|
optional string description = 5; |
|
|
|
bool default = 6; |
|
|
|
string type = 7; |
|
|
|
optional string transportType = 8; |
|
|
|
optional string provisionType = 9; |
|
|
|
int64 defaultRuleChainIdMSB = 10; |
|
|
|
int64 defaultRuleChainIdLSB = 11; |
|
|
|
string defaultQueueName = 12; |
|
|
|
bytes profileDataBytes = 13; |
|
|
|
optional string provisionDeviceKey = 14; |
|
|
|
optional bytes image = 15; |
|
|
|
optional int64 firmwareIdMSB = 16; |
|
|
|
optional int64 firmwareIdLSB = 17; |
|
|
|
optional int64 softwareIdMSB = 18; |
|
|
|
optional int64 softwareIdLSB = 19; |
|
|
|
optional int64 defaultDashboardIdMSB = 20; |
|
|
|
optional int64 defaultDashboardIdLSB = 21; |
|
|
|
string name = 4 [deprecated = true]; |
|
|
|
optional string description = 5 [deprecated = true]; |
|
|
|
bool default = 6 [deprecated = true]; |
|
|
|
string type = 7 [deprecated = true]; |
|
|
|
optional string transportType = 8 [deprecated = true]; |
|
|
|
optional string provisionType = 9 [deprecated = true]; |
|
|
|
int64 defaultRuleChainIdMSB = 10 [deprecated = true]; |
|
|
|
int64 defaultRuleChainIdLSB = 11 [deprecated = true]; |
|
|
|
string defaultQueueName = 12 [deprecated = true]; |
|
|
|
bytes profileDataBytes = 13 [deprecated = true]; |
|
|
|
optional string provisionDeviceKey = 14 [deprecated = true]; |
|
|
|
optional bytes image = 15 [deprecated = true]; |
|
|
|
optional int64 firmwareIdMSB = 16 [deprecated = true]; |
|
|
|
optional int64 firmwareIdLSB = 17 [deprecated = true]; |
|
|
|
optional int64 softwareIdMSB = 18 [deprecated = true]; |
|
|
|
optional int64 softwareIdLSB = 19 [deprecated = true]; |
|
|
|
optional int64 defaultDashboardIdMSB = 20 [deprecated = true]; |
|
|
|
optional int64 defaultDashboardIdLSB = 21 [deprecated = true]; |
|
|
|
string entity = 22; |
|
|
|
} |
|
|
|
|
|
|
|
message AssetProfileUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 idMSB = 2; |
|
|
|
int64 idLSB = 3; |
|
|
|
string name = 4; |
|
|
|
optional string description = 5; |
|
|
|
bool default = 6; |
|
|
|
int64 defaultRuleChainIdMSB = 7; |
|
|
|
int64 defaultRuleChainIdLSB = 8; |
|
|
|
int64 defaultDashboardIdMSB = 9; |
|
|
|
int64 defaultDashboardIdLSB = 10; |
|
|
|
optional string defaultQueueName = 11; |
|
|
|
optional bytes image = 12; |
|
|
|
string name = 4 [deprecated = true]; |
|
|
|
optional string description = 5 [deprecated = true]; |
|
|
|
bool default = 6 [deprecated = true]; |
|
|
|
int64 defaultRuleChainIdMSB = 7 [deprecated = true]; |
|
|
|
int64 defaultRuleChainIdLSB = 8 [deprecated = true]; |
|
|
|
int64 defaultDashboardIdMSB = 9 [deprecated = true]; |
|
|
|
int64 defaultDashboardIdLSB = 10 [deprecated = true]; |
|
|
|
optional string defaultQueueName = 11 [deprecated = true]; |
|
|
|
optional bytes image = 12 [deprecated = true]; |
|
|
|
string entity = 13; |
|
|
|
} |
|
|
|
|
|
|
|
message DeviceCredentialsUpdateMsg { |
|
|
|
int64 deviceIdMSB = 1; |
|
|
|
int64 deviceIdLSB = 2; |
|
|
|
string credentialsType = 3; |
|
|
|
string credentialsId = 4; |
|
|
|
optional string credentialsValue = 5; |
|
|
|
int64 deviceIdMSB = 1 [deprecated = true]; |
|
|
|
int64 deviceIdLSB = 2 [deprecated = true]; |
|
|
|
string credentialsType = 3 [deprecated = true]; |
|
|
|
string credentialsId = 4 [deprecated = true]; |
|
|
|
optional string credentialsValue = 5 [deprecated = true]; |
|
|
|
string entity = 6; |
|
|
|
} |
|
|
|
|
|
|
|
message AssetUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 idMSB = 2; |
|
|
|
int64 idLSB = 3; |
|
|
|
optional int64 customerIdMSB = 4; |
|
|
|
optional int64 customerIdLSB = 5; |
|
|
|
string name = 6; |
|
|
|
string type = 7; |
|
|
|
optional string label = 8; |
|
|
|
optional string additionalInfo = 9; |
|
|
|
optional int64 assetProfileIdMSB = 10; |
|
|
|
optional int64 assetProfileIdLSB = 11; |
|
|
|
optional int64 customerIdMSB = 4 [deprecated = true]; |
|
|
|
optional int64 customerIdLSB = 5 [deprecated = true]; |
|
|
|
string name = 6 [deprecated = true]; |
|
|
|
string type = 7 [deprecated = true]; |
|
|
|
optional string label = 8 [deprecated = true]; |
|
|
|
optional string additionalInfo = 9 [deprecated = true]; |
|
|
|
optional int64 assetProfileIdMSB = 10 [deprecated = true]; |
|
|
|
optional int64 assetProfileIdLSB = 11 [deprecated = true]; |
|
|
|
string entity = 12; |
|
|
|
} |
|
|
|
|
|
|
|
message EntityViewUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 idMSB = 2; |
|
|
|
int64 idLSB = 3; |
|
|
|
optional int64 customerIdMSB = 4; |
|
|
|
optional int64 customerIdLSB = 5; |
|
|
|
string name = 6; |
|
|
|
string type = 7; |
|
|
|
int64 entityIdMSB = 8; |
|
|
|
int64 entityIdLSB = 9; |
|
|
|
EdgeEntityType entityType = 10; |
|
|
|
optional string additionalInfo = 11; |
|
|
|
optional int64 customerIdMSB = 4 [deprecated = true]; |
|
|
|
optional int64 customerIdLSB = 5 [deprecated = true]; |
|
|
|
string name = 6 [deprecated = true]; |
|
|
|
string type = 7 [deprecated = true]; |
|
|
|
int64 entityIdMSB = 8 [deprecated = true]; |
|
|
|
int64 entityIdLSB = 9 [deprecated = true]; |
|
|
|
EdgeEntityType entityType = 10 [deprecated = true]; |
|
|
|
optional string additionalInfo = 11 [deprecated = true]; |
|
|
|
string entity = 12; |
|
|
|
} |
|
|
|
|
|
|
|
message AlarmUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 idMSB = 2; |
|
|
|
int64 idLSB = 3; |
|
|
|
string name = 4; |
|
|
|
string type = 5; |
|
|
|
string originatorType = 6; |
|
|
|
string name = 4 [deprecated = true]; |
|
|
|
string type = 5 [deprecated = true]; |
|
|
|
string originatorType = 6 [deprecated = true]; |
|
|
|
string originatorName = 7; |
|
|
|
string severity = 8; |
|
|
|
string status = 9; |
|
|
|
int64 startTs = 10; |
|
|
|
int64 endTs = 11; |
|
|
|
int64 ackTs = 12; |
|
|
|
int64 clearTs = 13; |
|
|
|
string details = 14; |
|
|
|
bool propagate = 15; |
|
|
|
bool propagateToOwner = 16; |
|
|
|
bool propagateToTenant = 17; |
|
|
|
string severity = 8 [deprecated = true]; |
|
|
|
string status = 9 [deprecated = true]; |
|
|
|
int64 startTs = 10 [deprecated = true]; |
|
|
|
int64 endTs = 11 [deprecated = true]; |
|
|
|
int64 ackTs = 12 [deprecated = true]; |
|
|
|
int64 clearTs = 13 [deprecated = true]; |
|
|
|
string details = 14 [deprecated = true]; |
|
|
|
bool propagate = 15 [deprecated = true]; |
|
|
|
bool propagateToOwner = 16 [deprecated = true]; |
|
|
|
bool propagateToTenant = 17 [deprecated = true]; |
|
|
|
string entity = 18; |
|
|
|
} |
|
|
|
|
|
|
|
message CustomerUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 idMSB = 2; |
|
|
|
int64 idLSB = 3; |
|
|
|
string title = 4; |
|
|
|
optional string country = 5; |
|
|
|
optional string state = 6; |
|
|
|
optional string city = 7; |
|
|
|
optional string address = 8; |
|
|
|
optional string address2 = 9; |
|
|
|
optional string zip = 10; |
|
|
|
optional string phone = 11; |
|
|
|
optional string email = 12; |
|
|
|
optional string additionalInfo = 13; |
|
|
|
string title = 4 [deprecated = true]; |
|
|
|
optional string country = 5 [deprecated = true]; |
|
|
|
optional string state = 6 [deprecated = true]; |
|
|
|
optional string city = 7 [deprecated = true]; |
|
|
|
optional string address = 8 [deprecated = true]; |
|
|
|
optional string address2 = 9 [deprecated = true]; |
|
|
|
optional string zip = 10 [deprecated = true]; |
|
|
|
optional string phone = 11 [deprecated = true]; |
|
|
|
optional string email = 12 [deprecated = true]; |
|
|
|
optional string additionalInfo = 13 [deprecated = true]; |
|
|
|
string entity = 14; |
|
|
|
} |
|
|
|
|
|
|
|
message RelationUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 fromIdMSB = 2; |
|
|
|
int64 fromIdLSB = 3; |
|
|
|
string fromEntityType = 4; |
|
|
|
int64 toIdMSB = 5; |
|
|
|
int64 toIdLSB = 6; |
|
|
|
string toEntityType = 7; |
|
|
|
string type = 8; |
|
|
|
optional string typeGroup = 9; |
|
|
|
string additionalInfo = 10; |
|
|
|
int64 fromIdMSB = 2 [deprecated = true]; |
|
|
|
int64 fromIdLSB = 3 [deprecated = true]; |
|
|
|
string fromEntityType = 4 [deprecated = true]; |
|
|
|
int64 toIdMSB = 5 [deprecated = true]; |
|
|
|
int64 toIdLSB = 6 [deprecated = true]; |
|
|
|
string toEntityType = 7 [deprecated = true]; |
|
|
|
string type = 8 [deprecated = true]; |
|
|
|
optional string typeGroup = 9 [deprecated = true]; |
|
|
|
string additionalInfo = 10 [deprecated = true]; |
|
|
|
string entity = 11; |
|
|
|
} |
|
|
|
|
|
|
|
message UserUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 idMSB = 2; |
|
|
|
int64 idLSB = 3; |
|
|
|
optional int64 customerIdMSB = 4; |
|
|
|
optional int64 customerIdLSB = 5; |
|
|
|
string email = 6; |
|
|
|
string authority = 7; |
|
|
|
optional string firstName = 8; |
|
|
|
optional string lastName = 9; |
|
|
|
optional string additionalInfo = 10; |
|
|
|
optional int64 customerIdMSB = 4 [deprecated = true]; |
|
|
|
optional int64 customerIdLSB = 5 [deprecated = true]; |
|
|
|
string email = 6 [deprecated = true]; |
|
|
|
string authority = 7 [deprecated = true]; |
|
|
|
optional string firstName = 8 [deprecated = true]; |
|
|
|
optional string lastName = 9 [deprecated = true]; |
|
|
|
optional string additionalInfo = 10 [deprecated = true]; |
|
|
|
string entity = 11; |
|
|
|
} |
|
|
|
|
|
|
|
message WidgetsBundleUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 idMSB = 2; |
|
|
|
int64 idLSB = 3; |
|
|
|
string title = 4; |
|
|
|
string alias = 5; |
|
|
|
optional bytes image = 6; |
|
|
|
bool isSystem = 7; |
|
|
|
optional string description = 8; |
|
|
|
string title = 4 [deprecated = true]; |
|
|
|
string alias = 5 [deprecated = true]; |
|
|
|
optional bytes image = 6 [deprecated = true]; |
|
|
|
bool isSystem = 7 [deprecated = true]; |
|
|
|
optional string description = 8 [deprecated = true]; |
|
|
|
optional string widgets = 9; |
|
|
|
optional int32 order = 10; |
|
|
|
optional int32 order = 10 [deprecated = true]; |
|
|
|
string entity = 11; |
|
|
|
} |
|
|
|
|
|
|
|
message WidgetTypeUpdateMsg { |
|
|
|
@ -372,57 +390,62 @@ message WidgetTypeUpdateMsg { |
|
|
|
int64 idLSB = 3; |
|
|
|
optional string bundleAlias = 4 [deprecated = true]; |
|
|
|
optional string alias = 5 [deprecated = true]; |
|
|
|
optional string name = 6; |
|
|
|
optional string descriptorJson = 7; |
|
|
|
bool isSystem = 8; |
|
|
|
optional string image = 9; |
|
|
|
optional string description = 10; |
|
|
|
optional string fqn = 11; |
|
|
|
bool deprecated = 12; |
|
|
|
optional string name = 6 [deprecated = true]; |
|
|
|
optional string descriptorJson = 7 [deprecated = true]; |
|
|
|
bool isSystem = 8 [deprecated = true]; |
|
|
|
optional string image = 9 [deprecated = true]; |
|
|
|
optional string description = 10 [deprecated = true]; |
|
|
|
optional string fqn = 11 [deprecated = true]; |
|
|
|
bool deprecated = 12 [deprecated = true]; |
|
|
|
repeated string tags = 13; |
|
|
|
string entity = 14; |
|
|
|
} |
|
|
|
|
|
|
|
message AdminSettingsUpdateMsg { |
|
|
|
bool isSystem = 1; |
|
|
|
string key = 2; |
|
|
|
string jsonValue = 3; |
|
|
|
bool isSystem = 1 [deprecated = true]; |
|
|
|
string key = 2 [deprecated = true]; |
|
|
|
string jsonValue = 3 [deprecated = true]; |
|
|
|
string entity = 4; |
|
|
|
} |
|
|
|
|
|
|
|
message UserCredentialsUpdateMsg { |
|
|
|
int64 userIdMSB = 1; |
|
|
|
int64 userIdLSB = 2; |
|
|
|
bool enabled = 3; |
|
|
|
string password = 4; |
|
|
|
int64 userIdMSB = 1 [deprecated = true]; |
|
|
|
int64 userIdLSB = 2 [deprecated = true]; |
|
|
|
bool enabled = 3 [deprecated = true]; |
|
|
|
string password = 4 [deprecated = true]; |
|
|
|
string entity = 5; |
|
|
|
} |
|
|
|
|
|
|
|
message TenantUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 idMSB = 2; |
|
|
|
int64 idLSB = 3; |
|
|
|
string title = 4; |
|
|
|
int64 profileIdMSB = 5; |
|
|
|
int64 profileIdLSB = 6; |
|
|
|
string region = 7; |
|
|
|
optional string country = 8; |
|
|
|
optional string state = 9; |
|
|
|
optional string city = 10; |
|
|
|
optional string address = 11; |
|
|
|
optional string address2 = 12; |
|
|
|
optional string zip = 13; |
|
|
|
optional string phone = 14; |
|
|
|
optional string email = 15; |
|
|
|
optional string additionalInfo = 16; |
|
|
|
int64 idMSB = 2 [deprecated = true]; |
|
|
|
int64 idLSB = 3 [deprecated = true]; |
|
|
|
string title = 4 [deprecated = true]; |
|
|
|
int64 profileIdMSB = 5 [deprecated = true]; |
|
|
|
int64 profileIdLSB = 6 [deprecated = true]; |
|
|
|
string region = 7 [deprecated = true]; |
|
|
|
optional string country = 8 [deprecated = true]; |
|
|
|
optional string state = 9 [deprecated = true]; |
|
|
|
optional string city = 10 [deprecated = true]; |
|
|
|
optional string address = 11 [deprecated = true]; |
|
|
|
optional string address2 = 12 [deprecated = true]; |
|
|
|
optional string zip = 13 [deprecated = true]; |
|
|
|
optional string phone = 14 [deprecated = true]; |
|
|
|
optional string email = 15 [deprecated = true]; |
|
|
|
optional string additionalInfo = 16 [deprecated = true]; |
|
|
|
string entity = 17; |
|
|
|
} |
|
|
|
|
|
|
|
message TenantProfileUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 idMSB = 2; |
|
|
|
int64 idLSB = 3; |
|
|
|
string name = 4; |
|
|
|
optional string description = 5; |
|
|
|
bool default = 6; |
|
|
|
bool isolatedRuleChain = 7; |
|
|
|
bytes profileDataBytes = 8; |
|
|
|
int64 idMSB = 2 [deprecated = true]; |
|
|
|
int64 idLSB = 3 [deprecated = true]; |
|
|
|
string name = 4 [deprecated = true]; |
|
|
|
optional string description = 5 [deprecated = true]; |
|
|
|
bool default = 6 [deprecated = true]; |
|
|
|
bool isolatedRuleChain = 7 [deprecated = true]; |
|
|
|
bytes profileDataBytes = 8 [deprecated = true]; |
|
|
|
string entity = 9; |
|
|
|
} |
|
|
|
|
|
|
|
message ResourceUpdateMsg { |
|
|
|
@ -519,44 +542,48 @@ message OtaPackageUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 idMSB = 2; |
|
|
|
int64 idLSB = 3; |
|
|
|
int64 deviceProfileIdMSB = 4; |
|
|
|
int64 deviceProfileIdLSB = 5; |
|
|
|
string type = 6; |
|
|
|
string title = 7; |
|
|
|
string version = 8; |
|
|
|
string tag = 9; |
|
|
|
optional string url = 10; |
|
|
|
optional string fileName = 11; |
|
|
|
optional string contentType = 12; |
|
|
|
optional string checksumAlgorithm = 13; |
|
|
|
optional string checksum = 14; |
|
|
|
optional int64 dataSize = 15; |
|
|
|
optional bytes data = 16; |
|
|
|
optional string additionalInfo = 17; |
|
|
|
int64 deviceProfileIdMSB = 4 [deprecated = true]; |
|
|
|
int64 deviceProfileIdLSB = 5 [deprecated = true]; |
|
|
|
string type = 6 [deprecated = true]; |
|
|
|
string title = 7 [deprecated = true]; |
|
|
|
string version = 8 [deprecated = true]; |
|
|
|
string tag = 9 [deprecated = true]; |
|
|
|
optional string url = 10 [deprecated = true]; |
|
|
|
optional string fileName = 11 [deprecated = true]; |
|
|
|
optional string contentType = 12 [deprecated = true]; |
|
|
|
optional string checksumAlgorithm = 13 [deprecated = true]; |
|
|
|
optional string checksum = 14 [deprecated = true]; |
|
|
|
optional int64 dataSize = 15 [deprecated = true]; |
|
|
|
optional bytes data = 16 [deprecated = true]; |
|
|
|
optional string additionalInfo = 17 [deprecated = true]; |
|
|
|
string entity = 18; |
|
|
|
} |
|
|
|
|
|
|
|
message QueueUpdateMsg { |
|
|
|
UpdateMsgType msgType = 1; |
|
|
|
int64 idMSB = 2; |
|
|
|
int64 idLSB = 3; |
|
|
|
int64 tenantIdMSB = 4; |
|
|
|
int64 tenantIdLSB = 5; |
|
|
|
string name = 6; |
|
|
|
string topic = 7; |
|
|
|
int32 pollInterval = 8; |
|
|
|
int32 partitions = 9; |
|
|
|
bool consumerPerPartition = 10; |
|
|
|
int64 packProcessingTimeout = 11; |
|
|
|
SubmitStrategyProto submitStrategy = 12; |
|
|
|
ProcessingStrategyProto processingStrategy = 13; |
|
|
|
int64 tenantIdMSB = 4 [deprecated = true]; |
|
|
|
int64 tenantIdLSB = 5 [deprecated = true]; |
|
|
|
string name = 6 [deprecated = true]; |
|
|
|
string topic = 7 [deprecated = true]; |
|
|
|
int32 pollInterval = 8 [deprecated = true]; |
|
|
|
int32 partitions = 9 [deprecated = true]; |
|
|
|
bool consumerPerPartition = 10 [deprecated = true]; |
|
|
|
int64 packProcessingTimeout = 11 [deprecated = true]; |
|
|
|
SubmitStrategyProto submitStrategy = 12 [deprecated = true]; |
|
|
|
ProcessingStrategyProto processingStrategy = 13 [deprecated = true]; |
|
|
|
string entity = 14; |
|
|
|
} |
|
|
|
|
|
|
|
message SubmitStrategyProto { |
|
|
|
option deprecated = true; |
|
|
|
string type = 1; |
|
|
|
int32 batchSize = 2; |
|
|
|
} |
|
|
|
|
|
|
|
message ProcessingStrategyProto { |
|
|
|
option deprecated = true; |
|
|
|
string type = 1; |
|
|
|
int32 retries = 2; |
|
|
|
double failurePercentage = 3; |
|
|
|
|