@lansweeper/data-platform-outbound-grpc 0.1.7 → 0.1.8
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/CHANGELOG.md +8 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +24 -0
- package/gen-proto/outbound_pb.js +193 -1
- package/generated-go/outbound.pb.go +465 -420
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +7 -1
- package/src/main/java/com/lansweeper/dp/outbound/v1/Outbound.java +140 -136
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftware.java +8 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/Software.java +753 -25
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventory.java +8 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.java +92 -0
|
@@ -780,6 +780,16 @@ export class Software extends jspb.Message {
|
|
|
780
780
|
getBuild(): string | undefined;
|
|
781
781
|
setBuild(value: string): Software;
|
|
782
782
|
|
|
783
|
+
hasArch(): boolean;
|
|
784
|
+
clearArch(): void;
|
|
785
|
+
getArch(): string | undefined;
|
|
786
|
+
setArch(value: string): Software;
|
|
787
|
+
|
|
788
|
+
hasLang(): boolean;
|
|
789
|
+
clearLang(): void;
|
|
790
|
+
getLang(): string | undefined;
|
|
791
|
+
setLang(value: string): Software;
|
|
792
|
+
|
|
783
793
|
hasCpe(): boolean;
|
|
784
794
|
clearCpe(): void;
|
|
785
795
|
getCpe(): string | undefined;
|
|
@@ -795,6 +805,16 @@ export class Software extends jspb.Message {
|
|
|
795
805
|
getRaw(): RawSoftware | undefined;
|
|
796
806
|
setRaw(value?: RawSoftware): Software;
|
|
797
807
|
|
|
808
|
+
hasRawHash(): boolean;
|
|
809
|
+
clearRawHash(): void;
|
|
810
|
+
getRawHash(): string | undefined;
|
|
811
|
+
setRawHash(value: string): Software;
|
|
812
|
+
|
|
813
|
+
hasNreHash(): boolean;
|
|
814
|
+
clearNreHash(): void;
|
|
815
|
+
getNreHash(): string | undefined;
|
|
816
|
+
setNreHash(value: string): Software;
|
|
817
|
+
|
|
798
818
|
serializeBinary(): Uint8Array;
|
|
799
819
|
toObject(includeInstance?: boolean): Software.AsObject;
|
|
800
820
|
static toObject(includeInstance: boolean, msg: Software): Software.AsObject;
|
|
@@ -821,9 +841,13 @@ export namespace Software {
|
|
|
821
841
|
marketVer?: string,
|
|
822
842
|
edition?: string,
|
|
823
843
|
build?: string,
|
|
844
|
+
arch?: string,
|
|
845
|
+
lang?: string,
|
|
824
846
|
cpe?: string,
|
|
825
847
|
catalogSoftware?: CatalogSoftware.AsObject,
|
|
826
848
|
raw?: RawSoftware.AsObject,
|
|
849
|
+
rawHash?: string,
|
|
850
|
+
nreHash?: string,
|
|
827
851
|
}
|
|
828
852
|
}
|
|
829
853
|
|
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -5706,9 +5706,13 @@ proto.com.lansweeper.dp.outbound.v1.Software.toObject = function(includeInstance
|
|
|
5706
5706
|
marketVer: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
5707
5707
|
edition: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
5708
5708
|
build: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
5709
|
+
arch: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
5710
|
+
lang: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
5709
5711
|
cpe: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
5710
5712
|
catalogSoftware: (f = msg.getCatalogSoftware()) && proto.com.lansweeper.dp.outbound.v1.CatalogSoftware.toObject(includeInstance, f),
|
|
5711
|
-
raw: (f = msg.getRaw()) && proto.com.lansweeper.dp.outbound.v1.RawSoftware.toObject(includeInstance, f)
|
|
5713
|
+
raw: (f = msg.getRaw()) && proto.com.lansweeper.dp.outbound.v1.RawSoftware.toObject(includeInstance, f),
|
|
5714
|
+
rawHash: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
5715
|
+
nreHash: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
5712
5716
|
};
|
|
5713
5717
|
|
|
5714
5718
|
if (includeInstance) {
|
|
@@ -5801,6 +5805,14 @@ proto.com.lansweeper.dp.outbound.v1.Software.deserializeBinaryFromReader = funct
|
|
|
5801
5805
|
var value = /** @type {string} */ (reader.readString());
|
|
5802
5806
|
msg.setBuild(value);
|
|
5803
5807
|
break;
|
|
5808
|
+
case 20:
|
|
5809
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5810
|
+
msg.setArch(value);
|
|
5811
|
+
break;
|
|
5812
|
+
case 21:
|
|
5813
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5814
|
+
msg.setLang(value);
|
|
5815
|
+
break;
|
|
5804
5816
|
case 15:
|
|
5805
5817
|
var value = /** @type {string} */ (reader.readString());
|
|
5806
5818
|
msg.setCpe(value);
|
|
@@ -5815,6 +5827,14 @@ proto.com.lansweeper.dp.outbound.v1.Software.deserializeBinaryFromReader = funct
|
|
|
5815
5827
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.RawSoftware.deserializeBinaryFromReader);
|
|
5816
5828
|
msg.setRaw(value);
|
|
5817
5829
|
break;
|
|
5830
|
+
case 18:
|
|
5831
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5832
|
+
msg.setRawHash(value);
|
|
5833
|
+
break;
|
|
5834
|
+
case 19:
|
|
5835
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5836
|
+
msg.setNreHash(value);
|
|
5837
|
+
break;
|
|
5818
5838
|
default:
|
|
5819
5839
|
reader.skipField();
|
|
5820
5840
|
break;
|
|
@@ -5942,6 +5962,20 @@ proto.com.lansweeper.dp.outbound.v1.Software.serializeBinaryToWriter = function(
|
|
|
5942
5962
|
f
|
|
5943
5963
|
);
|
|
5944
5964
|
}
|
|
5965
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 20));
|
|
5966
|
+
if (f != null) {
|
|
5967
|
+
writer.writeString(
|
|
5968
|
+
20,
|
|
5969
|
+
f
|
|
5970
|
+
);
|
|
5971
|
+
}
|
|
5972
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 21));
|
|
5973
|
+
if (f != null) {
|
|
5974
|
+
writer.writeString(
|
|
5975
|
+
21,
|
|
5976
|
+
f
|
|
5977
|
+
);
|
|
5978
|
+
}
|
|
5945
5979
|
f = /** @type {string} */ (jspb.Message.getField(message, 15));
|
|
5946
5980
|
if (f != null) {
|
|
5947
5981
|
writer.writeString(
|
|
@@ -5965,6 +5999,20 @@ proto.com.lansweeper.dp.outbound.v1.Software.serializeBinaryToWriter = function(
|
|
|
5965
5999
|
proto.com.lansweeper.dp.outbound.v1.RawSoftware.serializeBinaryToWriter
|
|
5966
6000
|
);
|
|
5967
6001
|
}
|
|
6002
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 18));
|
|
6003
|
+
if (f != null) {
|
|
6004
|
+
writer.writeString(
|
|
6005
|
+
18,
|
|
6006
|
+
f
|
|
6007
|
+
);
|
|
6008
|
+
}
|
|
6009
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 19));
|
|
6010
|
+
if (f != null) {
|
|
6011
|
+
writer.writeString(
|
|
6012
|
+
19,
|
|
6013
|
+
f
|
|
6014
|
+
);
|
|
6015
|
+
}
|
|
5968
6016
|
};
|
|
5969
6017
|
|
|
5970
6018
|
|
|
@@ -6472,6 +6520,78 @@ proto.com.lansweeper.dp.outbound.v1.Software.prototype.hasBuild = function() {
|
|
|
6472
6520
|
};
|
|
6473
6521
|
|
|
6474
6522
|
|
|
6523
|
+
/**
|
|
6524
|
+
* optional string arch = 20;
|
|
6525
|
+
* @return {string}
|
|
6526
|
+
*/
|
|
6527
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.getArch = function() {
|
|
6528
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
6529
|
+
};
|
|
6530
|
+
|
|
6531
|
+
|
|
6532
|
+
/**
|
|
6533
|
+
* @param {string} value
|
|
6534
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
|
|
6535
|
+
*/
|
|
6536
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.setArch = function(value) {
|
|
6537
|
+
return jspb.Message.setField(this, 20, value);
|
|
6538
|
+
};
|
|
6539
|
+
|
|
6540
|
+
|
|
6541
|
+
/**
|
|
6542
|
+
* Clears the field making it undefined.
|
|
6543
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
|
|
6544
|
+
*/
|
|
6545
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.clearArch = function() {
|
|
6546
|
+
return jspb.Message.setField(this, 20, undefined);
|
|
6547
|
+
};
|
|
6548
|
+
|
|
6549
|
+
|
|
6550
|
+
/**
|
|
6551
|
+
* Returns whether this field is set.
|
|
6552
|
+
* @return {boolean}
|
|
6553
|
+
*/
|
|
6554
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.hasArch = function() {
|
|
6555
|
+
return jspb.Message.getField(this, 20) != null;
|
|
6556
|
+
};
|
|
6557
|
+
|
|
6558
|
+
|
|
6559
|
+
/**
|
|
6560
|
+
* optional string lang = 21;
|
|
6561
|
+
* @return {string}
|
|
6562
|
+
*/
|
|
6563
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.getLang = function() {
|
|
6564
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
6565
|
+
};
|
|
6566
|
+
|
|
6567
|
+
|
|
6568
|
+
/**
|
|
6569
|
+
* @param {string} value
|
|
6570
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
|
|
6571
|
+
*/
|
|
6572
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.setLang = function(value) {
|
|
6573
|
+
return jspb.Message.setField(this, 21, value);
|
|
6574
|
+
};
|
|
6575
|
+
|
|
6576
|
+
|
|
6577
|
+
/**
|
|
6578
|
+
* Clears the field making it undefined.
|
|
6579
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
|
|
6580
|
+
*/
|
|
6581
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.clearLang = function() {
|
|
6582
|
+
return jspb.Message.setField(this, 21, undefined);
|
|
6583
|
+
};
|
|
6584
|
+
|
|
6585
|
+
|
|
6586
|
+
/**
|
|
6587
|
+
* Returns whether this field is set.
|
|
6588
|
+
* @return {boolean}
|
|
6589
|
+
*/
|
|
6590
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.hasLang = function() {
|
|
6591
|
+
return jspb.Message.getField(this, 21) != null;
|
|
6592
|
+
};
|
|
6593
|
+
|
|
6594
|
+
|
|
6475
6595
|
/**
|
|
6476
6596
|
* optional string cpe = 15;
|
|
6477
6597
|
* @return {string}
|
|
@@ -6582,6 +6702,78 @@ proto.com.lansweeper.dp.outbound.v1.Software.prototype.hasRaw = function() {
|
|
|
6582
6702
|
};
|
|
6583
6703
|
|
|
6584
6704
|
|
|
6705
|
+
/**
|
|
6706
|
+
* optional string raw_hash = 18;
|
|
6707
|
+
* @return {string}
|
|
6708
|
+
*/
|
|
6709
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.getRawHash = function() {
|
|
6710
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
6711
|
+
};
|
|
6712
|
+
|
|
6713
|
+
|
|
6714
|
+
/**
|
|
6715
|
+
* @param {string} value
|
|
6716
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
|
|
6717
|
+
*/
|
|
6718
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.setRawHash = function(value) {
|
|
6719
|
+
return jspb.Message.setField(this, 18, value);
|
|
6720
|
+
};
|
|
6721
|
+
|
|
6722
|
+
|
|
6723
|
+
/**
|
|
6724
|
+
* Clears the field making it undefined.
|
|
6725
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
|
|
6726
|
+
*/
|
|
6727
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.clearRawHash = function() {
|
|
6728
|
+
return jspb.Message.setField(this, 18, undefined);
|
|
6729
|
+
};
|
|
6730
|
+
|
|
6731
|
+
|
|
6732
|
+
/**
|
|
6733
|
+
* Returns whether this field is set.
|
|
6734
|
+
* @return {boolean}
|
|
6735
|
+
*/
|
|
6736
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.hasRawHash = function() {
|
|
6737
|
+
return jspb.Message.getField(this, 18) != null;
|
|
6738
|
+
};
|
|
6739
|
+
|
|
6740
|
+
|
|
6741
|
+
/**
|
|
6742
|
+
* optional string nre_hash = 19;
|
|
6743
|
+
* @return {string}
|
|
6744
|
+
*/
|
|
6745
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.getNreHash = function() {
|
|
6746
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
6747
|
+
};
|
|
6748
|
+
|
|
6749
|
+
|
|
6750
|
+
/**
|
|
6751
|
+
* @param {string} value
|
|
6752
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
|
|
6753
|
+
*/
|
|
6754
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.setNreHash = function(value) {
|
|
6755
|
+
return jspb.Message.setField(this, 19, value);
|
|
6756
|
+
};
|
|
6757
|
+
|
|
6758
|
+
|
|
6759
|
+
/**
|
|
6760
|
+
* Clears the field making it undefined.
|
|
6761
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
|
|
6762
|
+
*/
|
|
6763
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.clearNreHash = function() {
|
|
6764
|
+
return jspb.Message.setField(this, 19, undefined);
|
|
6765
|
+
};
|
|
6766
|
+
|
|
6767
|
+
|
|
6768
|
+
/**
|
|
6769
|
+
* Returns whether this field is set.
|
|
6770
|
+
* @return {boolean}
|
|
6771
|
+
*/
|
|
6772
|
+
proto.com.lansweeper.dp.outbound.v1.Software.prototype.hasNreHash = function() {
|
|
6773
|
+
return jspb.Message.getField(this, 19) != null;
|
|
6774
|
+
};
|
|
6775
|
+
|
|
6776
|
+
|
|
6585
6777
|
|
|
6586
6778
|
|
|
6587
6779
|
|