Default queue name is optional
This commit is contained in:
parent
c491b3a787
commit
6cfdedeaa1
@ -38,10 +38,6 @@ public class AssetProfileMsgConstructor {
|
||||
.setIdLSB(assetProfile.getId().getId().getLeastSignificantBits())
|
||||
.setName(assetProfile.getName())
|
||||
.setDefault(assetProfile.isDefault());
|
||||
if (assetProfile.getDefaultRuleChainId() != null) {
|
||||
builder.setDefaultRuleChainIdMSB(assetProfile.getDefaultRuleChainId().getId().getMostSignificantBits())
|
||||
.setDefaultRuleChainIdLSB(assetProfile.getDefaultRuleChainId().getId().getLeastSignificantBits());
|
||||
}
|
||||
if (assetProfile.getDefaultQueueName() != null) {
|
||||
builder.setDefaultQueueName(assetProfile.getDefaultQueueName());
|
||||
}
|
||||
|
||||
@ -233,7 +233,7 @@ message AssetProfileUpdateMsg {
|
||||
bool default = 6;
|
||||
int64 defaultRuleChainIdMSB = 7;
|
||||
int64 defaultRuleChainIdLSB = 8;
|
||||
string defaultQueueName = 9;
|
||||
optional string defaultQueueName = 9;
|
||||
optional bytes image = 10;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user