@lansweeper/discovery-sensor-proto 2.55.0 → 2.56.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.
|
@@ -73,6 +73,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNetworkVolume
|
|
|
73
73
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts', null, global);
|
|
74
74
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo', null, global);
|
|
75
75
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes', null, global);
|
|
76
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware', null, global);
|
|
76
77
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters', null, global);
|
|
77
78
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional', null, global);
|
|
78
79
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacSATA', null, global);
|
|
@@ -105,6 +106,8 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Power', null, gl
|
|
|
105
106
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane', null, global);
|
|
106
107
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Printer', null, global);
|
|
107
108
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter', null, global);
|
|
109
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem', null, global);
|
|
110
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType', null, global);
|
|
108
111
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings', null, global);
|
|
109
112
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings', null, global);
|
|
110
113
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings', null, global);
|
|
@@ -2099,6 +2102,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2099
2102
|
*/
|
|
2100
2103
|
proto.com.lansweeper.discovery.sensor.mac.v1.InstallHistory.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.InstallHistory';
|
|
2101
2104
|
}
|
|
2105
|
+
/**
|
|
2106
|
+
* Generated by JsPbCodeGenerator.
|
|
2107
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2108
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2109
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2110
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2111
|
+
* valid.
|
|
2112
|
+
* @extends {jspb.Message}
|
|
2113
|
+
* @constructor
|
|
2114
|
+
*/
|
|
2115
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware = function(opt_data) {
|
|
2116
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2117
|
+
};
|
|
2118
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware, jspb.Message);
|
|
2119
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2120
|
+
/**
|
|
2121
|
+
* @public
|
|
2122
|
+
* @override
|
|
2123
|
+
*/
|
|
2124
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware';
|
|
2125
|
+
}
|
|
2126
|
+
/**
|
|
2127
|
+
* Generated by JsPbCodeGenerator.
|
|
2128
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2129
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2130
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2131
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2132
|
+
* valid.
|
|
2133
|
+
* @extends {jspb.Message}
|
|
2134
|
+
* @constructor
|
|
2135
|
+
*/
|
|
2136
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType = function(opt_data) {
|
|
2137
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.repeatedFields_, null);
|
|
2138
|
+
};
|
|
2139
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType, jspb.Message);
|
|
2140
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2141
|
+
/**
|
|
2142
|
+
* @public
|
|
2143
|
+
* @override
|
|
2144
|
+
*/
|
|
2145
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType';
|
|
2146
|
+
}
|
|
2147
|
+
/**
|
|
2148
|
+
* Generated by JsPbCodeGenerator.
|
|
2149
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2150
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2151
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2152
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2153
|
+
* valid.
|
|
2154
|
+
* @extends {jspb.Message}
|
|
2155
|
+
* @constructor
|
|
2156
|
+
*/
|
|
2157
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem = function(opt_data) {
|
|
2158
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2159
|
+
};
|
|
2160
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem, jspb.Message);
|
|
2161
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2162
|
+
/**
|
|
2163
|
+
* @public
|
|
2164
|
+
* @override
|
|
2165
|
+
*/
|
|
2166
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem';
|
|
2167
|
+
}
|
|
2102
2168
|
/**
|
|
2103
2169
|
* Generated by JsPbCodeGenerator.
|
|
2104
2170
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -42082,6 +42148,774 @@ proto.com.lansweeper.discovery.sensor.mac.v1.InstallHistory.prototype.hasPackage
|
|
|
42082
42148
|
|
|
42083
42149
|
|
|
42084
42150
|
|
|
42151
|
+
|
|
42152
|
+
|
|
42153
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42154
|
+
/**
|
|
42155
|
+
* Creates an object representation of this proto.
|
|
42156
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
42157
|
+
* Optional fields that are not set will be set to undefined.
|
|
42158
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
42159
|
+
* For the list of reserved names please see:
|
|
42160
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
42161
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
42162
|
+
* JSPB instance for transitional soy proto support:
|
|
42163
|
+
* http://goto/soy-param-migration
|
|
42164
|
+
* @return {!Object}
|
|
42165
|
+
*/
|
|
42166
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.toObject = function(opt_includeInstance) {
|
|
42167
|
+
return proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.toObject(opt_includeInstance, this);
|
|
42168
|
+
};
|
|
42169
|
+
|
|
42170
|
+
|
|
42171
|
+
/**
|
|
42172
|
+
* Static version of the {@see toObject} method.
|
|
42173
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
42174
|
+
* the JSPB instance for transitional soy proto support:
|
|
42175
|
+
* http://goto/soy-param-migration
|
|
42176
|
+
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware} msg The msg instance to transform.
|
|
42177
|
+
* @return {!Object}
|
|
42178
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42179
|
+
*/
|
|
42180
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.toObject = function(includeInstance, msg) {
|
|
42181
|
+
var f, obj = {
|
|
42182
|
+
imageCaptureDevices: (f = msg.getImageCaptureDevices()) && proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.toObject(includeInstance, f),
|
|
42183
|
+
imageCaptureSupport: (f = msg.getImageCaptureSupport()) && proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.toObject(includeInstance, f),
|
|
42184
|
+
libraryExtensions: (f = msg.getLibraryExtensions()) && proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.toObject(includeInstance, f),
|
|
42185
|
+
ppds: (f = msg.getPpds()) && proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.toObject(includeInstance, f),
|
|
42186
|
+
printers: (f = msg.getPrinters()) && proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.toObject(includeInstance, f),
|
|
42187
|
+
systemLibraryExtensions: (f = msg.getSystemLibraryExtensions()) && proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.toObject(includeInstance, f)
|
|
42188
|
+
};
|
|
42189
|
+
|
|
42190
|
+
if (includeInstance) {
|
|
42191
|
+
obj.$jspbMessageInstance = msg;
|
|
42192
|
+
}
|
|
42193
|
+
return obj;
|
|
42194
|
+
};
|
|
42195
|
+
}
|
|
42196
|
+
|
|
42197
|
+
|
|
42198
|
+
/**
|
|
42199
|
+
* Deserializes binary data (in protobuf wire format).
|
|
42200
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
42201
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware}
|
|
42202
|
+
*/
|
|
42203
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.deserializeBinary = function(bytes) {
|
|
42204
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
42205
|
+
var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware;
|
|
42206
|
+
return proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.deserializeBinaryFromReader(msg, reader);
|
|
42207
|
+
};
|
|
42208
|
+
|
|
42209
|
+
|
|
42210
|
+
/**
|
|
42211
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
42212
|
+
* given reader into the given message object.
|
|
42213
|
+
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware} msg The message object to deserialize into.
|
|
42214
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
42215
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware}
|
|
42216
|
+
*/
|
|
42217
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.deserializeBinaryFromReader = function(msg, reader) {
|
|
42218
|
+
while (reader.nextField()) {
|
|
42219
|
+
if (reader.isEndGroup()) {
|
|
42220
|
+
break;
|
|
42221
|
+
}
|
|
42222
|
+
var field = reader.getFieldNumber();
|
|
42223
|
+
switch (field) {
|
|
42224
|
+
case 1:
|
|
42225
|
+
var value = new proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType;
|
|
42226
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.deserializeBinaryFromReader);
|
|
42227
|
+
msg.setImageCaptureDevices(value);
|
|
42228
|
+
break;
|
|
42229
|
+
case 2:
|
|
42230
|
+
var value = new proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType;
|
|
42231
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.deserializeBinaryFromReader);
|
|
42232
|
+
msg.setImageCaptureSupport(value);
|
|
42233
|
+
break;
|
|
42234
|
+
case 3:
|
|
42235
|
+
var value = new proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType;
|
|
42236
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.deserializeBinaryFromReader);
|
|
42237
|
+
msg.setLibraryExtensions(value);
|
|
42238
|
+
break;
|
|
42239
|
+
case 4:
|
|
42240
|
+
var value = new proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType;
|
|
42241
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.deserializeBinaryFromReader);
|
|
42242
|
+
msg.setPpds(value);
|
|
42243
|
+
break;
|
|
42244
|
+
case 5:
|
|
42245
|
+
var value = new proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType;
|
|
42246
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.deserializeBinaryFromReader);
|
|
42247
|
+
msg.setPrinters(value);
|
|
42248
|
+
break;
|
|
42249
|
+
case 6:
|
|
42250
|
+
var value = new proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType;
|
|
42251
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.deserializeBinaryFromReader);
|
|
42252
|
+
msg.setSystemLibraryExtensions(value);
|
|
42253
|
+
break;
|
|
42254
|
+
default:
|
|
42255
|
+
reader.skipField();
|
|
42256
|
+
break;
|
|
42257
|
+
}
|
|
42258
|
+
}
|
|
42259
|
+
return msg;
|
|
42260
|
+
};
|
|
42261
|
+
|
|
42262
|
+
|
|
42263
|
+
/**
|
|
42264
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
42265
|
+
* @return {!Uint8Array}
|
|
42266
|
+
*/
|
|
42267
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.serializeBinary = function() {
|
|
42268
|
+
var writer = new jspb.BinaryWriter();
|
|
42269
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.serializeBinaryToWriter(this, writer);
|
|
42270
|
+
return writer.getResultBuffer();
|
|
42271
|
+
};
|
|
42272
|
+
|
|
42273
|
+
|
|
42274
|
+
/**
|
|
42275
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
42276
|
+
* format), writing to the given BinaryWriter.
|
|
42277
|
+
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware} message
|
|
42278
|
+
* @param {!jspb.BinaryWriter} writer
|
|
42279
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42280
|
+
*/
|
|
42281
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.serializeBinaryToWriter = function(message, writer) {
|
|
42282
|
+
var f = undefined;
|
|
42283
|
+
f = message.getImageCaptureDevices();
|
|
42284
|
+
if (f != null) {
|
|
42285
|
+
writer.writeMessage(
|
|
42286
|
+
1,
|
|
42287
|
+
f,
|
|
42288
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.serializeBinaryToWriter
|
|
42289
|
+
);
|
|
42290
|
+
}
|
|
42291
|
+
f = message.getImageCaptureSupport();
|
|
42292
|
+
if (f != null) {
|
|
42293
|
+
writer.writeMessage(
|
|
42294
|
+
2,
|
|
42295
|
+
f,
|
|
42296
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.serializeBinaryToWriter
|
|
42297
|
+
);
|
|
42298
|
+
}
|
|
42299
|
+
f = message.getLibraryExtensions();
|
|
42300
|
+
if (f != null) {
|
|
42301
|
+
writer.writeMessage(
|
|
42302
|
+
3,
|
|
42303
|
+
f,
|
|
42304
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.serializeBinaryToWriter
|
|
42305
|
+
);
|
|
42306
|
+
}
|
|
42307
|
+
f = message.getPpds();
|
|
42308
|
+
if (f != null) {
|
|
42309
|
+
writer.writeMessage(
|
|
42310
|
+
4,
|
|
42311
|
+
f,
|
|
42312
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.serializeBinaryToWriter
|
|
42313
|
+
);
|
|
42314
|
+
}
|
|
42315
|
+
f = message.getPrinters();
|
|
42316
|
+
if (f != null) {
|
|
42317
|
+
writer.writeMessage(
|
|
42318
|
+
5,
|
|
42319
|
+
f,
|
|
42320
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.serializeBinaryToWriter
|
|
42321
|
+
);
|
|
42322
|
+
}
|
|
42323
|
+
f = message.getSystemLibraryExtensions();
|
|
42324
|
+
if (f != null) {
|
|
42325
|
+
writer.writeMessage(
|
|
42326
|
+
6,
|
|
42327
|
+
f,
|
|
42328
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.serializeBinaryToWriter
|
|
42329
|
+
);
|
|
42330
|
+
}
|
|
42331
|
+
};
|
|
42332
|
+
|
|
42333
|
+
|
|
42334
|
+
/**
|
|
42335
|
+
* optional PrinterSoftwareType image_capture_devices = 1;
|
|
42336
|
+
* @return {?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType}
|
|
42337
|
+
*/
|
|
42338
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.getImageCaptureDevices = function() {
|
|
42339
|
+
return /** @type{?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType} */ (
|
|
42340
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType, 1));
|
|
42341
|
+
};
|
|
42342
|
+
|
|
42343
|
+
|
|
42344
|
+
/**
|
|
42345
|
+
* @param {?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType|undefined} value
|
|
42346
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware} returns this
|
|
42347
|
+
*/
|
|
42348
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.setImageCaptureDevices = function(value) {
|
|
42349
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
42350
|
+
};
|
|
42351
|
+
|
|
42352
|
+
|
|
42353
|
+
/**
|
|
42354
|
+
* Clears the message field making it undefined.
|
|
42355
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware} returns this
|
|
42356
|
+
*/
|
|
42357
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.clearImageCaptureDevices = function() {
|
|
42358
|
+
return this.setImageCaptureDevices(undefined);
|
|
42359
|
+
};
|
|
42360
|
+
|
|
42361
|
+
|
|
42362
|
+
/**
|
|
42363
|
+
* Returns whether this field is set.
|
|
42364
|
+
* @return {boolean}
|
|
42365
|
+
*/
|
|
42366
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.hasImageCaptureDevices = function() {
|
|
42367
|
+
return jspb.Message.getField(this, 1) != null;
|
|
42368
|
+
};
|
|
42369
|
+
|
|
42370
|
+
|
|
42371
|
+
/**
|
|
42372
|
+
* optional PrinterSoftwareType image_capture_support = 2;
|
|
42373
|
+
* @return {?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType}
|
|
42374
|
+
*/
|
|
42375
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.getImageCaptureSupport = function() {
|
|
42376
|
+
return /** @type{?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType} */ (
|
|
42377
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType, 2));
|
|
42378
|
+
};
|
|
42379
|
+
|
|
42380
|
+
|
|
42381
|
+
/**
|
|
42382
|
+
* @param {?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType|undefined} value
|
|
42383
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware} returns this
|
|
42384
|
+
*/
|
|
42385
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.setImageCaptureSupport = function(value) {
|
|
42386
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
42387
|
+
};
|
|
42388
|
+
|
|
42389
|
+
|
|
42390
|
+
/**
|
|
42391
|
+
* Clears the message field making it undefined.
|
|
42392
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware} returns this
|
|
42393
|
+
*/
|
|
42394
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.clearImageCaptureSupport = function() {
|
|
42395
|
+
return this.setImageCaptureSupport(undefined);
|
|
42396
|
+
};
|
|
42397
|
+
|
|
42398
|
+
|
|
42399
|
+
/**
|
|
42400
|
+
* Returns whether this field is set.
|
|
42401
|
+
* @return {boolean}
|
|
42402
|
+
*/
|
|
42403
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.hasImageCaptureSupport = function() {
|
|
42404
|
+
return jspb.Message.getField(this, 2) != null;
|
|
42405
|
+
};
|
|
42406
|
+
|
|
42407
|
+
|
|
42408
|
+
/**
|
|
42409
|
+
* optional PrinterSoftwareType library_extensions = 3;
|
|
42410
|
+
* @return {?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType}
|
|
42411
|
+
*/
|
|
42412
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.getLibraryExtensions = function() {
|
|
42413
|
+
return /** @type{?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType} */ (
|
|
42414
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType, 3));
|
|
42415
|
+
};
|
|
42416
|
+
|
|
42417
|
+
|
|
42418
|
+
/**
|
|
42419
|
+
* @param {?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType|undefined} value
|
|
42420
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware} returns this
|
|
42421
|
+
*/
|
|
42422
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.setLibraryExtensions = function(value) {
|
|
42423
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
42424
|
+
};
|
|
42425
|
+
|
|
42426
|
+
|
|
42427
|
+
/**
|
|
42428
|
+
* Clears the message field making it undefined.
|
|
42429
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware} returns this
|
|
42430
|
+
*/
|
|
42431
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.clearLibraryExtensions = function() {
|
|
42432
|
+
return this.setLibraryExtensions(undefined);
|
|
42433
|
+
};
|
|
42434
|
+
|
|
42435
|
+
|
|
42436
|
+
/**
|
|
42437
|
+
* Returns whether this field is set.
|
|
42438
|
+
* @return {boolean}
|
|
42439
|
+
*/
|
|
42440
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.hasLibraryExtensions = function() {
|
|
42441
|
+
return jspb.Message.getField(this, 3) != null;
|
|
42442
|
+
};
|
|
42443
|
+
|
|
42444
|
+
|
|
42445
|
+
/**
|
|
42446
|
+
* optional PrinterSoftwareType ppds = 4;
|
|
42447
|
+
* @return {?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType}
|
|
42448
|
+
*/
|
|
42449
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.getPpds = function() {
|
|
42450
|
+
return /** @type{?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType} */ (
|
|
42451
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType, 4));
|
|
42452
|
+
};
|
|
42453
|
+
|
|
42454
|
+
|
|
42455
|
+
/**
|
|
42456
|
+
* @param {?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType|undefined} value
|
|
42457
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware} returns this
|
|
42458
|
+
*/
|
|
42459
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.setPpds = function(value) {
|
|
42460
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
42461
|
+
};
|
|
42462
|
+
|
|
42463
|
+
|
|
42464
|
+
/**
|
|
42465
|
+
* Clears the message field making it undefined.
|
|
42466
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware} returns this
|
|
42467
|
+
*/
|
|
42468
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.clearPpds = function() {
|
|
42469
|
+
return this.setPpds(undefined);
|
|
42470
|
+
};
|
|
42471
|
+
|
|
42472
|
+
|
|
42473
|
+
/**
|
|
42474
|
+
* Returns whether this field is set.
|
|
42475
|
+
* @return {boolean}
|
|
42476
|
+
*/
|
|
42477
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.hasPpds = function() {
|
|
42478
|
+
return jspb.Message.getField(this, 4) != null;
|
|
42479
|
+
};
|
|
42480
|
+
|
|
42481
|
+
|
|
42482
|
+
/**
|
|
42483
|
+
* optional PrinterSoftwareType printers = 5;
|
|
42484
|
+
* @return {?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType}
|
|
42485
|
+
*/
|
|
42486
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.getPrinters = function() {
|
|
42487
|
+
return /** @type{?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType} */ (
|
|
42488
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType, 5));
|
|
42489
|
+
};
|
|
42490
|
+
|
|
42491
|
+
|
|
42492
|
+
/**
|
|
42493
|
+
* @param {?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType|undefined} value
|
|
42494
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware} returns this
|
|
42495
|
+
*/
|
|
42496
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.setPrinters = function(value) {
|
|
42497
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
42498
|
+
};
|
|
42499
|
+
|
|
42500
|
+
|
|
42501
|
+
/**
|
|
42502
|
+
* Clears the message field making it undefined.
|
|
42503
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware} returns this
|
|
42504
|
+
*/
|
|
42505
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.clearPrinters = function() {
|
|
42506
|
+
return this.setPrinters(undefined);
|
|
42507
|
+
};
|
|
42508
|
+
|
|
42509
|
+
|
|
42510
|
+
/**
|
|
42511
|
+
* Returns whether this field is set.
|
|
42512
|
+
* @return {boolean}
|
|
42513
|
+
*/
|
|
42514
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.hasPrinters = function() {
|
|
42515
|
+
return jspb.Message.getField(this, 5) != null;
|
|
42516
|
+
};
|
|
42517
|
+
|
|
42518
|
+
|
|
42519
|
+
/**
|
|
42520
|
+
* optional PrinterSoftwareType system_library_extensions = 6;
|
|
42521
|
+
* @return {?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType}
|
|
42522
|
+
*/
|
|
42523
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.getSystemLibraryExtensions = function() {
|
|
42524
|
+
return /** @type{?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType} */ (
|
|
42525
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType, 6));
|
|
42526
|
+
};
|
|
42527
|
+
|
|
42528
|
+
|
|
42529
|
+
/**
|
|
42530
|
+
* @param {?proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType|undefined} value
|
|
42531
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware} returns this
|
|
42532
|
+
*/
|
|
42533
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.setSystemLibraryExtensions = function(value) {
|
|
42534
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
42535
|
+
};
|
|
42536
|
+
|
|
42537
|
+
|
|
42538
|
+
/**
|
|
42539
|
+
* Clears the message field making it undefined.
|
|
42540
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware} returns this
|
|
42541
|
+
*/
|
|
42542
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.clearSystemLibraryExtensions = function() {
|
|
42543
|
+
return this.setSystemLibraryExtensions(undefined);
|
|
42544
|
+
};
|
|
42545
|
+
|
|
42546
|
+
|
|
42547
|
+
/**
|
|
42548
|
+
* Returns whether this field is set.
|
|
42549
|
+
* @return {boolean}
|
|
42550
|
+
*/
|
|
42551
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinterSoftware.prototype.hasSystemLibraryExtensions = function() {
|
|
42552
|
+
return jspb.Message.getField(this, 6) != null;
|
|
42553
|
+
};
|
|
42554
|
+
|
|
42555
|
+
|
|
42556
|
+
|
|
42557
|
+
/**
|
|
42558
|
+
* List of repeated fields within this message type.
|
|
42559
|
+
* @private {!Array<number>}
|
|
42560
|
+
* @const
|
|
42561
|
+
*/
|
|
42562
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.repeatedFields_ = [1];
|
|
42563
|
+
|
|
42564
|
+
|
|
42565
|
+
|
|
42566
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42567
|
+
/**
|
|
42568
|
+
* Creates an object representation of this proto.
|
|
42569
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
42570
|
+
* Optional fields that are not set will be set to undefined.
|
|
42571
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
42572
|
+
* For the list of reserved names please see:
|
|
42573
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
42574
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
42575
|
+
* JSPB instance for transitional soy proto support:
|
|
42576
|
+
* http://goto/soy-param-migration
|
|
42577
|
+
* @return {!Object}
|
|
42578
|
+
*/
|
|
42579
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.prototype.toObject = function(opt_includeInstance) {
|
|
42580
|
+
return proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.toObject(opt_includeInstance, this);
|
|
42581
|
+
};
|
|
42582
|
+
|
|
42583
|
+
|
|
42584
|
+
/**
|
|
42585
|
+
* Static version of the {@see toObject} method.
|
|
42586
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
42587
|
+
* the JSPB instance for transitional soy proto support:
|
|
42588
|
+
* http://goto/soy-param-migration
|
|
42589
|
+
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType} msg The msg instance to transform.
|
|
42590
|
+
* @return {!Object}
|
|
42591
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42592
|
+
*/
|
|
42593
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.toObject = function(includeInstance, msg) {
|
|
42594
|
+
var f, obj = {
|
|
42595
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
42596
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.toObject, includeInstance)
|
|
42597
|
+
};
|
|
42598
|
+
|
|
42599
|
+
if (includeInstance) {
|
|
42600
|
+
obj.$jspbMessageInstance = msg;
|
|
42601
|
+
}
|
|
42602
|
+
return obj;
|
|
42603
|
+
};
|
|
42604
|
+
}
|
|
42605
|
+
|
|
42606
|
+
|
|
42607
|
+
/**
|
|
42608
|
+
* Deserializes binary data (in protobuf wire format).
|
|
42609
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
42610
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType}
|
|
42611
|
+
*/
|
|
42612
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.deserializeBinary = function(bytes) {
|
|
42613
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
42614
|
+
var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType;
|
|
42615
|
+
return proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.deserializeBinaryFromReader(msg, reader);
|
|
42616
|
+
};
|
|
42617
|
+
|
|
42618
|
+
|
|
42619
|
+
/**
|
|
42620
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
42621
|
+
* given reader into the given message object.
|
|
42622
|
+
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType} msg The message object to deserialize into.
|
|
42623
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
42624
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType}
|
|
42625
|
+
*/
|
|
42626
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.deserializeBinaryFromReader = function(msg, reader) {
|
|
42627
|
+
while (reader.nextField()) {
|
|
42628
|
+
if (reader.isEndGroup()) {
|
|
42629
|
+
break;
|
|
42630
|
+
}
|
|
42631
|
+
var field = reader.getFieldNumber();
|
|
42632
|
+
switch (field) {
|
|
42633
|
+
case 1:
|
|
42634
|
+
var value = new proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem;
|
|
42635
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.deserializeBinaryFromReader);
|
|
42636
|
+
msg.addItems(value);
|
|
42637
|
+
break;
|
|
42638
|
+
default:
|
|
42639
|
+
reader.skipField();
|
|
42640
|
+
break;
|
|
42641
|
+
}
|
|
42642
|
+
}
|
|
42643
|
+
return msg;
|
|
42644
|
+
};
|
|
42645
|
+
|
|
42646
|
+
|
|
42647
|
+
/**
|
|
42648
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
42649
|
+
* @return {!Uint8Array}
|
|
42650
|
+
*/
|
|
42651
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.prototype.serializeBinary = function() {
|
|
42652
|
+
var writer = new jspb.BinaryWriter();
|
|
42653
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.serializeBinaryToWriter(this, writer);
|
|
42654
|
+
return writer.getResultBuffer();
|
|
42655
|
+
};
|
|
42656
|
+
|
|
42657
|
+
|
|
42658
|
+
/**
|
|
42659
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
42660
|
+
* format), writing to the given BinaryWriter.
|
|
42661
|
+
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType} message
|
|
42662
|
+
* @param {!jspb.BinaryWriter} writer
|
|
42663
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42664
|
+
*/
|
|
42665
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.serializeBinaryToWriter = function(message, writer) {
|
|
42666
|
+
var f = undefined;
|
|
42667
|
+
f = message.getItemsList();
|
|
42668
|
+
if (f.length > 0) {
|
|
42669
|
+
writer.writeRepeatedMessage(
|
|
42670
|
+
1,
|
|
42671
|
+
f,
|
|
42672
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.serializeBinaryToWriter
|
|
42673
|
+
);
|
|
42674
|
+
}
|
|
42675
|
+
};
|
|
42676
|
+
|
|
42677
|
+
|
|
42678
|
+
/**
|
|
42679
|
+
* repeated PrinterSoftwareItem items = 1;
|
|
42680
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem>}
|
|
42681
|
+
*/
|
|
42682
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.prototype.getItemsList = function() {
|
|
42683
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem>} */ (
|
|
42684
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem, 1));
|
|
42685
|
+
};
|
|
42686
|
+
|
|
42687
|
+
|
|
42688
|
+
/**
|
|
42689
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem>} value
|
|
42690
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType} returns this
|
|
42691
|
+
*/
|
|
42692
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.prototype.setItemsList = function(value) {
|
|
42693
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
42694
|
+
};
|
|
42695
|
+
|
|
42696
|
+
|
|
42697
|
+
/**
|
|
42698
|
+
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem=} opt_value
|
|
42699
|
+
* @param {number=} opt_index
|
|
42700
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem}
|
|
42701
|
+
*/
|
|
42702
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.prototype.addItems = function(opt_value, opt_index) {
|
|
42703
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem, opt_index);
|
|
42704
|
+
};
|
|
42705
|
+
|
|
42706
|
+
|
|
42707
|
+
/**
|
|
42708
|
+
* Clears the list making it empty but non-null.
|
|
42709
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType} returns this
|
|
42710
|
+
*/
|
|
42711
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareType.prototype.clearItemsList = function() {
|
|
42712
|
+
return this.setItemsList([]);
|
|
42713
|
+
};
|
|
42714
|
+
|
|
42715
|
+
|
|
42716
|
+
|
|
42717
|
+
|
|
42718
|
+
|
|
42719
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42720
|
+
/**
|
|
42721
|
+
* Creates an object representation of this proto.
|
|
42722
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
42723
|
+
* Optional fields that are not set will be set to undefined.
|
|
42724
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
42725
|
+
* For the list of reserved names please see:
|
|
42726
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
42727
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
42728
|
+
* JSPB instance for transitional soy proto support:
|
|
42729
|
+
* http://goto/soy-param-migration
|
|
42730
|
+
* @return {!Object}
|
|
42731
|
+
*/
|
|
42732
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.prototype.toObject = function(opt_includeInstance) {
|
|
42733
|
+
return proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.toObject(opt_includeInstance, this);
|
|
42734
|
+
};
|
|
42735
|
+
|
|
42736
|
+
|
|
42737
|
+
/**
|
|
42738
|
+
* Static version of the {@see toObject} method.
|
|
42739
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
42740
|
+
* the JSPB instance for transitional soy proto support:
|
|
42741
|
+
* http://goto/soy-param-migration
|
|
42742
|
+
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem} msg The msg instance to transform.
|
|
42743
|
+
* @return {!Object}
|
|
42744
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42745
|
+
*/
|
|
42746
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.toObject = function(includeInstance, msg) {
|
|
42747
|
+
var f, obj = {
|
|
42748
|
+
infoPath: (f = msg.getInfoPath()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
42749
|
+
infoVersion: (f = msg.getInfoVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
42750
|
+
};
|
|
42751
|
+
|
|
42752
|
+
if (includeInstance) {
|
|
42753
|
+
obj.$jspbMessageInstance = msg;
|
|
42754
|
+
}
|
|
42755
|
+
return obj;
|
|
42756
|
+
};
|
|
42757
|
+
}
|
|
42758
|
+
|
|
42759
|
+
|
|
42760
|
+
/**
|
|
42761
|
+
* Deserializes binary data (in protobuf wire format).
|
|
42762
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
42763
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem}
|
|
42764
|
+
*/
|
|
42765
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.deserializeBinary = function(bytes) {
|
|
42766
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
42767
|
+
var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem;
|
|
42768
|
+
return proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.deserializeBinaryFromReader(msg, reader);
|
|
42769
|
+
};
|
|
42770
|
+
|
|
42771
|
+
|
|
42772
|
+
/**
|
|
42773
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
42774
|
+
* given reader into the given message object.
|
|
42775
|
+
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem} msg The message object to deserialize into.
|
|
42776
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
42777
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem}
|
|
42778
|
+
*/
|
|
42779
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
42780
|
+
while (reader.nextField()) {
|
|
42781
|
+
if (reader.isEndGroup()) {
|
|
42782
|
+
break;
|
|
42783
|
+
}
|
|
42784
|
+
var field = reader.getFieldNumber();
|
|
42785
|
+
switch (field) {
|
|
42786
|
+
case 1:
|
|
42787
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
42788
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
42789
|
+
msg.setInfoPath(value);
|
|
42790
|
+
break;
|
|
42791
|
+
case 2:
|
|
42792
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
42793
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
42794
|
+
msg.setInfoVersion(value);
|
|
42795
|
+
break;
|
|
42796
|
+
default:
|
|
42797
|
+
reader.skipField();
|
|
42798
|
+
break;
|
|
42799
|
+
}
|
|
42800
|
+
}
|
|
42801
|
+
return msg;
|
|
42802
|
+
};
|
|
42803
|
+
|
|
42804
|
+
|
|
42805
|
+
/**
|
|
42806
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
42807
|
+
* @return {!Uint8Array}
|
|
42808
|
+
*/
|
|
42809
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.prototype.serializeBinary = function() {
|
|
42810
|
+
var writer = new jspb.BinaryWriter();
|
|
42811
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.serializeBinaryToWriter(this, writer);
|
|
42812
|
+
return writer.getResultBuffer();
|
|
42813
|
+
};
|
|
42814
|
+
|
|
42815
|
+
|
|
42816
|
+
/**
|
|
42817
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
42818
|
+
* format), writing to the given BinaryWriter.
|
|
42819
|
+
* @param {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem} message
|
|
42820
|
+
* @param {!jspb.BinaryWriter} writer
|
|
42821
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42822
|
+
*/
|
|
42823
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.serializeBinaryToWriter = function(message, writer) {
|
|
42824
|
+
var f = undefined;
|
|
42825
|
+
f = message.getInfoPath();
|
|
42826
|
+
if (f != null) {
|
|
42827
|
+
writer.writeMessage(
|
|
42828
|
+
1,
|
|
42829
|
+
f,
|
|
42830
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
42831
|
+
);
|
|
42832
|
+
}
|
|
42833
|
+
f = message.getInfoVersion();
|
|
42834
|
+
if (f != null) {
|
|
42835
|
+
writer.writeMessage(
|
|
42836
|
+
2,
|
|
42837
|
+
f,
|
|
42838
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
42839
|
+
);
|
|
42840
|
+
}
|
|
42841
|
+
};
|
|
42842
|
+
|
|
42843
|
+
|
|
42844
|
+
/**
|
|
42845
|
+
* optional google.protobuf.StringValue info_path = 1;
|
|
42846
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
42847
|
+
*/
|
|
42848
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.prototype.getInfoPath = function() {
|
|
42849
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
42850
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
|
|
42851
|
+
};
|
|
42852
|
+
|
|
42853
|
+
|
|
42854
|
+
/**
|
|
42855
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
42856
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem} returns this
|
|
42857
|
+
*/
|
|
42858
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.prototype.setInfoPath = function(value) {
|
|
42859
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
42860
|
+
};
|
|
42861
|
+
|
|
42862
|
+
|
|
42863
|
+
/**
|
|
42864
|
+
* Clears the message field making it undefined.
|
|
42865
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem} returns this
|
|
42866
|
+
*/
|
|
42867
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.prototype.clearInfoPath = function() {
|
|
42868
|
+
return this.setInfoPath(undefined);
|
|
42869
|
+
};
|
|
42870
|
+
|
|
42871
|
+
|
|
42872
|
+
/**
|
|
42873
|
+
* Returns whether this field is set.
|
|
42874
|
+
* @return {boolean}
|
|
42875
|
+
*/
|
|
42876
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.prototype.hasInfoPath = function() {
|
|
42877
|
+
return jspb.Message.getField(this, 1) != null;
|
|
42878
|
+
};
|
|
42879
|
+
|
|
42880
|
+
|
|
42881
|
+
/**
|
|
42882
|
+
* optional google.protobuf.StringValue info_version = 2;
|
|
42883
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
42884
|
+
*/
|
|
42885
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.prototype.getInfoVersion = function() {
|
|
42886
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
42887
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
|
|
42888
|
+
};
|
|
42889
|
+
|
|
42890
|
+
|
|
42891
|
+
/**
|
|
42892
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
42893
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem} returns this
|
|
42894
|
+
*/
|
|
42895
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.prototype.setInfoVersion = function(value) {
|
|
42896
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
42897
|
+
};
|
|
42898
|
+
|
|
42899
|
+
|
|
42900
|
+
/**
|
|
42901
|
+
* Clears the message field making it undefined.
|
|
42902
|
+
* @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem} returns this
|
|
42903
|
+
*/
|
|
42904
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.prototype.clearInfoVersion = function() {
|
|
42905
|
+
return this.setInfoVersion(undefined);
|
|
42906
|
+
};
|
|
42907
|
+
|
|
42908
|
+
|
|
42909
|
+
/**
|
|
42910
|
+
* Returns whether this field is set.
|
|
42911
|
+
* @return {boolean}
|
|
42912
|
+
*/
|
|
42913
|
+
proto.com.lansweeper.discovery.sensor.mac.v1.PrinterSoftwareItem.prototype.hasInfoVersion = function() {
|
|
42914
|
+
return jspb.Message.getField(this, 2) != null;
|
|
42915
|
+
};
|
|
42916
|
+
|
|
42917
|
+
|
|
42918
|
+
|
|
42085
42919
|
/**
|
|
42086
42920
|
* List of repeated fields within this message type.
|
|
42087
42921
|
* @private {!Array<number>}
|