@lansweeper/data-platform-outbound-grpc 0.1.5 → 0.1.7
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 +21 -49
- package/gen-proto/outbound_pb.js +92 -325
- package/generated-go/outbound.pb.go +333 -397
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +7 -10
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrand.java +302 -529
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrandOrBuilder.java +0 -23
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModel.java +422 -872
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModelOrBuilder.java +28 -71
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOs.java +0 -138
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOsOrBuilder.java +0 -12
- package/src/main/java/com/lansweeper/dp/outbound/v1/Outbound.java +68 -73
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftware.java +89 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftwareOrBuilder.java +11 -0
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -6622,7 +6622,8 @@ proto.com.lansweeper.dp.outbound.v1.RawSoftware.toObject = function(includeInsta
|
|
|
6622
6622
|
arch: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
6623
6623
|
installDate: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
6624
6624
|
sourceType: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
6625
|
-
swId: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
6625
|
+
swId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
6626
|
+
isCurrentUser: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
|
|
6626
6627
|
};
|
|
6627
6628
|
|
|
6628
6629
|
if (includeInstance) {
|
|
@@ -6695,6 +6696,10 @@ proto.com.lansweeper.dp.outbound.v1.RawSoftware.deserializeBinaryFromReader = fu
|
|
|
6695
6696
|
var value = /** @type {string} */ (reader.readString());
|
|
6696
6697
|
msg.setSwId(value);
|
|
6697
6698
|
break;
|
|
6699
|
+
case 10:
|
|
6700
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6701
|
+
msg.setIsCurrentUser(value);
|
|
6702
|
+
break;
|
|
6698
6703
|
default:
|
|
6699
6704
|
reader.skipField();
|
|
6700
6705
|
break;
|
|
@@ -6787,6 +6792,13 @@ proto.com.lansweeper.dp.outbound.v1.RawSoftware.serializeBinaryToWriter = functi
|
|
|
6787
6792
|
f
|
|
6788
6793
|
);
|
|
6789
6794
|
}
|
|
6795
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 10));
|
|
6796
|
+
if (f != null) {
|
|
6797
|
+
writer.writeBool(
|
|
6798
|
+
10,
|
|
6799
|
+
f
|
|
6800
|
+
);
|
|
6801
|
+
}
|
|
6790
6802
|
};
|
|
6791
6803
|
|
|
6792
6804
|
|
|
@@ -7096,6 +7108,42 @@ proto.com.lansweeper.dp.outbound.v1.RawSoftware.prototype.hasSwId = function() {
|
|
|
7096
7108
|
};
|
|
7097
7109
|
|
|
7098
7110
|
|
|
7111
|
+
/**
|
|
7112
|
+
* optional bool is_current_user = 10;
|
|
7113
|
+
* @return {boolean}
|
|
7114
|
+
*/
|
|
7115
|
+
proto.com.lansweeper.dp.outbound.v1.RawSoftware.prototype.getIsCurrentUser = function() {
|
|
7116
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
7117
|
+
};
|
|
7118
|
+
|
|
7119
|
+
|
|
7120
|
+
/**
|
|
7121
|
+
* @param {boolean} value
|
|
7122
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.RawSoftware} returns this
|
|
7123
|
+
*/
|
|
7124
|
+
proto.com.lansweeper.dp.outbound.v1.RawSoftware.prototype.setIsCurrentUser = function(value) {
|
|
7125
|
+
return jspb.Message.setField(this, 10, value);
|
|
7126
|
+
};
|
|
7127
|
+
|
|
7128
|
+
|
|
7129
|
+
/**
|
|
7130
|
+
* Clears the field making it undefined.
|
|
7131
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.RawSoftware} returns this
|
|
7132
|
+
*/
|
|
7133
|
+
proto.com.lansweeper.dp.outbound.v1.RawSoftware.prototype.clearIsCurrentUser = function() {
|
|
7134
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
7135
|
+
};
|
|
7136
|
+
|
|
7137
|
+
|
|
7138
|
+
/**
|
|
7139
|
+
* Returns whether this field is set.
|
|
7140
|
+
* @return {boolean}
|
|
7141
|
+
*/
|
|
7142
|
+
proto.com.lansweeper.dp.outbound.v1.RawSoftware.prototype.hasIsCurrentUser = function() {
|
|
7143
|
+
return jspb.Message.getField(this, 10) != null;
|
|
7144
|
+
};
|
|
7145
|
+
|
|
7146
|
+
|
|
7099
7147
|
|
|
7100
7148
|
|
|
7101
7149
|
|
|
@@ -7129,9 +7177,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.toObject = function(o
|
|
|
7129
7177
|
proto.com.lansweeper.dp.outbound.v1.CatalogBrand.toObject = function(includeInstance, msg) {
|
|
7130
7178
|
var f, obj = {
|
|
7131
7179
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7132
|
-
makeKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7133
7180
|
makeName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7134
|
-
overrideId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
7135
7181
|
parentId: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
7136
7182
|
lastUpdateTime: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
7137
7183
|
countryCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
@@ -7198,18 +7244,10 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.deserializeBinaryFromReader = f
|
|
|
7198
7244
|
var value = /** @type {number} */ (reader.readInt64());
|
|
7199
7245
|
msg.setId(value);
|
|
7200
7246
|
break;
|
|
7201
|
-
case 2:
|
|
7202
|
-
var value = /** @type {string} */ (reader.readString());
|
|
7203
|
-
msg.setMakeKey(value);
|
|
7204
|
-
break;
|
|
7205
7247
|
case 3:
|
|
7206
7248
|
var value = /** @type {string} */ (reader.readString());
|
|
7207
7249
|
msg.setMakeName(value);
|
|
7208
7250
|
break;
|
|
7209
|
-
case 4:
|
|
7210
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
7211
|
-
msg.setOverrideId(value);
|
|
7212
|
-
break;
|
|
7213
7251
|
case 18:
|
|
7214
7252
|
var value = /** @type {number} */ (reader.readInt64());
|
|
7215
7253
|
msg.setParentId(value);
|
|
@@ -7350,13 +7388,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.serializeBinaryToWriter = funct
|
|
|
7350
7388
|
f
|
|
7351
7389
|
);
|
|
7352
7390
|
}
|
|
7353
|
-
f = message.getMakeKey();
|
|
7354
|
-
if (f.length > 0) {
|
|
7355
|
-
writer.writeString(
|
|
7356
|
-
2,
|
|
7357
|
-
f
|
|
7358
|
-
);
|
|
7359
|
-
}
|
|
7360
7391
|
f = message.getMakeName();
|
|
7361
7392
|
if (f.length > 0) {
|
|
7362
7393
|
writer.writeString(
|
|
@@ -7364,13 +7395,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.serializeBinaryToWriter = funct
|
|
|
7364
7395
|
f
|
|
7365
7396
|
);
|
|
7366
7397
|
}
|
|
7367
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
7368
|
-
if (f != null) {
|
|
7369
|
-
writer.writeInt64(
|
|
7370
|
-
4,
|
|
7371
|
-
f
|
|
7372
|
-
);
|
|
7373
|
-
}
|
|
7374
7398
|
f = /** @type {number} */ (jspb.Message.getField(message, 18));
|
|
7375
7399
|
if (f != null) {
|
|
7376
7400
|
writer.writeInt64(
|
|
@@ -7574,24 +7598,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.setId = function(valu
|
|
|
7574
7598
|
};
|
|
7575
7599
|
|
|
7576
7600
|
|
|
7577
|
-
/**
|
|
7578
|
-
* optional string make_key = 2;
|
|
7579
|
-
* @return {string}
|
|
7580
|
-
*/
|
|
7581
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.getMakeKey = function() {
|
|
7582
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7583
|
-
};
|
|
7584
|
-
|
|
7585
|
-
|
|
7586
|
-
/**
|
|
7587
|
-
* @param {string} value
|
|
7588
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogBrand} returns this
|
|
7589
|
-
*/
|
|
7590
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.setMakeKey = function(value) {
|
|
7591
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7592
|
-
};
|
|
7593
|
-
|
|
7594
|
-
|
|
7595
7601
|
/**
|
|
7596
7602
|
* optional string make_name = 3;
|
|
7597
7603
|
* @return {string}
|
|
@@ -7610,42 +7616,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.setMakeName = functio
|
|
|
7610
7616
|
};
|
|
7611
7617
|
|
|
7612
7618
|
|
|
7613
|
-
/**
|
|
7614
|
-
* optional int64 override_id = 4;
|
|
7615
|
-
* @return {number}
|
|
7616
|
-
*/
|
|
7617
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.getOverrideId = function() {
|
|
7618
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
7619
|
-
};
|
|
7620
|
-
|
|
7621
|
-
|
|
7622
|
-
/**
|
|
7623
|
-
* @param {number} value
|
|
7624
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogBrand} returns this
|
|
7625
|
-
*/
|
|
7626
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.setOverrideId = function(value) {
|
|
7627
|
-
return jspb.Message.setField(this, 4, value);
|
|
7628
|
-
};
|
|
7629
|
-
|
|
7630
|
-
|
|
7631
|
-
/**
|
|
7632
|
-
* Clears the field making it undefined.
|
|
7633
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogBrand} returns this
|
|
7634
|
-
*/
|
|
7635
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.clearOverrideId = function() {
|
|
7636
|
-
return jspb.Message.setField(this, 4, undefined);
|
|
7637
|
-
};
|
|
7638
|
-
|
|
7639
|
-
|
|
7640
|
-
/**
|
|
7641
|
-
* Returns whether this field is set.
|
|
7642
|
-
* @return {boolean}
|
|
7643
|
-
*/
|
|
7644
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.hasOverrideId = function() {
|
|
7645
|
-
return jspb.Message.getField(this, 4) != null;
|
|
7646
|
-
};
|
|
7647
|
-
|
|
7648
|
-
|
|
7649
7619
|
/**
|
|
7650
7620
|
* optional int64 parent_id = 18;
|
|
7651
7621
|
* @return {number}
|
|
@@ -8588,7 +8558,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.hasMatchScore = funct
|
|
|
8588
8558
|
* @private {!Array<number>}
|
|
8589
8559
|
* @const
|
|
8590
8560
|
*/
|
|
8591
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.repeatedFields_ = [18,19];
|
|
8561
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.repeatedFields_ = [6,18,19];
|
|
8592
8562
|
|
|
8593
8563
|
|
|
8594
8564
|
|
|
@@ -8622,14 +8592,10 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.toObject = function(o
|
|
|
8622
8592
|
proto.com.lansweeper.dp.outbound.v1.CatalogModel.toObject = function(includeInstance, msg) {
|
|
8623
8593
|
var f, obj = {
|
|
8624
8594
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
8625
|
-
key: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8626
8595
|
makeId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
8627
8596
|
deviceModel: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
overrideId: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
8631
|
-
osDefaultId: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
8632
|
-
osLatestId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
8597
|
+
deviceTypeId: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
8598
|
+
deviceModelCodeList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
8633
8599
|
familyId: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
8634
8600
|
isFamily: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
8635
8601
|
manualUrl: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
@@ -8647,7 +8613,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.toObject = function(includeInst
|
|
|
8647
8613
|
shAppleHomeKit: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
|
|
8648
8614
|
shOpenHabHandle: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
8649
8615
|
nistCpe: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
8650
|
-
|
|
8616
|
+
popularity: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
8651
8617
|
lastUpdateTime: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
8652
8618
|
matchScore: jspb.Message.getFieldWithDefault(msg, 27, 0)
|
|
8653
8619
|
};
|
|
@@ -8690,10 +8656,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.deserializeBinaryFromReader = f
|
|
|
8690
8656
|
var value = /** @type {number} */ (reader.readInt64());
|
|
8691
8657
|
msg.setId(value);
|
|
8692
8658
|
break;
|
|
8693
|
-
case 2:
|
|
8694
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8695
|
-
msg.setKey(value);
|
|
8696
|
-
break;
|
|
8697
8659
|
case 3:
|
|
8698
8660
|
var value = /** @type {number} */ (reader.readInt64());
|
|
8699
8661
|
msg.setMakeId(value);
|
|
@@ -8703,24 +8665,12 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.deserializeBinaryFromReader = f
|
|
|
8703
8665
|
msg.setDeviceModel(value);
|
|
8704
8666
|
break;
|
|
8705
8667
|
case 5:
|
|
8706
|
-
var value = /** @type {
|
|
8707
|
-
msg.
|
|
8668
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8669
|
+
msg.setDeviceTypeId(value);
|
|
8708
8670
|
break;
|
|
8709
8671
|
case 6:
|
|
8710
8672
|
var value = /** @type {string} */ (reader.readString());
|
|
8711
|
-
msg.
|
|
8712
|
-
break;
|
|
8713
|
-
case 7:
|
|
8714
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
8715
|
-
msg.setOverrideId(value);
|
|
8716
|
-
break;
|
|
8717
|
-
case 8:
|
|
8718
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
8719
|
-
msg.setOsDefaultId(value);
|
|
8720
|
-
break;
|
|
8721
|
-
case 9:
|
|
8722
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
8723
|
-
msg.setOsLatestId(value);
|
|
8673
|
+
msg.addDeviceModelCode(value);
|
|
8724
8674
|
break;
|
|
8725
8675
|
case 10:
|
|
8726
8676
|
var value = /** @type {number} */ (reader.readInt64());
|
|
@@ -8791,8 +8741,8 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.deserializeBinaryFromReader = f
|
|
|
8791
8741
|
msg.setNistCpe(value);
|
|
8792
8742
|
break;
|
|
8793
8743
|
case 23:
|
|
8794
|
-
var value = /** @type {number} */ (reader.
|
|
8795
|
-
msg.
|
|
8744
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
8745
|
+
msg.setPopularity(value);
|
|
8796
8746
|
break;
|
|
8797
8747
|
case 16:
|
|
8798
8748
|
var value = /** @type {number} */ (reader.readInt64());
|
|
@@ -8838,13 +8788,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.serializeBinaryToWriter = funct
|
|
|
8838
8788
|
f
|
|
8839
8789
|
);
|
|
8840
8790
|
}
|
|
8841
|
-
f = message.getKey();
|
|
8842
|
-
if (f.length > 0) {
|
|
8843
|
-
writer.writeString(
|
|
8844
|
-
2,
|
|
8845
|
-
f
|
|
8846
|
-
);
|
|
8847
|
-
}
|
|
8848
8791
|
f = message.getMakeId();
|
|
8849
8792
|
if (f !== 0) {
|
|
8850
8793
|
writer.writeInt64(
|
|
@@ -8859,41 +8802,20 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.serializeBinaryToWriter = funct
|
|
|
8859
8802
|
f
|
|
8860
8803
|
);
|
|
8861
8804
|
}
|
|
8862
|
-
f = /** @type {
|
|
8805
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
8863
8806
|
if (f != null) {
|
|
8864
|
-
writer.
|
|
8807
|
+
writer.writeInt64(
|
|
8865
8808
|
5,
|
|
8866
8809
|
f
|
|
8867
8810
|
);
|
|
8868
8811
|
}
|
|
8869
|
-
f =
|
|
8870
|
-
if (f
|
|
8871
|
-
writer.
|
|
8812
|
+
f = message.getDeviceModelCodeList();
|
|
8813
|
+
if (f.length > 0) {
|
|
8814
|
+
writer.writeRepeatedString(
|
|
8872
8815
|
6,
|
|
8873
8816
|
f
|
|
8874
8817
|
);
|
|
8875
8818
|
}
|
|
8876
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
8877
|
-
if (f != null) {
|
|
8878
|
-
writer.writeInt64(
|
|
8879
|
-
7,
|
|
8880
|
-
f
|
|
8881
|
-
);
|
|
8882
|
-
}
|
|
8883
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
8884
|
-
if (f != null) {
|
|
8885
|
-
writer.writeInt64(
|
|
8886
|
-
8,
|
|
8887
|
-
f
|
|
8888
|
-
);
|
|
8889
|
-
}
|
|
8890
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
|
8891
|
-
if (f != null) {
|
|
8892
|
-
writer.writeInt64(
|
|
8893
|
-
9,
|
|
8894
|
-
f
|
|
8895
|
-
);
|
|
8896
|
-
}
|
|
8897
8819
|
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
|
8898
8820
|
if (f != null) {
|
|
8899
8821
|
writer.writeInt64(
|
|
@@ -9015,7 +8937,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.serializeBinaryToWriter = funct
|
|
|
9015
8937
|
}
|
|
9016
8938
|
f = /** @type {number} */ (jspb.Message.getField(message, 23));
|
|
9017
8939
|
if (f != null) {
|
|
9018
|
-
writer.
|
|
8940
|
+
writer.writeInt32(
|
|
9019
8941
|
23,
|
|
9020
8942
|
f
|
|
9021
8943
|
);
|
|
@@ -9055,24 +8977,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setId = function(valu
|
|
|
9055
8977
|
};
|
|
9056
8978
|
|
|
9057
8979
|
|
|
9058
|
-
/**
|
|
9059
|
-
* optional string key = 2;
|
|
9060
|
-
* @return {string}
|
|
9061
|
-
*/
|
|
9062
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.getKey = function() {
|
|
9063
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
9064
|
-
};
|
|
9065
|
-
|
|
9066
|
-
|
|
9067
|
-
/**
|
|
9068
|
-
* @param {string} value
|
|
9069
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9070
|
-
*/
|
|
9071
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setKey = function(value) {
|
|
9072
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
9073
|
-
};
|
|
9074
|
-
|
|
9075
|
-
|
|
9076
8980
|
/**
|
|
9077
8981
|
* optional int64 make_id = 3;
|
|
9078
8982
|
* @return {number}
|
|
@@ -9110,19 +9014,19 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setDeviceModel = func
|
|
|
9110
9014
|
|
|
9111
9015
|
|
|
9112
9016
|
/**
|
|
9113
|
-
* optional
|
|
9114
|
-
* @return {
|
|
9017
|
+
* optional int64 device_type_id = 5;
|
|
9018
|
+
* @return {number}
|
|
9115
9019
|
*/
|
|
9116
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9117
|
-
return /** @type {
|
|
9020
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.getDeviceTypeId = function() {
|
|
9021
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
9118
9022
|
};
|
|
9119
9023
|
|
|
9120
9024
|
|
|
9121
9025
|
/**
|
|
9122
|
-
* @param {
|
|
9026
|
+
* @param {number} value
|
|
9123
9027
|
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9124
9028
|
*/
|
|
9125
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9029
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setDeviceTypeId = function(value) {
|
|
9126
9030
|
return jspb.Message.setField(this, 5, value);
|
|
9127
9031
|
};
|
|
9128
9032
|
|
|
@@ -9131,7 +9035,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setDeviceType = funct
|
|
|
9131
9035
|
* Clears the field making it undefined.
|
|
9132
9036
|
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9133
9037
|
*/
|
|
9134
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9038
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.clearDeviceTypeId = function() {
|
|
9135
9039
|
return jspb.Message.setField(this, 5, undefined);
|
|
9136
9040
|
};
|
|
9137
9041
|
|
|
@@ -9140,152 +9044,45 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.clearDeviceType = fun
|
|
|
9140
9044
|
* Returns whether this field is set.
|
|
9141
9045
|
* @return {boolean}
|
|
9142
9046
|
*/
|
|
9143
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9047
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.hasDeviceTypeId = function() {
|
|
9144
9048
|
return jspb.Message.getField(this, 5) != null;
|
|
9145
9049
|
};
|
|
9146
9050
|
|
|
9147
9051
|
|
|
9148
9052
|
/**
|
|
9149
|
-
*
|
|
9150
|
-
* @return {string}
|
|
9151
|
-
*/
|
|
9152
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.getDeviceModelCode = function() {
|
|
9153
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
9154
|
-
};
|
|
9155
|
-
|
|
9156
|
-
|
|
9157
|
-
/**
|
|
9158
|
-
* @param {string} value
|
|
9159
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9160
|
-
*/
|
|
9161
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setDeviceModelCode = function(value) {
|
|
9162
|
-
return jspb.Message.setField(this, 6, value);
|
|
9163
|
-
};
|
|
9164
|
-
|
|
9165
|
-
|
|
9166
|
-
/**
|
|
9167
|
-
* Clears the field making it undefined.
|
|
9168
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9169
|
-
*/
|
|
9170
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.clearDeviceModelCode = function() {
|
|
9171
|
-
return jspb.Message.setField(this, 6, undefined);
|
|
9172
|
-
};
|
|
9173
|
-
|
|
9174
|
-
|
|
9175
|
-
/**
|
|
9176
|
-
* Returns whether this field is set.
|
|
9177
|
-
* @return {boolean}
|
|
9178
|
-
*/
|
|
9179
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.hasDeviceModelCode = function() {
|
|
9180
|
-
return jspb.Message.getField(this, 6) != null;
|
|
9181
|
-
};
|
|
9182
|
-
|
|
9183
|
-
|
|
9184
|
-
/**
|
|
9185
|
-
* optional int64 override_id = 7;
|
|
9186
|
-
* @return {number}
|
|
9187
|
-
*/
|
|
9188
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.getOverrideId = function() {
|
|
9189
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
9190
|
-
};
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
/**
|
|
9194
|
-
* @param {number} value
|
|
9195
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9196
|
-
*/
|
|
9197
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setOverrideId = function(value) {
|
|
9198
|
-
return jspb.Message.setField(this, 7, value);
|
|
9199
|
-
};
|
|
9200
|
-
|
|
9201
|
-
|
|
9202
|
-
/**
|
|
9203
|
-
* Clears the field making it undefined.
|
|
9204
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9205
|
-
*/
|
|
9206
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.clearOverrideId = function() {
|
|
9207
|
-
return jspb.Message.setField(this, 7, undefined);
|
|
9208
|
-
};
|
|
9209
|
-
|
|
9210
|
-
|
|
9211
|
-
/**
|
|
9212
|
-
* Returns whether this field is set.
|
|
9213
|
-
* @return {boolean}
|
|
9214
|
-
*/
|
|
9215
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.hasOverrideId = function() {
|
|
9216
|
-
return jspb.Message.getField(this, 7) != null;
|
|
9217
|
-
};
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
/**
|
|
9221
|
-
* optional int64 os_default_id = 8;
|
|
9222
|
-
* @return {number}
|
|
9223
|
-
*/
|
|
9224
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.getOsDefaultId = function() {
|
|
9225
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
9226
|
-
};
|
|
9227
|
-
|
|
9228
|
-
|
|
9229
|
-
/**
|
|
9230
|
-
* @param {number} value
|
|
9231
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9053
|
+
* repeated string device_model_code = 6;
|
|
9054
|
+
* @return {!Array<string>}
|
|
9232
9055
|
*/
|
|
9233
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9234
|
-
return jspb.Message.
|
|
9056
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.getDeviceModelCodeList = function() {
|
|
9057
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
9235
9058
|
};
|
|
9236
9059
|
|
|
9237
9060
|
|
|
9238
9061
|
/**
|
|
9239
|
-
*
|
|
9062
|
+
* @param {!Array<string>} value
|
|
9240
9063
|
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9241
9064
|
*/
|
|
9242
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9243
|
-
return jspb.Message.setField(this,
|
|
9065
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setDeviceModelCodeList = function(value) {
|
|
9066
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
9244
9067
|
};
|
|
9245
9068
|
|
|
9246
9069
|
|
|
9247
9070
|
/**
|
|
9248
|
-
*
|
|
9249
|
-
* @
|
|
9250
|
-
*/
|
|
9251
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.hasOsDefaultId = function() {
|
|
9252
|
-
return jspb.Message.getField(this, 8) != null;
|
|
9253
|
-
};
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
/**
|
|
9257
|
-
* optional int64 os_latest_id = 9;
|
|
9258
|
-
* @return {number}
|
|
9259
|
-
*/
|
|
9260
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.getOsLatestId = function() {
|
|
9261
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
9262
|
-
};
|
|
9263
|
-
|
|
9264
|
-
|
|
9265
|
-
/**
|
|
9266
|
-
* @param {number} value
|
|
9071
|
+
* @param {string} value
|
|
9072
|
+
* @param {number=} opt_index
|
|
9267
9073
|
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9268
9074
|
*/
|
|
9269
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9270
|
-
return jspb.Message.
|
|
9075
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.addDeviceModelCode = function(value, opt_index) {
|
|
9076
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
9271
9077
|
};
|
|
9272
9078
|
|
|
9273
9079
|
|
|
9274
9080
|
/**
|
|
9275
|
-
* Clears the
|
|
9081
|
+
* Clears the list making it empty but non-null.
|
|
9276
9082
|
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9277
9083
|
*/
|
|
9278
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9279
|
-
return
|
|
9280
|
-
};
|
|
9281
|
-
|
|
9282
|
-
|
|
9283
|
-
/**
|
|
9284
|
-
* Returns whether this field is set.
|
|
9285
|
-
* @return {boolean}
|
|
9286
|
-
*/
|
|
9287
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.hasOsLatestId = function() {
|
|
9288
|
-
return jspb.Message.getField(this, 9) != null;
|
|
9084
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.clearDeviceModelCodeList = function() {
|
|
9085
|
+
return this.setDeviceModelCodeList([]);
|
|
9289
9086
|
};
|
|
9290
9087
|
|
|
9291
9088
|
|
|
@@ -9904,11 +9701,11 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.hasNistCpe = function
|
|
|
9904
9701
|
|
|
9905
9702
|
|
|
9906
9703
|
/**
|
|
9907
|
-
* optional
|
|
9704
|
+
* optional int32 popularity = 23;
|
|
9908
9705
|
* @return {number}
|
|
9909
9706
|
*/
|
|
9910
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9911
|
-
return /** @type {number} */ (jspb.Message.
|
|
9707
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.getPopularity = function() {
|
|
9708
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 23, 0));
|
|
9912
9709
|
};
|
|
9913
9710
|
|
|
9914
9711
|
|
|
@@ -9916,7 +9713,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.getSpreadInType = fun
|
|
|
9916
9713
|
* @param {number} value
|
|
9917
9714
|
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9918
9715
|
*/
|
|
9919
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9716
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setPopularity = function(value) {
|
|
9920
9717
|
return jspb.Message.setField(this, 23, value);
|
|
9921
9718
|
};
|
|
9922
9719
|
|
|
@@ -9925,7 +9722,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setSpreadInType = fun
|
|
|
9925
9722
|
* Clears the field making it undefined.
|
|
9926
9723
|
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9927
9724
|
*/
|
|
9928
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9725
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.clearPopularity = function() {
|
|
9929
9726
|
return jspb.Message.setField(this, 23, undefined);
|
|
9930
9727
|
};
|
|
9931
9728
|
|
|
@@ -9934,7 +9731,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.clearSpreadInType = f
|
|
|
9934
9731
|
* Returns whether this field is set.
|
|
9935
9732
|
* @return {boolean}
|
|
9936
9733
|
*/
|
|
9937
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9734
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.hasPopularity = function() {
|
|
9938
9735
|
return jspb.Message.getField(this, 23) != null;
|
|
9939
9736
|
};
|
|
9940
9737
|
|
|
@@ -10044,7 +9841,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogOs.prototype.toObject = function(opt_
|
|
|
10044
9841
|
proto.com.lansweeper.dp.outbound.v1.CatalogOs.toObject = function(includeInstance, msg) {
|
|
10045
9842
|
var f, obj = {
|
|
10046
9843
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10047
|
-
osKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10048
9844
|
osName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10049
9845
|
osVersion: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
10050
9846
|
osBuild: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
@@ -10109,10 +9905,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogOs.deserializeBinaryFromReader = func
|
|
|
10109
9905
|
var value = /** @type {number} */ (reader.readInt64());
|
|
10110
9906
|
msg.setId(value);
|
|
10111
9907
|
break;
|
|
10112
|
-
case 2:
|
|
10113
|
-
var value = /** @type {string} */ (reader.readString());
|
|
10114
|
-
msg.setOsKey(value);
|
|
10115
|
-
break;
|
|
10116
9908
|
case 3:
|
|
10117
9909
|
var value = /** @type {string} */ (reader.readString());
|
|
10118
9910
|
msg.setOsName(value);
|
|
@@ -10245,13 +10037,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogOs.serializeBinaryToWriter = function
|
|
|
10245
10037
|
f
|
|
10246
10038
|
);
|
|
10247
10039
|
}
|
|
10248
|
-
f = message.getOsKey();
|
|
10249
|
-
if (f.length > 0) {
|
|
10250
|
-
writer.writeString(
|
|
10251
|
-
2,
|
|
10252
|
-
f
|
|
10253
|
-
);
|
|
10254
|
-
}
|
|
10255
10040
|
f = message.getOsName();
|
|
10256
10041
|
if (f.length > 0) {
|
|
10257
10042
|
writer.writeString(
|
|
@@ -10441,24 +10226,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogOs.prototype.setId = function(value)
|
|
|
10441
10226
|
};
|
|
10442
10227
|
|
|
10443
10228
|
|
|
10444
|
-
/**
|
|
10445
|
-
* optional string os_key = 2;
|
|
10446
|
-
* @return {string}
|
|
10447
|
-
*/
|
|
10448
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogOs.prototype.getOsKey = function() {
|
|
10449
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10450
|
-
};
|
|
10451
|
-
|
|
10452
|
-
|
|
10453
|
-
/**
|
|
10454
|
-
* @param {string} value
|
|
10455
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogOs} returns this
|
|
10456
|
-
*/
|
|
10457
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogOs.prototype.setOsKey = function(value) {
|
|
10458
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10459
|
-
};
|
|
10460
|
-
|
|
10461
|
-
|
|
10462
10229
|
/**
|
|
10463
10230
|
* optional string os_name = 3;
|
|
10464
10231
|
* @return {string}
|