@lansweeper/discovery-sensor-proto 2.15.2 → 2.16.0
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.
|
@@ -8504,6 +8504,54 @@ export namespace CertificateLocation {
|
|
|
8504
8504
|
}
|
|
8505
8505
|
}
|
|
8506
8506
|
|
|
8507
|
+
export class OpenPorts extends jspb.Message {
|
|
8508
|
+
clearEntriesList(): void;
|
|
8509
|
+
getEntriesList(): Array<OpenPort>;
|
|
8510
|
+
setEntriesList(value: Array<OpenPort>): OpenPorts;
|
|
8511
|
+
addEntries(value?: OpenPort, index?: number): OpenPort;
|
|
8512
|
+
|
|
8513
|
+
serializeBinary(): Uint8Array;
|
|
8514
|
+
toObject(includeInstance?: boolean): OpenPorts.AsObject;
|
|
8515
|
+
static toObject(includeInstance: boolean, msg: OpenPorts): OpenPorts.AsObject;
|
|
8516
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
8517
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
8518
|
+
static serializeBinaryToWriter(message: OpenPorts, writer: jspb.BinaryWriter): void;
|
|
8519
|
+
static deserializeBinary(bytes: Uint8Array): OpenPorts;
|
|
8520
|
+
static deserializeBinaryFromReader(message: OpenPorts, reader: jspb.BinaryReader): OpenPorts;
|
|
8521
|
+
}
|
|
8522
|
+
|
|
8523
|
+
export namespace OpenPorts {
|
|
8524
|
+
export type AsObject = {
|
|
8525
|
+
entriesList: Array<OpenPort.AsObject>,
|
|
8526
|
+
}
|
|
8527
|
+
}
|
|
8528
|
+
|
|
8529
|
+
export class OpenPort extends jspb.Message {
|
|
8530
|
+
getLocalPort(): number;
|
|
8531
|
+
setLocalPort(value: number): OpenPort;
|
|
8532
|
+
|
|
8533
|
+
hasLocalAddress(): boolean;
|
|
8534
|
+
clearLocalAddress(): void;
|
|
8535
|
+
getLocalAddress(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
8536
|
+
setLocalAddress(value?: google_protobuf_wrappers_pb.StringValue): OpenPort;
|
|
8537
|
+
|
|
8538
|
+
serializeBinary(): Uint8Array;
|
|
8539
|
+
toObject(includeInstance?: boolean): OpenPort.AsObject;
|
|
8540
|
+
static toObject(includeInstance: boolean, msg: OpenPort): OpenPort.AsObject;
|
|
8541
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
8542
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
8543
|
+
static serializeBinaryToWriter(message: OpenPort, writer: jspb.BinaryWriter): void;
|
|
8544
|
+
static deserializeBinary(bytes: Uint8Array): OpenPort;
|
|
8545
|
+
static deserializeBinaryFromReader(message: OpenPort, reader: jspb.BinaryReader): OpenPort;
|
|
8546
|
+
}
|
|
8547
|
+
|
|
8548
|
+
export namespace OpenPort {
|
|
8549
|
+
export type AsObject = {
|
|
8550
|
+
localPort: number,
|
|
8551
|
+
localAddress?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
8552
|
+
}
|
|
8553
|
+
}
|
|
8554
|
+
|
|
8507
8555
|
export enum WindowsVersion {
|
|
8508
8556
|
UNKNOWN = 0,
|
|
8509
8557
|
WIN_NT = 40,
|
|
@@ -61,6 +61,8 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Network', nu
|
|
|
61
61
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.NetworkAdapter', null, global);
|
|
62
62
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.NetworkClient', null, global);
|
|
63
63
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.OnboardDevice', null, global);
|
|
64
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort', null, global);
|
|
65
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts', null, global);
|
|
64
66
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Os', null, global);
|
|
65
67
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.OsRecovery', null, global);
|
|
66
68
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.PageFile', null, global);
|
|
@@ -4051,6 +4053,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4051
4053
|
*/
|
|
4052
4054
|
proto.com.lansweeper.discovery.sensor.windows.v1.CertificateLocation.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.CertificateLocation';
|
|
4053
4055
|
}
|
|
4056
|
+
/**
|
|
4057
|
+
* Generated by JsPbCodeGenerator.
|
|
4058
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4059
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4060
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4061
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4062
|
+
* valid.
|
|
4063
|
+
* @extends {jspb.Message}
|
|
4064
|
+
* @constructor
|
|
4065
|
+
*/
|
|
4066
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts = function(opt_data) {
|
|
4067
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.repeatedFields_, null);
|
|
4068
|
+
};
|
|
4069
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts, jspb.Message);
|
|
4070
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4071
|
+
/**
|
|
4072
|
+
* @public
|
|
4073
|
+
* @override
|
|
4074
|
+
*/
|
|
4075
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts';
|
|
4076
|
+
}
|
|
4077
|
+
/**
|
|
4078
|
+
* Generated by JsPbCodeGenerator.
|
|
4079
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4080
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4081
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4082
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4083
|
+
* valid.
|
|
4084
|
+
* @extends {jspb.Message}
|
|
4085
|
+
* @constructor
|
|
4086
|
+
*/
|
|
4087
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort = function(opt_data) {
|
|
4088
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4089
|
+
};
|
|
4090
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort, jspb.Message);
|
|
4091
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4092
|
+
/**
|
|
4093
|
+
* @public
|
|
4094
|
+
* @override
|
|
4095
|
+
*/
|
|
4096
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort';
|
|
4097
|
+
}
|
|
4054
4098
|
|
|
4055
4099
|
|
|
4056
4100
|
|
|
@@ -70272,6 +70316,347 @@ proto.com.lansweeper.discovery.sensor.windows.v1.CertificateLocation.prototype.s
|
|
|
70272
70316
|
};
|
|
70273
70317
|
|
|
70274
70318
|
|
|
70319
|
+
|
|
70320
|
+
/**
|
|
70321
|
+
* List of repeated fields within this message type.
|
|
70322
|
+
* @private {!Array<number>}
|
|
70323
|
+
* @const
|
|
70324
|
+
*/
|
|
70325
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.repeatedFields_ = [1];
|
|
70326
|
+
|
|
70327
|
+
|
|
70328
|
+
|
|
70329
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
70330
|
+
/**
|
|
70331
|
+
* Creates an object representation of this proto.
|
|
70332
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
70333
|
+
* Optional fields that are not set will be set to undefined.
|
|
70334
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
70335
|
+
* For the list of reserved names please see:
|
|
70336
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
70337
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
70338
|
+
* JSPB instance for transitional soy proto support:
|
|
70339
|
+
* http://goto/soy-param-migration
|
|
70340
|
+
* @return {!Object}
|
|
70341
|
+
*/
|
|
70342
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.prototype.toObject = function(opt_includeInstance) {
|
|
70343
|
+
return proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.toObject(opt_includeInstance, this);
|
|
70344
|
+
};
|
|
70345
|
+
|
|
70346
|
+
|
|
70347
|
+
/**
|
|
70348
|
+
* Static version of the {@see toObject} method.
|
|
70349
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
70350
|
+
* the JSPB instance for transitional soy proto support:
|
|
70351
|
+
* http://goto/soy-param-migration
|
|
70352
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts} msg The msg instance to transform.
|
|
70353
|
+
* @return {!Object}
|
|
70354
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70355
|
+
*/
|
|
70356
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.toObject = function(includeInstance, msg) {
|
|
70357
|
+
var f, obj = {
|
|
70358
|
+
entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
|
|
70359
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.toObject, includeInstance)
|
|
70360
|
+
};
|
|
70361
|
+
|
|
70362
|
+
if (includeInstance) {
|
|
70363
|
+
obj.$jspbMessageInstance = msg;
|
|
70364
|
+
}
|
|
70365
|
+
return obj;
|
|
70366
|
+
};
|
|
70367
|
+
}
|
|
70368
|
+
|
|
70369
|
+
|
|
70370
|
+
/**
|
|
70371
|
+
* Deserializes binary data (in protobuf wire format).
|
|
70372
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
70373
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts}
|
|
70374
|
+
*/
|
|
70375
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.deserializeBinary = function(bytes) {
|
|
70376
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
70377
|
+
var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts;
|
|
70378
|
+
return proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.deserializeBinaryFromReader(msg, reader);
|
|
70379
|
+
};
|
|
70380
|
+
|
|
70381
|
+
|
|
70382
|
+
/**
|
|
70383
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
70384
|
+
* given reader into the given message object.
|
|
70385
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts} msg The message object to deserialize into.
|
|
70386
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
70387
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts}
|
|
70388
|
+
*/
|
|
70389
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.deserializeBinaryFromReader = function(msg, reader) {
|
|
70390
|
+
while (reader.nextField()) {
|
|
70391
|
+
if (reader.isEndGroup()) {
|
|
70392
|
+
break;
|
|
70393
|
+
}
|
|
70394
|
+
var field = reader.getFieldNumber();
|
|
70395
|
+
switch (field) {
|
|
70396
|
+
case 1:
|
|
70397
|
+
var value = new proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort;
|
|
70398
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.deserializeBinaryFromReader);
|
|
70399
|
+
msg.addEntries(value);
|
|
70400
|
+
break;
|
|
70401
|
+
default:
|
|
70402
|
+
reader.skipField();
|
|
70403
|
+
break;
|
|
70404
|
+
}
|
|
70405
|
+
}
|
|
70406
|
+
return msg;
|
|
70407
|
+
};
|
|
70408
|
+
|
|
70409
|
+
|
|
70410
|
+
/**
|
|
70411
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
70412
|
+
* @return {!Uint8Array}
|
|
70413
|
+
*/
|
|
70414
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.prototype.serializeBinary = function() {
|
|
70415
|
+
var writer = new jspb.BinaryWriter();
|
|
70416
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.serializeBinaryToWriter(this, writer);
|
|
70417
|
+
return writer.getResultBuffer();
|
|
70418
|
+
};
|
|
70419
|
+
|
|
70420
|
+
|
|
70421
|
+
/**
|
|
70422
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
70423
|
+
* format), writing to the given BinaryWriter.
|
|
70424
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts} message
|
|
70425
|
+
* @param {!jspb.BinaryWriter} writer
|
|
70426
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70427
|
+
*/
|
|
70428
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.serializeBinaryToWriter = function(message, writer) {
|
|
70429
|
+
var f = undefined;
|
|
70430
|
+
f = message.getEntriesList();
|
|
70431
|
+
if (f.length > 0) {
|
|
70432
|
+
writer.writeRepeatedMessage(
|
|
70433
|
+
1,
|
|
70434
|
+
f,
|
|
70435
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.serializeBinaryToWriter
|
|
70436
|
+
);
|
|
70437
|
+
}
|
|
70438
|
+
};
|
|
70439
|
+
|
|
70440
|
+
|
|
70441
|
+
/**
|
|
70442
|
+
* repeated OpenPort entries = 1;
|
|
70443
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort>}
|
|
70444
|
+
*/
|
|
70445
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.prototype.getEntriesList = function() {
|
|
70446
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort>} */ (
|
|
70447
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort, 1));
|
|
70448
|
+
};
|
|
70449
|
+
|
|
70450
|
+
|
|
70451
|
+
/**
|
|
70452
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort>} value
|
|
70453
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts} returns this
|
|
70454
|
+
*/
|
|
70455
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.prototype.setEntriesList = function(value) {
|
|
70456
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
70457
|
+
};
|
|
70458
|
+
|
|
70459
|
+
|
|
70460
|
+
/**
|
|
70461
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort=} opt_value
|
|
70462
|
+
* @param {number=} opt_index
|
|
70463
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort}
|
|
70464
|
+
*/
|
|
70465
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.prototype.addEntries = function(opt_value, opt_index) {
|
|
70466
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort, opt_index);
|
|
70467
|
+
};
|
|
70468
|
+
|
|
70469
|
+
|
|
70470
|
+
/**
|
|
70471
|
+
* Clears the list making it empty but non-null.
|
|
70472
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts} returns this
|
|
70473
|
+
*/
|
|
70474
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPorts.prototype.clearEntriesList = function() {
|
|
70475
|
+
return this.setEntriesList([]);
|
|
70476
|
+
};
|
|
70477
|
+
|
|
70478
|
+
|
|
70479
|
+
|
|
70480
|
+
|
|
70481
|
+
|
|
70482
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
70483
|
+
/**
|
|
70484
|
+
* Creates an object representation of this proto.
|
|
70485
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
70486
|
+
* Optional fields that are not set will be set to undefined.
|
|
70487
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
70488
|
+
* For the list of reserved names please see:
|
|
70489
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
70490
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
70491
|
+
* JSPB instance for transitional soy proto support:
|
|
70492
|
+
* http://goto/soy-param-migration
|
|
70493
|
+
* @return {!Object}
|
|
70494
|
+
*/
|
|
70495
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.toObject = function(opt_includeInstance) {
|
|
70496
|
+
return proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.toObject(opt_includeInstance, this);
|
|
70497
|
+
};
|
|
70498
|
+
|
|
70499
|
+
|
|
70500
|
+
/**
|
|
70501
|
+
* Static version of the {@see toObject} method.
|
|
70502
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
70503
|
+
* the JSPB instance for transitional soy proto support:
|
|
70504
|
+
* http://goto/soy-param-migration
|
|
70505
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort} msg The msg instance to transform.
|
|
70506
|
+
* @return {!Object}
|
|
70507
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70508
|
+
*/
|
|
70509
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.toObject = function(includeInstance, msg) {
|
|
70510
|
+
var f, obj = {
|
|
70511
|
+
localPort: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
70512
|
+
localAddress: (f = msg.getLocalAddress()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
70513
|
+
};
|
|
70514
|
+
|
|
70515
|
+
if (includeInstance) {
|
|
70516
|
+
obj.$jspbMessageInstance = msg;
|
|
70517
|
+
}
|
|
70518
|
+
return obj;
|
|
70519
|
+
};
|
|
70520
|
+
}
|
|
70521
|
+
|
|
70522
|
+
|
|
70523
|
+
/**
|
|
70524
|
+
* Deserializes binary data (in protobuf wire format).
|
|
70525
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
70526
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort}
|
|
70527
|
+
*/
|
|
70528
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.deserializeBinary = function(bytes) {
|
|
70529
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
70530
|
+
var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort;
|
|
70531
|
+
return proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.deserializeBinaryFromReader(msg, reader);
|
|
70532
|
+
};
|
|
70533
|
+
|
|
70534
|
+
|
|
70535
|
+
/**
|
|
70536
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
70537
|
+
* given reader into the given message object.
|
|
70538
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort} msg The message object to deserialize into.
|
|
70539
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
70540
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort}
|
|
70541
|
+
*/
|
|
70542
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.deserializeBinaryFromReader = function(msg, reader) {
|
|
70543
|
+
while (reader.nextField()) {
|
|
70544
|
+
if (reader.isEndGroup()) {
|
|
70545
|
+
break;
|
|
70546
|
+
}
|
|
70547
|
+
var field = reader.getFieldNumber();
|
|
70548
|
+
switch (field) {
|
|
70549
|
+
case 1:
|
|
70550
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
70551
|
+
msg.setLocalPort(value);
|
|
70552
|
+
break;
|
|
70553
|
+
case 2:
|
|
70554
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
70555
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
70556
|
+
msg.setLocalAddress(value);
|
|
70557
|
+
break;
|
|
70558
|
+
default:
|
|
70559
|
+
reader.skipField();
|
|
70560
|
+
break;
|
|
70561
|
+
}
|
|
70562
|
+
}
|
|
70563
|
+
return msg;
|
|
70564
|
+
};
|
|
70565
|
+
|
|
70566
|
+
|
|
70567
|
+
/**
|
|
70568
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
70569
|
+
* @return {!Uint8Array}
|
|
70570
|
+
*/
|
|
70571
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.serializeBinary = function() {
|
|
70572
|
+
var writer = new jspb.BinaryWriter();
|
|
70573
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.serializeBinaryToWriter(this, writer);
|
|
70574
|
+
return writer.getResultBuffer();
|
|
70575
|
+
};
|
|
70576
|
+
|
|
70577
|
+
|
|
70578
|
+
/**
|
|
70579
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
70580
|
+
* format), writing to the given BinaryWriter.
|
|
70581
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort} message
|
|
70582
|
+
* @param {!jspb.BinaryWriter} writer
|
|
70583
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70584
|
+
*/
|
|
70585
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.serializeBinaryToWriter = function(message, writer) {
|
|
70586
|
+
var f = undefined;
|
|
70587
|
+
f = message.getLocalPort();
|
|
70588
|
+
if (f !== 0) {
|
|
70589
|
+
writer.writeInt32(
|
|
70590
|
+
1,
|
|
70591
|
+
f
|
|
70592
|
+
);
|
|
70593
|
+
}
|
|
70594
|
+
f = message.getLocalAddress();
|
|
70595
|
+
if (f != null) {
|
|
70596
|
+
writer.writeMessage(
|
|
70597
|
+
2,
|
|
70598
|
+
f,
|
|
70599
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
70600
|
+
);
|
|
70601
|
+
}
|
|
70602
|
+
};
|
|
70603
|
+
|
|
70604
|
+
|
|
70605
|
+
/**
|
|
70606
|
+
* optional int32 local_port = 1;
|
|
70607
|
+
* @return {number}
|
|
70608
|
+
*/
|
|
70609
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.getLocalPort = function() {
|
|
70610
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
70611
|
+
};
|
|
70612
|
+
|
|
70613
|
+
|
|
70614
|
+
/**
|
|
70615
|
+
* @param {number} value
|
|
70616
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort} returns this
|
|
70617
|
+
*/
|
|
70618
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.setLocalPort = function(value) {
|
|
70619
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
70620
|
+
};
|
|
70621
|
+
|
|
70622
|
+
|
|
70623
|
+
/**
|
|
70624
|
+
* optional google.protobuf.StringValue local_address = 2;
|
|
70625
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
70626
|
+
*/
|
|
70627
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.getLocalAddress = function() {
|
|
70628
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
70629
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
|
|
70630
|
+
};
|
|
70631
|
+
|
|
70632
|
+
|
|
70633
|
+
/**
|
|
70634
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
70635
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort} returns this
|
|
70636
|
+
*/
|
|
70637
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.setLocalAddress = function(value) {
|
|
70638
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
70639
|
+
};
|
|
70640
|
+
|
|
70641
|
+
|
|
70642
|
+
/**
|
|
70643
|
+
* Clears the message field making it undefined.
|
|
70644
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort} returns this
|
|
70645
|
+
*/
|
|
70646
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.clearLocalAddress = function() {
|
|
70647
|
+
return this.setLocalAddress(undefined);
|
|
70648
|
+
};
|
|
70649
|
+
|
|
70650
|
+
|
|
70651
|
+
/**
|
|
70652
|
+
* Returns whether this field is set.
|
|
70653
|
+
* @return {boolean}
|
|
70654
|
+
*/
|
|
70655
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.OpenPort.prototype.hasLocalAddress = function() {
|
|
70656
|
+
return jspb.Message.getField(this, 2) != null;
|
|
70657
|
+
};
|
|
70658
|
+
|
|
70659
|
+
|
|
70275
70660
|
/**
|
|
70276
70661
|
* @enum {number}
|
|
70277
70662
|
*/
|