@aceplus/smartace-api 3.4.0-alpha.8 → 3.4.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/spic.asset_pb.d.ts +4 -0
- package/spic.asset_pb.js +57 -27
package/package.json
CHANGED
package/spic.asset_pb.d.ts
CHANGED
|
@@ -492,6 +492,9 @@ export namespace AssetProto {
|
|
|
492
492
|
getDomain(): string;
|
|
493
493
|
setDomain(value: string): void;
|
|
494
494
|
|
|
495
|
+
getComponentClass(): string;
|
|
496
|
+
setComponentClass(value: string): void;
|
|
497
|
+
|
|
495
498
|
getValue(): string;
|
|
496
499
|
setValue(value: string): void;
|
|
497
500
|
|
|
@@ -527,6 +530,7 @@ export namespace AssetProto {
|
|
|
527
530
|
id: string,
|
|
528
531
|
componentIdentifier: ComponentIdentifierMap[keyof ComponentIdentifierMap],
|
|
529
532
|
domain: string,
|
|
533
|
+
componentClass: string,
|
|
530
534
|
value: string,
|
|
531
535
|
lastChanged?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
532
536
|
lastUpdated?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
package/spic.asset_pb.js
CHANGED
|
@@ -3397,7 +3397,8 @@ proto.Spic.AssetProto.ComponentState.toObject = function(includeInstance, msg) {
|
|
|
3397
3397
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3398
3398
|
componentIdentifier: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
3399
3399
|
domain: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3400
|
-
|
|
3400
|
+
componentClass: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3401
|
+
value: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3401
3402
|
lastChanged: (f = msg.getLastChanged()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
3402
3403
|
lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
3403
3404
|
lastReported: (f = msg.getLastReported()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
@@ -3452,24 +3453,28 @@ proto.Spic.AssetProto.ComponentState.deserializeBinaryFromReader = function(msg,
|
|
|
3452
3453
|
break;
|
|
3453
3454
|
case 4:
|
|
3454
3455
|
var value = /** @type {string} */ (reader.readString());
|
|
3455
|
-
msg.
|
|
3456
|
+
msg.setComponentClass(value);
|
|
3456
3457
|
break;
|
|
3457
3458
|
case 5:
|
|
3459
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3460
|
+
msg.setValue(value);
|
|
3461
|
+
break;
|
|
3462
|
+
case 6:
|
|
3458
3463
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
3459
3464
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
3460
3465
|
msg.setLastChanged(value);
|
|
3461
3466
|
break;
|
|
3462
|
-
case
|
|
3467
|
+
case 7:
|
|
3463
3468
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
3464
3469
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
3465
3470
|
msg.setLastUpdated(value);
|
|
3466
3471
|
break;
|
|
3467
|
-
case
|
|
3472
|
+
case 8:
|
|
3468
3473
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
3469
3474
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
3470
3475
|
msg.setLastReported(value);
|
|
3471
3476
|
break;
|
|
3472
|
-
case
|
|
3477
|
+
case 9:
|
|
3473
3478
|
var value = msg.getAttributesMap();
|
|
3474
3479
|
reader.readMessage(value, function(message, reader) {
|
|
3475
3480
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
@@ -3525,17 +3530,24 @@ proto.Spic.AssetProto.ComponentState.serializeBinaryToWriter = function(message,
|
|
|
3525
3530
|
f
|
|
3526
3531
|
);
|
|
3527
3532
|
}
|
|
3528
|
-
f = message.
|
|
3533
|
+
f = message.getComponentClass();
|
|
3529
3534
|
if (f.length > 0) {
|
|
3530
3535
|
writer.writeString(
|
|
3531
3536
|
4,
|
|
3532
3537
|
f
|
|
3533
3538
|
);
|
|
3534
3539
|
}
|
|
3540
|
+
f = message.getValue();
|
|
3541
|
+
if (f.length > 0) {
|
|
3542
|
+
writer.writeString(
|
|
3543
|
+
5,
|
|
3544
|
+
f
|
|
3545
|
+
);
|
|
3546
|
+
}
|
|
3535
3547
|
f = message.getLastChanged();
|
|
3536
3548
|
if (f != null) {
|
|
3537
3549
|
writer.writeMessage(
|
|
3538
|
-
|
|
3550
|
+
6,
|
|
3539
3551
|
f,
|
|
3540
3552
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
3541
3553
|
);
|
|
@@ -3543,7 +3555,7 @@ proto.Spic.AssetProto.ComponentState.serializeBinaryToWriter = function(message,
|
|
|
3543
3555
|
f = message.getLastUpdated();
|
|
3544
3556
|
if (f != null) {
|
|
3545
3557
|
writer.writeMessage(
|
|
3546
|
-
|
|
3558
|
+
7,
|
|
3547
3559
|
f,
|
|
3548
3560
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
3549
3561
|
);
|
|
@@ -3551,14 +3563,14 @@ proto.Spic.AssetProto.ComponentState.serializeBinaryToWriter = function(message,
|
|
|
3551
3563
|
f = message.getLastReported();
|
|
3552
3564
|
if (f != null) {
|
|
3553
3565
|
writer.writeMessage(
|
|
3554
|
-
|
|
3566
|
+
8,
|
|
3555
3567
|
f,
|
|
3556
3568
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
3557
3569
|
);
|
|
3558
3570
|
}
|
|
3559
3571
|
f = message.getAttributesMap(true);
|
|
3560
3572
|
if (f && f.getLength() > 0) {
|
|
3561
|
-
f.serializeBinary(
|
|
3573
|
+
f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
3562
3574
|
}
|
|
3563
3575
|
};
|
|
3564
3576
|
|
|
@@ -3618,10 +3630,10 @@ proto.Spic.AssetProto.ComponentState.prototype.setDomain = function(value) {
|
|
|
3618
3630
|
|
|
3619
3631
|
|
|
3620
3632
|
/**
|
|
3621
|
-
* optional string
|
|
3633
|
+
* optional string component_class = 4;
|
|
3622
3634
|
* @return {string}
|
|
3623
3635
|
*/
|
|
3624
|
-
proto.Spic.AssetProto.ComponentState.prototype.
|
|
3636
|
+
proto.Spic.AssetProto.ComponentState.prototype.getComponentClass = function() {
|
|
3625
3637
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3626
3638
|
};
|
|
3627
3639
|
|
|
@@ -3630,18 +3642,36 @@ proto.Spic.AssetProto.ComponentState.prototype.getValue = function() {
|
|
|
3630
3642
|
* @param {string} value
|
|
3631
3643
|
* @return {!proto.Spic.AssetProto.ComponentState} returns this
|
|
3632
3644
|
*/
|
|
3633
|
-
proto.Spic.AssetProto.ComponentState.prototype.
|
|
3645
|
+
proto.Spic.AssetProto.ComponentState.prototype.setComponentClass = function(value) {
|
|
3634
3646
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3635
3647
|
};
|
|
3636
3648
|
|
|
3637
3649
|
|
|
3638
3650
|
/**
|
|
3639
|
-
* optional
|
|
3651
|
+
* optional string value = 5;
|
|
3652
|
+
* @return {string}
|
|
3653
|
+
*/
|
|
3654
|
+
proto.Spic.AssetProto.ComponentState.prototype.getValue = function() {
|
|
3655
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3656
|
+
};
|
|
3657
|
+
|
|
3658
|
+
|
|
3659
|
+
/**
|
|
3660
|
+
* @param {string} value
|
|
3661
|
+
* @return {!proto.Spic.AssetProto.ComponentState} returns this
|
|
3662
|
+
*/
|
|
3663
|
+
proto.Spic.AssetProto.ComponentState.prototype.setValue = function(value) {
|
|
3664
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3665
|
+
};
|
|
3666
|
+
|
|
3667
|
+
|
|
3668
|
+
/**
|
|
3669
|
+
* optional google.protobuf.Timestamp last_changed = 6;
|
|
3640
3670
|
* @return {?proto.google.protobuf.Timestamp}
|
|
3641
3671
|
*/
|
|
3642
3672
|
proto.Spic.AssetProto.ComponentState.prototype.getLastChanged = function() {
|
|
3643
3673
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
3644
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp,
|
|
3674
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
3645
3675
|
};
|
|
3646
3676
|
|
|
3647
3677
|
|
|
@@ -3650,7 +3680,7 @@ proto.Spic.AssetProto.ComponentState.prototype.getLastChanged = function() {
|
|
|
3650
3680
|
* @return {!proto.Spic.AssetProto.ComponentState} returns this
|
|
3651
3681
|
*/
|
|
3652
3682
|
proto.Spic.AssetProto.ComponentState.prototype.setLastChanged = function(value) {
|
|
3653
|
-
return jspb.Message.setWrapperField(this,
|
|
3683
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
3654
3684
|
};
|
|
3655
3685
|
|
|
3656
3686
|
|
|
@@ -3668,17 +3698,17 @@ proto.Spic.AssetProto.ComponentState.prototype.clearLastChanged = function() {
|
|
|
3668
3698
|
* @return {boolean}
|
|
3669
3699
|
*/
|
|
3670
3700
|
proto.Spic.AssetProto.ComponentState.prototype.hasLastChanged = function() {
|
|
3671
|
-
return jspb.Message.getField(this,
|
|
3701
|
+
return jspb.Message.getField(this, 6) != null;
|
|
3672
3702
|
};
|
|
3673
3703
|
|
|
3674
3704
|
|
|
3675
3705
|
/**
|
|
3676
|
-
* optional google.protobuf.Timestamp last_updated =
|
|
3706
|
+
* optional google.protobuf.Timestamp last_updated = 7;
|
|
3677
3707
|
* @return {?proto.google.protobuf.Timestamp}
|
|
3678
3708
|
*/
|
|
3679
3709
|
proto.Spic.AssetProto.ComponentState.prototype.getLastUpdated = function() {
|
|
3680
3710
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
3681
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp,
|
|
3711
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
|
|
3682
3712
|
};
|
|
3683
3713
|
|
|
3684
3714
|
|
|
@@ -3687,7 +3717,7 @@ proto.Spic.AssetProto.ComponentState.prototype.getLastUpdated = function() {
|
|
|
3687
3717
|
* @return {!proto.Spic.AssetProto.ComponentState} returns this
|
|
3688
3718
|
*/
|
|
3689
3719
|
proto.Spic.AssetProto.ComponentState.prototype.setLastUpdated = function(value) {
|
|
3690
|
-
return jspb.Message.setWrapperField(this,
|
|
3720
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
3691
3721
|
};
|
|
3692
3722
|
|
|
3693
3723
|
|
|
@@ -3705,17 +3735,17 @@ proto.Spic.AssetProto.ComponentState.prototype.clearLastUpdated = function() {
|
|
|
3705
3735
|
* @return {boolean}
|
|
3706
3736
|
*/
|
|
3707
3737
|
proto.Spic.AssetProto.ComponentState.prototype.hasLastUpdated = function() {
|
|
3708
|
-
return jspb.Message.getField(this,
|
|
3738
|
+
return jspb.Message.getField(this, 7) != null;
|
|
3709
3739
|
};
|
|
3710
3740
|
|
|
3711
3741
|
|
|
3712
3742
|
/**
|
|
3713
|
-
* optional google.protobuf.Timestamp last_reported =
|
|
3743
|
+
* optional google.protobuf.Timestamp last_reported = 8;
|
|
3714
3744
|
* @return {?proto.google.protobuf.Timestamp}
|
|
3715
3745
|
*/
|
|
3716
3746
|
proto.Spic.AssetProto.ComponentState.prototype.getLastReported = function() {
|
|
3717
3747
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
3718
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp,
|
|
3748
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
|
|
3719
3749
|
};
|
|
3720
3750
|
|
|
3721
3751
|
|
|
@@ -3724,7 +3754,7 @@ proto.Spic.AssetProto.ComponentState.prototype.getLastReported = function() {
|
|
|
3724
3754
|
* @return {!proto.Spic.AssetProto.ComponentState} returns this
|
|
3725
3755
|
*/
|
|
3726
3756
|
proto.Spic.AssetProto.ComponentState.prototype.setLastReported = function(value) {
|
|
3727
|
-
return jspb.Message.setWrapperField(this,
|
|
3757
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
3728
3758
|
};
|
|
3729
3759
|
|
|
3730
3760
|
|
|
@@ -3742,19 +3772,19 @@ proto.Spic.AssetProto.ComponentState.prototype.clearLastReported = function() {
|
|
|
3742
3772
|
* @return {boolean}
|
|
3743
3773
|
*/
|
|
3744
3774
|
proto.Spic.AssetProto.ComponentState.prototype.hasLastReported = function() {
|
|
3745
|
-
return jspb.Message.getField(this,
|
|
3775
|
+
return jspb.Message.getField(this, 8) != null;
|
|
3746
3776
|
};
|
|
3747
3777
|
|
|
3748
3778
|
|
|
3749
3779
|
/**
|
|
3750
|
-
* map<string, string> attributes =
|
|
3780
|
+
* map<string, string> attributes = 9;
|
|
3751
3781
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
3752
3782
|
* empty, instead returning `undefined`
|
|
3753
3783
|
* @return {!jspb.Map<string,string>}
|
|
3754
3784
|
*/
|
|
3755
3785
|
proto.Spic.AssetProto.ComponentState.prototype.getAttributesMap = function(opt_noLazyCreate) {
|
|
3756
3786
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
3757
|
-
jspb.Message.getMapField(this,
|
|
3787
|
+
jspb.Message.getMapField(this, 9, opt_noLazyCreate,
|
|
3758
3788
|
null));
|
|
3759
3789
|
};
|
|
3760
3790
|
|