@lansweeper/data-platform-outbound-grpc 0.1.79 → 0.1.81
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 +129 -9
- package/gen-proto/outbound_pb.js +1113 -147
- package/generated-go/outbound.pb.go +5221 -4930
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +25 -2
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -111,8 +111,10 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystemRecovery.O
|
|
|
111
111
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystemService', null, global);
|
|
112
112
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OpticalDrive', null, global);
|
|
113
113
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtBusConfig', null, global);
|
|
114
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory', null, global);
|
|
114
115
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtModule', null, global);
|
|
115
116
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo', null, global);
|
|
117
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtScanInfo', null, global);
|
|
116
118
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ParallelPort', null, global);
|
|
117
119
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.PcmciaController', null, global);
|
|
118
120
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.PhysicalMemory', null, global);
|
|
@@ -494,6 +496,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
494
496
|
*/
|
|
495
497
|
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo';
|
|
496
498
|
}
|
|
499
|
+
/**
|
|
500
|
+
* Generated by JsPbCodeGenerator.
|
|
501
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
502
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
503
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
504
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
505
|
+
* valid.
|
|
506
|
+
* @extends {jspb.Message}
|
|
507
|
+
* @constructor
|
|
508
|
+
*/
|
|
509
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo = function(opt_data) {
|
|
510
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
511
|
+
};
|
|
512
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.OtScanInfo, jspb.Message);
|
|
513
|
+
if (goog.DEBUG && !COMPILED) {
|
|
514
|
+
/**
|
|
515
|
+
* @public
|
|
516
|
+
* @override
|
|
517
|
+
*/
|
|
518
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.OtScanInfo';
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* Generated by JsPbCodeGenerator.
|
|
522
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
523
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
524
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
525
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
526
|
+
* valid.
|
|
527
|
+
* @extends {jspb.Message}
|
|
528
|
+
* @constructor
|
|
529
|
+
*/
|
|
530
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory = function(opt_data) {
|
|
531
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
532
|
+
};
|
|
533
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory, jspb.Message);
|
|
534
|
+
if (goog.DEBUG && !COMPILED) {
|
|
535
|
+
/**
|
|
536
|
+
* @public
|
|
537
|
+
* @override
|
|
538
|
+
*/
|
|
539
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.displayName = 'proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory';
|
|
540
|
+
}
|
|
497
541
|
/**
|
|
498
542
|
* Generated by JsPbCodeGenerator.
|
|
499
543
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -9894,7 +9938,7 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.setCategory = function
|
|
|
9894
9938
|
* @private {!Array<number>}
|
|
9895
9939
|
* @const
|
|
9896
9940
|
*/
|
|
9897
|
-
proto.com.lansweeper.dp.outbound.v1.OtModule.repeatedFields_ = [5];
|
|
9941
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.repeatedFields_ = [5,10];
|
|
9898
9942
|
|
|
9899
9943
|
|
|
9900
9944
|
|
|
@@ -9930,12 +9974,15 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.toObject = function(includeInstance
|
|
|
9930
9974
|
componentType: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9931
9975
|
busConfig: (f = msg.getBusConfig()) && proto.com.lansweeper.dp.outbound.v1.OtBusConfig.toObject(includeInstance, f),
|
|
9932
9976
|
isMainModule: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
9933
|
-
isNetworkNode: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
9934
|
-
scanProtocol: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
9935
9977
|
partNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
9936
9978
|
extInfoList: jspb.Message.toObjectList(msg.getExtInfoList(),
|
|
9937
9979
|
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.toObject, includeInstance),
|
|
9938
|
-
routePath: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
9980
|
+
routePath: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
9981
|
+
isNetworkNode: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
9982
|
+
scanProtocol: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
9983
|
+
scanInfo: (f = msg.getScanInfo()) && proto.com.lansweeper.dp.outbound.v1.OtScanInfo.toObject(includeInstance, f),
|
|
9984
|
+
fwHistoryList: jspb.Message.toObjectList(msg.getFwHistoryList(),
|
|
9985
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.toObject, includeInstance)
|
|
9939
9986
|
};
|
|
9940
9987
|
|
|
9941
9988
|
if (includeInstance) {
|
|
@@ -9985,14 +10032,6 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader = funct
|
|
|
9985
10032
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
9986
10033
|
msg.setIsMainModule(value);
|
|
9987
10034
|
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
10035
|
case 4:
|
|
9997
10036
|
var value = /** @type {string} */ (reader.readString());
|
|
9998
10037
|
msg.setPartNumber(value);
|
|
@@ -10006,6 +10045,24 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader = funct
|
|
|
10006
10045
|
var value = /** @type {string} */ (reader.readString());
|
|
10007
10046
|
msg.setRoutePath(value);
|
|
10008
10047
|
break;
|
|
10048
|
+
case 7:
|
|
10049
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
10050
|
+
msg.setIsNetworkNode(value);
|
|
10051
|
+
break;
|
|
10052
|
+
case 8:
|
|
10053
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10054
|
+
msg.setScanProtocol(value);
|
|
10055
|
+
break;
|
|
10056
|
+
case 9:
|
|
10057
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.OtScanInfo;
|
|
10058
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtScanInfo.deserializeBinaryFromReader);
|
|
10059
|
+
msg.setScanInfo(value);
|
|
10060
|
+
break;
|
|
10061
|
+
case 10:
|
|
10062
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory;
|
|
10063
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.deserializeBinaryFromReader);
|
|
10064
|
+
msg.addFwHistory(value);
|
|
10065
|
+
break;
|
|
10009
10066
|
default:
|
|
10010
10067
|
reader.skipField();
|
|
10011
10068
|
break;
|
|
@@ -10057,20 +10114,6 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.serializeBinaryToWriter = function(
|
|
|
10057
10114
|
f
|
|
10058
10115
|
);
|
|
10059
10116
|
}
|
|
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
10117
|
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
10075
10118
|
if (f != null) {
|
|
10076
10119
|
writer.writeString(
|
|
@@ -10093,6 +10136,36 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.serializeBinaryToWriter = function(
|
|
|
10093
10136
|
f
|
|
10094
10137
|
);
|
|
10095
10138
|
}
|
|
10139
|
+
f = message.getIsNetworkNode();
|
|
10140
|
+
if (f) {
|
|
10141
|
+
writer.writeBool(
|
|
10142
|
+
7,
|
|
10143
|
+
f
|
|
10144
|
+
);
|
|
10145
|
+
}
|
|
10146
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
10147
|
+
if (f != null) {
|
|
10148
|
+
writer.writeString(
|
|
10149
|
+
8,
|
|
10150
|
+
f
|
|
10151
|
+
);
|
|
10152
|
+
}
|
|
10153
|
+
f = message.getScanInfo();
|
|
10154
|
+
if (f != null) {
|
|
10155
|
+
writer.writeMessage(
|
|
10156
|
+
9,
|
|
10157
|
+
f,
|
|
10158
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.serializeBinaryToWriter
|
|
10159
|
+
);
|
|
10160
|
+
}
|
|
10161
|
+
f = message.getFwHistoryList();
|
|
10162
|
+
if (f.length > 0) {
|
|
10163
|
+
writer.writeRepeatedMessage(
|
|
10164
|
+
10,
|
|
10165
|
+
f,
|
|
10166
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.serializeBinaryToWriter
|
|
10167
|
+
);
|
|
10168
|
+
}
|
|
10096
10169
|
};
|
|
10097
10170
|
|
|
10098
10171
|
|
|
@@ -10187,60 +10260,6 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setIsMainModule = functio
|
|
|
10187
10260
|
};
|
|
10188
10261
|
|
|
10189
10262
|
|
|
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
10263
|
/**
|
|
10245
10264
|
* optional string part_number = 4;
|
|
10246
10265
|
* @return {string}
|
|
@@ -10351,94 +10370,223 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasRoutePath = function()
|
|
|
10351
10370
|
};
|
|
10352
10371
|
|
|
10353
10372
|
|
|
10373
|
+
/**
|
|
10374
|
+
* optional bool is_network_node = 7;
|
|
10375
|
+
* @return {boolean}
|
|
10376
|
+
*/
|
|
10377
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getIsNetworkNode = function() {
|
|
10378
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
10379
|
+
};
|
|
10380
|
+
|
|
10354
10381
|
|
|
10382
|
+
/**
|
|
10383
|
+
* @param {boolean} value
|
|
10384
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
10385
|
+
*/
|
|
10386
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setIsNetworkNode = function(value) {
|
|
10387
|
+
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
10388
|
+
};
|
|
10355
10389
|
|
|
10356
10390
|
|
|
10357
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10358
10391
|
/**
|
|
10359
|
-
*
|
|
10360
|
-
*
|
|
10361
|
-
* Optional fields that are not set will be set to undefined.
|
|
10362
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10363
|
-
* For the list of reserved names please see:
|
|
10364
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10365
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10366
|
-
* JSPB instance for transitional soy proto support:
|
|
10367
|
-
* http://goto/soy-param-migration
|
|
10368
|
-
* @return {!Object}
|
|
10392
|
+
* optional string scan_protocol = 8;
|
|
10393
|
+
* @return {string}
|
|
10369
10394
|
*/
|
|
10370
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
10371
|
-
return
|
|
10395
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getScanProtocol = function() {
|
|
10396
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
10372
10397
|
};
|
|
10373
10398
|
|
|
10374
10399
|
|
|
10375
10400
|
/**
|
|
10376
|
-
*
|
|
10377
|
-
* @
|
|
10378
|
-
* the JSPB instance for transitional soy proto support:
|
|
10379
|
-
* http://goto/soy-param-migration
|
|
10380
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig} msg The msg instance to transform.
|
|
10381
|
-
* @return {!Object}
|
|
10382
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10401
|
+
* @param {string} value
|
|
10402
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
10383
10403
|
*/
|
|
10384
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
10385
|
-
|
|
10386
|
-
|
|
10387
|
-
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10388
|
-
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10389
|
-
size: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
10390
|
-
startIndex: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
10391
|
-
position: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
10392
|
-
width: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
10393
|
-
};
|
|
10404
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setScanProtocol = function(value) {
|
|
10405
|
+
return jspb.Message.setField(this, 8, value);
|
|
10406
|
+
};
|
|
10394
10407
|
|
|
10395
|
-
|
|
10396
|
-
|
|
10397
|
-
|
|
10398
|
-
|
|
10408
|
+
|
|
10409
|
+
/**
|
|
10410
|
+
* Clears the 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.clearScanProtocol = function() {
|
|
10414
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
10399
10415
|
};
|
|
10400
|
-
}
|
|
10401
10416
|
|
|
10402
10417
|
|
|
10403
10418
|
/**
|
|
10404
|
-
*
|
|
10405
|
-
* @
|
|
10406
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig}
|
|
10419
|
+
* Returns whether this field is set.
|
|
10420
|
+
* @return {boolean}
|
|
10407
10421
|
*/
|
|
10408
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
10409
|
-
|
|
10410
|
-
var msg = new proto.com.lansweeper.dp.outbound.v1.OtBusConfig;
|
|
10411
|
-
return proto.com.lansweeper.dp.outbound.v1.OtBusConfig.deserializeBinaryFromReader(msg, reader);
|
|
10422
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasScanProtocol = function() {
|
|
10423
|
+
return jspb.Message.getField(this, 8) != null;
|
|
10412
10424
|
};
|
|
10413
10425
|
|
|
10414
10426
|
|
|
10415
10427
|
/**
|
|
10416
|
-
*
|
|
10417
|
-
*
|
|
10418
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig} msg The message object to deserialize into.
|
|
10419
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10420
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig}
|
|
10428
|
+
* optional OtScanInfo scan_info = 9;
|
|
10429
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.OtScanInfo}
|
|
10421
10430
|
*/
|
|
10422
|
-
proto.com.lansweeper.dp.outbound.v1.
|
|
10423
|
-
|
|
10424
|
-
|
|
10425
|
-
|
|
10426
|
-
|
|
10427
|
-
|
|
10428
|
-
|
|
10429
|
-
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
|
|
10433
|
-
|
|
10434
|
-
|
|
10435
|
-
|
|
10436
|
-
|
|
10437
|
-
|
|
10438
|
-
|
|
10439
|
-
|
|
10440
|
-
|
|
10441
|
-
|
|
10431
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getScanInfo = function() {
|
|
10432
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.OtScanInfo} */ (
|
|
10433
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtScanInfo, 9));
|
|
10434
|
+
};
|
|
10435
|
+
|
|
10436
|
+
|
|
10437
|
+
/**
|
|
10438
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.OtScanInfo|undefined} value
|
|
10439
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
10440
|
+
*/
|
|
10441
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setScanInfo = function(value) {
|
|
10442
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
10443
|
+
};
|
|
10444
|
+
|
|
10445
|
+
|
|
10446
|
+
/**
|
|
10447
|
+
* Clears the message field making it undefined.
|
|
10448
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
10449
|
+
*/
|
|
10450
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearScanInfo = function() {
|
|
10451
|
+
return this.setScanInfo(undefined);
|
|
10452
|
+
};
|
|
10453
|
+
|
|
10454
|
+
|
|
10455
|
+
/**
|
|
10456
|
+
* Returns whether this field is set.
|
|
10457
|
+
* @return {boolean}
|
|
10458
|
+
*/
|
|
10459
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasScanInfo = function() {
|
|
10460
|
+
return jspb.Message.getField(this, 9) != null;
|
|
10461
|
+
};
|
|
10462
|
+
|
|
10463
|
+
|
|
10464
|
+
/**
|
|
10465
|
+
* repeated OtFirmwareHistory fw_history = 10;
|
|
10466
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory>}
|
|
10467
|
+
*/
|
|
10468
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getFwHistoryList = function() {
|
|
10469
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory>} */ (
|
|
10470
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory, 10));
|
|
10471
|
+
};
|
|
10472
|
+
|
|
10473
|
+
|
|
10474
|
+
/**
|
|
10475
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory>} value
|
|
10476
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
10477
|
+
*/
|
|
10478
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setFwHistoryList = function(value) {
|
|
10479
|
+
return jspb.Message.setRepeatedWrapperField(this, 10, value);
|
|
10480
|
+
};
|
|
10481
|
+
|
|
10482
|
+
|
|
10483
|
+
/**
|
|
10484
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory=} opt_value
|
|
10485
|
+
* @param {number=} opt_index
|
|
10486
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory}
|
|
10487
|
+
*/
|
|
10488
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.addFwHistory = function(opt_value, opt_index) {
|
|
10489
|
+
return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory, opt_index);
|
|
10490
|
+
};
|
|
10491
|
+
|
|
10492
|
+
|
|
10493
|
+
/**
|
|
10494
|
+
* Clears the list making it empty but non-null.
|
|
10495
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
10496
|
+
*/
|
|
10497
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearFwHistoryList = function() {
|
|
10498
|
+
return this.setFwHistoryList([]);
|
|
10499
|
+
};
|
|
10500
|
+
|
|
10501
|
+
|
|
10502
|
+
|
|
10503
|
+
|
|
10504
|
+
|
|
10505
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10506
|
+
/**
|
|
10507
|
+
* Creates an object representation of this proto.
|
|
10508
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10509
|
+
* Optional fields that are not set will be set to undefined.
|
|
10510
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10511
|
+
* For the list of reserved names please see:
|
|
10512
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10513
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10514
|
+
* JSPB instance for transitional soy proto support:
|
|
10515
|
+
* http://goto/soy-param-migration
|
|
10516
|
+
* @return {!Object}
|
|
10517
|
+
*/
|
|
10518
|
+
proto.com.lansweeper.dp.outbound.v1.OtBusConfig.prototype.toObject = function(opt_includeInstance) {
|
|
10519
|
+
return proto.com.lansweeper.dp.outbound.v1.OtBusConfig.toObject(opt_includeInstance, this);
|
|
10520
|
+
};
|
|
10521
|
+
|
|
10522
|
+
|
|
10523
|
+
/**
|
|
10524
|
+
* Static version of the {@see toObject} method.
|
|
10525
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10526
|
+
* the JSPB instance for transitional soy proto support:
|
|
10527
|
+
* http://goto/soy-param-migration
|
|
10528
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig} msg The msg instance to transform.
|
|
10529
|
+
* @return {!Object}
|
|
10530
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10531
|
+
*/
|
|
10532
|
+
proto.com.lansweeper.dp.outbound.v1.OtBusConfig.toObject = function(includeInstance, msg) {
|
|
10533
|
+
var f, obj = {
|
|
10534
|
+
number: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10535
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10536
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10537
|
+
size: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
10538
|
+
startIndex: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
10539
|
+
position: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
10540
|
+
width: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
10541
|
+
};
|
|
10542
|
+
|
|
10543
|
+
if (includeInstance) {
|
|
10544
|
+
obj.$jspbMessageInstance = msg;
|
|
10545
|
+
}
|
|
10546
|
+
return obj;
|
|
10547
|
+
};
|
|
10548
|
+
}
|
|
10549
|
+
|
|
10550
|
+
|
|
10551
|
+
/**
|
|
10552
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10553
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10554
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig}
|
|
10555
|
+
*/
|
|
10556
|
+
proto.com.lansweeper.dp.outbound.v1.OtBusConfig.deserializeBinary = function(bytes) {
|
|
10557
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10558
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.OtBusConfig;
|
|
10559
|
+
return proto.com.lansweeper.dp.outbound.v1.OtBusConfig.deserializeBinaryFromReader(msg, reader);
|
|
10560
|
+
};
|
|
10561
|
+
|
|
10562
|
+
|
|
10563
|
+
/**
|
|
10564
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10565
|
+
* given reader into the given message object.
|
|
10566
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig} msg The message object to deserialize into.
|
|
10567
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10568
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtBusConfig}
|
|
10569
|
+
*/
|
|
10570
|
+
proto.com.lansweeper.dp.outbound.v1.OtBusConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
10571
|
+
while (reader.nextField()) {
|
|
10572
|
+
if (reader.isEndGroup()) {
|
|
10573
|
+
break;
|
|
10574
|
+
}
|
|
10575
|
+
var field = reader.getFieldNumber();
|
|
10576
|
+
switch (field) {
|
|
10577
|
+
case 1:
|
|
10578
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
10579
|
+
msg.setNumber(value);
|
|
10580
|
+
break;
|
|
10581
|
+
case 2:
|
|
10582
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10583
|
+
msg.setName(value);
|
|
10584
|
+
break;
|
|
10585
|
+
case 3:
|
|
10586
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10587
|
+
msg.setType(value);
|
|
10588
|
+
break;
|
|
10589
|
+
case 4:
|
|
10442
10590
|
var value = /** @type {number} */ (reader.readInt32());
|
|
10443
10591
|
msg.setSize(value);
|
|
10444
10592
|
break;
|
|
@@ -10896,6 +11044,824 @@ proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.prototype.setValue = functio
|
|
|
10896
11044
|
|
|
10897
11045
|
|
|
10898
11046
|
|
|
11047
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11048
|
+
/**
|
|
11049
|
+
* Creates an object representation of this proto.
|
|
11050
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11051
|
+
* Optional fields that are not set will be set to undefined.
|
|
11052
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11053
|
+
* For the list of reserved names please see:
|
|
11054
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11055
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11056
|
+
* JSPB instance for transitional soy proto support:
|
|
11057
|
+
* http://goto/soy-param-migration
|
|
11058
|
+
* @return {!Object}
|
|
11059
|
+
*/
|
|
11060
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.toObject = function(opt_includeInstance) {
|
|
11061
|
+
return proto.com.lansweeper.dp.outbound.v1.OtScanInfo.toObject(opt_includeInstance, this);
|
|
11062
|
+
};
|
|
11063
|
+
|
|
11064
|
+
|
|
11065
|
+
/**
|
|
11066
|
+
* Static version of the {@see toObject} method.
|
|
11067
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11068
|
+
* the JSPB instance for transitional soy proto support:
|
|
11069
|
+
* http://goto/soy-param-migration
|
|
11070
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} msg The msg instance to transform.
|
|
11071
|
+
* @return {!Object}
|
|
11072
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11073
|
+
*/
|
|
11074
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.toObject = function(includeInstance, msg) {
|
|
11075
|
+
var f, obj = {
|
|
11076
|
+
scanTargetId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11077
|
+
scanTargetName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11078
|
+
sensorId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
11079
|
+
sensorName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
11080
|
+
protocolId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
11081
|
+
protocolName: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
11082
|
+
port: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
11083
|
+
networkProtocol: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
11084
|
+
lastTried: (f = msg.getLastTried()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
11085
|
+
lastScan: (f = msg.getLastScan()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
11086
|
+
};
|
|
11087
|
+
|
|
11088
|
+
if (includeInstance) {
|
|
11089
|
+
obj.$jspbMessageInstance = msg;
|
|
11090
|
+
}
|
|
11091
|
+
return obj;
|
|
11092
|
+
};
|
|
11093
|
+
}
|
|
11094
|
+
|
|
11095
|
+
|
|
11096
|
+
/**
|
|
11097
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11098
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11099
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo}
|
|
11100
|
+
*/
|
|
11101
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.deserializeBinary = function(bytes) {
|
|
11102
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11103
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.OtScanInfo;
|
|
11104
|
+
return proto.com.lansweeper.dp.outbound.v1.OtScanInfo.deserializeBinaryFromReader(msg, reader);
|
|
11105
|
+
};
|
|
11106
|
+
|
|
11107
|
+
|
|
11108
|
+
/**
|
|
11109
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11110
|
+
* given reader into the given message object.
|
|
11111
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} msg The message object to deserialize into.
|
|
11112
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11113
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo}
|
|
11114
|
+
*/
|
|
11115
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
11116
|
+
while (reader.nextField()) {
|
|
11117
|
+
if (reader.isEndGroup()) {
|
|
11118
|
+
break;
|
|
11119
|
+
}
|
|
11120
|
+
var field = reader.getFieldNumber();
|
|
11121
|
+
switch (field) {
|
|
11122
|
+
case 1:
|
|
11123
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11124
|
+
msg.setScanTargetId(value);
|
|
11125
|
+
break;
|
|
11126
|
+
case 2:
|
|
11127
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11128
|
+
msg.setScanTargetName(value);
|
|
11129
|
+
break;
|
|
11130
|
+
case 3:
|
|
11131
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11132
|
+
msg.setSensorId(value);
|
|
11133
|
+
break;
|
|
11134
|
+
case 4:
|
|
11135
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11136
|
+
msg.setSensorName(value);
|
|
11137
|
+
break;
|
|
11138
|
+
case 5:
|
|
11139
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11140
|
+
msg.setProtocolId(value);
|
|
11141
|
+
break;
|
|
11142
|
+
case 6:
|
|
11143
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11144
|
+
msg.setProtocolName(value);
|
|
11145
|
+
break;
|
|
11146
|
+
case 7:
|
|
11147
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
11148
|
+
msg.setPort(value);
|
|
11149
|
+
break;
|
|
11150
|
+
case 8:
|
|
11151
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11152
|
+
msg.setNetworkProtocol(value);
|
|
11153
|
+
break;
|
|
11154
|
+
case 9:
|
|
11155
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
11156
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
11157
|
+
msg.setLastTried(value);
|
|
11158
|
+
break;
|
|
11159
|
+
case 10:
|
|
11160
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
11161
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
11162
|
+
msg.setLastScan(value);
|
|
11163
|
+
break;
|
|
11164
|
+
default:
|
|
11165
|
+
reader.skipField();
|
|
11166
|
+
break;
|
|
11167
|
+
}
|
|
11168
|
+
}
|
|
11169
|
+
return msg;
|
|
11170
|
+
};
|
|
11171
|
+
|
|
11172
|
+
|
|
11173
|
+
/**
|
|
11174
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11175
|
+
* @return {!Uint8Array}
|
|
11176
|
+
*/
|
|
11177
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.serializeBinary = function() {
|
|
11178
|
+
var writer = new jspb.BinaryWriter();
|
|
11179
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.serializeBinaryToWriter(this, writer);
|
|
11180
|
+
return writer.getResultBuffer();
|
|
11181
|
+
};
|
|
11182
|
+
|
|
11183
|
+
|
|
11184
|
+
/**
|
|
11185
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11186
|
+
* format), writing to the given BinaryWriter.
|
|
11187
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} message
|
|
11188
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11189
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11190
|
+
*/
|
|
11191
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.serializeBinaryToWriter = function(message, writer) {
|
|
11192
|
+
var f = undefined;
|
|
11193
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
11194
|
+
if (f != null) {
|
|
11195
|
+
writer.writeString(
|
|
11196
|
+
1,
|
|
11197
|
+
f
|
|
11198
|
+
);
|
|
11199
|
+
}
|
|
11200
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
11201
|
+
if (f != null) {
|
|
11202
|
+
writer.writeString(
|
|
11203
|
+
2,
|
|
11204
|
+
f
|
|
11205
|
+
);
|
|
11206
|
+
}
|
|
11207
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
11208
|
+
if (f != null) {
|
|
11209
|
+
writer.writeString(
|
|
11210
|
+
3,
|
|
11211
|
+
f
|
|
11212
|
+
);
|
|
11213
|
+
}
|
|
11214
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
11215
|
+
if (f != null) {
|
|
11216
|
+
writer.writeString(
|
|
11217
|
+
4,
|
|
11218
|
+
f
|
|
11219
|
+
);
|
|
11220
|
+
}
|
|
11221
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
11222
|
+
if (f != null) {
|
|
11223
|
+
writer.writeString(
|
|
11224
|
+
5,
|
|
11225
|
+
f
|
|
11226
|
+
);
|
|
11227
|
+
}
|
|
11228
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
11229
|
+
if (f != null) {
|
|
11230
|
+
writer.writeString(
|
|
11231
|
+
6,
|
|
11232
|
+
f
|
|
11233
|
+
);
|
|
11234
|
+
}
|
|
11235
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
11236
|
+
if (f != null) {
|
|
11237
|
+
writer.writeInt32(
|
|
11238
|
+
7,
|
|
11239
|
+
f
|
|
11240
|
+
);
|
|
11241
|
+
}
|
|
11242
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
11243
|
+
if (f != null) {
|
|
11244
|
+
writer.writeString(
|
|
11245
|
+
8,
|
|
11246
|
+
f
|
|
11247
|
+
);
|
|
11248
|
+
}
|
|
11249
|
+
f = message.getLastTried();
|
|
11250
|
+
if (f != null) {
|
|
11251
|
+
writer.writeMessage(
|
|
11252
|
+
9,
|
|
11253
|
+
f,
|
|
11254
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
11255
|
+
);
|
|
11256
|
+
}
|
|
11257
|
+
f = message.getLastScan();
|
|
11258
|
+
if (f != null) {
|
|
11259
|
+
writer.writeMessage(
|
|
11260
|
+
10,
|
|
11261
|
+
f,
|
|
11262
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
11263
|
+
);
|
|
11264
|
+
}
|
|
11265
|
+
};
|
|
11266
|
+
|
|
11267
|
+
|
|
11268
|
+
/**
|
|
11269
|
+
* optional string scan_target_id = 1;
|
|
11270
|
+
* @return {string}
|
|
11271
|
+
*/
|
|
11272
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getScanTargetId = function() {
|
|
11273
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
11274
|
+
};
|
|
11275
|
+
|
|
11276
|
+
|
|
11277
|
+
/**
|
|
11278
|
+
* @param {string} value
|
|
11279
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11280
|
+
*/
|
|
11281
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setScanTargetId = function(value) {
|
|
11282
|
+
return jspb.Message.setField(this, 1, value);
|
|
11283
|
+
};
|
|
11284
|
+
|
|
11285
|
+
|
|
11286
|
+
/**
|
|
11287
|
+
* Clears the field making it undefined.
|
|
11288
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11289
|
+
*/
|
|
11290
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearScanTargetId = function() {
|
|
11291
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
11292
|
+
};
|
|
11293
|
+
|
|
11294
|
+
|
|
11295
|
+
/**
|
|
11296
|
+
* Returns whether this field is set.
|
|
11297
|
+
* @return {boolean}
|
|
11298
|
+
*/
|
|
11299
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasScanTargetId = function() {
|
|
11300
|
+
return jspb.Message.getField(this, 1) != null;
|
|
11301
|
+
};
|
|
11302
|
+
|
|
11303
|
+
|
|
11304
|
+
/**
|
|
11305
|
+
* optional string scan_target_name = 2;
|
|
11306
|
+
* @return {string}
|
|
11307
|
+
*/
|
|
11308
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getScanTargetName = function() {
|
|
11309
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
11310
|
+
};
|
|
11311
|
+
|
|
11312
|
+
|
|
11313
|
+
/**
|
|
11314
|
+
* @param {string} value
|
|
11315
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11316
|
+
*/
|
|
11317
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setScanTargetName = function(value) {
|
|
11318
|
+
return jspb.Message.setField(this, 2, value);
|
|
11319
|
+
};
|
|
11320
|
+
|
|
11321
|
+
|
|
11322
|
+
/**
|
|
11323
|
+
* Clears the field making it undefined.
|
|
11324
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11325
|
+
*/
|
|
11326
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearScanTargetName = function() {
|
|
11327
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
11328
|
+
};
|
|
11329
|
+
|
|
11330
|
+
|
|
11331
|
+
/**
|
|
11332
|
+
* Returns whether this field is set.
|
|
11333
|
+
* @return {boolean}
|
|
11334
|
+
*/
|
|
11335
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasScanTargetName = function() {
|
|
11336
|
+
return jspb.Message.getField(this, 2) != null;
|
|
11337
|
+
};
|
|
11338
|
+
|
|
11339
|
+
|
|
11340
|
+
/**
|
|
11341
|
+
* optional string sensor_id = 3;
|
|
11342
|
+
* @return {string}
|
|
11343
|
+
*/
|
|
11344
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getSensorId = function() {
|
|
11345
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
11346
|
+
};
|
|
11347
|
+
|
|
11348
|
+
|
|
11349
|
+
/**
|
|
11350
|
+
* @param {string} value
|
|
11351
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11352
|
+
*/
|
|
11353
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setSensorId = function(value) {
|
|
11354
|
+
return jspb.Message.setField(this, 3, value);
|
|
11355
|
+
};
|
|
11356
|
+
|
|
11357
|
+
|
|
11358
|
+
/**
|
|
11359
|
+
* Clears the field making it undefined.
|
|
11360
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11361
|
+
*/
|
|
11362
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearSensorId = function() {
|
|
11363
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
11364
|
+
};
|
|
11365
|
+
|
|
11366
|
+
|
|
11367
|
+
/**
|
|
11368
|
+
* Returns whether this field is set.
|
|
11369
|
+
* @return {boolean}
|
|
11370
|
+
*/
|
|
11371
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasSensorId = function() {
|
|
11372
|
+
return jspb.Message.getField(this, 3) != null;
|
|
11373
|
+
};
|
|
11374
|
+
|
|
11375
|
+
|
|
11376
|
+
/**
|
|
11377
|
+
* optional string sensor_name = 4;
|
|
11378
|
+
* @return {string}
|
|
11379
|
+
*/
|
|
11380
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getSensorName = function() {
|
|
11381
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
11382
|
+
};
|
|
11383
|
+
|
|
11384
|
+
|
|
11385
|
+
/**
|
|
11386
|
+
* @param {string} value
|
|
11387
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11388
|
+
*/
|
|
11389
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setSensorName = function(value) {
|
|
11390
|
+
return jspb.Message.setField(this, 4, value);
|
|
11391
|
+
};
|
|
11392
|
+
|
|
11393
|
+
|
|
11394
|
+
/**
|
|
11395
|
+
* Clears the field making it undefined.
|
|
11396
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11397
|
+
*/
|
|
11398
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearSensorName = function() {
|
|
11399
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
11400
|
+
};
|
|
11401
|
+
|
|
11402
|
+
|
|
11403
|
+
/**
|
|
11404
|
+
* Returns whether this field is set.
|
|
11405
|
+
* @return {boolean}
|
|
11406
|
+
*/
|
|
11407
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasSensorName = function() {
|
|
11408
|
+
return jspb.Message.getField(this, 4) != null;
|
|
11409
|
+
};
|
|
11410
|
+
|
|
11411
|
+
|
|
11412
|
+
/**
|
|
11413
|
+
* optional string protocol_id = 5;
|
|
11414
|
+
* @return {string}
|
|
11415
|
+
*/
|
|
11416
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getProtocolId = function() {
|
|
11417
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
11418
|
+
};
|
|
11419
|
+
|
|
11420
|
+
|
|
11421
|
+
/**
|
|
11422
|
+
* @param {string} value
|
|
11423
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11424
|
+
*/
|
|
11425
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setProtocolId = function(value) {
|
|
11426
|
+
return jspb.Message.setField(this, 5, value);
|
|
11427
|
+
};
|
|
11428
|
+
|
|
11429
|
+
|
|
11430
|
+
/**
|
|
11431
|
+
* Clears the field making it undefined.
|
|
11432
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11433
|
+
*/
|
|
11434
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearProtocolId = function() {
|
|
11435
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
11436
|
+
};
|
|
11437
|
+
|
|
11438
|
+
|
|
11439
|
+
/**
|
|
11440
|
+
* Returns whether this field is set.
|
|
11441
|
+
* @return {boolean}
|
|
11442
|
+
*/
|
|
11443
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasProtocolId = function() {
|
|
11444
|
+
return jspb.Message.getField(this, 5) != null;
|
|
11445
|
+
};
|
|
11446
|
+
|
|
11447
|
+
|
|
11448
|
+
/**
|
|
11449
|
+
* optional string protocol_name = 6;
|
|
11450
|
+
* @return {string}
|
|
11451
|
+
*/
|
|
11452
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getProtocolName = function() {
|
|
11453
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
11454
|
+
};
|
|
11455
|
+
|
|
11456
|
+
|
|
11457
|
+
/**
|
|
11458
|
+
* @param {string} value
|
|
11459
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11460
|
+
*/
|
|
11461
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setProtocolName = function(value) {
|
|
11462
|
+
return jspb.Message.setField(this, 6, value);
|
|
11463
|
+
};
|
|
11464
|
+
|
|
11465
|
+
|
|
11466
|
+
/**
|
|
11467
|
+
* Clears the field making it undefined.
|
|
11468
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11469
|
+
*/
|
|
11470
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearProtocolName = function() {
|
|
11471
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
11472
|
+
};
|
|
11473
|
+
|
|
11474
|
+
|
|
11475
|
+
/**
|
|
11476
|
+
* Returns whether this field is set.
|
|
11477
|
+
* @return {boolean}
|
|
11478
|
+
*/
|
|
11479
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasProtocolName = function() {
|
|
11480
|
+
return jspb.Message.getField(this, 6) != null;
|
|
11481
|
+
};
|
|
11482
|
+
|
|
11483
|
+
|
|
11484
|
+
/**
|
|
11485
|
+
* optional int32 port = 7;
|
|
11486
|
+
* @return {number}
|
|
11487
|
+
*/
|
|
11488
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getPort = function() {
|
|
11489
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
11490
|
+
};
|
|
11491
|
+
|
|
11492
|
+
|
|
11493
|
+
/**
|
|
11494
|
+
* @param {number} value
|
|
11495
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11496
|
+
*/
|
|
11497
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setPort = function(value) {
|
|
11498
|
+
return jspb.Message.setField(this, 7, value);
|
|
11499
|
+
};
|
|
11500
|
+
|
|
11501
|
+
|
|
11502
|
+
/**
|
|
11503
|
+
* Clears the field making it undefined.
|
|
11504
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11505
|
+
*/
|
|
11506
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearPort = function() {
|
|
11507
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
11508
|
+
};
|
|
11509
|
+
|
|
11510
|
+
|
|
11511
|
+
/**
|
|
11512
|
+
* Returns whether this field is set.
|
|
11513
|
+
* @return {boolean}
|
|
11514
|
+
*/
|
|
11515
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasPort = function() {
|
|
11516
|
+
return jspb.Message.getField(this, 7) != null;
|
|
11517
|
+
};
|
|
11518
|
+
|
|
11519
|
+
|
|
11520
|
+
/**
|
|
11521
|
+
* optional string network_protocol = 8;
|
|
11522
|
+
* @return {string}
|
|
11523
|
+
*/
|
|
11524
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getNetworkProtocol = function() {
|
|
11525
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
11526
|
+
};
|
|
11527
|
+
|
|
11528
|
+
|
|
11529
|
+
/**
|
|
11530
|
+
* @param {string} value
|
|
11531
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11532
|
+
*/
|
|
11533
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setNetworkProtocol = function(value) {
|
|
11534
|
+
return jspb.Message.setField(this, 8, value);
|
|
11535
|
+
};
|
|
11536
|
+
|
|
11537
|
+
|
|
11538
|
+
/**
|
|
11539
|
+
* Clears the field making it undefined.
|
|
11540
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11541
|
+
*/
|
|
11542
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearNetworkProtocol = function() {
|
|
11543
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
11544
|
+
};
|
|
11545
|
+
|
|
11546
|
+
|
|
11547
|
+
/**
|
|
11548
|
+
* Returns whether this field is set.
|
|
11549
|
+
* @return {boolean}
|
|
11550
|
+
*/
|
|
11551
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasNetworkProtocol = function() {
|
|
11552
|
+
return jspb.Message.getField(this, 8) != null;
|
|
11553
|
+
};
|
|
11554
|
+
|
|
11555
|
+
|
|
11556
|
+
/**
|
|
11557
|
+
* optional google.protobuf.Timestamp last_tried = 9;
|
|
11558
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
11559
|
+
*/
|
|
11560
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getLastTried = function() {
|
|
11561
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
11562
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 9));
|
|
11563
|
+
};
|
|
11564
|
+
|
|
11565
|
+
|
|
11566
|
+
/**
|
|
11567
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
11568
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11569
|
+
*/
|
|
11570
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setLastTried = function(value) {
|
|
11571
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
11572
|
+
};
|
|
11573
|
+
|
|
11574
|
+
|
|
11575
|
+
/**
|
|
11576
|
+
* Clears the message field making it undefined.
|
|
11577
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11578
|
+
*/
|
|
11579
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearLastTried = function() {
|
|
11580
|
+
return this.setLastTried(undefined);
|
|
11581
|
+
};
|
|
11582
|
+
|
|
11583
|
+
|
|
11584
|
+
/**
|
|
11585
|
+
* Returns whether this field is set.
|
|
11586
|
+
* @return {boolean}
|
|
11587
|
+
*/
|
|
11588
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasLastTried = function() {
|
|
11589
|
+
return jspb.Message.getField(this, 9) != null;
|
|
11590
|
+
};
|
|
11591
|
+
|
|
11592
|
+
|
|
11593
|
+
/**
|
|
11594
|
+
* optional google.protobuf.Timestamp last_scan = 10;
|
|
11595
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
11596
|
+
*/
|
|
11597
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.getLastScan = function() {
|
|
11598
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
11599
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
|
|
11600
|
+
};
|
|
11601
|
+
|
|
11602
|
+
|
|
11603
|
+
/**
|
|
11604
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
11605
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11606
|
+
*/
|
|
11607
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.setLastScan = function(value) {
|
|
11608
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
11609
|
+
};
|
|
11610
|
+
|
|
11611
|
+
|
|
11612
|
+
/**
|
|
11613
|
+
* Clears the message field making it undefined.
|
|
11614
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtScanInfo} returns this
|
|
11615
|
+
*/
|
|
11616
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.clearLastScan = function() {
|
|
11617
|
+
return this.setLastScan(undefined);
|
|
11618
|
+
};
|
|
11619
|
+
|
|
11620
|
+
|
|
11621
|
+
/**
|
|
11622
|
+
* Returns whether this field is set.
|
|
11623
|
+
* @return {boolean}
|
|
11624
|
+
*/
|
|
11625
|
+
proto.com.lansweeper.dp.outbound.v1.OtScanInfo.prototype.hasLastScan = function() {
|
|
11626
|
+
return jspb.Message.getField(this, 10) != null;
|
|
11627
|
+
};
|
|
11628
|
+
|
|
11629
|
+
|
|
11630
|
+
|
|
11631
|
+
|
|
11632
|
+
|
|
11633
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11634
|
+
/**
|
|
11635
|
+
* Creates an object representation of this proto.
|
|
11636
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11637
|
+
* Optional fields that are not set will be set to undefined.
|
|
11638
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11639
|
+
* For the list of reserved names please see:
|
|
11640
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11641
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11642
|
+
* JSPB instance for transitional soy proto support:
|
|
11643
|
+
* http://goto/soy-param-migration
|
|
11644
|
+
* @return {!Object}
|
|
11645
|
+
*/
|
|
11646
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.prototype.toObject = function(opt_includeInstance) {
|
|
11647
|
+
return proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.toObject(opt_includeInstance, this);
|
|
11648
|
+
};
|
|
11649
|
+
|
|
11650
|
+
|
|
11651
|
+
/**
|
|
11652
|
+
* Static version of the {@see toObject} method.
|
|
11653
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11654
|
+
* the JSPB instance for transitional soy proto support:
|
|
11655
|
+
* http://goto/soy-param-migration
|
|
11656
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory} msg The msg instance to transform.
|
|
11657
|
+
* @return {!Object}
|
|
11658
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11659
|
+
*/
|
|
11660
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.toObject = function(includeInstance, msg) {
|
|
11661
|
+
var f, obj = {
|
|
11662
|
+
firmware: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11663
|
+
from: (f = msg.getFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
11664
|
+
until: (f = msg.getUntil()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
11665
|
+
};
|
|
11666
|
+
|
|
11667
|
+
if (includeInstance) {
|
|
11668
|
+
obj.$jspbMessageInstance = msg;
|
|
11669
|
+
}
|
|
11670
|
+
return obj;
|
|
11671
|
+
};
|
|
11672
|
+
}
|
|
11673
|
+
|
|
11674
|
+
|
|
11675
|
+
/**
|
|
11676
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11677
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11678
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory}
|
|
11679
|
+
*/
|
|
11680
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.deserializeBinary = function(bytes) {
|
|
11681
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11682
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory;
|
|
11683
|
+
return proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.deserializeBinaryFromReader(msg, reader);
|
|
11684
|
+
};
|
|
11685
|
+
|
|
11686
|
+
|
|
11687
|
+
/**
|
|
11688
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11689
|
+
* given reader into the given message object.
|
|
11690
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory} msg The message object to deserialize into.
|
|
11691
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11692
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory}
|
|
11693
|
+
*/
|
|
11694
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.deserializeBinaryFromReader = function(msg, reader) {
|
|
11695
|
+
while (reader.nextField()) {
|
|
11696
|
+
if (reader.isEndGroup()) {
|
|
11697
|
+
break;
|
|
11698
|
+
}
|
|
11699
|
+
var field = reader.getFieldNumber();
|
|
11700
|
+
switch (field) {
|
|
11701
|
+
case 1:
|
|
11702
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11703
|
+
msg.setFirmware(value);
|
|
11704
|
+
break;
|
|
11705
|
+
case 2:
|
|
11706
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
11707
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
11708
|
+
msg.setFrom(value);
|
|
11709
|
+
break;
|
|
11710
|
+
case 3:
|
|
11711
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
11712
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
11713
|
+
msg.setUntil(value);
|
|
11714
|
+
break;
|
|
11715
|
+
default:
|
|
11716
|
+
reader.skipField();
|
|
11717
|
+
break;
|
|
11718
|
+
}
|
|
11719
|
+
}
|
|
11720
|
+
return msg;
|
|
11721
|
+
};
|
|
11722
|
+
|
|
11723
|
+
|
|
11724
|
+
/**
|
|
11725
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11726
|
+
* @return {!Uint8Array}
|
|
11727
|
+
*/
|
|
11728
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.prototype.serializeBinary = function() {
|
|
11729
|
+
var writer = new jspb.BinaryWriter();
|
|
11730
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.serializeBinaryToWriter(this, writer);
|
|
11731
|
+
return writer.getResultBuffer();
|
|
11732
|
+
};
|
|
11733
|
+
|
|
11734
|
+
|
|
11735
|
+
/**
|
|
11736
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11737
|
+
* format), writing to the given BinaryWriter.
|
|
11738
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory} message
|
|
11739
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11740
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11741
|
+
*/
|
|
11742
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.serializeBinaryToWriter = function(message, writer) {
|
|
11743
|
+
var f = undefined;
|
|
11744
|
+
f = message.getFirmware();
|
|
11745
|
+
if (f.length > 0) {
|
|
11746
|
+
writer.writeString(
|
|
11747
|
+
1,
|
|
11748
|
+
f
|
|
11749
|
+
);
|
|
11750
|
+
}
|
|
11751
|
+
f = message.getFrom();
|
|
11752
|
+
if (f != null) {
|
|
11753
|
+
writer.writeMessage(
|
|
11754
|
+
2,
|
|
11755
|
+
f,
|
|
11756
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
11757
|
+
);
|
|
11758
|
+
}
|
|
11759
|
+
f = message.getUntil();
|
|
11760
|
+
if (f != null) {
|
|
11761
|
+
writer.writeMessage(
|
|
11762
|
+
3,
|
|
11763
|
+
f,
|
|
11764
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
11765
|
+
);
|
|
11766
|
+
}
|
|
11767
|
+
};
|
|
11768
|
+
|
|
11769
|
+
|
|
11770
|
+
/**
|
|
11771
|
+
* optional string firmware = 1;
|
|
11772
|
+
* @return {string}
|
|
11773
|
+
*/
|
|
11774
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.prototype.getFirmware = function() {
|
|
11775
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
11776
|
+
};
|
|
11777
|
+
|
|
11778
|
+
|
|
11779
|
+
/**
|
|
11780
|
+
* @param {string} value
|
|
11781
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory} returns this
|
|
11782
|
+
*/
|
|
11783
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.prototype.setFirmware = function(value) {
|
|
11784
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
11785
|
+
};
|
|
11786
|
+
|
|
11787
|
+
|
|
11788
|
+
/**
|
|
11789
|
+
* optional google.protobuf.Timestamp from = 2;
|
|
11790
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
11791
|
+
*/
|
|
11792
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.prototype.getFrom = function() {
|
|
11793
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
11794
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
|
|
11795
|
+
};
|
|
11796
|
+
|
|
11797
|
+
|
|
11798
|
+
/**
|
|
11799
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
11800
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory} returns this
|
|
11801
|
+
*/
|
|
11802
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.prototype.setFrom = function(value) {
|
|
11803
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
11804
|
+
};
|
|
11805
|
+
|
|
11806
|
+
|
|
11807
|
+
/**
|
|
11808
|
+
* Clears the message field making it undefined.
|
|
11809
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory} returns this
|
|
11810
|
+
*/
|
|
11811
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.prototype.clearFrom = function() {
|
|
11812
|
+
return this.setFrom(undefined);
|
|
11813
|
+
};
|
|
11814
|
+
|
|
11815
|
+
|
|
11816
|
+
/**
|
|
11817
|
+
* Returns whether this field is set.
|
|
11818
|
+
* @return {boolean}
|
|
11819
|
+
*/
|
|
11820
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.prototype.hasFrom = function() {
|
|
11821
|
+
return jspb.Message.getField(this, 2) != null;
|
|
11822
|
+
};
|
|
11823
|
+
|
|
11824
|
+
|
|
11825
|
+
/**
|
|
11826
|
+
* optional google.protobuf.Timestamp until = 3;
|
|
11827
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
11828
|
+
*/
|
|
11829
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.prototype.getUntil = function() {
|
|
11830
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
11831
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
|
|
11832
|
+
};
|
|
11833
|
+
|
|
11834
|
+
|
|
11835
|
+
/**
|
|
11836
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
11837
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory} returns this
|
|
11838
|
+
*/
|
|
11839
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.prototype.setUntil = function(value) {
|
|
11840
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
11841
|
+
};
|
|
11842
|
+
|
|
11843
|
+
|
|
11844
|
+
/**
|
|
11845
|
+
* Clears the message field making it undefined.
|
|
11846
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory} returns this
|
|
11847
|
+
*/
|
|
11848
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.prototype.clearUntil = function() {
|
|
11849
|
+
return this.setUntil(undefined);
|
|
11850
|
+
};
|
|
11851
|
+
|
|
11852
|
+
|
|
11853
|
+
/**
|
|
11854
|
+
* Returns whether this field is set.
|
|
11855
|
+
* @return {boolean}
|
|
11856
|
+
*/
|
|
11857
|
+
proto.com.lansweeper.dp.outbound.v1.OtFirmwareHistory.prototype.hasUntil = function() {
|
|
11858
|
+
return jspb.Message.getField(this, 3) != null;
|
|
11859
|
+
};
|
|
11860
|
+
|
|
11861
|
+
|
|
11862
|
+
|
|
11863
|
+
|
|
11864
|
+
|
|
10899
11865
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10900
11866
|
/**
|
|
10901
11867
|
* Creates an object representation of this proto.
|