@aceplus/smartace-api 3.4.0-alpha.10 → 3.4.0-alpha.11
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 +3 -0
- package/spic.asset_pb.js +35 -1
package/package.json
CHANGED
package/spic.asset_pb.d.ts
CHANGED
|
@@ -515,6 +515,8 @@ export namespace AssetProto {
|
|
|
515
515
|
|
|
516
516
|
getAttributesMap(): jspb.Map<string, string>;
|
|
517
517
|
clearAttributesMap(): void;
|
|
518
|
+
getMetadataMap(): jspb.Map<string, string>;
|
|
519
|
+
clearMetadataMap(): void;
|
|
518
520
|
serializeBinary(): Uint8Array;
|
|
519
521
|
toObject(includeInstance?: boolean): ComponentState.AsObject;
|
|
520
522
|
static toObject(includeInstance: boolean, msg: ComponentState): ComponentState.AsObject;
|
|
@@ -536,6 +538,7 @@ export namespace AssetProto {
|
|
|
536
538
|
lastUpdated?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
537
539
|
lastReported?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
538
540
|
attributesMap: Array<[string, string]>,
|
|
541
|
+
metadataMap: Array<[string, string]>,
|
|
539
542
|
}
|
|
540
543
|
}
|
|
541
544
|
|
package/spic.asset_pb.js
CHANGED
|
@@ -3402,7 +3402,8 @@ proto.Spic.AssetProto.ComponentState.toObject = function(includeInstance, msg) {
|
|
|
3402
3402
|
lastChanged: (f = msg.getLastChanged()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
3403
3403
|
lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
3404
3404
|
lastReported: (f = msg.getLastReported()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
3405
|
-
attributesMap: (f = msg.getAttributesMap()) ? f.toObject(includeInstance, undefined) : []
|
|
3405
|
+
attributesMap: (f = msg.getAttributesMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
3406
|
+
metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : []
|
|
3406
3407
|
};
|
|
3407
3408
|
|
|
3408
3409
|
if (includeInstance) {
|
|
@@ -3480,6 +3481,12 @@ proto.Spic.AssetProto.ComponentState.deserializeBinaryFromReader = function(msg,
|
|
|
3480
3481
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
3481
3482
|
});
|
|
3482
3483
|
break;
|
|
3484
|
+
case 10:
|
|
3485
|
+
var value = msg.getMetadataMap();
|
|
3486
|
+
reader.readMessage(value, function(message, reader) {
|
|
3487
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
3488
|
+
});
|
|
3489
|
+
break;
|
|
3483
3490
|
default:
|
|
3484
3491
|
reader.skipField();
|
|
3485
3492
|
break;
|
|
@@ -3572,6 +3579,10 @@ proto.Spic.AssetProto.ComponentState.serializeBinaryToWriter = function(message,
|
|
|
3572
3579
|
if (f && f.getLength() > 0) {
|
|
3573
3580
|
f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
3574
3581
|
}
|
|
3582
|
+
f = message.getMetadataMap(true);
|
|
3583
|
+
if (f && f.getLength() > 0) {
|
|
3584
|
+
f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
3585
|
+
}
|
|
3575
3586
|
};
|
|
3576
3587
|
|
|
3577
3588
|
|
|
@@ -3799,6 +3810,29 @@ proto.Spic.AssetProto.ComponentState.prototype.clearAttributesMap = function() {
|
|
|
3799
3810
|
};
|
|
3800
3811
|
|
|
3801
3812
|
|
|
3813
|
+
/**
|
|
3814
|
+
* map<string, string> metadata = 10;
|
|
3815
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
3816
|
+
* empty, instead returning `undefined`
|
|
3817
|
+
* @return {!jspb.Map<string,string>}
|
|
3818
|
+
*/
|
|
3819
|
+
proto.Spic.AssetProto.ComponentState.prototype.getMetadataMap = function(opt_noLazyCreate) {
|
|
3820
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
3821
|
+
jspb.Message.getMapField(this, 10, opt_noLazyCreate,
|
|
3822
|
+
null));
|
|
3823
|
+
};
|
|
3824
|
+
|
|
3825
|
+
|
|
3826
|
+
/**
|
|
3827
|
+
* Clears values from the map. The map will be non-null.
|
|
3828
|
+
* @return {!proto.Spic.AssetProto.ComponentState} returns this
|
|
3829
|
+
*/
|
|
3830
|
+
proto.Spic.AssetProto.ComponentState.prototype.clearMetadataMap = function() {
|
|
3831
|
+
this.getMetadataMap().clear();
|
|
3832
|
+
return this;
|
|
3833
|
+
};
|
|
3834
|
+
|
|
3835
|
+
|
|
3802
3836
|
/**
|
|
3803
3837
|
* optional int64 id = 1;
|
|
3804
3838
|
* @return {number}
|