@lansweeper/discovery-sensor-proto 2.38.0 → 2.38.1
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.
|
@@ -317,6 +317,11 @@ export class BluetoothDevice extends jspb.Message {
|
|
|
317
317
|
getVendorId(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
318
318
|
setVendorId(value?: google_protobuf_wrappers_pb.StringValue): BluetoothDevice;
|
|
319
319
|
|
|
320
|
+
hasName(): boolean;
|
|
321
|
+
clearName(): void;
|
|
322
|
+
getName(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
323
|
+
setName(value?: google_protobuf_wrappers_pb.StringValue): BluetoothDevice;
|
|
324
|
+
|
|
320
325
|
serializeBinary(): Uint8Array;
|
|
321
326
|
toObject(includeInstance?: boolean): BluetoothDevice.AsObject;
|
|
322
327
|
static toObject(includeInstance: boolean, msg: BluetoothDevice): BluetoothDevice.AsObject;
|
|
@@ -336,6 +341,7 @@ export namespace BluetoothDevice {
|
|
|
336
341
|
rssi?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
337
342
|
services?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
338
343
|
vendorId?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
344
|
+
name?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
339
345
|
}
|
|
340
346
|
}
|
|
341
347
|
|
|
@@ -3130,7 +3130,8 @@ proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.toObject = function
|
|
|
3130
3130
|
productId: (f = msg.getProductId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
3131
3131
|
rssi: (f = msg.getRssi()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
3132
3132
|
services: (f = msg.getServices()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
3133
|
-
vendorId: (f = msg.getVendorId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
3133
|
+
vendorId: (f = msg.getVendorId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
3134
|
+
name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
3134
3135
|
};
|
|
3135
3136
|
|
|
3136
3137
|
if (includeInstance) {
|
|
@@ -3202,6 +3203,11 @@ proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.deserializeBinaryFr
|
|
|
3202
3203
|
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
3203
3204
|
msg.setVendorId(value);
|
|
3204
3205
|
break;
|
|
3206
|
+
case 8:
|
|
3207
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
3208
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
3209
|
+
msg.setName(value);
|
|
3210
|
+
break;
|
|
3205
3211
|
default:
|
|
3206
3212
|
reader.skipField();
|
|
3207
3213
|
break;
|
|
@@ -3287,6 +3293,14 @@ proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.serializeBinaryToWr
|
|
|
3287
3293
|
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
3288
3294
|
);
|
|
3289
3295
|
}
|
|
3296
|
+
f = message.getName();
|
|
3297
|
+
if (f != null) {
|
|
3298
|
+
writer.writeMessage(
|
|
3299
|
+
8,
|
|
3300
|
+
f,
|
|
3301
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
3302
|
+
);
|
|
3303
|
+
}
|
|
3290
3304
|
};
|
|
3291
3305
|
|
|
3292
3306
|
|
|
@@ -3549,6 +3563,43 @@ proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.hasVendor
|
|
|
3549
3563
|
};
|
|
3550
3564
|
|
|
3551
3565
|
|
|
3566
|
+
/**
|
|
3567
|
+
* optional google.protobuf.StringValue name = 8;
|
|
3568
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
3569
|
+
*/
|
|
3570
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.getName = function() {
|
|
3571
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
3572
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
|
|
3573
|
+
};
|
|
3574
|
+
|
|
3575
|
+
|
|
3576
|
+
/**
|
|
3577
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
3578
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3579
|
+
*/
|
|
3580
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.setName = function(value) {
|
|
3581
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
3582
|
+
};
|
|
3583
|
+
|
|
3584
|
+
|
|
3585
|
+
/**
|
|
3586
|
+
* Clears the message field making it undefined.
|
|
3587
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3588
|
+
*/
|
|
3589
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.clearName = function() {
|
|
3590
|
+
return this.setName(undefined);
|
|
3591
|
+
};
|
|
3592
|
+
|
|
3593
|
+
|
|
3594
|
+
/**
|
|
3595
|
+
* Returns whether this field is set.
|
|
3596
|
+
* @return {boolean}
|
|
3597
|
+
*/
|
|
3598
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.hasName = function() {
|
|
3599
|
+
return jspb.Message.getField(this, 8) != null;
|
|
3600
|
+
};
|
|
3601
|
+
|
|
3602
|
+
|
|
3552
3603
|
|
|
3553
3604
|
/**
|
|
3554
3605
|
* List of repeated fields within this message type.
|