@lansweeper/discovery-sensor-proto 2.37.0 → 2.38.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.
- package/gen-proto/discovery_sections_mac_pb.d.ts +69 -0
- package/gen-proto/discovery_sections_mac_pb.js +594 -2
- package/gen-proto/discovery_sections_windows_pb.d.ts +153 -0
- package/gen-proto/discovery_sections_windows_pb.js +1218 -0
- package/gen-proto/image.json +1 -1
- package/package.json +2 -2
- package/proto/discovery_sections_mac.proto +12 -0
- package/proto/discovery_sections_windows.proto +30 -0
|
@@ -32,6 +32,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryHealthInf
|
|
|
32
32
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryModelInfo', null, global);
|
|
33
33
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryPower', null, global);
|
|
34
34
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth', null, global);
|
|
35
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice', null, global);
|
|
35
36
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia', null, global);
|
|
36
37
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning', null, global);
|
|
37
38
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Display', null, global);
|
|
@@ -205,7 +206,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
205
206
|
* @constructor
|
|
206
207
|
*/
|
|
207
208
|
proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth = function(opt_data) {
|
|
208
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
209
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth.repeatedFields_, null);
|
|
209
210
|
};
|
|
210
211
|
goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth, jspb.Message);
|
|
211
212
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -215,6 +216,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
215
216
|
*/
|
|
216
217
|
proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth';
|
|
217
218
|
}
|
|
219
|
+
/**
|
|
220
|
+
* Generated by JsPbCodeGenerator.
|
|
221
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
222
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
223
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
224
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
225
|
+
* valid.
|
|
226
|
+
* @extends {jspb.Message}
|
|
227
|
+
* @constructor
|
|
228
|
+
*/
|
|
229
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice = function(opt_data) {
|
|
230
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
231
|
+
};
|
|
232
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice, jspb.Message);
|
|
233
|
+
if (goog.DEBUG && !COMPILED) {
|
|
234
|
+
/**
|
|
235
|
+
* @public
|
|
236
|
+
* @override
|
|
237
|
+
*/
|
|
238
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice';
|
|
239
|
+
}
|
|
218
240
|
/**
|
|
219
241
|
* Generated by JsPbCodeGenerator.
|
|
220
242
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2399,6 +2421,13 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacBluetooth.prototype.clearEntries
|
|
|
2399
2421
|
|
|
2400
2422
|
|
|
2401
2423
|
|
|
2424
|
+
/**
|
|
2425
|
+
* List of repeated fields within this message type.
|
|
2426
|
+
* @private {!Array<number>}
|
|
2427
|
+
* @const
|
|
2428
|
+
*/
|
|
2429
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth.repeatedFields_ = [10,11];
|
|
2430
|
+
|
|
2402
2431
|
|
|
2403
2432
|
|
|
2404
2433
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2438,7 +2467,11 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth.toObject = function(inclu
|
|
|
2438
2467
|
controllerState: (f = msg.getControllerState()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
2439
2468
|
supportedServices: (f = msg.getSupportedServices()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
2440
2469
|
transport: (f = msg.getTransport()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
2441
|
-
vendorId: (f = msg.getVendorId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
2470
|
+
vendorId: (f = msg.getVendorId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
2471
|
+
devicesConnectedList: jspb.Message.toObjectList(msg.getDevicesConnectedList(),
|
|
2472
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.toObject, includeInstance),
|
|
2473
|
+
devicesNotConnectedList: jspb.Message.toObjectList(msg.getDevicesNotConnectedList(),
|
|
2474
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.toObject, includeInstance)
|
|
2442
2475
|
};
|
|
2443
2476
|
|
|
2444
2477
|
if (includeInstance) {
|
|
@@ -2520,6 +2553,16 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth.deserializeBinaryFromRead
|
|
|
2520
2553
|
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
2521
2554
|
msg.setVendorId(value);
|
|
2522
2555
|
break;
|
|
2556
|
+
case 10:
|
|
2557
|
+
var value = new proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice;
|
|
2558
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.deserializeBinaryFromReader);
|
|
2559
|
+
msg.addDevicesConnected(value);
|
|
2560
|
+
break;
|
|
2561
|
+
case 11:
|
|
2562
|
+
var value = new proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice;
|
|
2563
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.deserializeBinaryFromReader);
|
|
2564
|
+
msg.addDevicesNotConnected(value);
|
|
2565
|
+
break;
|
|
2523
2566
|
default:
|
|
2524
2567
|
reader.skipField();
|
|
2525
2568
|
break;
|
|
@@ -2621,6 +2664,22 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth.serializeBinaryToWriter =
|
|
|
2621
2664
|
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
2622
2665
|
);
|
|
2623
2666
|
}
|
|
2667
|
+
f = message.getDevicesConnectedList();
|
|
2668
|
+
if (f.length > 0) {
|
|
2669
|
+
writer.writeRepeatedMessage(
|
|
2670
|
+
10,
|
|
2671
|
+
f,
|
|
2672
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.serializeBinaryToWriter
|
|
2673
|
+
);
|
|
2674
|
+
}
|
|
2675
|
+
f = message.getDevicesNotConnectedList();
|
|
2676
|
+
if (f.length > 0) {
|
|
2677
|
+
writer.writeRepeatedMessage(
|
|
2678
|
+
11,
|
|
2679
|
+
f,
|
|
2680
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.serializeBinaryToWriter
|
|
2681
|
+
);
|
|
2682
|
+
}
|
|
2624
2683
|
};
|
|
2625
2684
|
|
|
2626
2685
|
|
|
@@ -2957,6 +3016,539 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth.prototype.hasVendorId = f
|
|
|
2957
3016
|
};
|
|
2958
3017
|
|
|
2959
3018
|
|
|
3019
|
+
/**
|
|
3020
|
+
* repeated BluetoothDevice devices_connected = 10;
|
|
3021
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice>}
|
|
3022
|
+
*/
|
|
3023
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth.prototype.getDevicesConnectedList = function() {
|
|
3024
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice>} */ (
|
|
3025
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice, 10));
|
|
3026
|
+
};
|
|
3027
|
+
|
|
3028
|
+
|
|
3029
|
+
/**
|
|
3030
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice>} value
|
|
3031
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth} returns this
|
|
3032
|
+
*/
|
|
3033
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth.prototype.setDevicesConnectedList = function(value) {
|
|
3034
|
+
return jspb.Message.setRepeatedWrapperField(this, 10, value);
|
|
3035
|
+
};
|
|
3036
|
+
|
|
3037
|
+
|
|
3038
|
+
/**
|
|
3039
|
+
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice=} opt_value
|
|
3040
|
+
* @param {number=} opt_index
|
|
3041
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice}
|
|
3042
|
+
*/
|
|
3043
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth.prototype.addDevicesConnected = function(opt_value, opt_index) {
|
|
3044
|
+
return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice, opt_index);
|
|
3045
|
+
};
|
|
3046
|
+
|
|
3047
|
+
|
|
3048
|
+
/**
|
|
3049
|
+
* Clears the list making it empty but non-null.
|
|
3050
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth} returns this
|
|
3051
|
+
*/
|
|
3052
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth.prototype.clearDevicesConnectedList = function() {
|
|
3053
|
+
return this.setDevicesConnectedList([]);
|
|
3054
|
+
};
|
|
3055
|
+
|
|
3056
|
+
|
|
3057
|
+
/**
|
|
3058
|
+
* repeated BluetoothDevice devices_not_connected = 11;
|
|
3059
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice>}
|
|
3060
|
+
*/
|
|
3061
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth.prototype.getDevicesNotConnectedList = function() {
|
|
3062
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice>} */ (
|
|
3063
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice, 11));
|
|
3064
|
+
};
|
|
3065
|
+
|
|
3066
|
+
|
|
3067
|
+
/**
|
|
3068
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice>} value
|
|
3069
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth} returns this
|
|
3070
|
+
*/
|
|
3071
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth.prototype.setDevicesNotConnectedList = function(value) {
|
|
3072
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
3073
|
+
};
|
|
3074
|
+
|
|
3075
|
+
|
|
3076
|
+
/**
|
|
3077
|
+
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice=} opt_value
|
|
3078
|
+
* @param {number=} opt_index
|
|
3079
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice}
|
|
3080
|
+
*/
|
|
3081
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth.prototype.addDevicesNotConnected = function(opt_value, opt_index) {
|
|
3082
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice, opt_index);
|
|
3083
|
+
};
|
|
3084
|
+
|
|
3085
|
+
|
|
3086
|
+
/**
|
|
3087
|
+
* Clears the list making it empty but non-null.
|
|
3088
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth} returns this
|
|
3089
|
+
*/
|
|
3090
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth.prototype.clearDevicesNotConnectedList = function() {
|
|
3091
|
+
return this.setDevicesNotConnectedList([]);
|
|
3092
|
+
};
|
|
3093
|
+
|
|
3094
|
+
|
|
3095
|
+
|
|
3096
|
+
|
|
3097
|
+
|
|
3098
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3099
|
+
/**
|
|
3100
|
+
* Creates an object representation of this proto.
|
|
3101
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3102
|
+
* Optional fields that are not set will be set to undefined.
|
|
3103
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3104
|
+
* For the list of reserved names please see:
|
|
3105
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3106
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3107
|
+
* JSPB instance for transitional soy proto support:
|
|
3108
|
+
* http://goto/soy-param-migration
|
|
3109
|
+
* @return {!Object}
|
|
3110
|
+
*/
|
|
3111
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.toObject = function(opt_includeInstance) {
|
|
3112
|
+
return proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.toObject(opt_includeInstance, this);
|
|
3113
|
+
};
|
|
3114
|
+
|
|
3115
|
+
|
|
3116
|
+
/**
|
|
3117
|
+
* Static version of the {@see toObject} method.
|
|
3118
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3119
|
+
* the JSPB instance for transitional soy proto support:
|
|
3120
|
+
* http://goto/soy-param-migration
|
|
3121
|
+
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} msg The msg instance to transform.
|
|
3122
|
+
* @return {!Object}
|
|
3123
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3124
|
+
*/
|
|
3125
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.toObject = function(includeInstance, msg) {
|
|
3126
|
+
var f, obj = {
|
|
3127
|
+
address: (f = msg.getAddress()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
3128
|
+
firmwareVersion: (f = msg.getFirmwareVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
3129
|
+
minorType: (f = msg.getMinorType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
3130
|
+
productId: (f = msg.getProductId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
3131
|
+
rssi: (f = msg.getRssi()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
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)
|
|
3134
|
+
};
|
|
3135
|
+
|
|
3136
|
+
if (includeInstance) {
|
|
3137
|
+
obj.$jspbMessageInstance = msg;
|
|
3138
|
+
}
|
|
3139
|
+
return obj;
|
|
3140
|
+
};
|
|
3141
|
+
}
|
|
3142
|
+
|
|
3143
|
+
|
|
3144
|
+
/**
|
|
3145
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3146
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3147
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice}
|
|
3148
|
+
*/
|
|
3149
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.deserializeBinary = function(bytes) {
|
|
3150
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3151
|
+
var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice;
|
|
3152
|
+
return proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.deserializeBinaryFromReader(msg, reader);
|
|
3153
|
+
};
|
|
3154
|
+
|
|
3155
|
+
|
|
3156
|
+
/**
|
|
3157
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3158
|
+
* given reader into the given message object.
|
|
3159
|
+
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} msg The message object to deserialize into.
|
|
3160
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3161
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice}
|
|
3162
|
+
*/
|
|
3163
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.deserializeBinaryFromReader = function(msg, reader) {
|
|
3164
|
+
while (reader.nextField()) {
|
|
3165
|
+
if (reader.isEndGroup()) {
|
|
3166
|
+
break;
|
|
3167
|
+
}
|
|
3168
|
+
var field = reader.getFieldNumber();
|
|
3169
|
+
switch (field) {
|
|
3170
|
+
case 1:
|
|
3171
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
3172
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
3173
|
+
msg.setAddress(value);
|
|
3174
|
+
break;
|
|
3175
|
+
case 2:
|
|
3176
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
3177
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
3178
|
+
msg.setFirmwareVersion(value);
|
|
3179
|
+
break;
|
|
3180
|
+
case 3:
|
|
3181
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
3182
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
3183
|
+
msg.setMinorType(value);
|
|
3184
|
+
break;
|
|
3185
|
+
case 4:
|
|
3186
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
3187
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
3188
|
+
msg.setProductId(value);
|
|
3189
|
+
break;
|
|
3190
|
+
case 5:
|
|
3191
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
3192
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
3193
|
+
msg.setRssi(value);
|
|
3194
|
+
break;
|
|
3195
|
+
case 6:
|
|
3196
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
3197
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
3198
|
+
msg.setServices(value);
|
|
3199
|
+
break;
|
|
3200
|
+
case 7:
|
|
3201
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
3202
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
3203
|
+
msg.setVendorId(value);
|
|
3204
|
+
break;
|
|
3205
|
+
default:
|
|
3206
|
+
reader.skipField();
|
|
3207
|
+
break;
|
|
3208
|
+
}
|
|
3209
|
+
}
|
|
3210
|
+
return msg;
|
|
3211
|
+
};
|
|
3212
|
+
|
|
3213
|
+
|
|
3214
|
+
/**
|
|
3215
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3216
|
+
* @return {!Uint8Array}
|
|
3217
|
+
*/
|
|
3218
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.serializeBinary = function() {
|
|
3219
|
+
var writer = new jspb.BinaryWriter();
|
|
3220
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.serializeBinaryToWriter(this, writer);
|
|
3221
|
+
return writer.getResultBuffer();
|
|
3222
|
+
};
|
|
3223
|
+
|
|
3224
|
+
|
|
3225
|
+
/**
|
|
3226
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3227
|
+
* format), writing to the given BinaryWriter.
|
|
3228
|
+
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} message
|
|
3229
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3230
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3231
|
+
*/
|
|
3232
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.serializeBinaryToWriter = function(message, writer) {
|
|
3233
|
+
var f = undefined;
|
|
3234
|
+
f = message.getAddress();
|
|
3235
|
+
if (f != null) {
|
|
3236
|
+
writer.writeMessage(
|
|
3237
|
+
1,
|
|
3238
|
+
f,
|
|
3239
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
3240
|
+
);
|
|
3241
|
+
}
|
|
3242
|
+
f = message.getFirmwareVersion();
|
|
3243
|
+
if (f != null) {
|
|
3244
|
+
writer.writeMessage(
|
|
3245
|
+
2,
|
|
3246
|
+
f,
|
|
3247
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
3248
|
+
);
|
|
3249
|
+
}
|
|
3250
|
+
f = message.getMinorType();
|
|
3251
|
+
if (f != null) {
|
|
3252
|
+
writer.writeMessage(
|
|
3253
|
+
3,
|
|
3254
|
+
f,
|
|
3255
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
3256
|
+
);
|
|
3257
|
+
}
|
|
3258
|
+
f = message.getProductId();
|
|
3259
|
+
if (f != null) {
|
|
3260
|
+
writer.writeMessage(
|
|
3261
|
+
4,
|
|
3262
|
+
f,
|
|
3263
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
3264
|
+
);
|
|
3265
|
+
}
|
|
3266
|
+
f = message.getRssi();
|
|
3267
|
+
if (f != null) {
|
|
3268
|
+
writer.writeMessage(
|
|
3269
|
+
5,
|
|
3270
|
+
f,
|
|
3271
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
3272
|
+
);
|
|
3273
|
+
}
|
|
3274
|
+
f = message.getServices();
|
|
3275
|
+
if (f != null) {
|
|
3276
|
+
writer.writeMessage(
|
|
3277
|
+
6,
|
|
3278
|
+
f,
|
|
3279
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
3280
|
+
);
|
|
3281
|
+
}
|
|
3282
|
+
f = message.getVendorId();
|
|
3283
|
+
if (f != null) {
|
|
3284
|
+
writer.writeMessage(
|
|
3285
|
+
7,
|
|
3286
|
+
f,
|
|
3287
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
3288
|
+
);
|
|
3289
|
+
}
|
|
3290
|
+
};
|
|
3291
|
+
|
|
3292
|
+
|
|
3293
|
+
/**
|
|
3294
|
+
* optional google.protobuf.StringValue address = 1;
|
|
3295
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
3296
|
+
*/
|
|
3297
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.getAddress = function() {
|
|
3298
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
3299
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
|
|
3300
|
+
};
|
|
3301
|
+
|
|
3302
|
+
|
|
3303
|
+
/**
|
|
3304
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
3305
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3306
|
+
*/
|
|
3307
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.setAddress = function(value) {
|
|
3308
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3309
|
+
};
|
|
3310
|
+
|
|
3311
|
+
|
|
3312
|
+
/**
|
|
3313
|
+
* Clears the message field making it undefined.
|
|
3314
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3315
|
+
*/
|
|
3316
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.clearAddress = function() {
|
|
3317
|
+
return this.setAddress(undefined);
|
|
3318
|
+
};
|
|
3319
|
+
|
|
3320
|
+
|
|
3321
|
+
/**
|
|
3322
|
+
* Returns whether this field is set.
|
|
3323
|
+
* @return {boolean}
|
|
3324
|
+
*/
|
|
3325
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.hasAddress = function() {
|
|
3326
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3327
|
+
};
|
|
3328
|
+
|
|
3329
|
+
|
|
3330
|
+
/**
|
|
3331
|
+
* optional google.protobuf.StringValue firmware_version = 2;
|
|
3332
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
3333
|
+
*/
|
|
3334
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.getFirmwareVersion = function() {
|
|
3335
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
3336
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
|
|
3337
|
+
};
|
|
3338
|
+
|
|
3339
|
+
|
|
3340
|
+
/**
|
|
3341
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
3342
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3343
|
+
*/
|
|
3344
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.setFirmwareVersion = function(value) {
|
|
3345
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
3346
|
+
};
|
|
3347
|
+
|
|
3348
|
+
|
|
3349
|
+
/**
|
|
3350
|
+
* Clears the message field making it undefined.
|
|
3351
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3352
|
+
*/
|
|
3353
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.clearFirmwareVersion = function() {
|
|
3354
|
+
return this.setFirmwareVersion(undefined);
|
|
3355
|
+
};
|
|
3356
|
+
|
|
3357
|
+
|
|
3358
|
+
/**
|
|
3359
|
+
* Returns whether this field is set.
|
|
3360
|
+
* @return {boolean}
|
|
3361
|
+
*/
|
|
3362
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.hasFirmwareVersion = function() {
|
|
3363
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3364
|
+
};
|
|
3365
|
+
|
|
3366
|
+
|
|
3367
|
+
/**
|
|
3368
|
+
* optional google.protobuf.StringValue minor_type = 3;
|
|
3369
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
3370
|
+
*/
|
|
3371
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.getMinorType = function() {
|
|
3372
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
3373
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
|
|
3374
|
+
};
|
|
3375
|
+
|
|
3376
|
+
|
|
3377
|
+
/**
|
|
3378
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
3379
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3380
|
+
*/
|
|
3381
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.setMinorType = function(value) {
|
|
3382
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
3383
|
+
};
|
|
3384
|
+
|
|
3385
|
+
|
|
3386
|
+
/**
|
|
3387
|
+
* Clears the message field making it undefined.
|
|
3388
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3389
|
+
*/
|
|
3390
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.clearMinorType = function() {
|
|
3391
|
+
return this.setMinorType(undefined);
|
|
3392
|
+
};
|
|
3393
|
+
|
|
3394
|
+
|
|
3395
|
+
/**
|
|
3396
|
+
* Returns whether this field is set.
|
|
3397
|
+
* @return {boolean}
|
|
3398
|
+
*/
|
|
3399
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.hasMinorType = function() {
|
|
3400
|
+
return jspb.Message.getField(this, 3) != null;
|
|
3401
|
+
};
|
|
3402
|
+
|
|
3403
|
+
|
|
3404
|
+
/**
|
|
3405
|
+
* optional google.protobuf.StringValue product_id = 4;
|
|
3406
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
3407
|
+
*/
|
|
3408
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.getProductId = function() {
|
|
3409
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
3410
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
|
|
3411
|
+
};
|
|
3412
|
+
|
|
3413
|
+
|
|
3414
|
+
/**
|
|
3415
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
3416
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3417
|
+
*/
|
|
3418
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.setProductId = function(value) {
|
|
3419
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
3420
|
+
};
|
|
3421
|
+
|
|
3422
|
+
|
|
3423
|
+
/**
|
|
3424
|
+
* Clears the message field making it undefined.
|
|
3425
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3426
|
+
*/
|
|
3427
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.clearProductId = function() {
|
|
3428
|
+
return this.setProductId(undefined);
|
|
3429
|
+
};
|
|
3430
|
+
|
|
3431
|
+
|
|
3432
|
+
/**
|
|
3433
|
+
* Returns whether this field is set.
|
|
3434
|
+
* @return {boolean}
|
|
3435
|
+
*/
|
|
3436
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.hasProductId = function() {
|
|
3437
|
+
return jspb.Message.getField(this, 4) != null;
|
|
3438
|
+
};
|
|
3439
|
+
|
|
3440
|
+
|
|
3441
|
+
/**
|
|
3442
|
+
* optional google.protobuf.StringValue rssi = 5;
|
|
3443
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
3444
|
+
*/
|
|
3445
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.getRssi = function() {
|
|
3446
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
3447
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
|
|
3448
|
+
};
|
|
3449
|
+
|
|
3450
|
+
|
|
3451
|
+
/**
|
|
3452
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
3453
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3454
|
+
*/
|
|
3455
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.setRssi = function(value) {
|
|
3456
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
3457
|
+
};
|
|
3458
|
+
|
|
3459
|
+
|
|
3460
|
+
/**
|
|
3461
|
+
* Clears the message field making it undefined.
|
|
3462
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3463
|
+
*/
|
|
3464
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.clearRssi = function() {
|
|
3465
|
+
return this.setRssi(undefined);
|
|
3466
|
+
};
|
|
3467
|
+
|
|
3468
|
+
|
|
3469
|
+
/**
|
|
3470
|
+
* Returns whether this field is set.
|
|
3471
|
+
* @return {boolean}
|
|
3472
|
+
*/
|
|
3473
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.hasRssi = function() {
|
|
3474
|
+
return jspb.Message.getField(this, 5) != null;
|
|
3475
|
+
};
|
|
3476
|
+
|
|
3477
|
+
|
|
3478
|
+
/**
|
|
3479
|
+
* optional google.protobuf.StringValue services = 6;
|
|
3480
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
3481
|
+
*/
|
|
3482
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.getServices = function() {
|
|
3483
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
3484
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
|
|
3485
|
+
};
|
|
3486
|
+
|
|
3487
|
+
|
|
3488
|
+
/**
|
|
3489
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
3490
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3491
|
+
*/
|
|
3492
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.setServices = function(value) {
|
|
3493
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
3494
|
+
};
|
|
3495
|
+
|
|
3496
|
+
|
|
3497
|
+
/**
|
|
3498
|
+
* Clears the message field making it undefined.
|
|
3499
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3500
|
+
*/
|
|
3501
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.clearServices = function() {
|
|
3502
|
+
return this.setServices(undefined);
|
|
3503
|
+
};
|
|
3504
|
+
|
|
3505
|
+
|
|
3506
|
+
/**
|
|
3507
|
+
* Returns whether this field is set.
|
|
3508
|
+
* @return {boolean}
|
|
3509
|
+
*/
|
|
3510
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.hasServices = function() {
|
|
3511
|
+
return jspb.Message.getField(this, 6) != null;
|
|
3512
|
+
};
|
|
3513
|
+
|
|
3514
|
+
|
|
3515
|
+
/**
|
|
3516
|
+
* optional google.protobuf.StringValue vendor_id = 7;
|
|
3517
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
3518
|
+
*/
|
|
3519
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.getVendorId = function() {
|
|
3520
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
3521
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
|
|
3522
|
+
};
|
|
3523
|
+
|
|
3524
|
+
|
|
3525
|
+
/**
|
|
3526
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
3527
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3528
|
+
*/
|
|
3529
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.setVendorId = function(value) {
|
|
3530
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
3531
|
+
};
|
|
3532
|
+
|
|
3533
|
+
|
|
3534
|
+
/**
|
|
3535
|
+
* Clears the message field making it undefined.
|
|
3536
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice} returns this
|
|
3537
|
+
*/
|
|
3538
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.clearVendorId = function() {
|
|
3539
|
+
return this.setVendorId(undefined);
|
|
3540
|
+
};
|
|
3541
|
+
|
|
3542
|
+
|
|
3543
|
+
/**
|
|
3544
|
+
* Returns whether this field is set.
|
|
3545
|
+
* @return {boolean}
|
|
3546
|
+
*/
|
|
3547
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice.prototype.hasVendorId = function() {
|
|
3548
|
+
return jspb.Message.getField(this, 7) != null;
|
|
3549
|
+
};
|
|
3550
|
+
|
|
3551
|
+
|
|
2960
3552
|
|
|
2961
3553
|
/**
|
|
2962
3554
|
* List of repeated fields within this message type.
|