@lansweeper/data-platform-outbound-grpc 0.1.4 → 0.1.6
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 +15 -49
- package/gen-proto/outbound_pb.js +43 -324
- package/generated-go/outbound.pb.go +937 -961
- package/generated-go/outbound_grpc.pb.go +19 -7
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +6 -12
- 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 +120 -126
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -7129,9 +7129,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.toObject = function(o
|
|
|
7129
7129
|
proto.com.lansweeper.dp.outbound.v1.CatalogBrand.toObject = function(includeInstance, msg) {
|
|
7130
7130
|
var f, obj = {
|
|
7131
7131
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7132
|
-
makeKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7133
7132
|
makeName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7134
|
-
overrideId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
7135
7133
|
parentId: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
7136
7134
|
lastUpdateTime: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
7137
7135
|
countryCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
@@ -7198,18 +7196,10 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.deserializeBinaryFromReader = f
|
|
|
7198
7196
|
var value = /** @type {number} */ (reader.readInt64());
|
|
7199
7197
|
msg.setId(value);
|
|
7200
7198
|
break;
|
|
7201
|
-
case 2:
|
|
7202
|
-
var value = /** @type {string} */ (reader.readString());
|
|
7203
|
-
msg.setMakeKey(value);
|
|
7204
|
-
break;
|
|
7205
7199
|
case 3:
|
|
7206
7200
|
var value = /** @type {string} */ (reader.readString());
|
|
7207
7201
|
msg.setMakeName(value);
|
|
7208
7202
|
break;
|
|
7209
|
-
case 4:
|
|
7210
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
7211
|
-
msg.setOverrideId(value);
|
|
7212
|
-
break;
|
|
7213
7203
|
case 18:
|
|
7214
7204
|
var value = /** @type {number} */ (reader.readInt64());
|
|
7215
7205
|
msg.setParentId(value);
|
|
@@ -7350,13 +7340,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.serializeBinaryToWriter = funct
|
|
|
7350
7340
|
f
|
|
7351
7341
|
);
|
|
7352
7342
|
}
|
|
7353
|
-
f = message.getMakeKey();
|
|
7354
|
-
if (f.length > 0) {
|
|
7355
|
-
writer.writeString(
|
|
7356
|
-
2,
|
|
7357
|
-
f
|
|
7358
|
-
);
|
|
7359
|
-
}
|
|
7360
7343
|
f = message.getMakeName();
|
|
7361
7344
|
if (f.length > 0) {
|
|
7362
7345
|
writer.writeString(
|
|
@@ -7364,13 +7347,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.serializeBinaryToWriter = funct
|
|
|
7364
7347
|
f
|
|
7365
7348
|
);
|
|
7366
7349
|
}
|
|
7367
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
7368
|
-
if (f != null) {
|
|
7369
|
-
writer.writeInt64(
|
|
7370
|
-
4,
|
|
7371
|
-
f
|
|
7372
|
-
);
|
|
7373
|
-
}
|
|
7374
7350
|
f = /** @type {number} */ (jspb.Message.getField(message, 18));
|
|
7375
7351
|
if (f != null) {
|
|
7376
7352
|
writer.writeInt64(
|
|
@@ -7574,24 +7550,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.setId = function(valu
|
|
|
7574
7550
|
};
|
|
7575
7551
|
|
|
7576
7552
|
|
|
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
7553
|
/**
|
|
7596
7554
|
* optional string make_name = 3;
|
|
7597
7555
|
* @return {string}
|
|
@@ -7610,42 +7568,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.setMakeName = functio
|
|
|
7610
7568
|
};
|
|
7611
7569
|
|
|
7612
7570
|
|
|
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
7571
|
/**
|
|
7650
7572
|
* optional int64 parent_id = 18;
|
|
7651
7573
|
* @return {number}
|
|
@@ -8588,7 +8510,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogBrand.prototype.hasMatchScore = funct
|
|
|
8588
8510
|
* @private {!Array<number>}
|
|
8589
8511
|
* @const
|
|
8590
8512
|
*/
|
|
8591
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.repeatedFields_ = [18,19];
|
|
8513
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.repeatedFields_ = [6,18,19];
|
|
8592
8514
|
|
|
8593
8515
|
|
|
8594
8516
|
|
|
@@ -8622,14 +8544,10 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.toObject = function(o
|
|
|
8622
8544
|
proto.com.lansweeper.dp.outbound.v1.CatalogModel.toObject = function(includeInstance, msg) {
|
|
8623
8545
|
var f, obj = {
|
|
8624
8546
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
8625
|
-
key: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8626
8547
|
makeId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
8627
8548
|
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),
|
|
8549
|
+
deviceTypeId: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
8550
|
+
deviceModelCodeList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
8633
8551
|
familyId: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
8634
8552
|
isFamily: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
8635
8553
|
manualUrl: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
@@ -8647,7 +8565,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.toObject = function(includeInst
|
|
|
8647
8565
|
shAppleHomeKit: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
|
|
8648
8566
|
shOpenHabHandle: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
8649
8567
|
nistCpe: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
8650
|
-
|
|
8568
|
+
popularity: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
8651
8569
|
lastUpdateTime: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
8652
8570
|
matchScore: jspb.Message.getFieldWithDefault(msg, 27, 0)
|
|
8653
8571
|
};
|
|
@@ -8690,10 +8608,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.deserializeBinaryFromReader = f
|
|
|
8690
8608
|
var value = /** @type {number} */ (reader.readInt64());
|
|
8691
8609
|
msg.setId(value);
|
|
8692
8610
|
break;
|
|
8693
|
-
case 2:
|
|
8694
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8695
|
-
msg.setKey(value);
|
|
8696
|
-
break;
|
|
8697
8611
|
case 3:
|
|
8698
8612
|
var value = /** @type {number} */ (reader.readInt64());
|
|
8699
8613
|
msg.setMakeId(value);
|
|
@@ -8703,24 +8617,12 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.deserializeBinaryFromReader = f
|
|
|
8703
8617
|
msg.setDeviceModel(value);
|
|
8704
8618
|
break;
|
|
8705
8619
|
case 5:
|
|
8706
|
-
var value = /** @type {
|
|
8707
|
-
msg.
|
|
8620
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8621
|
+
msg.setDeviceTypeId(value);
|
|
8708
8622
|
break;
|
|
8709
8623
|
case 6:
|
|
8710
8624
|
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);
|
|
8625
|
+
msg.addDeviceModelCode(value);
|
|
8724
8626
|
break;
|
|
8725
8627
|
case 10:
|
|
8726
8628
|
var value = /** @type {number} */ (reader.readInt64());
|
|
@@ -8791,8 +8693,8 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.deserializeBinaryFromReader = f
|
|
|
8791
8693
|
msg.setNistCpe(value);
|
|
8792
8694
|
break;
|
|
8793
8695
|
case 23:
|
|
8794
|
-
var value = /** @type {number} */ (reader.
|
|
8795
|
-
msg.
|
|
8696
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
8697
|
+
msg.setPopularity(value);
|
|
8796
8698
|
break;
|
|
8797
8699
|
case 16:
|
|
8798
8700
|
var value = /** @type {number} */ (reader.readInt64());
|
|
@@ -8838,13 +8740,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.serializeBinaryToWriter = funct
|
|
|
8838
8740
|
f
|
|
8839
8741
|
);
|
|
8840
8742
|
}
|
|
8841
|
-
f = message.getKey();
|
|
8842
|
-
if (f.length > 0) {
|
|
8843
|
-
writer.writeString(
|
|
8844
|
-
2,
|
|
8845
|
-
f
|
|
8846
|
-
);
|
|
8847
|
-
}
|
|
8848
8743
|
f = message.getMakeId();
|
|
8849
8744
|
if (f !== 0) {
|
|
8850
8745
|
writer.writeInt64(
|
|
@@ -8859,41 +8754,20 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.serializeBinaryToWriter = funct
|
|
|
8859
8754
|
f
|
|
8860
8755
|
);
|
|
8861
8756
|
}
|
|
8862
|
-
f = /** @type {
|
|
8757
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
8863
8758
|
if (f != null) {
|
|
8864
|
-
writer.
|
|
8759
|
+
writer.writeInt64(
|
|
8865
8760
|
5,
|
|
8866
8761
|
f
|
|
8867
8762
|
);
|
|
8868
8763
|
}
|
|
8869
|
-
f =
|
|
8870
|
-
if (f
|
|
8871
|
-
writer.
|
|
8764
|
+
f = message.getDeviceModelCodeList();
|
|
8765
|
+
if (f.length > 0) {
|
|
8766
|
+
writer.writeRepeatedString(
|
|
8872
8767
|
6,
|
|
8873
8768
|
f
|
|
8874
8769
|
);
|
|
8875
8770
|
}
|
|
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
8771
|
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
|
8898
8772
|
if (f != null) {
|
|
8899
8773
|
writer.writeInt64(
|
|
@@ -9015,7 +8889,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.serializeBinaryToWriter = funct
|
|
|
9015
8889
|
}
|
|
9016
8890
|
f = /** @type {number} */ (jspb.Message.getField(message, 23));
|
|
9017
8891
|
if (f != null) {
|
|
9018
|
-
writer.
|
|
8892
|
+
writer.writeInt32(
|
|
9019
8893
|
23,
|
|
9020
8894
|
f
|
|
9021
8895
|
);
|
|
@@ -9055,24 +8929,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setId = function(valu
|
|
|
9055
8929
|
};
|
|
9056
8930
|
|
|
9057
8931
|
|
|
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
8932
|
/**
|
|
9077
8933
|
* optional int64 make_id = 3;
|
|
9078
8934
|
* @return {number}
|
|
@@ -9110,19 +8966,19 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setDeviceModel = func
|
|
|
9110
8966
|
|
|
9111
8967
|
|
|
9112
8968
|
/**
|
|
9113
|
-
* optional
|
|
9114
|
-
* @return {
|
|
8969
|
+
* optional int64 device_type_id = 5;
|
|
8970
|
+
* @return {number}
|
|
9115
8971
|
*/
|
|
9116
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9117
|
-
return /** @type {
|
|
8972
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.getDeviceTypeId = function() {
|
|
8973
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
9118
8974
|
};
|
|
9119
8975
|
|
|
9120
8976
|
|
|
9121
8977
|
/**
|
|
9122
|
-
* @param {
|
|
8978
|
+
* @param {number} value
|
|
9123
8979
|
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9124
8980
|
*/
|
|
9125
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
8981
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setDeviceTypeId = function(value) {
|
|
9126
8982
|
return jspb.Message.setField(this, 5, value);
|
|
9127
8983
|
};
|
|
9128
8984
|
|
|
@@ -9131,7 +8987,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setDeviceType = funct
|
|
|
9131
8987
|
* Clears the field making it undefined.
|
|
9132
8988
|
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9133
8989
|
*/
|
|
9134
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
8990
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.clearDeviceTypeId = function() {
|
|
9135
8991
|
return jspb.Message.setField(this, 5, undefined);
|
|
9136
8992
|
};
|
|
9137
8993
|
|
|
@@ -9140,152 +8996,45 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.clearDeviceType = fun
|
|
|
9140
8996
|
* Returns whether this field is set.
|
|
9141
8997
|
* @return {boolean}
|
|
9142
8998
|
*/
|
|
9143
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
8999
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.hasDeviceTypeId = function() {
|
|
9144
9000
|
return jspb.Message.getField(this, 5) != null;
|
|
9145
9001
|
};
|
|
9146
9002
|
|
|
9147
9003
|
|
|
9148
9004
|
/**
|
|
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}
|
|
9005
|
+
* repeated string device_model_code = 6;
|
|
9006
|
+
* @return {!Array<string>}
|
|
9223
9007
|
*/
|
|
9224
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9225
|
-
return /** @type {
|
|
9008
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.getDeviceModelCodeList = function() {
|
|
9009
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
9226
9010
|
};
|
|
9227
9011
|
|
|
9228
9012
|
|
|
9229
9013
|
/**
|
|
9230
|
-
* @param {
|
|
9014
|
+
* @param {!Array<string>} value
|
|
9231
9015
|
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9232
9016
|
*/
|
|
9233
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9234
|
-
return jspb.Message.setField(this,
|
|
9017
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setDeviceModelCodeList = function(value) {
|
|
9018
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
9235
9019
|
};
|
|
9236
9020
|
|
|
9237
9021
|
|
|
9238
9022
|
/**
|
|
9239
|
-
*
|
|
9023
|
+
* @param {string} value
|
|
9024
|
+
* @param {number=} opt_index
|
|
9240
9025
|
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9241
9026
|
*/
|
|
9242
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9243
|
-
return jspb.Message.
|
|
9244
|
-
};
|
|
9245
|
-
|
|
9246
|
-
|
|
9247
|
-
/**
|
|
9248
|
-
* Returns whether this field is set.
|
|
9249
|
-
* @return {boolean}
|
|
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));
|
|
9027
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.addDeviceModelCode = function(value, opt_index) {
|
|
9028
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
9262
9029
|
};
|
|
9263
9030
|
|
|
9264
9031
|
|
|
9265
9032
|
/**
|
|
9266
|
-
*
|
|
9033
|
+
* Clears the list making it empty but non-null.
|
|
9267
9034
|
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9268
9035
|
*/
|
|
9269
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9270
|
-
return
|
|
9271
|
-
};
|
|
9272
|
-
|
|
9273
|
-
|
|
9274
|
-
/**
|
|
9275
|
-
* Clears the field making it undefined.
|
|
9276
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9277
|
-
*/
|
|
9278
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.clearOsLatestId = function() {
|
|
9279
|
-
return jspb.Message.setField(this, 9, undefined);
|
|
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;
|
|
9036
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.clearDeviceModelCodeList = function() {
|
|
9037
|
+
return this.setDeviceModelCodeList([]);
|
|
9289
9038
|
};
|
|
9290
9039
|
|
|
9291
9040
|
|
|
@@ -9904,11 +9653,11 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.hasNistCpe = function
|
|
|
9904
9653
|
|
|
9905
9654
|
|
|
9906
9655
|
/**
|
|
9907
|
-
* optional
|
|
9656
|
+
* optional int32 popularity = 23;
|
|
9908
9657
|
* @return {number}
|
|
9909
9658
|
*/
|
|
9910
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9911
|
-
return /** @type {number} */ (jspb.Message.
|
|
9659
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.getPopularity = function() {
|
|
9660
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 23, 0));
|
|
9912
9661
|
};
|
|
9913
9662
|
|
|
9914
9663
|
|
|
@@ -9916,7 +9665,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.getSpreadInType = fun
|
|
|
9916
9665
|
* @param {number} value
|
|
9917
9666
|
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9918
9667
|
*/
|
|
9919
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9668
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setPopularity = function(value) {
|
|
9920
9669
|
return jspb.Message.setField(this, 23, value);
|
|
9921
9670
|
};
|
|
9922
9671
|
|
|
@@ -9925,7 +9674,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.setSpreadInType = fun
|
|
|
9925
9674
|
* Clears the field making it undefined.
|
|
9926
9675
|
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogModel} returns this
|
|
9927
9676
|
*/
|
|
9928
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9677
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.clearPopularity = function() {
|
|
9929
9678
|
return jspb.Message.setField(this, 23, undefined);
|
|
9930
9679
|
};
|
|
9931
9680
|
|
|
@@ -9934,7 +9683,7 @@ proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.clearSpreadInType = f
|
|
|
9934
9683
|
* Returns whether this field is set.
|
|
9935
9684
|
* @return {boolean}
|
|
9936
9685
|
*/
|
|
9937
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.
|
|
9686
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogModel.prototype.hasPopularity = function() {
|
|
9938
9687
|
return jspb.Message.getField(this, 23) != null;
|
|
9939
9688
|
};
|
|
9940
9689
|
|
|
@@ -10044,7 +9793,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogOs.prototype.toObject = function(opt_
|
|
|
10044
9793
|
proto.com.lansweeper.dp.outbound.v1.CatalogOs.toObject = function(includeInstance, msg) {
|
|
10045
9794
|
var f, obj = {
|
|
10046
9795
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10047
|
-
osKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10048
9796
|
osName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10049
9797
|
osVersion: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
10050
9798
|
osBuild: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
@@ -10109,10 +9857,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogOs.deserializeBinaryFromReader = func
|
|
|
10109
9857
|
var value = /** @type {number} */ (reader.readInt64());
|
|
10110
9858
|
msg.setId(value);
|
|
10111
9859
|
break;
|
|
10112
|
-
case 2:
|
|
10113
|
-
var value = /** @type {string} */ (reader.readString());
|
|
10114
|
-
msg.setOsKey(value);
|
|
10115
|
-
break;
|
|
10116
9860
|
case 3:
|
|
10117
9861
|
var value = /** @type {string} */ (reader.readString());
|
|
10118
9862
|
msg.setOsName(value);
|
|
@@ -10245,13 +9989,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogOs.serializeBinaryToWriter = function
|
|
|
10245
9989
|
f
|
|
10246
9990
|
);
|
|
10247
9991
|
}
|
|
10248
|
-
f = message.getOsKey();
|
|
10249
|
-
if (f.length > 0) {
|
|
10250
|
-
writer.writeString(
|
|
10251
|
-
2,
|
|
10252
|
-
f
|
|
10253
|
-
);
|
|
10254
|
-
}
|
|
10255
9992
|
f = message.getOsName();
|
|
10256
9993
|
if (f.length > 0) {
|
|
10257
9994
|
writer.writeString(
|
|
@@ -10441,24 +10178,6 @@ proto.com.lansweeper.dp.outbound.v1.CatalogOs.prototype.setId = function(value)
|
|
|
10441
10178
|
};
|
|
10442
10179
|
|
|
10443
10180
|
|
|
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
10181
|
/**
|
|
10463
10182
|
* optional string os_name = 3;
|
|
10464
10183
|
* @return {string}
|