@lansweeper/data-platform-outbound-grpc 0.1.3 → 0.1.5
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 +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +9 -0
- package/gen-proto/outbound_pb.js +90 -12
- package/generated-go/outbound.pb.go +949 -897
- package/generated-go/outbound_grpc.pb.go +19 -7
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +7 -3
- package/src/main/java/com/lansweeper/dp/outbound/v1/Asset.java +2132 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +144 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/AssetType.java +801 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/AssetTypeOrBuilder.java +58 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrand.java +4433 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrandOrBuilder.java +446 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModel.java +4089 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModelOrBuilder.java +422 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitor.java +484 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitorOrBuilder.java +15 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOs.java +3858 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOsOrBuilder.java +384 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftware.java +3315 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftwareOrBuilder.java +332 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFields.java +1731 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.java +138 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/Entity.java +762 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/EntityOrBuilder.java +41 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPath.java +1283 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPathOrBuilder.java +113 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequest.java +655 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequestOrBuilder.java +36 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponse.java +1193 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponseOrBuilder.java +71 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfo.java +2702 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfoOrBuilder.java +237 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequest.java +655 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequestOrBuilder.java +36 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponse.java +958 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponseOrBuilder.java +48 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfo.java +2332 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfoOrBuilder.java +191 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/Outbound.java +284 -43252
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfo.java +1073 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfoOrBuilder.java +77 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftware.java +1894 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftwareOrBuilder.java +187 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/Software.java +2797 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventory.java +958 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventoryOrBuilder.java +48 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.java +258 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfo.java +1846 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfoOrBuilder.java +205 -0
|
@@ -31,6 +31,13 @@ export namespace GetEntityRequest {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
export class GetEntityResponse extends jspb.Message {
|
|
34
|
+
getSuccess(): boolean;
|
|
35
|
+
setSuccess(value: boolean): GetEntityResponse;
|
|
36
|
+
|
|
37
|
+
hasErrorDescription(): boolean;
|
|
38
|
+
clearErrorDescription(): void;
|
|
39
|
+
getErrorDescription(): string | undefined;
|
|
40
|
+
setErrorDescription(value: string): GetEntityResponse;
|
|
34
41
|
|
|
35
42
|
hasEntity(): boolean;
|
|
36
43
|
clearEntity(): void;
|
|
@@ -53,6 +60,8 @@ export class GetEntityResponse extends jspb.Message {
|
|
|
53
60
|
|
|
54
61
|
export namespace GetEntityResponse {
|
|
55
62
|
export type AsObject = {
|
|
63
|
+
success: boolean,
|
|
64
|
+
errorDescription?: string,
|
|
56
65
|
entity?: Entity.AsObject,
|
|
57
66
|
relatedList: Array<Entity.AsObject>,
|
|
58
67
|
}
|
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -638,7 +638,7 @@ proto.com.lansweeper.dp.outbound.v1.GetEntityRequest.prototype.hasEntityPath = f
|
|
|
638
638
|
* @private {!Array<number>}
|
|
639
639
|
* @const
|
|
640
640
|
*/
|
|
641
|
-
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.repeatedFields_ = [
|
|
641
|
+
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.repeatedFields_ = [4];
|
|
642
642
|
|
|
643
643
|
|
|
644
644
|
|
|
@@ -671,6 +671,8 @@ proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.toObject = funct
|
|
|
671
671
|
*/
|
|
672
672
|
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.toObject = function(includeInstance, msg) {
|
|
673
673
|
var f, obj = {
|
|
674
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
675
|
+
errorDescription: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
674
676
|
entity: (f = msg.getEntity()) && proto.com.lansweeper.dp.outbound.v1.Entity.toObject(includeInstance, f),
|
|
675
677
|
relatedList: jspb.Message.toObjectList(msg.getRelatedList(),
|
|
676
678
|
proto.com.lansweeper.dp.outbound.v1.Entity.toObject, includeInstance)
|
|
@@ -711,11 +713,19 @@ proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.deserializeBinaryFromReade
|
|
|
711
713
|
var field = reader.getFieldNumber();
|
|
712
714
|
switch (field) {
|
|
713
715
|
case 1:
|
|
716
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
717
|
+
msg.setSuccess(value);
|
|
718
|
+
break;
|
|
719
|
+
case 2:
|
|
720
|
+
var value = /** @type {string} */ (reader.readString());
|
|
721
|
+
msg.setErrorDescription(value);
|
|
722
|
+
break;
|
|
723
|
+
case 3:
|
|
714
724
|
var value = new proto.com.lansweeper.dp.outbound.v1.Entity;
|
|
715
725
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Entity.deserializeBinaryFromReader);
|
|
716
726
|
msg.setEntity(value);
|
|
717
727
|
break;
|
|
718
|
-
case
|
|
728
|
+
case 4:
|
|
719
729
|
var value = new proto.com.lansweeper.dp.outbound.v1.Entity;
|
|
720
730
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Entity.deserializeBinaryFromReader);
|
|
721
731
|
msg.addRelated(value);
|
|
@@ -749,10 +759,24 @@ proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.serializeBinary
|
|
|
749
759
|
*/
|
|
750
760
|
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.serializeBinaryToWriter = function(message, writer) {
|
|
751
761
|
var f = undefined;
|
|
762
|
+
f = message.getSuccess();
|
|
763
|
+
if (f) {
|
|
764
|
+
writer.writeBool(
|
|
765
|
+
1,
|
|
766
|
+
f
|
|
767
|
+
);
|
|
768
|
+
}
|
|
769
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
770
|
+
if (f != null) {
|
|
771
|
+
writer.writeString(
|
|
772
|
+
2,
|
|
773
|
+
f
|
|
774
|
+
);
|
|
775
|
+
}
|
|
752
776
|
f = message.getEntity();
|
|
753
777
|
if (f != null) {
|
|
754
778
|
writer.writeMessage(
|
|
755
|
-
|
|
779
|
+
3,
|
|
756
780
|
f,
|
|
757
781
|
proto.com.lansweeper.dp.outbound.v1.Entity.serializeBinaryToWriter
|
|
758
782
|
);
|
|
@@ -760,7 +784,7 @@ proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.serializeBinaryToWriter =
|
|
|
760
784
|
f = message.getRelatedList();
|
|
761
785
|
if (f.length > 0) {
|
|
762
786
|
writer.writeRepeatedMessage(
|
|
763
|
-
|
|
787
|
+
4,
|
|
764
788
|
f,
|
|
765
789
|
proto.com.lansweeper.dp.outbound.v1.Entity.serializeBinaryToWriter
|
|
766
790
|
);
|
|
@@ -769,12 +793,66 @@ proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.serializeBinaryToWriter =
|
|
|
769
793
|
|
|
770
794
|
|
|
771
795
|
/**
|
|
772
|
-
* optional
|
|
796
|
+
* optional bool success = 1;
|
|
797
|
+
* @return {boolean}
|
|
798
|
+
*/
|
|
799
|
+
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.getSuccess = function() {
|
|
800
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
801
|
+
};
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* @param {boolean} value
|
|
806
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityResponse} returns this
|
|
807
|
+
*/
|
|
808
|
+
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.setSuccess = function(value) {
|
|
809
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
810
|
+
};
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* optional string error_description = 2;
|
|
815
|
+
* @return {string}
|
|
816
|
+
*/
|
|
817
|
+
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.getErrorDescription = function() {
|
|
818
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
819
|
+
};
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* @param {string} value
|
|
824
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityResponse} returns this
|
|
825
|
+
*/
|
|
826
|
+
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.setErrorDescription = function(value) {
|
|
827
|
+
return jspb.Message.setField(this, 2, value);
|
|
828
|
+
};
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* Clears the field making it undefined.
|
|
833
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityResponse} returns this
|
|
834
|
+
*/
|
|
835
|
+
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.clearErrorDescription = function() {
|
|
836
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
837
|
+
};
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
* Returns whether this field is set.
|
|
842
|
+
* @return {boolean}
|
|
843
|
+
*/
|
|
844
|
+
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.hasErrorDescription = function() {
|
|
845
|
+
return jspb.Message.getField(this, 2) != null;
|
|
846
|
+
};
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* optional Entity entity = 3;
|
|
773
851
|
* @return {?proto.com.lansweeper.dp.outbound.v1.Entity}
|
|
774
852
|
*/
|
|
775
853
|
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.getEntity = function() {
|
|
776
854
|
return /** @type{?proto.com.lansweeper.dp.outbound.v1.Entity} */ (
|
|
777
|
-
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Entity,
|
|
855
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Entity, 3));
|
|
778
856
|
};
|
|
779
857
|
|
|
780
858
|
|
|
@@ -783,7 +861,7 @@ proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.getEntity = func
|
|
|
783
861
|
* @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityResponse} returns this
|
|
784
862
|
*/
|
|
785
863
|
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.setEntity = function(value) {
|
|
786
|
-
return jspb.Message.setWrapperField(this,
|
|
864
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
787
865
|
};
|
|
788
866
|
|
|
789
867
|
|
|
@@ -801,17 +879,17 @@ proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.clearEntity = fu
|
|
|
801
879
|
* @return {boolean}
|
|
802
880
|
*/
|
|
803
881
|
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.hasEntity = function() {
|
|
804
|
-
return jspb.Message.getField(this,
|
|
882
|
+
return jspb.Message.getField(this, 3) != null;
|
|
805
883
|
};
|
|
806
884
|
|
|
807
885
|
|
|
808
886
|
/**
|
|
809
|
-
* repeated Entity related =
|
|
887
|
+
* repeated Entity related = 4;
|
|
810
888
|
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.Entity>}
|
|
811
889
|
*/
|
|
812
890
|
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.getRelatedList = function() {
|
|
813
891
|
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.Entity>} */ (
|
|
814
|
-
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Entity,
|
|
892
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Entity, 4));
|
|
815
893
|
};
|
|
816
894
|
|
|
817
895
|
|
|
@@ -820,7 +898,7 @@ proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.getRelatedList =
|
|
|
820
898
|
* @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityResponse} returns this
|
|
821
899
|
*/
|
|
822
900
|
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.setRelatedList = function(value) {
|
|
823
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
901
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
824
902
|
};
|
|
825
903
|
|
|
826
904
|
|
|
@@ -830,7 +908,7 @@ proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.setRelatedList =
|
|
|
830
908
|
* @return {!proto.com.lansweeper.dp.outbound.v1.Entity}
|
|
831
909
|
*/
|
|
832
910
|
proto.com.lansweeper.dp.outbound.v1.GetEntityResponse.prototype.addRelated = function(opt_value, opt_index) {
|
|
833
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
911
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.com.lansweeper.dp.outbound.v1.Entity, opt_index);
|
|
834
912
|
};
|
|
835
913
|
|
|
836
914
|
|