@lansweeper/discovery-sensor-proto 2.36.0 → 2.37.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.
@@ -41,8 +41,11 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.CertificateI
41
41
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.CertificateKeyUsage', null, global);
42
42
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.CertificateLocation', null, global);
43
43
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Codec', null, global);
44
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication', null, global);
45
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory', null, global);
44
46
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.ComputerSystem', null, global);
45
47
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.ComputerSystemProduct', null, global);
48
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication', null, global);
46
49
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Desktop', null, global);
47
50
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DesktopMonitor', null, global);
48
51
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DiskPartition', null, global);
@@ -147,8 +150,11 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCerti
147
150
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsClusterInfo', null, global);
148
151
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsClusterNode', null, global);
149
152
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec', null, global);
153
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication', null, global);
154
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory', null, global);
150
155
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComputerSystem', null, global);
151
156
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComputerSystemProduct', null, global);
157
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication', null, global);
152
158
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDesktop', null, global);
153
159
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDesktopMonitor', null, global);
154
160
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDiskPartition', null, global);
@@ -4257,6 +4263,132 @@ if (goog.DEBUG && !COMPILED) {
4257
4263
  */
4258
4264
  proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty';
4259
4265
  }
4266
+ /**
4267
+ * Generated by JsPbCodeGenerator.
4268
+ * @param {Array=} opt_data Optional initial data array, typically from a
4269
+ * server response, or constructed directly in Javascript. The array is used
4270
+ * in place and becomes part of the constructed object. It is not cloned.
4271
+ * If no data is provided, the constructed object will be empty, but still
4272
+ * valid.
4273
+ * @extends {jspb.Message}
4274
+ * @constructor
4275
+ */
4276
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication = function(opt_data) {
4277
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.repeatedFields_, null);
4278
+ };
4279
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication, jspb.Message);
4280
+ if (goog.DEBUG && !COMPILED) {
4281
+ /**
4282
+ * @public
4283
+ * @override
4284
+ */
4285
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication';
4286
+ }
4287
+ /**
4288
+ * Generated by JsPbCodeGenerator.
4289
+ * @param {Array=} opt_data Optional initial data array, typically from a
4290
+ * server response, or constructed directly in Javascript. The array is used
4291
+ * in place and becomes part of the constructed object. It is not cloned.
4292
+ * If no data is provided, the constructed object will be empty, but still
4293
+ * valid.
4294
+ * @extends {jspb.Message}
4295
+ * @constructor
4296
+ */
4297
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication = function(opt_data) {
4298
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4299
+ };
4300
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication, jspb.Message);
4301
+ if (goog.DEBUG && !COMPILED) {
4302
+ /**
4303
+ * @public
4304
+ * @override
4305
+ */
4306
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication';
4307
+ }
4308
+ /**
4309
+ * Generated by JsPbCodeGenerator.
4310
+ * @param {Array=} opt_data Optional initial data array, typically from a
4311
+ * server response, or constructed directly in Javascript. The array is used
4312
+ * in place and becomes part of the constructed object. It is not cloned.
4313
+ * If no data is provided, the constructed object will be empty, but still
4314
+ * valid.
4315
+ * @extends {jspb.Message}
4316
+ * @constructor
4317
+ */
4318
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication = function(opt_data) {
4319
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.repeatedFields_, null);
4320
+ };
4321
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication, jspb.Message);
4322
+ if (goog.DEBUG && !COMPILED) {
4323
+ /**
4324
+ * @public
4325
+ * @override
4326
+ */
4327
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication';
4328
+ }
4329
+ /**
4330
+ * Generated by JsPbCodeGenerator.
4331
+ * @param {Array=} opt_data Optional initial data array, typically from a
4332
+ * server response, or constructed directly in Javascript. The array is used
4333
+ * in place and becomes part of the constructed object. It is not cloned.
4334
+ * If no data is provided, the constructed object will be empty, but still
4335
+ * valid.
4336
+ * @extends {jspb.Message}
4337
+ * @constructor
4338
+ */
4339
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication = function(opt_data) {
4340
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4341
+ };
4342
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication, jspb.Message);
4343
+ if (goog.DEBUG && !COMPILED) {
4344
+ /**
4345
+ * @public
4346
+ * @override
4347
+ */
4348
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication';
4349
+ }
4350
+ /**
4351
+ * Generated by JsPbCodeGenerator.
4352
+ * @param {Array=} opt_data Optional initial data array, typically from a
4353
+ * server response, or constructed directly in Javascript. The array is used
4354
+ * in place and becomes part of the constructed object. It is not cloned.
4355
+ * If no data is provided, the constructed object will be empty, but still
4356
+ * valid.
4357
+ * @extends {jspb.Message}
4358
+ * @constructor
4359
+ */
4360
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory = function(opt_data) {
4361
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.repeatedFields_, null);
4362
+ };
4363
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory, jspb.Message);
4364
+ if (goog.DEBUG && !COMPILED) {
4365
+ /**
4366
+ * @public
4367
+ * @override
4368
+ */
4369
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory';
4370
+ }
4371
+ /**
4372
+ * Generated by JsPbCodeGenerator.
4373
+ * @param {Array=} opt_data Optional initial data array, typically from a
4374
+ * server response, or constructed directly in Javascript. The array is used
4375
+ * in place and becomes part of the constructed object. It is not cloned.
4376
+ * If no data is provided, the constructed object will be empty, but still
4377
+ * valid.
4378
+ * @extends {jspb.Message}
4379
+ * @constructor
4380
+ */
4381
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory = function(opt_data) {
4382
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4383
+ };
4384
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory, jspb.Message);
4385
+ if (goog.DEBUG && !COMPILED) {
4386
+ /**
4387
+ * @public
4388
+ * @override
4389
+ */
4390
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory';
4391
+ }
4260
4392
 
4261
4393
 
4262
4394
 
@@ -73982,6 +74114,1092 @@ proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.prototype.
73982
74114
  };
73983
74115
 
73984
74116
 
74117
+
74118
+ /**
74119
+ * List of repeated fields within this message type.
74120
+ * @private {!Array<number>}
74121
+ * @const
74122
+ */
74123
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.repeatedFields_ = [1];
74124
+
74125
+
74126
+
74127
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74128
+ /**
74129
+ * Creates an object representation of this proto.
74130
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74131
+ * Optional fields that are not set will be set to undefined.
74132
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74133
+ * For the list of reserved names please see:
74134
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74135
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74136
+ * JSPB instance for transitional soy proto support:
74137
+ * http://goto/soy-param-migration
74138
+ * @return {!Object}
74139
+ */
74140
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.prototype.toObject = function(opt_includeInstance) {
74141
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.toObject(opt_includeInstance, this);
74142
+ };
74143
+
74144
+
74145
+ /**
74146
+ * Static version of the {@see toObject} method.
74147
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74148
+ * the JSPB instance for transitional soy proto support:
74149
+ * http://goto/soy-param-migration
74150
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication} msg The msg instance to transform.
74151
+ * @return {!Object}
74152
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74153
+ */
74154
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.toObject = function(includeInstance, msg) {
74155
+ var f, obj = {
74156
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
74157
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.toObject, includeInstance)
74158
+ };
74159
+
74160
+ if (includeInstance) {
74161
+ obj.$jspbMessageInstance = msg;
74162
+ }
74163
+ return obj;
74164
+ };
74165
+ }
74166
+
74167
+
74168
+ /**
74169
+ * Deserializes binary data (in protobuf wire format).
74170
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74171
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication}
74172
+ */
74173
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.deserializeBinary = function(bytes) {
74174
+ var reader = new jspb.BinaryReader(bytes);
74175
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication;
74176
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.deserializeBinaryFromReader(msg, reader);
74177
+ };
74178
+
74179
+
74180
+ /**
74181
+ * Deserializes binary data (in protobuf wire format) from the
74182
+ * given reader into the given message object.
74183
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication} msg The message object to deserialize into.
74184
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74185
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication}
74186
+ */
74187
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.deserializeBinaryFromReader = function(msg, reader) {
74188
+ while (reader.nextField()) {
74189
+ if (reader.isEndGroup()) {
74190
+ break;
74191
+ }
74192
+ var field = reader.getFieldNumber();
74193
+ switch (field) {
74194
+ case 1:
74195
+ var value = new proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication;
74196
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.deserializeBinaryFromReader);
74197
+ msg.addEntries(value);
74198
+ break;
74199
+ default:
74200
+ reader.skipField();
74201
+ break;
74202
+ }
74203
+ }
74204
+ return msg;
74205
+ };
74206
+
74207
+
74208
+ /**
74209
+ * Serializes the message to binary data (in protobuf wire format).
74210
+ * @return {!Uint8Array}
74211
+ */
74212
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.prototype.serializeBinary = function() {
74213
+ var writer = new jspb.BinaryWriter();
74214
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.serializeBinaryToWriter(this, writer);
74215
+ return writer.getResultBuffer();
74216
+ };
74217
+
74218
+
74219
+ /**
74220
+ * Serializes the given message to binary data (in protobuf wire
74221
+ * format), writing to the given BinaryWriter.
74222
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication} message
74223
+ * @param {!jspb.BinaryWriter} writer
74224
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74225
+ */
74226
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.serializeBinaryToWriter = function(message, writer) {
74227
+ var f = undefined;
74228
+ f = message.getEntriesList();
74229
+ if (f.length > 0) {
74230
+ writer.writeRepeatedMessage(
74231
+ 1,
74232
+ f,
74233
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.serializeBinaryToWriter
74234
+ );
74235
+ }
74236
+ };
74237
+
74238
+
74239
+ /**
74240
+ * repeated ComApplication entries = 1;
74241
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication>}
74242
+ */
74243
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.prototype.getEntriesList = function() {
74244
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication>} */ (
74245
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication, 1));
74246
+ };
74247
+
74248
+
74249
+ /**
74250
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication>} value
74251
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication} returns this
74252
+ */
74253
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.prototype.setEntriesList = function(value) {
74254
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
74255
+ };
74256
+
74257
+
74258
+ /**
74259
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication=} opt_value
74260
+ * @param {number=} opt_index
74261
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication}
74262
+ */
74263
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.prototype.addEntries = function(opt_value, opt_index) {
74264
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication, opt_index);
74265
+ };
74266
+
74267
+
74268
+ /**
74269
+ * Clears the list making it empty but non-null.
74270
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication} returns this
74271
+ */
74272
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComApplication.prototype.clearEntriesList = function() {
74273
+ return this.setEntriesList([]);
74274
+ };
74275
+
74276
+
74277
+
74278
+
74279
+
74280
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74281
+ /**
74282
+ * Creates an object representation of this proto.
74283
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74284
+ * Optional fields that are not set will be set to undefined.
74285
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74286
+ * For the list of reserved names please see:
74287
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74288
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74289
+ * JSPB instance for transitional soy proto support:
74290
+ * http://goto/soy-param-migration
74291
+ * @return {!Object}
74292
+ */
74293
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.prototype.toObject = function(opt_includeInstance) {
74294
+ return proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.toObject(opt_includeInstance, this);
74295
+ };
74296
+
74297
+
74298
+ /**
74299
+ * Static version of the {@see toObject} method.
74300
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74301
+ * the JSPB instance for transitional soy proto support:
74302
+ * http://goto/soy-param-migration
74303
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication} msg The msg instance to transform.
74304
+ * @return {!Object}
74305
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74306
+ */
74307
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.toObject = function(includeInstance, msg) {
74308
+ var f, obj = {
74309
+ appId: (f = msg.getAppId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
74310
+ caption: (f = msg.getCaption()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
74311
+ };
74312
+
74313
+ if (includeInstance) {
74314
+ obj.$jspbMessageInstance = msg;
74315
+ }
74316
+ return obj;
74317
+ };
74318
+ }
74319
+
74320
+
74321
+ /**
74322
+ * Deserializes binary data (in protobuf wire format).
74323
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74324
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication}
74325
+ */
74326
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.deserializeBinary = function(bytes) {
74327
+ var reader = new jspb.BinaryReader(bytes);
74328
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication;
74329
+ return proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.deserializeBinaryFromReader(msg, reader);
74330
+ };
74331
+
74332
+
74333
+ /**
74334
+ * Deserializes binary data (in protobuf wire format) from the
74335
+ * given reader into the given message object.
74336
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication} msg The message object to deserialize into.
74337
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74338
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication}
74339
+ */
74340
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.deserializeBinaryFromReader = function(msg, reader) {
74341
+ while (reader.nextField()) {
74342
+ if (reader.isEndGroup()) {
74343
+ break;
74344
+ }
74345
+ var field = reader.getFieldNumber();
74346
+ switch (field) {
74347
+ case 1:
74348
+ var value = new google_protobuf_wrappers_pb.StringValue;
74349
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
74350
+ msg.setAppId(value);
74351
+ break;
74352
+ case 2:
74353
+ var value = new google_protobuf_wrappers_pb.StringValue;
74354
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
74355
+ msg.setCaption(value);
74356
+ break;
74357
+ default:
74358
+ reader.skipField();
74359
+ break;
74360
+ }
74361
+ }
74362
+ return msg;
74363
+ };
74364
+
74365
+
74366
+ /**
74367
+ * Serializes the message to binary data (in protobuf wire format).
74368
+ * @return {!Uint8Array}
74369
+ */
74370
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.prototype.serializeBinary = function() {
74371
+ var writer = new jspb.BinaryWriter();
74372
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.serializeBinaryToWriter(this, writer);
74373
+ return writer.getResultBuffer();
74374
+ };
74375
+
74376
+
74377
+ /**
74378
+ * Serializes the given message to binary data (in protobuf wire
74379
+ * format), writing to the given BinaryWriter.
74380
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication} message
74381
+ * @param {!jspb.BinaryWriter} writer
74382
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74383
+ */
74384
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.serializeBinaryToWriter = function(message, writer) {
74385
+ var f = undefined;
74386
+ f = message.getAppId();
74387
+ if (f != null) {
74388
+ writer.writeMessage(
74389
+ 1,
74390
+ f,
74391
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
74392
+ );
74393
+ }
74394
+ f = message.getCaption();
74395
+ if (f != null) {
74396
+ writer.writeMessage(
74397
+ 2,
74398
+ f,
74399
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
74400
+ );
74401
+ }
74402
+ };
74403
+
74404
+
74405
+ /**
74406
+ * optional google.protobuf.StringValue app_id = 1;
74407
+ * @return {?proto.google.protobuf.StringValue}
74408
+ */
74409
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.prototype.getAppId = function() {
74410
+ return /** @type{?proto.google.protobuf.StringValue} */ (
74411
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
74412
+ };
74413
+
74414
+
74415
+ /**
74416
+ * @param {?proto.google.protobuf.StringValue|undefined} value
74417
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication} returns this
74418
+ */
74419
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.prototype.setAppId = function(value) {
74420
+ return jspb.Message.setWrapperField(this, 1, value);
74421
+ };
74422
+
74423
+
74424
+ /**
74425
+ * Clears the message field making it undefined.
74426
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication} returns this
74427
+ */
74428
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.prototype.clearAppId = function() {
74429
+ return this.setAppId(undefined);
74430
+ };
74431
+
74432
+
74433
+ /**
74434
+ * Returns whether this field is set.
74435
+ * @return {boolean}
74436
+ */
74437
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.prototype.hasAppId = function() {
74438
+ return jspb.Message.getField(this, 1) != null;
74439
+ };
74440
+
74441
+
74442
+ /**
74443
+ * optional google.protobuf.StringValue caption = 2;
74444
+ * @return {?proto.google.protobuf.StringValue}
74445
+ */
74446
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.prototype.getCaption = function() {
74447
+ return /** @type{?proto.google.protobuf.StringValue} */ (
74448
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
74449
+ };
74450
+
74451
+
74452
+ /**
74453
+ * @param {?proto.google.protobuf.StringValue|undefined} value
74454
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication} returns this
74455
+ */
74456
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.prototype.setCaption = function(value) {
74457
+ return jspb.Message.setWrapperField(this, 2, value);
74458
+ };
74459
+
74460
+
74461
+ /**
74462
+ * Clears the message field making it undefined.
74463
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication} returns this
74464
+ */
74465
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.prototype.clearCaption = function() {
74466
+ return this.setCaption(undefined);
74467
+ };
74468
+
74469
+
74470
+ /**
74471
+ * Returns whether this field is set.
74472
+ * @return {boolean}
74473
+ */
74474
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComApplication.prototype.hasCaption = function() {
74475
+ return jspb.Message.getField(this, 2) != null;
74476
+ };
74477
+
74478
+
74479
+
74480
+ /**
74481
+ * List of repeated fields within this message type.
74482
+ * @private {!Array<number>}
74483
+ * @const
74484
+ */
74485
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.repeatedFields_ = [1];
74486
+
74487
+
74488
+
74489
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74490
+ /**
74491
+ * Creates an object representation of this proto.
74492
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74493
+ * Optional fields that are not set will be set to undefined.
74494
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74495
+ * For the list of reserved names please see:
74496
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74497
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74498
+ * JSPB instance for transitional soy proto support:
74499
+ * http://goto/soy-param-migration
74500
+ * @return {!Object}
74501
+ */
74502
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.prototype.toObject = function(opt_includeInstance) {
74503
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.toObject(opt_includeInstance, this);
74504
+ };
74505
+
74506
+
74507
+ /**
74508
+ * Static version of the {@see toObject} method.
74509
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74510
+ * the JSPB instance for transitional soy proto support:
74511
+ * http://goto/soy-param-migration
74512
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication} msg The msg instance to transform.
74513
+ * @return {!Object}
74514
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74515
+ */
74516
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.toObject = function(includeInstance, msg) {
74517
+ var f, obj = {
74518
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
74519
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.toObject, includeInstance)
74520
+ };
74521
+
74522
+ if (includeInstance) {
74523
+ obj.$jspbMessageInstance = msg;
74524
+ }
74525
+ return obj;
74526
+ };
74527
+ }
74528
+
74529
+
74530
+ /**
74531
+ * Deserializes binary data (in protobuf wire format).
74532
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74533
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication}
74534
+ */
74535
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.deserializeBinary = function(bytes) {
74536
+ var reader = new jspb.BinaryReader(bytes);
74537
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication;
74538
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.deserializeBinaryFromReader(msg, reader);
74539
+ };
74540
+
74541
+
74542
+ /**
74543
+ * Deserializes binary data (in protobuf wire format) from the
74544
+ * given reader into the given message object.
74545
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication} msg The message object to deserialize into.
74546
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74547
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication}
74548
+ */
74549
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.deserializeBinaryFromReader = function(msg, reader) {
74550
+ while (reader.nextField()) {
74551
+ if (reader.isEndGroup()) {
74552
+ break;
74553
+ }
74554
+ var field = reader.getFieldNumber();
74555
+ switch (field) {
74556
+ case 1:
74557
+ var value = new proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication;
74558
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.deserializeBinaryFromReader);
74559
+ msg.addEntries(value);
74560
+ break;
74561
+ default:
74562
+ reader.skipField();
74563
+ break;
74564
+ }
74565
+ }
74566
+ return msg;
74567
+ };
74568
+
74569
+
74570
+ /**
74571
+ * Serializes the message to binary data (in protobuf wire format).
74572
+ * @return {!Uint8Array}
74573
+ */
74574
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.prototype.serializeBinary = function() {
74575
+ var writer = new jspb.BinaryWriter();
74576
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.serializeBinaryToWriter(this, writer);
74577
+ return writer.getResultBuffer();
74578
+ };
74579
+
74580
+
74581
+ /**
74582
+ * Serializes the given message to binary data (in protobuf wire
74583
+ * format), writing to the given BinaryWriter.
74584
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication} message
74585
+ * @param {!jspb.BinaryWriter} writer
74586
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74587
+ */
74588
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.serializeBinaryToWriter = function(message, writer) {
74589
+ var f = undefined;
74590
+ f = message.getEntriesList();
74591
+ if (f.length > 0) {
74592
+ writer.writeRepeatedMessage(
74593
+ 1,
74594
+ f,
74595
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.serializeBinaryToWriter
74596
+ );
74597
+ }
74598
+ };
74599
+
74600
+
74601
+ /**
74602
+ * repeated DcomApplication entries = 1;
74603
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication>}
74604
+ */
74605
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.prototype.getEntriesList = function() {
74606
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication>} */ (
74607
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication, 1));
74608
+ };
74609
+
74610
+
74611
+ /**
74612
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication>} value
74613
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication} returns this
74614
+ */
74615
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.prototype.setEntriesList = function(value) {
74616
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
74617
+ };
74618
+
74619
+
74620
+ /**
74621
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication=} opt_value
74622
+ * @param {number=} opt_index
74623
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication}
74624
+ */
74625
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.prototype.addEntries = function(opt_value, opt_index) {
74626
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication, opt_index);
74627
+ };
74628
+
74629
+
74630
+ /**
74631
+ * Clears the list making it empty but non-null.
74632
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication} returns this
74633
+ */
74634
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDcomApplication.prototype.clearEntriesList = function() {
74635
+ return this.setEntriesList([]);
74636
+ };
74637
+
74638
+
74639
+
74640
+
74641
+
74642
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74643
+ /**
74644
+ * Creates an object representation of this proto.
74645
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74646
+ * Optional fields that are not set will be set to undefined.
74647
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74648
+ * For the list of reserved names please see:
74649
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74650
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74651
+ * JSPB instance for transitional soy proto support:
74652
+ * http://goto/soy-param-migration
74653
+ * @return {!Object}
74654
+ */
74655
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.prototype.toObject = function(opt_includeInstance) {
74656
+ return proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.toObject(opt_includeInstance, this);
74657
+ };
74658
+
74659
+
74660
+ /**
74661
+ * Static version of the {@see toObject} method.
74662
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74663
+ * the JSPB instance for transitional soy proto support:
74664
+ * http://goto/soy-param-migration
74665
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication} msg The msg instance to transform.
74666
+ * @return {!Object}
74667
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74668
+ */
74669
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.toObject = function(includeInstance, msg) {
74670
+ var f, obj = {
74671
+ appId: (f = msg.getAppId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
74672
+ caption: (f = msg.getCaption()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
74673
+ };
74674
+
74675
+ if (includeInstance) {
74676
+ obj.$jspbMessageInstance = msg;
74677
+ }
74678
+ return obj;
74679
+ };
74680
+ }
74681
+
74682
+
74683
+ /**
74684
+ * Deserializes binary data (in protobuf wire format).
74685
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74686
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication}
74687
+ */
74688
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.deserializeBinary = function(bytes) {
74689
+ var reader = new jspb.BinaryReader(bytes);
74690
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication;
74691
+ return proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.deserializeBinaryFromReader(msg, reader);
74692
+ };
74693
+
74694
+
74695
+ /**
74696
+ * Deserializes binary data (in protobuf wire format) from the
74697
+ * given reader into the given message object.
74698
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication} msg The message object to deserialize into.
74699
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74700
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication}
74701
+ */
74702
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.deserializeBinaryFromReader = function(msg, reader) {
74703
+ while (reader.nextField()) {
74704
+ if (reader.isEndGroup()) {
74705
+ break;
74706
+ }
74707
+ var field = reader.getFieldNumber();
74708
+ switch (field) {
74709
+ case 1:
74710
+ var value = new google_protobuf_wrappers_pb.StringValue;
74711
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
74712
+ msg.setAppId(value);
74713
+ break;
74714
+ case 2:
74715
+ var value = new google_protobuf_wrappers_pb.StringValue;
74716
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
74717
+ msg.setCaption(value);
74718
+ break;
74719
+ default:
74720
+ reader.skipField();
74721
+ break;
74722
+ }
74723
+ }
74724
+ return msg;
74725
+ };
74726
+
74727
+
74728
+ /**
74729
+ * Serializes the message to binary data (in protobuf wire format).
74730
+ * @return {!Uint8Array}
74731
+ */
74732
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.prototype.serializeBinary = function() {
74733
+ var writer = new jspb.BinaryWriter();
74734
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.serializeBinaryToWriter(this, writer);
74735
+ return writer.getResultBuffer();
74736
+ };
74737
+
74738
+
74739
+ /**
74740
+ * Serializes the given message to binary data (in protobuf wire
74741
+ * format), writing to the given BinaryWriter.
74742
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication} message
74743
+ * @param {!jspb.BinaryWriter} writer
74744
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74745
+ */
74746
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.serializeBinaryToWriter = function(message, writer) {
74747
+ var f = undefined;
74748
+ f = message.getAppId();
74749
+ if (f != null) {
74750
+ writer.writeMessage(
74751
+ 1,
74752
+ f,
74753
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
74754
+ );
74755
+ }
74756
+ f = message.getCaption();
74757
+ if (f != null) {
74758
+ writer.writeMessage(
74759
+ 2,
74760
+ f,
74761
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
74762
+ );
74763
+ }
74764
+ };
74765
+
74766
+
74767
+ /**
74768
+ * optional google.protobuf.StringValue app_id = 1;
74769
+ * @return {?proto.google.protobuf.StringValue}
74770
+ */
74771
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.prototype.getAppId = function() {
74772
+ return /** @type{?proto.google.protobuf.StringValue} */ (
74773
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
74774
+ };
74775
+
74776
+
74777
+ /**
74778
+ * @param {?proto.google.protobuf.StringValue|undefined} value
74779
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication} returns this
74780
+ */
74781
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.prototype.setAppId = function(value) {
74782
+ return jspb.Message.setWrapperField(this, 1, value);
74783
+ };
74784
+
74785
+
74786
+ /**
74787
+ * Clears the message field making it undefined.
74788
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication} returns this
74789
+ */
74790
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.prototype.clearAppId = function() {
74791
+ return this.setAppId(undefined);
74792
+ };
74793
+
74794
+
74795
+ /**
74796
+ * Returns whether this field is set.
74797
+ * @return {boolean}
74798
+ */
74799
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.prototype.hasAppId = function() {
74800
+ return jspb.Message.getField(this, 1) != null;
74801
+ };
74802
+
74803
+
74804
+ /**
74805
+ * optional google.protobuf.StringValue caption = 2;
74806
+ * @return {?proto.google.protobuf.StringValue}
74807
+ */
74808
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.prototype.getCaption = function() {
74809
+ return /** @type{?proto.google.protobuf.StringValue} */ (
74810
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
74811
+ };
74812
+
74813
+
74814
+ /**
74815
+ * @param {?proto.google.protobuf.StringValue|undefined} value
74816
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication} returns this
74817
+ */
74818
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.prototype.setCaption = function(value) {
74819
+ return jspb.Message.setWrapperField(this, 2, value);
74820
+ };
74821
+
74822
+
74823
+ /**
74824
+ * Clears the message field making it undefined.
74825
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication} returns this
74826
+ */
74827
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.prototype.clearCaption = function() {
74828
+ return this.setCaption(undefined);
74829
+ };
74830
+
74831
+
74832
+ /**
74833
+ * Returns whether this field is set.
74834
+ * @return {boolean}
74835
+ */
74836
+ proto.com.lansweeper.discovery.sensor.windows.v1.DcomApplication.prototype.hasCaption = function() {
74837
+ return jspb.Message.getField(this, 2) != null;
74838
+ };
74839
+
74840
+
74841
+
74842
+ /**
74843
+ * List of repeated fields within this message type.
74844
+ * @private {!Array<number>}
74845
+ * @const
74846
+ */
74847
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.repeatedFields_ = [1];
74848
+
74849
+
74850
+
74851
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74852
+ /**
74853
+ * Creates an object representation of this proto.
74854
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74855
+ * Optional fields that are not set will be set to undefined.
74856
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74857
+ * For the list of reserved names please see:
74858
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74859
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74860
+ * JSPB instance for transitional soy proto support:
74861
+ * http://goto/soy-param-migration
74862
+ * @return {!Object}
74863
+ */
74864
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.prototype.toObject = function(opt_includeInstance) {
74865
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.toObject(opt_includeInstance, this);
74866
+ };
74867
+
74868
+
74869
+ /**
74870
+ * Static version of the {@see toObject} method.
74871
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74872
+ * the JSPB instance for transitional soy proto support:
74873
+ * http://goto/soy-param-migration
74874
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory} msg The msg instance to transform.
74875
+ * @return {!Object}
74876
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74877
+ */
74878
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.toObject = function(includeInstance, msg) {
74879
+ var f, obj = {
74880
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
74881
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.toObject, includeInstance)
74882
+ };
74883
+
74884
+ if (includeInstance) {
74885
+ obj.$jspbMessageInstance = msg;
74886
+ }
74887
+ return obj;
74888
+ };
74889
+ }
74890
+
74891
+
74892
+ /**
74893
+ * Deserializes binary data (in protobuf wire format).
74894
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74895
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory}
74896
+ */
74897
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.deserializeBinary = function(bytes) {
74898
+ var reader = new jspb.BinaryReader(bytes);
74899
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory;
74900
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.deserializeBinaryFromReader(msg, reader);
74901
+ };
74902
+
74903
+
74904
+ /**
74905
+ * Deserializes binary data (in protobuf wire format) from the
74906
+ * given reader into the given message object.
74907
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory} msg The message object to deserialize into.
74908
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74909
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory}
74910
+ */
74911
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.deserializeBinaryFromReader = function(msg, reader) {
74912
+ while (reader.nextField()) {
74913
+ if (reader.isEndGroup()) {
74914
+ break;
74915
+ }
74916
+ var field = reader.getFieldNumber();
74917
+ switch (field) {
74918
+ case 1:
74919
+ var value = new proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory;
74920
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.deserializeBinaryFromReader);
74921
+ msg.addEntries(value);
74922
+ break;
74923
+ default:
74924
+ reader.skipField();
74925
+ break;
74926
+ }
74927
+ }
74928
+ return msg;
74929
+ };
74930
+
74931
+
74932
+ /**
74933
+ * Serializes the message to binary data (in protobuf wire format).
74934
+ * @return {!Uint8Array}
74935
+ */
74936
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.prototype.serializeBinary = function() {
74937
+ var writer = new jspb.BinaryWriter();
74938
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.serializeBinaryToWriter(this, writer);
74939
+ return writer.getResultBuffer();
74940
+ };
74941
+
74942
+
74943
+ /**
74944
+ * Serializes the given message to binary data (in protobuf wire
74945
+ * format), writing to the given BinaryWriter.
74946
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory} message
74947
+ * @param {!jspb.BinaryWriter} writer
74948
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74949
+ */
74950
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.serializeBinaryToWriter = function(message, writer) {
74951
+ var f = undefined;
74952
+ f = message.getEntriesList();
74953
+ if (f.length > 0) {
74954
+ writer.writeRepeatedMessage(
74955
+ 1,
74956
+ f,
74957
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.serializeBinaryToWriter
74958
+ );
74959
+ }
74960
+ };
74961
+
74962
+
74963
+ /**
74964
+ * repeated ComponentCategory entries = 1;
74965
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory>}
74966
+ */
74967
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.prototype.getEntriesList = function() {
74968
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory>} */ (
74969
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory, 1));
74970
+ };
74971
+
74972
+
74973
+ /**
74974
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory>} value
74975
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory} returns this
74976
+ */
74977
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.prototype.setEntriesList = function(value) {
74978
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
74979
+ };
74980
+
74981
+
74982
+ /**
74983
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory=} opt_value
74984
+ * @param {number=} opt_index
74985
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory}
74986
+ */
74987
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.prototype.addEntries = function(opt_value, opt_index) {
74988
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory, opt_index);
74989
+ };
74990
+
74991
+
74992
+ /**
74993
+ * Clears the list making it empty but non-null.
74994
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory} returns this
74995
+ */
74996
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComponentCategory.prototype.clearEntriesList = function() {
74997
+ return this.setEntriesList([]);
74998
+ };
74999
+
75000
+
75001
+
75002
+
75003
+
75004
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75005
+ /**
75006
+ * Creates an object representation of this proto.
75007
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75008
+ * Optional fields that are not set will be set to undefined.
75009
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75010
+ * For the list of reserved names please see:
75011
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75012
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75013
+ * JSPB instance for transitional soy proto support:
75014
+ * http://goto/soy-param-migration
75015
+ * @return {!Object}
75016
+ */
75017
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.prototype.toObject = function(opt_includeInstance) {
75018
+ return proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.toObject(opt_includeInstance, this);
75019
+ };
75020
+
75021
+
75022
+ /**
75023
+ * Static version of the {@see toObject} method.
75024
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75025
+ * the JSPB instance for transitional soy proto support:
75026
+ * http://goto/soy-param-migration
75027
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory} msg The msg instance to transform.
75028
+ * @return {!Object}
75029
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75030
+ */
75031
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.toObject = function(includeInstance, msg) {
75032
+ var f, obj = {
75033
+ categoryId: (f = msg.getCategoryId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
75034
+ caption: (f = msg.getCaption()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
75035
+ };
75036
+
75037
+ if (includeInstance) {
75038
+ obj.$jspbMessageInstance = msg;
75039
+ }
75040
+ return obj;
75041
+ };
75042
+ }
75043
+
75044
+
75045
+ /**
75046
+ * Deserializes binary data (in protobuf wire format).
75047
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75048
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory}
75049
+ */
75050
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.deserializeBinary = function(bytes) {
75051
+ var reader = new jspb.BinaryReader(bytes);
75052
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory;
75053
+ return proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.deserializeBinaryFromReader(msg, reader);
75054
+ };
75055
+
75056
+
75057
+ /**
75058
+ * Deserializes binary data (in protobuf wire format) from the
75059
+ * given reader into the given message object.
75060
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory} msg The message object to deserialize into.
75061
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75062
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory}
75063
+ */
75064
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.deserializeBinaryFromReader = function(msg, reader) {
75065
+ while (reader.nextField()) {
75066
+ if (reader.isEndGroup()) {
75067
+ break;
75068
+ }
75069
+ var field = reader.getFieldNumber();
75070
+ switch (field) {
75071
+ case 1:
75072
+ var value = new google_protobuf_wrappers_pb.StringValue;
75073
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
75074
+ msg.setCategoryId(value);
75075
+ break;
75076
+ case 2:
75077
+ var value = new google_protobuf_wrappers_pb.StringValue;
75078
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
75079
+ msg.setCaption(value);
75080
+ break;
75081
+ default:
75082
+ reader.skipField();
75083
+ break;
75084
+ }
75085
+ }
75086
+ return msg;
75087
+ };
75088
+
75089
+
75090
+ /**
75091
+ * Serializes the message to binary data (in protobuf wire format).
75092
+ * @return {!Uint8Array}
75093
+ */
75094
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.prototype.serializeBinary = function() {
75095
+ var writer = new jspb.BinaryWriter();
75096
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.serializeBinaryToWriter(this, writer);
75097
+ return writer.getResultBuffer();
75098
+ };
75099
+
75100
+
75101
+ /**
75102
+ * Serializes the given message to binary data (in protobuf wire
75103
+ * format), writing to the given BinaryWriter.
75104
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory} message
75105
+ * @param {!jspb.BinaryWriter} writer
75106
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75107
+ */
75108
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.serializeBinaryToWriter = function(message, writer) {
75109
+ var f = undefined;
75110
+ f = message.getCategoryId();
75111
+ if (f != null) {
75112
+ writer.writeMessage(
75113
+ 1,
75114
+ f,
75115
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
75116
+ );
75117
+ }
75118
+ f = message.getCaption();
75119
+ if (f != null) {
75120
+ writer.writeMessage(
75121
+ 2,
75122
+ f,
75123
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
75124
+ );
75125
+ }
75126
+ };
75127
+
75128
+
75129
+ /**
75130
+ * optional google.protobuf.StringValue category_id = 1;
75131
+ * @return {?proto.google.protobuf.StringValue}
75132
+ */
75133
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.prototype.getCategoryId = function() {
75134
+ return /** @type{?proto.google.protobuf.StringValue} */ (
75135
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
75136
+ };
75137
+
75138
+
75139
+ /**
75140
+ * @param {?proto.google.protobuf.StringValue|undefined} value
75141
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory} returns this
75142
+ */
75143
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.prototype.setCategoryId = function(value) {
75144
+ return jspb.Message.setWrapperField(this, 1, value);
75145
+ };
75146
+
75147
+
75148
+ /**
75149
+ * Clears the message field making it undefined.
75150
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory} returns this
75151
+ */
75152
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.prototype.clearCategoryId = function() {
75153
+ return this.setCategoryId(undefined);
75154
+ };
75155
+
75156
+
75157
+ /**
75158
+ * Returns whether this field is set.
75159
+ * @return {boolean}
75160
+ */
75161
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.prototype.hasCategoryId = function() {
75162
+ return jspb.Message.getField(this, 1) != null;
75163
+ };
75164
+
75165
+
75166
+ /**
75167
+ * optional google.protobuf.StringValue caption = 2;
75168
+ * @return {?proto.google.protobuf.StringValue}
75169
+ */
75170
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.prototype.getCaption = function() {
75171
+ return /** @type{?proto.google.protobuf.StringValue} */ (
75172
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
75173
+ };
75174
+
75175
+
75176
+ /**
75177
+ * @param {?proto.google.protobuf.StringValue|undefined} value
75178
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory} returns this
75179
+ */
75180
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.prototype.setCaption = function(value) {
75181
+ return jspb.Message.setWrapperField(this, 2, value);
75182
+ };
75183
+
75184
+
75185
+ /**
75186
+ * Clears the message field making it undefined.
75187
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory} returns this
75188
+ */
75189
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.prototype.clearCaption = function() {
75190
+ return this.setCaption(undefined);
75191
+ };
75192
+
75193
+
75194
+ /**
75195
+ * Returns whether this field is set.
75196
+ * @return {boolean}
75197
+ */
75198
+ proto.com.lansweeper.discovery.sensor.windows.v1.ComponentCategory.prototype.hasCaption = function() {
75199
+ return jspb.Message.getField(this, 2) != null;
75200
+ };
75201
+
75202
+
73985
75203
  /**
73986
75204
  * @enum {number}
73987
75205
  */