@lansweeper/data-platform-outbound-grpc 0.16.1 → 0.16.2

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.
@@ -162,6 +162,9 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.EntityPath', null, global
162
162
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.EsxiCluster', null, global);
163
163
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.FieldValue', null, global);
164
164
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.GetEntitiesRequest', null, global);
165
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest', null, global);
166
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse', null, global);
167
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.ProcessingStatus', null, global);
165
168
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.GetEntityRequest', null, global);
166
169
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.GetEntityResponse', null, global);
167
170
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.GetIpLocationConfigRequest', null, global);
@@ -299,6 +302,8 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent', nul
299
302
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType', null, global);
300
303
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareInventory', null, global);
301
304
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoundCard', null, global);
305
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SourceEntity', null, global);
306
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SourceEntity.EntityType', null, global);
302
307
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SourceInfo', null, global);
303
308
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SpecHardwareInfo', null, global);
304
309
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SqlServerCluster', null, global);
@@ -421,6 +426,69 @@ if (goog.DEBUG && !COMPILED) {
421
426
  */
422
427
  proto.com.lansweeper.dp.outbound.v1.EntityFilter.displayName = 'proto.com.lansweeper.dp.outbound.v1.EntityFilter';
423
428
  }
429
+ /**
430
+ * Generated by JsPbCodeGenerator.
431
+ * @param {Array=} opt_data Optional initial data array, typically from a
432
+ * server response, or constructed directly in Javascript. The array is used
433
+ * in place and becomes part of the constructed object. It is not cloned.
434
+ * If no data is provided, the constructed object will be empty, but still
435
+ * valid.
436
+ * @extends {jspb.Message}
437
+ * @constructor
438
+ */
439
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest = function(opt_data) {
440
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.repeatedFields_, null);
441
+ };
442
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest, jspb.Message);
443
+ if (goog.DEBUG && !COMPILED) {
444
+ /**
445
+ * @public
446
+ * @override
447
+ */
448
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.displayName = 'proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest';
449
+ }
450
+ /**
451
+ * Generated by JsPbCodeGenerator.
452
+ * @param {Array=} opt_data Optional initial data array, typically from a
453
+ * server response, or constructed directly in Javascript. The array is used
454
+ * in place and becomes part of the constructed object. It is not cloned.
455
+ * If no data is provided, the constructed object will be empty, but still
456
+ * valid.
457
+ * @extends {jspb.Message}
458
+ * @constructor
459
+ */
460
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity = function(opt_data) {
461
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
462
+ };
463
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.SourceEntity, jspb.Message);
464
+ if (goog.DEBUG && !COMPILED) {
465
+ /**
466
+ * @public
467
+ * @override
468
+ */
469
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity.displayName = 'proto.com.lansweeper.dp.outbound.v1.SourceEntity';
470
+ }
471
+ /**
472
+ * Generated by JsPbCodeGenerator.
473
+ * @param {Array=} opt_data Optional initial data array, typically from a
474
+ * server response, or constructed directly in Javascript. The array is used
475
+ * in place and becomes part of the constructed object. It is not cloned.
476
+ * If no data is provided, the constructed object will be empty, but still
477
+ * valid.
478
+ * @extends {jspb.Message}
479
+ * @constructor
480
+ */
481
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse = function(opt_data) {
482
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
483
+ };
484
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse, jspb.Message);
485
+ if (goog.DEBUG && !COMPILED) {
486
+ /**
487
+ * @public
488
+ * @override
489
+ */
490
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.displayName = 'proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse';
491
+ }
424
492
  /**
425
493
  * Generated by JsPbCodeGenerator.
426
494
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -8148,6 +8216,735 @@ proto.com.lansweeper.dp.outbound.v1.EntityFilter.prototype.hasVirtualState = fun
8148
8216
 
8149
8217
 
8150
8218
 
8219
+ /**
8220
+ * List of repeated fields within this message type.
8221
+ * @private {!Array<number>}
8222
+ * @const
8223
+ */
8224
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.repeatedFields_ = [2];
8225
+
8226
+
8227
+
8228
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8229
+ /**
8230
+ * Creates an object representation of this proto.
8231
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8232
+ * Optional fields that are not set will be set to undefined.
8233
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8234
+ * For the list of reserved names please see:
8235
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8236
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8237
+ * JSPB instance for transitional soy proto support:
8238
+ * http://goto/soy-param-migration
8239
+ * @return {!Object}
8240
+ */
8241
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.prototype.toObject = function(opt_includeInstance) {
8242
+ return proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.toObject(opt_includeInstance, this);
8243
+ };
8244
+
8245
+
8246
+ /**
8247
+ * Static version of the {@see toObject} method.
8248
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8249
+ * the JSPB instance for transitional soy proto support:
8250
+ * http://goto/soy-param-migration
8251
+ * @param {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest} msg The msg instance to transform.
8252
+ * @return {!Object}
8253
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8254
+ */
8255
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.toObject = function(includeInstance, msg) {
8256
+ var f, obj = {
8257
+ siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
8258
+ sourceEntityList: jspb.Message.toObjectList(msg.getSourceEntityList(),
8259
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity.toObject, includeInstance)
8260
+ };
8261
+
8262
+ if (includeInstance) {
8263
+ obj.$jspbMessageInstance = msg;
8264
+ }
8265
+ return obj;
8266
+ };
8267
+ }
8268
+
8269
+
8270
+ /**
8271
+ * Deserializes binary data (in protobuf wire format).
8272
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8273
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest}
8274
+ */
8275
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.deserializeBinary = function(bytes) {
8276
+ var reader = new jspb.BinaryReader(bytes);
8277
+ var msg = new proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest;
8278
+ return proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.deserializeBinaryFromReader(msg, reader);
8279
+ };
8280
+
8281
+
8282
+ /**
8283
+ * Deserializes binary data (in protobuf wire format) from the
8284
+ * given reader into the given message object.
8285
+ * @param {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest} msg The message object to deserialize into.
8286
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8287
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest}
8288
+ */
8289
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.deserializeBinaryFromReader = function(msg, reader) {
8290
+ while (reader.nextField()) {
8291
+ if (reader.isEndGroup()) {
8292
+ break;
8293
+ }
8294
+ var field = reader.getFieldNumber();
8295
+ switch (field) {
8296
+ case 1:
8297
+ var value = /** @type {string} */ (reader.readString());
8298
+ msg.setSiteId(value);
8299
+ break;
8300
+ case 2:
8301
+ var value = new proto.com.lansweeper.dp.outbound.v1.SourceEntity;
8302
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SourceEntity.deserializeBinaryFromReader);
8303
+ msg.addSourceEntity(value);
8304
+ break;
8305
+ default:
8306
+ reader.skipField();
8307
+ break;
8308
+ }
8309
+ }
8310
+ return msg;
8311
+ };
8312
+
8313
+
8314
+ /**
8315
+ * Serializes the message to binary data (in protobuf wire format).
8316
+ * @return {!Uint8Array}
8317
+ */
8318
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.prototype.serializeBinary = function() {
8319
+ var writer = new jspb.BinaryWriter();
8320
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.serializeBinaryToWriter(this, writer);
8321
+ return writer.getResultBuffer();
8322
+ };
8323
+
8324
+
8325
+ /**
8326
+ * Serializes the given message to binary data (in protobuf wire
8327
+ * format), writing to the given BinaryWriter.
8328
+ * @param {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest} message
8329
+ * @param {!jspb.BinaryWriter} writer
8330
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8331
+ */
8332
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.serializeBinaryToWriter = function(message, writer) {
8333
+ var f = undefined;
8334
+ f = message.getSiteId();
8335
+ if (f.length > 0) {
8336
+ writer.writeString(
8337
+ 1,
8338
+ f
8339
+ );
8340
+ }
8341
+ f = message.getSourceEntityList();
8342
+ if (f.length > 0) {
8343
+ writer.writeRepeatedMessage(
8344
+ 2,
8345
+ f,
8346
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity.serializeBinaryToWriter
8347
+ );
8348
+ }
8349
+ };
8350
+
8351
+
8352
+ /**
8353
+ * optional string site_id = 1;
8354
+ * @return {string}
8355
+ */
8356
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.prototype.getSiteId = function() {
8357
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
8358
+ };
8359
+
8360
+
8361
+ /**
8362
+ * @param {string} value
8363
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest} returns this
8364
+ */
8365
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.prototype.setSiteId = function(value) {
8366
+ return jspb.Message.setProto3StringField(this, 1, value);
8367
+ };
8368
+
8369
+
8370
+ /**
8371
+ * repeated SourceEntity source_entity = 2;
8372
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.SourceEntity>}
8373
+ */
8374
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.prototype.getSourceEntityList = function() {
8375
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.SourceEntity>} */ (
8376
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SourceEntity, 2));
8377
+ };
8378
+
8379
+
8380
+ /**
8381
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.SourceEntity>} value
8382
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest} returns this
8383
+ */
8384
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.prototype.setSourceEntityList = function(value) {
8385
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
8386
+ };
8387
+
8388
+
8389
+ /**
8390
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SourceEntity=} opt_value
8391
+ * @param {number=} opt_index
8392
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SourceEntity}
8393
+ */
8394
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.prototype.addSourceEntity = function(opt_value, opt_index) {
8395
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.dp.outbound.v1.SourceEntity, opt_index);
8396
+ };
8397
+
8398
+
8399
+ /**
8400
+ * Clears the list making it empty but non-null.
8401
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest} returns this
8402
+ */
8403
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdAndEntityTypeRequest.prototype.clearSourceEntityList = function() {
8404
+ return this.setSourceEntityList([]);
8405
+ };
8406
+
8407
+
8408
+
8409
+
8410
+
8411
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8412
+ /**
8413
+ * Creates an object representation of this proto.
8414
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8415
+ * Optional fields that are not set will be set to undefined.
8416
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8417
+ * For the list of reserved names please see:
8418
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8419
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8420
+ * JSPB instance for transitional soy proto support:
8421
+ * http://goto/soy-param-migration
8422
+ * @return {!Object}
8423
+ */
8424
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity.prototype.toObject = function(opt_includeInstance) {
8425
+ return proto.com.lansweeper.dp.outbound.v1.SourceEntity.toObject(opt_includeInstance, this);
8426
+ };
8427
+
8428
+
8429
+ /**
8430
+ * Static version of the {@see toObject} method.
8431
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8432
+ * the JSPB instance for transitional soy proto support:
8433
+ * http://goto/soy-param-migration
8434
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SourceEntity} msg The msg instance to transform.
8435
+ * @return {!Object}
8436
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8437
+ */
8438
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity.toObject = function(includeInstance, msg) {
8439
+ var f, obj = {
8440
+ rawSourceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
8441
+ entityType: jspb.Message.getFieldWithDefault(msg, 2, 0)
8442
+ };
8443
+
8444
+ if (includeInstance) {
8445
+ obj.$jspbMessageInstance = msg;
8446
+ }
8447
+ return obj;
8448
+ };
8449
+ }
8450
+
8451
+
8452
+ /**
8453
+ * Deserializes binary data (in protobuf wire format).
8454
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8455
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SourceEntity}
8456
+ */
8457
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity.deserializeBinary = function(bytes) {
8458
+ var reader = new jspb.BinaryReader(bytes);
8459
+ var msg = new proto.com.lansweeper.dp.outbound.v1.SourceEntity;
8460
+ return proto.com.lansweeper.dp.outbound.v1.SourceEntity.deserializeBinaryFromReader(msg, reader);
8461
+ };
8462
+
8463
+
8464
+ /**
8465
+ * Deserializes binary data (in protobuf wire format) from the
8466
+ * given reader into the given message object.
8467
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SourceEntity} msg The message object to deserialize into.
8468
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8469
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SourceEntity}
8470
+ */
8471
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity.deserializeBinaryFromReader = function(msg, reader) {
8472
+ while (reader.nextField()) {
8473
+ if (reader.isEndGroup()) {
8474
+ break;
8475
+ }
8476
+ var field = reader.getFieldNumber();
8477
+ switch (field) {
8478
+ case 1:
8479
+ var value = /** @type {string} */ (reader.readString());
8480
+ msg.setRawSourceId(value);
8481
+ break;
8482
+ case 2:
8483
+ var value = /** @type {!proto.com.lansweeper.dp.outbound.v1.SourceEntity.EntityType} */ (reader.readEnum());
8484
+ msg.setEntityType(value);
8485
+ break;
8486
+ default:
8487
+ reader.skipField();
8488
+ break;
8489
+ }
8490
+ }
8491
+ return msg;
8492
+ };
8493
+
8494
+
8495
+ /**
8496
+ * Serializes the message to binary data (in protobuf wire format).
8497
+ * @return {!Uint8Array}
8498
+ */
8499
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity.prototype.serializeBinary = function() {
8500
+ var writer = new jspb.BinaryWriter();
8501
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity.serializeBinaryToWriter(this, writer);
8502
+ return writer.getResultBuffer();
8503
+ };
8504
+
8505
+
8506
+ /**
8507
+ * Serializes the given message to binary data (in protobuf wire
8508
+ * format), writing to the given BinaryWriter.
8509
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SourceEntity} message
8510
+ * @param {!jspb.BinaryWriter} writer
8511
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8512
+ */
8513
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity.serializeBinaryToWriter = function(message, writer) {
8514
+ var f = undefined;
8515
+ f = message.getRawSourceId();
8516
+ if (f.length > 0) {
8517
+ writer.writeString(
8518
+ 1,
8519
+ f
8520
+ );
8521
+ }
8522
+ f = message.getEntityType();
8523
+ if (f !== 0.0) {
8524
+ writer.writeEnum(
8525
+ 2,
8526
+ f
8527
+ );
8528
+ }
8529
+ };
8530
+
8531
+
8532
+ /**
8533
+ * @enum {number}
8534
+ */
8535
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity.EntityType = {
8536
+ ASSET: 0,
8537
+ USER: 1,
8538
+ GROUP: 2
8539
+ };
8540
+
8541
+ /**
8542
+ * optional string raw_source_id = 1;
8543
+ * @return {string}
8544
+ */
8545
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity.prototype.getRawSourceId = function() {
8546
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
8547
+ };
8548
+
8549
+
8550
+ /**
8551
+ * @param {string} value
8552
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SourceEntity} returns this
8553
+ */
8554
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity.prototype.setRawSourceId = function(value) {
8555
+ return jspb.Message.setProto3StringField(this, 1, value);
8556
+ };
8557
+
8558
+
8559
+ /**
8560
+ * optional EntityType entity_type = 2;
8561
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SourceEntity.EntityType}
8562
+ */
8563
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity.prototype.getEntityType = function() {
8564
+ return /** @type {!proto.com.lansweeper.dp.outbound.v1.SourceEntity.EntityType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
8565
+ };
8566
+
8567
+
8568
+ /**
8569
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SourceEntity.EntityType} value
8570
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SourceEntity} returns this
8571
+ */
8572
+ proto.com.lansweeper.dp.outbound.v1.SourceEntity.prototype.setEntityType = function(value) {
8573
+ return jspb.Message.setProto3EnumField(this, 2, value);
8574
+ };
8575
+
8576
+
8577
+
8578
+
8579
+
8580
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8581
+ /**
8582
+ * Creates an object representation of this proto.
8583
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8584
+ * Optional fields that are not set will be set to undefined.
8585
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8586
+ * For the list of reserved names please see:
8587
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8588
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8589
+ * JSPB instance for transitional soy proto support:
8590
+ * http://goto/soy-param-migration
8591
+ * @return {!Object}
8592
+ */
8593
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.toObject = function(opt_includeInstance) {
8594
+ return proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.toObject(opt_includeInstance, this);
8595
+ };
8596
+
8597
+
8598
+ /**
8599
+ * Static version of the {@see toObject} method.
8600
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8601
+ * the JSPB instance for transitional soy proto support:
8602
+ * http://goto/soy-param-migration
8603
+ * @param {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse} msg The msg instance to transform.
8604
+ * @return {!Object}
8605
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8606
+ */
8607
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.toObject = function(includeInstance, msg) {
8608
+ var f, obj = {
8609
+ rawSourceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
8610
+ aliasId: jspb.Message.getFieldWithDefault(msg, 2, ""),
8611
+ processingStatus: jspb.Message.getFieldWithDefault(msg, 3, 0),
8612
+ tag: (f = msg.getTag()) && proto.com.lansweeper.dp.outbound.v1.Tag.toObject(includeInstance, f),
8613
+ entityPath: (f = msg.getEntityPath()) && proto.com.lansweeper.dp.outbound.v1.EntityPath.toObject(includeInstance, f),
8614
+ lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
8615
+ };
8616
+
8617
+ if (includeInstance) {
8618
+ obj.$jspbMessageInstance = msg;
8619
+ }
8620
+ return obj;
8621
+ };
8622
+ }
8623
+
8624
+
8625
+ /**
8626
+ * Deserializes binary data (in protobuf wire format).
8627
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8628
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse}
8629
+ */
8630
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.deserializeBinary = function(bytes) {
8631
+ var reader = new jspb.BinaryReader(bytes);
8632
+ var msg = new proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse;
8633
+ return proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.deserializeBinaryFromReader(msg, reader);
8634
+ };
8635
+
8636
+
8637
+ /**
8638
+ * Deserializes binary data (in protobuf wire format) from the
8639
+ * given reader into the given message object.
8640
+ * @param {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse} msg The message object to deserialize into.
8641
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8642
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse}
8643
+ */
8644
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.deserializeBinaryFromReader = function(msg, reader) {
8645
+ while (reader.nextField()) {
8646
+ if (reader.isEndGroup()) {
8647
+ break;
8648
+ }
8649
+ var field = reader.getFieldNumber();
8650
+ switch (field) {
8651
+ case 1:
8652
+ var value = /** @type {string} */ (reader.readString());
8653
+ msg.setRawSourceId(value);
8654
+ break;
8655
+ case 2:
8656
+ var value = /** @type {string} */ (reader.readString());
8657
+ msg.setAliasId(value);
8658
+ break;
8659
+ case 3:
8660
+ var value = /** @type {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.ProcessingStatus} */ (reader.readEnum());
8661
+ msg.setProcessingStatus(value);
8662
+ break;
8663
+ case 4:
8664
+ var value = new proto.com.lansweeper.dp.outbound.v1.Tag;
8665
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Tag.deserializeBinaryFromReader);
8666
+ msg.setTag(value);
8667
+ break;
8668
+ case 5:
8669
+ var value = new proto.com.lansweeper.dp.outbound.v1.EntityPath;
8670
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.EntityPath.deserializeBinaryFromReader);
8671
+ msg.setEntityPath(value);
8672
+ break;
8673
+ case 6:
8674
+ var value = new google_protobuf_timestamp_pb.Timestamp;
8675
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
8676
+ msg.setLastUpdated(value);
8677
+ break;
8678
+ default:
8679
+ reader.skipField();
8680
+ break;
8681
+ }
8682
+ }
8683
+ return msg;
8684
+ };
8685
+
8686
+
8687
+ /**
8688
+ * Serializes the message to binary data (in protobuf wire format).
8689
+ * @return {!Uint8Array}
8690
+ */
8691
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.serializeBinary = function() {
8692
+ var writer = new jspb.BinaryWriter();
8693
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.serializeBinaryToWriter(this, writer);
8694
+ return writer.getResultBuffer();
8695
+ };
8696
+
8697
+
8698
+ /**
8699
+ * Serializes the given message to binary data (in protobuf wire
8700
+ * format), writing to the given BinaryWriter.
8701
+ * @param {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse} message
8702
+ * @param {!jspb.BinaryWriter} writer
8703
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8704
+ */
8705
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.serializeBinaryToWriter = function(message, writer) {
8706
+ var f = undefined;
8707
+ f = message.getRawSourceId();
8708
+ if (f.length > 0) {
8709
+ writer.writeString(
8710
+ 1,
8711
+ f
8712
+ );
8713
+ }
8714
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
8715
+ if (f != null) {
8716
+ writer.writeString(
8717
+ 2,
8718
+ f
8719
+ );
8720
+ }
8721
+ f = message.getProcessingStatus();
8722
+ if (f !== 0.0) {
8723
+ writer.writeEnum(
8724
+ 3,
8725
+ f
8726
+ );
8727
+ }
8728
+ f = message.getTag();
8729
+ if (f != null) {
8730
+ writer.writeMessage(
8731
+ 4,
8732
+ f,
8733
+ proto.com.lansweeper.dp.outbound.v1.Tag.serializeBinaryToWriter
8734
+ );
8735
+ }
8736
+ f = message.getEntityPath();
8737
+ if (f != null) {
8738
+ writer.writeMessage(
8739
+ 5,
8740
+ f,
8741
+ proto.com.lansweeper.dp.outbound.v1.EntityPath.serializeBinaryToWriter
8742
+ );
8743
+ }
8744
+ f = message.getLastUpdated();
8745
+ if (f != null) {
8746
+ writer.writeMessage(
8747
+ 6,
8748
+ f,
8749
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
8750
+ );
8751
+ }
8752
+ };
8753
+
8754
+
8755
+ /**
8756
+ * @enum {number}
8757
+ */
8758
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.ProcessingStatus = {
8759
+ NOT_FOUND: 0,
8760
+ PROCESSED: 1,
8761
+ PROCESSING_FAILED: 2
8762
+ };
8763
+
8764
+ /**
8765
+ * optional string raw_source_id = 1;
8766
+ * @return {string}
8767
+ */
8768
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.getRawSourceId = function() {
8769
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
8770
+ };
8771
+
8772
+
8773
+ /**
8774
+ * @param {string} value
8775
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse} returns this
8776
+ */
8777
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.setRawSourceId = function(value) {
8778
+ return jspb.Message.setProto3StringField(this, 1, value);
8779
+ };
8780
+
8781
+
8782
+ /**
8783
+ * optional string alias_id = 2;
8784
+ * @return {string}
8785
+ */
8786
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.getAliasId = function() {
8787
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
8788
+ };
8789
+
8790
+
8791
+ /**
8792
+ * @param {string} value
8793
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse} returns this
8794
+ */
8795
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.setAliasId = function(value) {
8796
+ return jspb.Message.setField(this, 2, value);
8797
+ };
8798
+
8799
+
8800
+ /**
8801
+ * Clears the field making it undefined.
8802
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse} returns this
8803
+ */
8804
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.clearAliasId = function() {
8805
+ return jspb.Message.setField(this, 2, undefined);
8806
+ };
8807
+
8808
+
8809
+ /**
8810
+ * Returns whether this field is set.
8811
+ * @return {boolean}
8812
+ */
8813
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.hasAliasId = function() {
8814
+ return jspb.Message.getField(this, 2) != null;
8815
+ };
8816
+
8817
+
8818
+ /**
8819
+ * optional ProcessingStatus processing_status = 3;
8820
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.ProcessingStatus}
8821
+ */
8822
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.getProcessingStatus = function() {
8823
+ return /** @type {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.ProcessingStatus} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
8824
+ };
8825
+
8826
+
8827
+ /**
8828
+ * @param {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.ProcessingStatus} value
8829
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse} returns this
8830
+ */
8831
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.setProcessingStatus = function(value) {
8832
+ return jspb.Message.setProto3EnumField(this, 3, value);
8833
+ };
8834
+
8835
+
8836
+ /**
8837
+ * optional Tag tag = 4;
8838
+ * @return {?proto.com.lansweeper.dp.outbound.v1.Tag}
8839
+ */
8840
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.getTag = function() {
8841
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.Tag} */ (
8842
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Tag, 4));
8843
+ };
8844
+
8845
+
8846
+ /**
8847
+ * @param {?proto.com.lansweeper.dp.outbound.v1.Tag|undefined} value
8848
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse} returns this
8849
+ */
8850
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.setTag = function(value) {
8851
+ return jspb.Message.setWrapperField(this, 4, value);
8852
+ };
8853
+
8854
+
8855
+ /**
8856
+ * Clears the message field making it undefined.
8857
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse} returns this
8858
+ */
8859
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.clearTag = function() {
8860
+ return this.setTag(undefined);
8861
+ };
8862
+
8863
+
8864
+ /**
8865
+ * Returns whether this field is set.
8866
+ * @return {boolean}
8867
+ */
8868
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.hasTag = function() {
8869
+ return jspb.Message.getField(this, 4) != null;
8870
+ };
8871
+
8872
+
8873
+ /**
8874
+ * optional EntityPath entity_path = 5;
8875
+ * @return {?proto.com.lansweeper.dp.outbound.v1.EntityPath}
8876
+ */
8877
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.getEntityPath = function() {
8878
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.EntityPath} */ (
8879
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.EntityPath, 5));
8880
+ };
8881
+
8882
+
8883
+ /**
8884
+ * @param {?proto.com.lansweeper.dp.outbound.v1.EntityPath|undefined} value
8885
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse} returns this
8886
+ */
8887
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.setEntityPath = function(value) {
8888
+ return jspb.Message.setWrapperField(this, 5, value);
8889
+ };
8890
+
8891
+
8892
+ /**
8893
+ * Clears the message field making it undefined.
8894
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse} returns this
8895
+ */
8896
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.clearEntityPath = function() {
8897
+ return this.setEntityPath(undefined);
8898
+ };
8899
+
8900
+
8901
+ /**
8902
+ * Returns whether this field is set.
8903
+ * @return {boolean}
8904
+ */
8905
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.hasEntityPath = function() {
8906
+ return jspb.Message.getField(this, 5) != null;
8907
+ };
8908
+
8909
+
8910
+ /**
8911
+ * optional google.protobuf.Timestamp last_updated = 6;
8912
+ * @return {?proto.google.protobuf.Timestamp}
8913
+ */
8914
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.getLastUpdated = function() {
8915
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
8916
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
8917
+ };
8918
+
8919
+
8920
+ /**
8921
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
8922
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse} returns this
8923
+ */
8924
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.setLastUpdated = function(value) {
8925
+ return jspb.Message.setWrapperField(this, 6, value);
8926
+ };
8927
+
8928
+
8929
+ /**
8930
+ * Clears the message field making it undefined.
8931
+ * @return {!proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse} returns this
8932
+ */
8933
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.clearLastUpdated = function() {
8934
+ return this.setLastUpdated(undefined);
8935
+ };
8936
+
8937
+
8938
+ /**
8939
+ * Returns whether this field is set.
8940
+ * @return {boolean}
8941
+ */
8942
+ proto.com.lansweeper.dp.outbound.v1.GetEntityIdByRawSourceIdResponse.prototype.hasLastUpdated = function() {
8943
+ return jspb.Message.getField(this, 6) != null;
8944
+ };
8945
+
8946
+
8947
+
8151
8948
 
8152
8949
 
8153
8950
  if (jspb.Message.GENERATE_TO_OBJECT) {