@lansweeper/data-platform-outbound-grpc 0.1.78 → 0.1.80

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.
@@ -113,6 +113,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OpticalDrive', null, glob
113
113
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtBusConfig', null, global);
114
114
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtModule', null, global);
115
115
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo', null, global);
116
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtScanInfo', null, global);
116
117
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ParallelPort', null, global);
117
118
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.PcmciaController', null, global);
118
119
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.PhysicalMemory', null, global);
@@ -494,6 +495,27 @@ if (goog.DEBUG && !COMPILED) {
494
495
  */
495
496
  proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo';
496
497
  }
498
+ /**
499
+ * Generated by JsPbCodeGenerator.
500
+ * @param {Array=} opt_data Optional initial data array, typically from a
501
+ * server response, or constructed directly in Javascript. The array is used
502
+ * in place and becomes part of the constructed object. It is not cloned.
503
+ * If no data is provided, the constructed object will be empty, but still
504
+ * valid.
505
+ * @extends {jspb.Message}
506
+ * @constructor
507
+ */
508
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo = function(opt_data) {
509
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
510
+ };
511
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.OtScanInfo, jspb.Message);
512
+ if (goog.DEBUG && !COMPILED) {
513
+ /**
514
+ * @public
515
+ * @override
516
+ */
517
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.OtScanInfo';
518
+ }
497
519
  /**
498
520
  * Generated by JsPbCodeGenerator.
499
521
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -9930,12 +9952,13 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.toObject = function(includeInstance
9930
9952
  componentType: jspb.Message.getFieldWithDefault(msg, 1, ""),
9931
9953
  busConfig: (f = msg.getBusConfig()) && proto.com.lansweeper.dp.outbound.v1.OtBusConfig.toObject(includeInstance, f),
9932
9954
  isMainModule: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
9933
- isNetworkNode: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
9934
- scanProtocol: jspb.Message.getFieldWithDefault(msg, 8, ""),
9935
9955
  partNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
9936
9956
  extInfoList: jspb.Message.toObjectList(msg.getExtInfoList(),
9937
9957
  proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.toObject, includeInstance),
9938
- routePath: jspb.Message.getFieldWithDefault(msg, 6, "")
9958
+ routePath: jspb.Message.getFieldWithDefault(msg, 6, ""),
9959
+ isNetworkNode: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
9960
+ scanProtocol: jspb.Message.getFieldWithDefault(msg, 8, ""),
9961
+ scanInfo: (f = msg.getScanInfo()) && proto.com.lansweeper.dp.outbound.v1.OtScanInfo.toObject(includeInstance, f)
9939
9962
  };
9940
9963
 
9941
9964
  if (includeInstance) {
@@ -9985,14 +10008,6 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader = funct
9985
10008
  var value = /** @type {boolean} */ (reader.readBool());
9986
10009
  msg.setIsMainModule(value);
9987
10010
  break;
9988
- case 7:
9989
- var value = /** @type {boolean} */ (reader.readBool());
9990
- msg.setIsNetworkNode(value);
9991
- break;
9992
- case 8:
9993
- var value = /** @type {string} */ (reader.readString());
9994
- msg.setScanProtocol(value);
9995
- break;
9996
10011
  case 4:
9997
10012
  var value = /** @type {string} */ (reader.readString());
9998
10013
  msg.setPartNumber(value);
@@ -10006,6 +10021,19 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader = funct
10006
10021
  var value = /** @type {string} */ (reader.readString());
10007
10022
  msg.setRoutePath(value);
10008
10023
  break;
10024
+ case 7:
10025
+ var value = /** @type {boolean} */ (reader.readBool());
10026
+ msg.setIsNetworkNode(value);
10027
+ break;
10028
+ case 8:
10029
+ var value = /** @type {string} */ (reader.readString());
10030
+ msg.setScanProtocol(value);
10031
+ break;
10032
+ case 9:
10033
+ var value = new proto.com.lansweeper.dp.outbound.v1.OtScanInfo;
10034
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtScanInfo.deserializeBinaryFromReader);
10035
+ msg.setScanInfo(value);
10036
+ break;
10009
10037
  default:
10010
10038
  reader.skipField();
10011
10039
  break;
@@ -10057,20 +10085,6 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.serializeBinaryToWriter = function(
10057
10085
  f
10058
10086
  );
10059
10087
  }
10060
- f = message.getIsNetworkNode();
10061
- if (f) {
10062
- writer.writeBool(
10063
- 7,
10064
- f
10065
- );
10066
- }
10067
- f = /** @type {string} */ (jspb.Message.getField(message, 8));
10068
- if (f != null) {
10069
- writer.writeString(
10070
- 8,
10071
- f
10072
- );
10073
- }
10074
10088
  f = /** @type {string} */ (jspb.Message.getField(message, 4));
10075
10089
  if (f != null) {
10076
10090
  writer.writeString(
@@ -10093,6 +10107,28 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.serializeBinaryToWriter = function(
10093
10107
  f
10094
10108
  );
10095
10109
  }
10110
+ f = message.getIsNetworkNode();
10111
+ if (f) {
10112
+ writer.writeBool(
10113
+ 7,
10114
+ f
10115
+ );
10116
+ }
10117
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
10118
+ if (f != null) {
10119
+ writer.writeString(
10120
+ 8,
10121
+ f
10122
+ );
10123
+ }
10124
+ f = message.getScanInfo();
10125
+ if (f != null) {
10126
+ writer.writeMessage(
10127
+ 9,
10128
+ f,
10129
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.serializeBinaryToWriter
10130
+ );
10131
+ }
10096
10132
  };
10097
10133
 
10098
10134
 
@@ -10187,60 +10223,6 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setIsMainModule = functio
10187
10223
  };
10188
10224
 
10189
10225
 
10190
- /**
10191
- * optional bool is_network_node = 7;
10192
- * @return {boolean}
10193
- */
10194
- proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getIsNetworkNode = function() {
10195
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
10196
- };
10197
-
10198
-
10199
- /**
10200
- * @param {boolean} value
10201
- * @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
10202
- */
10203
- proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setIsNetworkNode = function(value) {
10204
- return jspb.Message.setProto3BooleanField(this, 7, value);
10205
- };
10206
-
10207
-
10208
- /**
10209
- * optional string scan_protocol = 8;
10210
- * @return {string}
10211
- */
10212
- proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getScanProtocol = function() {
10213
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
10214
- };
10215
-
10216
-
10217
- /**
10218
- * @param {string} value
10219
- * @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
10220
- */
10221
- proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setScanProtocol = function(value) {
10222
- return jspb.Message.setField(this, 8, value);
10223
- };
10224
-
10225
-
10226
- /**
10227
- * Clears the field making it undefined.
10228
- * @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
10229
- */
10230
- proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearScanProtocol = function() {
10231
- return jspb.Message.setField(this, 8, undefined);
10232
- };
10233
-
10234
-
10235
- /**
10236
- * Returns whether this field is set.
10237
- * @return {boolean}
10238
- */
10239
- proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasScanProtocol = function() {
10240
- return jspb.Message.getField(this, 8) != null;
10241
- };
10242
-
10243
-
10244
10226
  /**
10245
10227
  * optional string part_number = 4;
10246
10228
  * @return {string}
@@ -10351,6 +10333,97 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasRoutePath = function()
10351
10333
  };
10352
10334
 
10353
10335
 
10336
+ /**
10337
+ * optional bool is_network_node = 7;
10338
+ * @return {boolean}
10339
+ */
10340
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getIsNetworkNode = function() {
10341
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
10342
+ };
10343
+
10344
+
10345
+ /**
10346
+ * @param {boolean} value
10347
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
10348
+ */
10349
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setIsNetworkNode = function(value) {
10350
+ return jspb.Message.setProto3BooleanField(this, 7, value);
10351
+ };
10352
+
10353
+
10354
+ /**
10355
+ * optional string scan_protocol = 8;
10356
+ * @return {string}
10357
+ */
10358
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getScanProtocol = function() {
10359
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
10360
+ };
10361
+
10362
+
10363
+ /**
10364
+ * @param {string} value
10365
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
10366
+ */
10367
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setScanProtocol = function(value) {
10368
+ return jspb.Message.setField(this, 8, value);
10369
+ };
10370
+
10371
+
10372
+ /**
10373
+ * Clears the field making it undefined.
10374
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
10375
+ */
10376
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearScanProtocol = function() {
10377
+ return jspb.Message.setField(this, 8, undefined);
10378
+ };
10379
+
10380
+
10381
+ /**
10382
+ * Returns whether this field is set.
10383
+ * @return {boolean}
10384
+ */
10385
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasScanProtocol = function() {
10386
+ return jspb.Message.getField(this, 8) != null;
10387
+ };
10388
+
10389
+
10390
+ /**
10391
+ * optional OtScanInfo scan_info = 9;
10392
+ * @return {?proto.com.lansweeper.dp.outbound.v1.OtScanInfo}
10393
+ */
10394
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getScanInfo = function() {
10395
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.OtScanInfo} */ (
10396
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtScanInfo, 9));
10397
+ };
10398
+
10399
+
10400
+ /**
10401
+ * @param {?proto.com.lansweeper.dp.outbound.v1.OtScanInfo|undefined} value
10402
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
10403
+ */
10404
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setScanInfo = function(value) {
10405
+ return jspb.Message.setWrapperField(this, 9, value);
10406
+ };
10407
+
10408
+
10409
+ /**
10410
+ * Clears the message field making it undefined.
10411
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
10412
+ */
10413
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearScanInfo = function() {
10414
+ return this.setScanInfo(undefined);
10415
+ };
10416
+
10417
+
10418
+ /**
10419
+ * Returns whether this field is set.
10420
+ * @return {boolean}
10421
+ */
10422
+ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasScanInfo = function() {
10423
+ return jspb.Message.getField(this, 9) != null;
10424
+ };
10425
+
10426
+
10354
10427
 
10355
10428
 
10356
10429
 
@@ -10896,6 +10969,592 @@ proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.prototype.setValue = functio
10896
10969
 
10897
10970
 
10898
10971
 
10972
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10973
+ /**
10974
+ * Creates an object representation of this proto.
10975
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10976
+ * Optional fields that are not set will be set to undefined.
10977
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10978
+ * For the list of reserved names please see:
10979
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10980
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10981
+ * JSPB instance for transitional soy proto support:
10982
+ * http://goto/soy-param-migration
10983
+ * @return {!Object}
10984
+ */
10985
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.toObject = function(opt_includeInstance) {
10986
+ return proto.com.lansweeper.dp.outbound.v1.OtScanInfo.toObject(opt_includeInstance, this);
10987
+ };
10988
+
10989
+
10990
+ /**
10991
+ * Static version of the {@see toObject} method.
10992
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10993
+ * the JSPB instance for transitional soy proto support:
10994
+ * http://goto/soy-param-migration
10995
+ * @param {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} msg The msg instance to transform.
10996
+ * @return {!Object}
10997
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10998
+ */
10999
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.toObject = function(includeInstance, msg) {
11000
+ var f, obj = {
11001
+ scanTargetId: jspb.Message.getFieldWithDefault(msg, 1, ""),
11002
+ scanTargetName: jspb.Message.getFieldWithDefault(msg, 2, ""),
11003
+ sensorId: jspb.Message.getFieldWithDefault(msg, 3, ""),
11004
+ sensorName: jspb.Message.getFieldWithDefault(msg, 4, ""),
11005
+ protocolId: jspb.Message.getFieldWithDefault(msg, 5, ""),
11006
+ protocolName: jspb.Message.getFieldWithDefault(msg, 6, ""),
11007
+ port: jspb.Message.getFieldWithDefault(msg, 7, 0),
11008
+ networkProtocol: jspb.Message.getFieldWithDefault(msg, 8, ""),
11009
+ lastTried: (f = msg.getLastTried()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
11010
+ lastScan: (f = msg.getLastScan()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
11011
+ };
11012
+
11013
+ if (includeInstance) {
11014
+ obj.$jspbMessageInstance = msg;
11015
+ }
11016
+ return obj;
11017
+ };
11018
+ }
11019
+
11020
+
11021
+ /**
11022
+ * Deserializes binary data (in protobuf wire format).
11023
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11024
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo}
11025
+ */
11026
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.deserializeBinary = function(bytes) {
11027
+ var reader = new jspb.BinaryReader(bytes);
11028
+ var msg = new proto.com.lansweeper.dp.outbound.v1.OtScanInfo;
11029
+ return proto.com.lansweeper.dp.outbound.v1.OtScanInfo.deserializeBinaryFromReader(msg, reader);
11030
+ };
11031
+
11032
+
11033
+ /**
11034
+ * Deserializes binary data (in protobuf wire format) from the
11035
+ * given reader into the given message object.
11036
+ * @param {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} msg The message object to deserialize into.
11037
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11038
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo}
11039
+ */
11040
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.deserializeBinaryFromReader = function(msg, reader) {
11041
+ while (reader.nextField()) {
11042
+ if (reader.isEndGroup()) {
11043
+ break;
11044
+ }
11045
+ var field = reader.getFieldNumber();
11046
+ switch (field) {
11047
+ case 1:
11048
+ var value = /** @type {string} */ (reader.readString());
11049
+ msg.setScanTargetId(value);
11050
+ break;
11051
+ case 2:
11052
+ var value = /** @type {string} */ (reader.readString());
11053
+ msg.setScanTargetName(value);
11054
+ break;
11055
+ case 3:
11056
+ var value = /** @type {string} */ (reader.readString());
11057
+ msg.setSensorId(value);
11058
+ break;
11059
+ case 4:
11060
+ var value = /** @type {string} */ (reader.readString());
11061
+ msg.setSensorName(value);
11062
+ break;
11063
+ case 5:
11064
+ var value = /** @type {string} */ (reader.readString());
11065
+ msg.setProtocolId(value);
11066
+ break;
11067
+ case 6:
11068
+ var value = /** @type {string} */ (reader.readString());
11069
+ msg.setProtocolName(value);
11070
+ break;
11071
+ case 7:
11072
+ var value = /** @type {number} */ (reader.readInt32());
11073
+ msg.setPort(value);
11074
+ break;
11075
+ case 8:
11076
+ var value = /** @type {string} */ (reader.readString());
11077
+ msg.setNetworkProtocol(value);
11078
+ break;
11079
+ case 9:
11080
+ var value = new google_protobuf_timestamp_pb.Timestamp;
11081
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
11082
+ msg.setLastTried(value);
11083
+ break;
11084
+ case 10:
11085
+ var value = new google_protobuf_timestamp_pb.Timestamp;
11086
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
11087
+ msg.setLastScan(value);
11088
+ break;
11089
+ default:
11090
+ reader.skipField();
11091
+ break;
11092
+ }
11093
+ }
11094
+ return msg;
11095
+ };
11096
+
11097
+
11098
+ /**
11099
+ * Serializes the message to binary data (in protobuf wire format).
11100
+ * @return {!Uint8Array}
11101
+ */
11102
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.serializeBinary = function() {
11103
+ var writer = new jspb.BinaryWriter();
11104
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.serializeBinaryToWriter(this, writer);
11105
+ return writer.getResultBuffer();
11106
+ };
11107
+
11108
+
11109
+ /**
11110
+ * Serializes the given message to binary data (in protobuf wire
11111
+ * format), writing to the given BinaryWriter.
11112
+ * @param {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} message
11113
+ * @param {!jspb.BinaryWriter} writer
11114
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11115
+ */
11116
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.serializeBinaryToWriter = function(message, writer) {
11117
+ var f = undefined;
11118
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
11119
+ if (f != null) {
11120
+ writer.writeString(
11121
+ 1,
11122
+ f
11123
+ );
11124
+ }
11125
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
11126
+ if (f != null) {
11127
+ writer.writeString(
11128
+ 2,
11129
+ f
11130
+ );
11131
+ }
11132
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
11133
+ if (f != null) {
11134
+ writer.writeString(
11135
+ 3,
11136
+ f
11137
+ );
11138
+ }
11139
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
11140
+ if (f != null) {
11141
+ writer.writeString(
11142
+ 4,
11143
+ f
11144
+ );
11145
+ }
11146
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
11147
+ if (f != null) {
11148
+ writer.writeString(
11149
+ 5,
11150
+ f
11151
+ );
11152
+ }
11153
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
11154
+ if (f != null) {
11155
+ writer.writeString(
11156
+ 6,
11157
+ f
11158
+ );
11159
+ }
11160
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
11161
+ if (f != null) {
11162
+ writer.writeInt32(
11163
+ 7,
11164
+ f
11165
+ );
11166
+ }
11167
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
11168
+ if (f != null) {
11169
+ writer.writeString(
11170
+ 8,
11171
+ f
11172
+ );
11173
+ }
11174
+ f = message.getLastTried();
11175
+ if (f != null) {
11176
+ writer.writeMessage(
11177
+ 9,
11178
+ f,
11179
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
11180
+ );
11181
+ }
11182
+ f = message.getLastScan();
11183
+ if (f != null) {
11184
+ writer.writeMessage(
11185
+ 10,
11186
+ f,
11187
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
11188
+ );
11189
+ }
11190
+ };
11191
+
11192
+
11193
+ /**
11194
+ * optional string scan_target_id = 1;
11195
+ * @return {string}
11196
+ */
11197
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getScanTargetId = function() {
11198
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
11199
+ };
11200
+
11201
+
11202
+ /**
11203
+ * @param {string} value
11204
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11205
+ */
11206
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setScanTargetId = function(value) {
11207
+ return jspb.Message.setField(this, 1, value);
11208
+ };
11209
+
11210
+
11211
+ /**
11212
+ * Clears the field making it undefined.
11213
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11214
+ */
11215
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearScanTargetId = function() {
11216
+ return jspb.Message.setField(this, 1, undefined);
11217
+ };
11218
+
11219
+
11220
+ /**
11221
+ * Returns whether this field is set.
11222
+ * @return {boolean}
11223
+ */
11224
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasScanTargetId = function() {
11225
+ return jspb.Message.getField(this, 1) != null;
11226
+ };
11227
+
11228
+
11229
+ /**
11230
+ * optional string scan_target_name = 2;
11231
+ * @return {string}
11232
+ */
11233
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getScanTargetName = function() {
11234
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
11235
+ };
11236
+
11237
+
11238
+ /**
11239
+ * @param {string} value
11240
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11241
+ */
11242
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setScanTargetName = function(value) {
11243
+ return jspb.Message.setField(this, 2, value);
11244
+ };
11245
+
11246
+
11247
+ /**
11248
+ * Clears the field making it undefined.
11249
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11250
+ */
11251
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearScanTargetName = function() {
11252
+ return jspb.Message.setField(this, 2, undefined);
11253
+ };
11254
+
11255
+
11256
+ /**
11257
+ * Returns whether this field is set.
11258
+ * @return {boolean}
11259
+ */
11260
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasScanTargetName = function() {
11261
+ return jspb.Message.getField(this, 2) != null;
11262
+ };
11263
+
11264
+
11265
+ /**
11266
+ * optional string sensor_id = 3;
11267
+ * @return {string}
11268
+ */
11269
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getSensorId = function() {
11270
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
11271
+ };
11272
+
11273
+
11274
+ /**
11275
+ * @param {string} value
11276
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11277
+ */
11278
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setSensorId = function(value) {
11279
+ return jspb.Message.setField(this, 3, value);
11280
+ };
11281
+
11282
+
11283
+ /**
11284
+ * Clears the field making it undefined.
11285
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11286
+ */
11287
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearSensorId = function() {
11288
+ return jspb.Message.setField(this, 3, undefined);
11289
+ };
11290
+
11291
+
11292
+ /**
11293
+ * Returns whether this field is set.
11294
+ * @return {boolean}
11295
+ */
11296
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasSensorId = function() {
11297
+ return jspb.Message.getField(this, 3) != null;
11298
+ };
11299
+
11300
+
11301
+ /**
11302
+ * optional string sensor_name = 4;
11303
+ * @return {string}
11304
+ */
11305
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getSensorName = function() {
11306
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
11307
+ };
11308
+
11309
+
11310
+ /**
11311
+ * @param {string} value
11312
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11313
+ */
11314
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setSensorName = function(value) {
11315
+ return jspb.Message.setField(this, 4, value);
11316
+ };
11317
+
11318
+
11319
+ /**
11320
+ * Clears the field making it undefined.
11321
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11322
+ */
11323
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearSensorName = function() {
11324
+ return jspb.Message.setField(this, 4, undefined);
11325
+ };
11326
+
11327
+
11328
+ /**
11329
+ * Returns whether this field is set.
11330
+ * @return {boolean}
11331
+ */
11332
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasSensorName = function() {
11333
+ return jspb.Message.getField(this, 4) != null;
11334
+ };
11335
+
11336
+
11337
+ /**
11338
+ * optional string protocol_id = 5;
11339
+ * @return {string}
11340
+ */
11341
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getProtocolId = function() {
11342
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
11343
+ };
11344
+
11345
+
11346
+ /**
11347
+ * @param {string} value
11348
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11349
+ */
11350
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setProtocolId = function(value) {
11351
+ return jspb.Message.setField(this, 5, value);
11352
+ };
11353
+
11354
+
11355
+ /**
11356
+ * Clears the field making it undefined.
11357
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11358
+ */
11359
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearProtocolId = function() {
11360
+ return jspb.Message.setField(this, 5, undefined);
11361
+ };
11362
+
11363
+
11364
+ /**
11365
+ * Returns whether this field is set.
11366
+ * @return {boolean}
11367
+ */
11368
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasProtocolId = function() {
11369
+ return jspb.Message.getField(this, 5) != null;
11370
+ };
11371
+
11372
+
11373
+ /**
11374
+ * optional string protocol_name = 6;
11375
+ * @return {string}
11376
+ */
11377
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getProtocolName = function() {
11378
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
11379
+ };
11380
+
11381
+
11382
+ /**
11383
+ * @param {string} value
11384
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11385
+ */
11386
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setProtocolName = function(value) {
11387
+ return jspb.Message.setField(this, 6, value);
11388
+ };
11389
+
11390
+
11391
+ /**
11392
+ * Clears the field making it undefined.
11393
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11394
+ */
11395
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearProtocolName = function() {
11396
+ return jspb.Message.setField(this, 6, undefined);
11397
+ };
11398
+
11399
+
11400
+ /**
11401
+ * Returns whether this field is set.
11402
+ * @return {boolean}
11403
+ */
11404
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasProtocolName = function() {
11405
+ return jspb.Message.getField(this, 6) != null;
11406
+ };
11407
+
11408
+
11409
+ /**
11410
+ * optional int32 port = 7;
11411
+ * @return {number}
11412
+ */
11413
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getPort = function() {
11414
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
11415
+ };
11416
+
11417
+
11418
+ /**
11419
+ * @param {number} value
11420
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11421
+ */
11422
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setPort = function(value) {
11423
+ return jspb.Message.setField(this, 7, value);
11424
+ };
11425
+
11426
+
11427
+ /**
11428
+ * Clears the field making it undefined.
11429
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11430
+ */
11431
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearPort = function() {
11432
+ return jspb.Message.setField(this, 7, undefined);
11433
+ };
11434
+
11435
+
11436
+ /**
11437
+ * Returns whether this field is set.
11438
+ * @return {boolean}
11439
+ */
11440
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasPort = function() {
11441
+ return jspb.Message.getField(this, 7) != null;
11442
+ };
11443
+
11444
+
11445
+ /**
11446
+ * optional string network_protocol = 8;
11447
+ * @return {string}
11448
+ */
11449
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getNetworkProtocol = function() {
11450
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
11451
+ };
11452
+
11453
+
11454
+ /**
11455
+ * @param {string} value
11456
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11457
+ */
11458
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setNetworkProtocol = function(value) {
11459
+ return jspb.Message.setField(this, 8, value);
11460
+ };
11461
+
11462
+
11463
+ /**
11464
+ * Clears the field making it undefined.
11465
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11466
+ */
11467
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearNetworkProtocol = function() {
11468
+ return jspb.Message.setField(this, 8, undefined);
11469
+ };
11470
+
11471
+
11472
+ /**
11473
+ * Returns whether this field is set.
11474
+ * @return {boolean}
11475
+ */
11476
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasNetworkProtocol = function() {
11477
+ return jspb.Message.getField(this, 8) != null;
11478
+ };
11479
+
11480
+
11481
+ /**
11482
+ * optional google.protobuf.Timestamp last_tried = 9;
11483
+ * @return {?proto.google.protobuf.Timestamp}
11484
+ */
11485
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getLastTried = function() {
11486
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
11487
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 9));
11488
+ };
11489
+
11490
+
11491
+ /**
11492
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
11493
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11494
+ */
11495
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setLastTried = function(value) {
11496
+ return jspb.Message.setWrapperField(this, 9, value);
11497
+ };
11498
+
11499
+
11500
+ /**
11501
+ * Clears the message field making it undefined.
11502
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11503
+ */
11504
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearLastTried = function() {
11505
+ return this.setLastTried(undefined);
11506
+ };
11507
+
11508
+
11509
+ /**
11510
+ * Returns whether this field is set.
11511
+ * @return {boolean}
11512
+ */
11513
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasLastTried = function() {
11514
+ return jspb.Message.getField(this, 9) != null;
11515
+ };
11516
+
11517
+
11518
+ /**
11519
+ * optional google.protobuf.Timestamp last_scan = 10;
11520
+ * @return {?proto.google.protobuf.Timestamp}
11521
+ */
11522
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getLastScan = function() {
11523
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
11524
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
11525
+ };
11526
+
11527
+
11528
+ /**
11529
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
11530
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11531
+ */
11532
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setLastScan = function(value) {
11533
+ return jspb.Message.setWrapperField(this, 10, value);
11534
+ };
11535
+
11536
+
11537
+ /**
11538
+ * Clears the message field making it undefined.
11539
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
11540
+ */
11541
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearLastScan = function() {
11542
+ return this.setLastScan(undefined);
11543
+ };
11544
+
11545
+
11546
+ /**
11547
+ * Returns whether this field is set.
11548
+ * @return {boolean}
11549
+ */
11550
+ proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasLastScan = function() {
11551
+ return jspb.Message.getField(this, 10) != null;
11552
+ };
11553
+
11554
+
11555
+
11556
+
11557
+
10899
11558
  if (jspb.Message.GENERATE_TO_OBJECT) {
10900
11559
  /**
10901
11560
  * Creates an object representation of this proto.
@@ -58406,19 +59065,19 @@ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsDisplayController.deserialize
58406
59065
  msg.setCaption(value);
58407
59066
  break;
58408
59067
  case 3:
58409
- var value = /** @type {number} */ (reader.readInt32());
59068
+ var value = /** @type {number} */ (reader.readUint32());
58410
59069
  msg.setColorPlanes(value);
58411
59070
  break;
58412
59071
  case 4:
58413
- var value = /** @type {number} */ (reader.readInt32());
59072
+ var value = /** @type {number} */ (reader.readUint32());
58414
59073
  msg.setDeviceEntriesInAColorTable(value);
58415
59074
  break;
58416
59075
  case 5:
58417
- var value = /** @type {number} */ (reader.readInt32());
59076
+ var value = /** @type {number} */ (reader.readUint32());
58418
59077
  msg.setDeviceSpecificPens(value);
58419
59078
  break;
58420
59079
  case 6:
58421
- var value = /** @type {number} */ (reader.readInt32());
59080
+ var value = /** @type {number} */ (reader.readUint32());
58422
59081
  msg.setHorizontalResolution(value);
58423
59082
  break;
58424
59083
  case 7:
@@ -58430,7 +59089,7 @@ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsDisplayController.deserialize
58430
59089
  msg.setRefreshRate(value);
58431
59090
  break;
58432
59091
  case 9:
58433
- var value = /** @type {number} */ (reader.readInt32());
59092
+ var value = /** @type {number} */ (reader.readUint32());
58434
59093
  msg.setVerticalResolution(value);
58435
59094
  break;
58436
59095
  case 10:
@@ -58482,28 +59141,28 @@ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsDisplayController.serializeBi
58482
59141
  }
58483
59142
  f = /** @type {number} */ (jspb.Message.getField(message, 3));
58484
59143
  if (f != null) {
58485
- writer.writeInt32(
59144
+ writer.writeUint32(
58486
59145
  3,
58487
59146
  f
58488
59147
  );
58489
59148
  }
58490
59149
  f = /** @type {number} */ (jspb.Message.getField(message, 4));
58491
59150
  if (f != null) {
58492
- writer.writeInt32(
59151
+ writer.writeUint32(
58493
59152
  4,
58494
59153
  f
58495
59154
  );
58496
59155
  }
58497
59156
  f = /** @type {number} */ (jspb.Message.getField(message, 5));
58498
59157
  if (f != null) {
58499
- writer.writeInt32(
59158
+ writer.writeUint32(
58500
59159
  5,
58501
59160
  f
58502
59161
  );
58503
59162
  }
58504
59163
  f = /** @type {number} */ (jspb.Message.getField(message, 6));
58505
59164
  if (f != null) {
58506
- writer.writeInt32(
59165
+ writer.writeUint32(
58507
59166
  6,
58508
59167
  f
58509
59168
  );
@@ -58524,7 +59183,7 @@ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsDisplayController.serializeBi
58524
59183
  }
58525
59184
  f = /** @type {number} */ (jspb.Message.getField(message, 9));
58526
59185
  if (f != null) {
58527
- writer.writeInt32(
59186
+ writer.writeUint32(
58528
59187
  9,
58529
59188
  f
58530
59189
  );
@@ -58612,7 +59271,7 @@ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsDisplayController.prototype.h
58612
59271
 
58613
59272
 
58614
59273
  /**
58615
- * optional int32 color_planes = 3;
59274
+ * optional uint32 color_planes = 3;
58616
59275
  * @return {number}
58617
59276
  */
58618
59277
  proto.com.lansweeper.dp.outbound.v1.ComputerWindowsDisplayController.prototype.getColorPlanes = function() {
@@ -58648,7 +59307,7 @@ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsDisplayController.prototype.h
58648
59307
 
58649
59308
 
58650
59309
  /**
58651
- * optional int32 device_entries_in_a_color_table = 4;
59310
+ * optional uint32 device_entries_in_a_color_table = 4;
58652
59311
  * @return {number}
58653
59312
  */
58654
59313
  proto.com.lansweeper.dp.outbound.v1.ComputerWindowsDisplayController.prototype.getDeviceEntriesInAColorTable = function() {
@@ -58684,7 +59343,7 @@ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsDisplayController.prototype.h
58684
59343
 
58685
59344
 
58686
59345
  /**
58687
- * optional int32 device_specific_pens = 5;
59346
+ * optional uint32 device_specific_pens = 5;
58688
59347
  * @return {number}
58689
59348
  */
58690
59349
  proto.com.lansweeper.dp.outbound.v1.ComputerWindowsDisplayController.prototype.getDeviceSpecificPens = function() {
@@ -58720,7 +59379,7 @@ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsDisplayController.prototype.h
58720
59379
 
58721
59380
 
58722
59381
  /**
58723
- * optional int32 horizontal_resolution = 6;
59382
+ * optional uint32 horizontal_resolution = 6;
58724
59383
  * @return {number}
58725
59384
  */
58726
59385
  proto.com.lansweeper.dp.outbound.v1.ComputerWindowsDisplayController.prototype.getHorizontalResolution = function() {
@@ -58828,7 +59487,7 @@ proto.com.lansweeper.dp.outbound.v1.ComputerWindowsDisplayController.prototype.h
58828
59487
 
58829
59488
 
58830
59489
  /**
58831
- * optional int32 vertical_resolution = 9;
59490
+ * optional uint32 vertical_resolution = 9;
58832
59491
  * @return {number}
58833
59492
  */
58834
59493
  proto.com.lansweeper.dp.outbound.v1.ComputerWindowsDisplayController.prototype.getVerticalResolution = function() {