|
|
@ -20,6 +20,7 @@ option java_multiple_files = true; |
|
|
option java_outer_classname = "EdgeProtos"; |
|
|
option java_outer_classname = "EdgeProtos"; |
|
|
|
|
|
|
|
|
import "queue.proto"; |
|
|
import "queue.proto"; |
|
|
|
|
|
import "google/protobuf/wrappers.proto"; |
|
|
|
|
|
|
|
|
package edge; |
|
|
package edge; |
|
|
|
|
|
|
|
|
@ -129,8 +130,8 @@ message RuleChainUpdateMsg { |
|
|
int64 idMSB = 2; |
|
|
int64 idMSB = 2; |
|
|
int64 idLSB = 3; |
|
|
int64 idLSB = 3; |
|
|
string name = 4; |
|
|
string name = 4; |
|
|
int64 firstRuleNodeIdMSB = 5; |
|
|
google.protobuf.Int64Value firstRuleNodeIdMSB = 5; |
|
|
int64 firstRuleNodeIdLSB = 6; |
|
|
google.protobuf.Int64Value firstRuleNodeIdLSB = 6; |
|
|
bool root = 7; |
|
|
bool root = 7; |
|
|
bool debugMode = 8; |
|
|
bool debugMode = 8; |
|
|
string configuration = 9; |
|
|
string configuration = 9; |
|
|
@ -174,8 +175,8 @@ message DashboardUpdateMsg { |
|
|
UpdateMsgType msgType = 1; |
|
|
UpdateMsgType msgType = 1; |
|
|
int64 idMSB = 2; |
|
|
int64 idMSB = 2; |
|
|
int64 idLSB = 3; |
|
|
int64 idLSB = 3; |
|
|
int64 customerIdMSB = 4; |
|
|
google.protobuf.Int64Value customerIdMSB = 4; |
|
|
int64 customerIdLSB = 5; |
|
|
google.protobuf.Int64Value customerIdLSB = 5; |
|
|
string title = 6; |
|
|
string title = 6; |
|
|
string configuration = 7; |
|
|
string configuration = 7; |
|
|
} |
|
|
} |
|
|
@ -184,15 +185,15 @@ message DeviceUpdateMsg { |
|
|
UpdateMsgType msgType = 1; |
|
|
UpdateMsgType msgType = 1; |
|
|
int64 idMSB = 2; |
|
|
int64 idMSB = 2; |
|
|
int64 idLSB = 3; |
|
|
int64 idLSB = 3; |
|
|
int64 customerIdMSB = 4; |
|
|
google.protobuf.Int64Value customerIdMSB = 4; |
|
|
int64 customerIdLSB = 5; |
|
|
google.protobuf.Int64Value customerIdLSB = 5; |
|
|
int64 deviceProfileIdMSB = 6; |
|
|
google.protobuf.Int64Value deviceProfileIdMSB = 6; |
|
|
int64 deviceProfileIdLSB = 7; |
|
|
google.protobuf.Int64Value deviceProfileIdLSB = 7; |
|
|
string name = 8; |
|
|
string name = 8; |
|
|
string type = 9; |
|
|
string type = 9; |
|
|
string label = 10; |
|
|
google.protobuf.StringValue label = 10; |
|
|
string additionalInfo = 11; |
|
|
google.protobuf.StringValue additionalInfo = 11; |
|
|
string conflictName = 12; |
|
|
google.protobuf.StringValue conflictName = 12; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
message DeviceProfileUpdateMsg { |
|
|
message DeviceProfileUpdateMsg { |
|
|
@ -200,17 +201,17 @@ message DeviceProfileUpdateMsg { |
|
|
int64 idMSB = 2; |
|
|
int64 idMSB = 2; |
|
|
int64 idLSB = 3; |
|
|
int64 idLSB = 3; |
|
|
string name = 4; |
|
|
string name = 4; |
|
|
string description = 5; |
|
|
google.protobuf.StringValue description = 5; |
|
|
bool default = 6; |
|
|
bool default = 6; |
|
|
string type = 7; |
|
|
string type = 7; |
|
|
string transportType = 8; |
|
|
google.protobuf.StringValue transportType = 8; |
|
|
string provisionType = 9; |
|
|
google.protobuf.StringValue provisionType = 9; |
|
|
int64 defaultRuleChainIdMSB = 10; |
|
|
int64 defaultRuleChainIdMSB = 10; |
|
|
int64 defaultRuleChainIdLSB = 11; |
|
|
int64 defaultRuleChainIdLSB = 11; |
|
|
string defaultQueueName = 12; |
|
|
string defaultQueueName = 12; |
|
|
bytes profileDataBytes = 13; |
|
|
bytes profileDataBytes = 13; |
|
|
string provisionDeviceKey = 14; |
|
|
google.protobuf.StringValue provisionDeviceKey = 14; |
|
|
bytes image = 15; |
|
|
google.protobuf.BytesValue image = 15; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
message DeviceCredentialsUpdateMsg { |
|
|
message DeviceCredentialsUpdateMsg { |
|
|
@ -225,26 +226,26 @@ message AssetUpdateMsg { |
|
|
UpdateMsgType msgType = 1; |
|
|
UpdateMsgType msgType = 1; |
|
|
int64 idMSB = 2; |
|
|
int64 idMSB = 2; |
|
|
int64 idLSB = 3; |
|
|
int64 idLSB = 3; |
|
|
int64 customerIdMSB = 4; |
|
|
google.protobuf.Int64Value customerIdMSB = 4; |
|
|
int64 customerIdLSB = 5; |
|
|
google.protobuf.Int64Value customerIdLSB = 5; |
|
|
string name = 6; |
|
|
string name = 6; |
|
|
string type = 7; |
|
|
string type = 7; |
|
|
string label = 8; |
|
|
google.protobuf.StringValue label = 8; |
|
|
string additionalInfo = 9; |
|
|
google.protobuf.StringValue additionalInfo = 9; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
message EntityViewUpdateMsg { |
|
|
message EntityViewUpdateMsg { |
|
|
UpdateMsgType msgType = 1; |
|
|
UpdateMsgType msgType = 1; |
|
|
int64 idMSB = 2; |
|
|
int64 idMSB = 2; |
|
|
int64 idLSB = 3; |
|
|
int64 idLSB = 3; |
|
|
int64 customerIdMSB = 4; |
|
|
google.protobuf.Int64Value customerIdMSB = 4; |
|
|
int64 customerIdLSB = 5; |
|
|
google.protobuf.Int64Value customerIdLSB = 5; |
|
|
string name = 6; |
|
|
string name = 6; |
|
|
string type = 7; |
|
|
string type = 7; |
|
|
int64 entityIdMSB = 8; |
|
|
int64 entityIdMSB = 8; |
|
|
int64 entityIdLSB = 9; |
|
|
int64 entityIdLSB = 9; |
|
|
EdgeEntityType entityType = 10; |
|
|
EdgeEntityType entityType = 10; |
|
|
string additionalInfo = 11; |
|
|
google.protobuf.StringValue additionalInfo = 11; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
message AlarmUpdateMsg { |
|
|
message AlarmUpdateMsg { |
|
|
@ -268,15 +269,15 @@ message CustomerUpdateMsg { |
|
|
int64 idMSB = 2; |
|
|
int64 idMSB = 2; |
|
|
int64 idLSB = 3; |
|
|
int64 idLSB = 3; |
|
|
string title = 4; |
|
|
string title = 4; |
|
|
string country = 5; |
|
|
google.protobuf.StringValue country = 5; |
|
|
string state = 6; |
|
|
google.protobuf.StringValue state = 6; |
|
|
string city = 7; |
|
|
google.protobuf.StringValue city = 7; |
|
|
string address = 8; |
|
|
google.protobuf.StringValue address = 8; |
|
|
string address2 = 9; |
|
|
google.protobuf.StringValue address2 = 9; |
|
|
string zip = 10; |
|
|
google.protobuf.StringValue zip = 10; |
|
|
string phone = 11; |
|
|
google.protobuf.StringValue phone = 11; |
|
|
string email = 12; |
|
|
google.protobuf.StringValue email = 12; |
|
|
string additionalInfo = 13; |
|
|
google.protobuf.StringValue additionalInfo = 13; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
message RelationUpdateMsg { |
|
|
message RelationUpdateMsg { |
|
|
@ -288,7 +289,7 @@ message RelationUpdateMsg { |
|
|
int64 toIdLSB = 6; |
|
|
int64 toIdLSB = 6; |
|
|
string toEntityType = 7; |
|
|
string toEntityType = 7; |
|
|
string type = 8; |
|
|
string type = 8; |
|
|
string typeGroup = 9; |
|
|
google.protobuf.StringValue typeGroup = 9; |
|
|
string additionalInfo = 10; |
|
|
string additionalInfo = 10; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -296,13 +297,13 @@ message UserUpdateMsg { |
|
|
UpdateMsgType msgType = 1; |
|
|
UpdateMsgType msgType = 1; |
|
|
int64 idMSB = 2; |
|
|
int64 idMSB = 2; |
|
|
int64 idLSB = 3; |
|
|
int64 idLSB = 3; |
|
|
int64 customerIdMSB = 4; |
|
|
google.protobuf.Int64Value customerIdMSB = 4; |
|
|
int64 customerIdLSB = 5; |
|
|
google.protobuf.Int64Value customerIdLSB = 5; |
|
|
string email = 6; |
|
|
string email = 6; |
|
|
string authority = 7; |
|
|
string authority = 7; |
|
|
string firstName = 8; |
|
|
google.protobuf.StringValue firstName = 8; |
|
|
string lastName = 9; |
|
|
google.protobuf.StringValue lastName = 9; |
|
|
string additionalInfo = 10; |
|
|
google.protobuf.StringValue additionalInfo = 10; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
message WidgetsBundleUpdateMsg { |
|
|
message WidgetsBundleUpdateMsg { |
|
|
@ -311,19 +312,19 @@ message WidgetsBundleUpdateMsg { |
|
|
int64 idLSB = 3; |
|
|
int64 idLSB = 3; |
|
|
string title = 4; |
|
|
string title = 4; |
|
|
string alias = 5; |
|
|
string alias = 5; |
|
|
bytes image = 6; |
|
|
google.protobuf.BytesValue image = 6; |
|
|
bool isSystem = 7; |
|
|
bool isSystem = 7; |
|
|
string description = 8; |
|
|
google.protobuf.StringValue description = 8; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
message WidgetTypeUpdateMsg { |
|
|
message WidgetTypeUpdateMsg { |
|
|
UpdateMsgType msgType = 1; |
|
|
UpdateMsgType msgType = 1; |
|
|
int64 idMSB = 2; |
|
|
int64 idMSB = 2; |
|
|
int64 idLSB = 3; |
|
|
int64 idLSB = 3; |
|
|
string bundleAlias = 4; |
|
|
google.protobuf.StringValue bundleAlias = 4; |
|
|
string alias = 5; |
|
|
google.protobuf.StringValue alias = 5; |
|
|
string name = 6; |
|
|
google.protobuf.StringValue name = 6; |
|
|
string descriptorJson = 7; |
|
|
google.protobuf.StringValue descriptorJson = 7; |
|
|
bool isSystem = 8; |
|
|
bool isSystem = 8; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|