@lansweeper/data-platform-outbound-grpc 0.1.135 → 0.1.136

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.
@@ -193,8 +193,13 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Relation', null, global);
193
193
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.RunningProcess', null, global);
194
194
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScanError', null, global);
195
195
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScannedPort', null, global);
196
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SccmClient', null, global);
197
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SccmInfo', null, global);
198
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SccmServer', null, global);
199
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SccmSite', null, global);
196
200
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScsiController', null, global);
197
201
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SerialPort', null, global);
202
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ServerGroup', null, global);
198
203
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SetIpLocationConfigRequest', null, global);
199
204
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SetIpLocationConfigResponse', null, global);
200
205
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SharedPermission', null, global);
@@ -624,6 +629,111 @@ if (goog.DEBUG && !COMPILED) {
624
629
  */
625
630
  proto.com.lansweeper.dp.outbound.v1.Computer.displayName = 'proto.com.lansweeper.dp.outbound.v1.Computer';
626
631
  }
632
+ /**
633
+ * Generated by JsPbCodeGenerator.
634
+ * @param {Array=} opt_data Optional initial data array, typically from a
635
+ * server response, or constructed directly in Javascript. The array is used
636
+ * in place and becomes part of the constructed object. It is not cloned.
637
+ * If no data is provided, the constructed object will be empty, but still
638
+ * valid.
639
+ * @extends {jspb.Message}
640
+ * @constructor
641
+ */
642
+ proto.com.lansweeper.dp.outbound.v1.ServerGroup = function(opt_data) {
643
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
644
+ };
645
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.ServerGroup, jspb.Message);
646
+ if (goog.DEBUG && !COMPILED) {
647
+ /**
648
+ * @public
649
+ * @override
650
+ */
651
+ proto.com.lansweeper.dp.outbound.v1.ServerGroup.displayName = 'proto.com.lansweeper.dp.outbound.v1.ServerGroup';
652
+ }
653
+ /**
654
+ * Generated by JsPbCodeGenerator.
655
+ * @param {Array=} opt_data Optional initial data array, typically from a
656
+ * server response, or constructed directly in Javascript. The array is used
657
+ * in place and becomes part of the constructed object. It is not cloned.
658
+ * If no data is provided, the constructed object will be empty, but still
659
+ * valid.
660
+ * @extends {jspb.Message}
661
+ * @constructor
662
+ */
663
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo = function(opt_data) {
664
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
665
+ };
666
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.SccmInfo, jspb.Message);
667
+ if (goog.DEBUG && !COMPILED) {
668
+ /**
669
+ * @public
670
+ * @override
671
+ */
672
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.SccmInfo';
673
+ }
674
+ /**
675
+ * Generated by JsPbCodeGenerator.
676
+ * @param {Array=} opt_data Optional initial data array, typically from a
677
+ * server response, or constructed directly in Javascript. The array is used
678
+ * in place and becomes part of the constructed object. It is not cloned.
679
+ * If no data is provided, the constructed object will be empty, but still
680
+ * valid.
681
+ * @extends {jspb.Message}
682
+ * @constructor
683
+ */
684
+ proto.com.lansweeper.dp.outbound.v1.SccmServer = function(opt_data) {
685
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
686
+ };
687
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.SccmServer, jspb.Message);
688
+ if (goog.DEBUG && !COMPILED) {
689
+ /**
690
+ * @public
691
+ * @override
692
+ */
693
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.displayName = 'proto.com.lansweeper.dp.outbound.v1.SccmServer';
694
+ }
695
+ /**
696
+ * Generated by JsPbCodeGenerator.
697
+ * @param {Array=} opt_data Optional initial data array, typically from a
698
+ * server response, or constructed directly in Javascript. The array is used
699
+ * in place and becomes part of the constructed object. It is not cloned.
700
+ * If no data is provided, the constructed object will be empty, but still
701
+ * valid.
702
+ * @extends {jspb.Message}
703
+ * @constructor
704
+ */
705
+ proto.com.lansweeper.dp.outbound.v1.SccmSite = function(opt_data) {
706
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
707
+ };
708
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.SccmSite, jspb.Message);
709
+ if (goog.DEBUG && !COMPILED) {
710
+ /**
711
+ * @public
712
+ * @override
713
+ */
714
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.displayName = 'proto.com.lansweeper.dp.outbound.v1.SccmSite';
715
+ }
716
+ /**
717
+ * Generated by JsPbCodeGenerator.
718
+ * @param {Array=} opt_data Optional initial data array, typically from a
719
+ * server response, or constructed directly in Javascript. The array is used
720
+ * in place and becomes part of the constructed object. It is not cloned.
721
+ * If no data is provided, the constructed object will be empty, but still
722
+ * valid.
723
+ * @extends {jspb.Message}
724
+ * @constructor
725
+ */
726
+ proto.com.lansweeper.dp.outbound.v1.SccmClient = function(opt_data) {
727
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
728
+ };
729
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.SccmClient, jspb.Message);
730
+ if (goog.DEBUG && !COMPILED) {
731
+ /**
732
+ * @public
733
+ * @override
734
+ */
735
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.displayName = 'proto.com.lansweeper.dp.outbound.v1.SccmClient';
736
+ }
627
737
  /**
628
738
  * Generated by JsPbCodeGenerator.
629
739
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -8135,6 +8245,7 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
8135
8245
  warrantyInfoList: jspb.Message.toObjectList(msg.getWarrantyInfoList(),
8136
8246
  proto.com.lansweeper.dp.outbound.v1.WarrantyInfo.toObject, includeInstance),
8137
8247
  computer: (f = msg.getComputer()) && proto.com.lansweeper.dp.outbound.v1.Computer.toObject(includeInstance, f),
8248
+ serverGroup: (f = msg.getServerGroup()) && proto.com.lansweeper.dp.outbound.v1.ServerGroup.toObject(includeInstance, f),
8138
8249
  printer: (f = msg.getPrinter()) && proto.com.lansweeper.dp.outbound.v1.Printer.toObject(includeInstance, f),
8139
8250
  ups: (f = msg.getUps()) && proto.com.lansweeper.dp.outbound.v1.Ups.toObject(includeInstance, f),
8140
8251
  otModule: (f = msg.getOtModule()) && proto.com.lansweeper.dp.outbound.v1.OtModule.toObject(includeInstance, f),
@@ -8299,6 +8410,11 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
8299
8410
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Computer.deserializeBinaryFromReader);
8300
8411
  msg.setComputer(value);
8301
8412
  break;
8413
+ case 87:
8414
+ var value = new proto.com.lansweeper.dp.outbound.v1.ServerGroup;
8415
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ServerGroup.deserializeBinaryFromReader);
8416
+ msg.setServerGroup(value);
8417
+ break;
8302
8418
  case 84:
8303
8419
  var value = new proto.com.lansweeper.dp.outbound.v1.Printer;
8304
8420
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Printer.deserializeBinaryFromReader);
@@ -8550,6 +8666,14 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
8550
8666
  proto.com.lansweeper.dp.outbound.v1.Computer.serializeBinaryToWriter
8551
8667
  );
8552
8668
  }
8669
+ f = message.getServerGroup();
8670
+ if (f != null) {
8671
+ writer.writeMessage(
8672
+ 87,
8673
+ f,
8674
+ proto.com.lansweeper.dp.outbound.v1.ServerGroup.serializeBinaryToWriter
8675
+ );
8676
+ }
8553
8677
  f = message.getPrinter();
8554
8678
  if (f != null) {
8555
8679
  writer.writeMessage(
@@ -9521,6 +9645,43 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasComputer = function() {
9521
9645
  };
9522
9646
 
9523
9647
 
9648
+ /**
9649
+ * optional ServerGroup server_group = 87;
9650
+ * @return {?proto.com.lansweeper.dp.outbound.v1.ServerGroup}
9651
+ */
9652
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getServerGroup = function() {
9653
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.ServerGroup} */ (
9654
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.ServerGroup, 87));
9655
+ };
9656
+
9657
+
9658
+ /**
9659
+ * @param {?proto.com.lansweeper.dp.outbound.v1.ServerGroup|undefined} value
9660
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
9661
+ */
9662
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setServerGroup = function(value) {
9663
+ return jspb.Message.setWrapperField(this, 87, value);
9664
+ };
9665
+
9666
+
9667
+ /**
9668
+ * Clears the message field making it undefined.
9669
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
9670
+ */
9671
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearServerGroup = function() {
9672
+ return this.setServerGroup(undefined);
9673
+ };
9674
+
9675
+
9676
+ /**
9677
+ * Returns whether this field is set.
9678
+ * @return {boolean}
9679
+ */
9680
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasServerGroup = function() {
9681
+ return jspb.Message.getField(this, 87) != null;
9682
+ };
9683
+
9684
+
9524
9685
  /**
9525
9686
  * optional Printer printer = 84;
9526
9687
  * @return {?proto.com.lansweeper.dp.outbound.v1.Printer}
@@ -14941,6 +15102,1328 @@ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.clearUserInGroupList = fu
14941
15102
 
14942
15103
 
14943
15104
 
15105
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15106
+ /**
15107
+ * Creates an object representation of this proto.
15108
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15109
+ * Optional fields that are not set will be set to undefined.
15110
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15111
+ * For the list of reserved names please see:
15112
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15113
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15114
+ * JSPB instance for transitional soy proto support:
15115
+ * http://goto/soy-param-migration
15116
+ * @return {!Object}
15117
+ */
15118
+ proto.com.lansweeper.dp.outbound.v1.ServerGroup.prototype.toObject = function(opt_includeInstance) {
15119
+ return proto.com.lansweeper.dp.outbound.v1.ServerGroup.toObject(opt_includeInstance, this);
15120
+ };
15121
+
15122
+
15123
+ /**
15124
+ * Static version of the {@see toObject} method.
15125
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15126
+ * the JSPB instance for transitional soy proto support:
15127
+ * http://goto/soy-param-migration
15128
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ServerGroup} msg The msg instance to transform.
15129
+ * @return {!Object}
15130
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15131
+ */
15132
+ proto.com.lansweeper.dp.outbound.v1.ServerGroup.toObject = function(includeInstance, msg) {
15133
+ var f, obj = {
15134
+ sccmInfo: (f = msg.getSccmInfo()) && proto.com.lansweeper.dp.outbound.v1.SccmInfo.toObject(includeInstance, f)
15135
+ };
15136
+
15137
+ if (includeInstance) {
15138
+ obj.$jspbMessageInstance = msg;
15139
+ }
15140
+ return obj;
15141
+ };
15142
+ }
15143
+
15144
+
15145
+ /**
15146
+ * Deserializes binary data (in protobuf wire format).
15147
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15148
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ServerGroup}
15149
+ */
15150
+ proto.com.lansweeper.dp.outbound.v1.ServerGroup.deserializeBinary = function(bytes) {
15151
+ var reader = new jspb.BinaryReader(bytes);
15152
+ var msg = new proto.com.lansweeper.dp.outbound.v1.ServerGroup;
15153
+ return proto.com.lansweeper.dp.outbound.v1.ServerGroup.deserializeBinaryFromReader(msg, reader);
15154
+ };
15155
+
15156
+
15157
+ /**
15158
+ * Deserializes binary data (in protobuf wire format) from the
15159
+ * given reader into the given message object.
15160
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ServerGroup} msg The message object to deserialize into.
15161
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15162
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ServerGroup}
15163
+ */
15164
+ proto.com.lansweeper.dp.outbound.v1.ServerGroup.deserializeBinaryFromReader = function(msg, reader) {
15165
+ while (reader.nextField()) {
15166
+ if (reader.isEndGroup()) {
15167
+ break;
15168
+ }
15169
+ var field = reader.getFieldNumber();
15170
+ switch (field) {
15171
+ case 1:
15172
+ var value = new proto.com.lansweeper.dp.outbound.v1.SccmInfo;
15173
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SccmInfo.deserializeBinaryFromReader);
15174
+ msg.setSccmInfo(value);
15175
+ break;
15176
+ default:
15177
+ reader.skipField();
15178
+ break;
15179
+ }
15180
+ }
15181
+ return msg;
15182
+ };
15183
+
15184
+
15185
+ /**
15186
+ * Serializes the message to binary data (in protobuf wire format).
15187
+ * @return {!Uint8Array}
15188
+ */
15189
+ proto.com.lansweeper.dp.outbound.v1.ServerGroup.prototype.serializeBinary = function() {
15190
+ var writer = new jspb.BinaryWriter();
15191
+ proto.com.lansweeper.dp.outbound.v1.ServerGroup.serializeBinaryToWriter(this, writer);
15192
+ return writer.getResultBuffer();
15193
+ };
15194
+
15195
+
15196
+ /**
15197
+ * Serializes the given message to binary data (in protobuf wire
15198
+ * format), writing to the given BinaryWriter.
15199
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ServerGroup} message
15200
+ * @param {!jspb.BinaryWriter} writer
15201
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15202
+ */
15203
+ proto.com.lansweeper.dp.outbound.v1.ServerGroup.serializeBinaryToWriter = function(message, writer) {
15204
+ var f = undefined;
15205
+ f = message.getSccmInfo();
15206
+ if (f != null) {
15207
+ writer.writeMessage(
15208
+ 1,
15209
+ f,
15210
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.serializeBinaryToWriter
15211
+ );
15212
+ }
15213
+ };
15214
+
15215
+
15216
+ /**
15217
+ * optional SccmInfo sccm_info = 1;
15218
+ * @return {?proto.com.lansweeper.dp.outbound.v1.SccmInfo}
15219
+ */
15220
+ proto.com.lansweeper.dp.outbound.v1.ServerGroup.prototype.getSccmInfo = function() {
15221
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.SccmInfo} */ (
15222
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SccmInfo, 1));
15223
+ };
15224
+
15225
+
15226
+ /**
15227
+ * @param {?proto.com.lansweeper.dp.outbound.v1.SccmInfo|undefined} value
15228
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ServerGroup} returns this
15229
+ */
15230
+ proto.com.lansweeper.dp.outbound.v1.ServerGroup.prototype.setSccmInfo = function(value) {
15231
+ return jspb.Message.setWrapperField(this, 1, value);
15232
+ };
15233
+
15234
+
15235
+ /**
15236
+ * Clears the message field making it undefined.
15237
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ServerGroup} returns this
15238
+ */
15239
+ proto.com.lansweeper.dp.outbound.v1.ServerGroup.prototype.clearSccmInfo = function() {
15240
+ return this.setSccmInfo(undefined);
15241
+ };
15242
+
15243
+
15244
+ /**
15245
+ * Returns whether this field is set.
15246
+ * @return {boolean}
15247
+ */
15248
+ proto.com.lansweeper.dp.outbound.v1.ServerGroup.prototype.hasSccmInfo = function() {
15249
+ return jspb.Message.getField(this, 1) != null;
15250
+ };
15251
+
15252
+
15253
+
15254
+
15255
+
15256
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15257
+ /**
15258
+ * Creates an object representation of this proto.
15259
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15260
+ * Optional fields that are not set will be set to undefined.
15261
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15262
+ * For the list of reserved names please see:
15263
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15264
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15265
+ * JSPB instance for transitional soy proto support:
15266
+ * http://goto/soy-param-migration
15267
+ * @return {!Object}
15268
+ */
15269
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.toObject = function(opt_includeInstance) {
15270
+ return proto.com.lansweeper.dp.outbound.v1.SccmInfo.toObject(opt_includeInstance, this);
15271
+ };
15272
+
15273
+
15274
+ /**
15275
+ * Static version of the {@see toObject} method.
15276
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15277
+ * the JSPB instance for transitional soy proto support:
15278
+ * http://goto/soy-param-migration
15279
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SccmInfo} msg The msg instance to transform.
15280
+ * @return {!Object}
15281
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15282
+ */
15283
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.toObject = function(includeInstance, msg) {
15284
+ var f, obj = {
15285
+ timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
15286
+ sccmServer: (f = msg.getSccmServer()) && proto.com.lansweeper.dp.outbound.v1.SccmServer.toObject(includeInstance, f),
15287
+ sccmSite: (f = msg.getSccmSite()) && proto.com.lansweeper.dp.outbound.v1.SccmSite.toObject(includeInstance, f),
15288
+ resourceId: jspb.Message.getFieldWithDefault(msg, 4, 0),
15289
+ sccmClient: (f = msg.getSccmClient()) && proto.com.lansweeper.dp.outbound.v1.SccmClient.toObject(includeInstance, f),
15290
+ creationDate: (f = msg.getCreationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
15291
+ };
15292
+
15293
+ if (includeInstance) {
15294
+ obj.$jspbMessageInstance = msg;
15295
+ }
15296
+ return obj;
15297
+ };
15298
+ }
15299
+
15300
+
15301
+ /**
15302
+ * Deserializes binary data (in protobuf wire format).
15303
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15304
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmInfo}
15305
+ */
15306
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.deserializeBinary = function(bytes) {
15307
+ var reader = new jspb.BinaryReader(bytes);
15308
+ var msg = new proto.com.lansweeper.dp.outbound.v1.SccmInfo;
15309
+ return proto.com.lansweeper.dp.outbound.v1.SccmInfo.deserializeBinaryFromReader(msg, reader);
15310
+ };
15311
+
15312
+
15313
+ /**
15314
+ * Deserializes binary data (in protobuf wire format) from the
15315
+ * given reader into the given message object.
15316
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SccmInfo} msg The message object to deserialize into.
15317
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15318
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmInfo}
15319
+ */
15320
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.deserializeBinaryFromReader = function(msg, reader) {
15321
+ while (reader.nextField()) {
15322
+ if (reader.isEndGroup()) {
15323
+ break;
15324
+ }
15325
+ var field = reader.getFieldNumber();
15326
+ switch (field) {
15327
+ case 1:
15328
+ var value = new google_protobuf_timestamp_pb.Timestamp;
15329
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
15330
+ msg.setTimestamp(value);
15331
+ break;
15332
+ case 2:
15333
+ var value = new proto.com.lansweeper.dp.outbound.v1.SccmServer;
15334
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SccmServer.deserializeBinaryFromReader);
15335
+ msg.setSccmServer(value);
15336
+ break;
15337
+ case 3:
15338
+ var value = new proto.com.lansweeper.dp.outbound.v1.SccmSite;
15339
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SccmSite.deserializeBinaryFromReader);
15340
+ msg.setSccmSite(value);
15341
+ break;
15342
+ case 4:
15343
+ var value = /** @type {number} */ (reader.readInt64());
15344
+ msg.setResourceId(value);
15345
+ break;
15346
+ case 5:
15347
+ var value = new proto.com.lansweeper.dp.outbound.v1.SccmClient;
15348
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SccmClient.deserializeBinaryFromReader);
15349
+ msg.setSccmClient(value);
15350
+ break;
15351
+ case 6:
15352
+ var value = new google_protobuf_timestamp_pb.Timestamp;
15353
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
15354
+ msg.setCreationDate(value);
15355
+ break;
15356
+ default:
15357
+ reader.skipField();
15358
+ break;
15359
+ }
15360
+ }
15361
+ return msg;
15362
+ };
15363
+
15364
+
15365
+ /**
15366
+ * Serializes the message to binary data (in protobuf wire format).
15367
+ * @return {!Uint8Array}
15368
+ */
15369
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.serializeBinary = function() {
15370
+ var writer = new jspb.BinaryWriter();
15371
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.serializeBinaryToWriter(this, writer);
15372
+ return writer.getResultBuffer();
15373
+ };
15374
+
15375
+
15376
+ /**
15377
+ * Serializes the given message to binary data (in protobuf wire
15378
+ * format), writing to the given BinaryWriter.
15379
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SccmInfo} message
15380
+ * @param {!jspb.BinaryWriter} writer
15381
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15382
+ */
15383
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.serializeBinaryToWriter = function(message, writer) {
15384
+ var f = undefined;
15385
+ f = message.getTimestamp();
15386
+ if (f != null) {
15387
+ writer.writeMessage(
15388
+ 1,
15389
+ f,
15390
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
15391
+ );
15392
+ }
15393
+ f = message.getSccmServer();
15394
+ if (f != null) {
15395
+ writer.writeMessage(
15396
+ 2,
15397
+ f,
15398
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.serializeBinaryToWriter
15399
+ );
15400
+ }
15401
+ f = message.getSccmSite();
15402
+ if (f != null) {
15403
+ writer.writeMessage(
15404
+ 3,
15405
+ f,
15406
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.serializeBinaryToWriter
15407
+ );
15408
+ }
15409
+ f = message.getResourceId();
15410
+ if (f !== 0) {
15411
+ writer.writeInt64(
15412
+ 4,
15413
+ f
15414
+ );
15415
+ }
15416
+ f = message.getSccmClient();
15417
+ if (f != null) {
15418
+ writer.writeMessage(
15419
+ 5,
15420
+ f,
15421
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.serializeBinaryToWriter
15422
+ );
15423
+ }
15424
+ f = message.getCreationDate();
15425
+ if (f != null) {
15426
+ writer.writeMessage(
15427
+ 6,
15428
+ f,
15429
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
15430
+ );
15431
+ }
15432
+ };
15433
+
15434
+
15435
+ /**
15436
+ * optional google.protobuf.Timestamp timestamp = 1;
15437
+ * @return {?proto.google.protobuf.Timestamp}
15438
+ */
15439
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.getTimestamp = function() {
15440
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
15441
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
15442
+ };
15443
+
15444
+
15445
+ /**
15446
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
15447
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmInfo} returns this
15448
+ */
15449
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.setTimestamp = function(value) {
15450
+ return jspb.Message.setWrapperField(this, 1, value);
15451
+ };
15452
+
15453
+
15454
+ /**
15455
+ * Clears the message field making it undefined.
15456
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmInfo} returns this
15457
+ */
15458
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.clearTimestamp = function() {
15459
+ return this.setTimestamp(undefined);
15460
+ };
15461
+
15462
+
15463
+ /**
15464
+ * Returns whether this field is set.
15465
+ * @return {boolean}
15466
+ */
15467
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.hasTimestamp = function() {
15468
+ return jspb.Message.getField(this, 1) != null;
15469
+ };
15470
+
15471
+
15472
+ /**
15473
+ * optional SccmServer sccm_server = 2;
15474
+ * @return {?proto.com.lansweeper.dp.outbound.v1.SccmServer}
15475
+ */
15476
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.getSccmServer = function() {
15477
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.SccmServer} */ (
15478
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SccmServer, 2));
15479
+ };
15480
+
15481
+
15482
+ /**
15483
+ * @param {?proto.com.lansweeper.dp.outbound.v1.SccmServer|undefined} value
15484
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmInfo} returns this
15485
+ */
15486
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.setSccmServer = function(value) {
15487
+ return jspb.Message.setWrapperField(this, 2, value);
15488
+ };
15489
+
15490
+
15491
+ /**
15492
+ * Clears the message field making it undefined.
15493
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmInfo} returns this
15494
+ */
15495
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.clearSccmServer = function() {
15496
+ return this.setSccmServer(undefined);
15497
+ };
15498
+
15499
+
15500
+ /**
15501
+ * Returns whether this field is set.
15502
+ * @return {boolean}
15503
+ */
15504
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.hasSccmServer = function() {
15505
+ return jspb.Message.getField(this, 2) != null;
15506
+ };
15507
+
15508
+
15509
+ /**
15510
+ * optional SccmSite sccm_site = 3;
15511
+ * @return {?proto.com.lansweeper.dp.outbound.v1.SccmSite}
15512
+ */
15513
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.getSccmSite = function() {
15514
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.SccmSite} */ (
15515
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SccmSite, 3));
15516
+ };
15517
+
15518
+
15519
+ /**
15520
+ * @param {?proto.com.lansweeper.dp.outbound.v1.SccmSite|undefined} value
15521
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmInfo} returns this
15522
+ */
15523
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.setSccmSite = function(value) {
15524
+ return jspb.Message.setWrapperField(this, 3, value);
15525
+ };
15526
+
15527
+
15528
+ /**
15529
+ * Clears the message field making it undefined.
15530
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmInfo} returns this
15531
+ */
15532
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.clearSccmSite = function() {
15533
+ return this.setSccmSite(undefined);
15534
+ };
15535
+
15536
+
15537
+ /**
15538
+ * Returns whether this field is set.
15539
+ * @return {boolean}
15540
+ */
15541
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.hasSccmSite = function() {
15542
+ return jspb.Message.getField(this, 3) != null;
15543
+ };
15544
+
15545
+
15546
+ /**
15547
+ * optional int64 resource_id = 4;
15548
+ * @return {number}
15549
+ */
15550
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.getResourceId = function() {
15551
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
15552
+ };
15553
+
15554
+
15555
+ /**
15556
+ * @param {number} value
15557
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmInfo} returns this
15558
+ */
15559
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.setResourceId = function(value) {
15560
+ return jspb.Message.setProto3IntField(this, 4, value);
15561
+ };
15562
+
15563
+
15564
+ /**
15565
+ * optional SccmClient sccm_client = 5;
15566
+ * @return {?proto.com.lansweeper.dp.outbound.v1.SccmClient}
15567
+ */
15568
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.getSccmClient = function() {
15569
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.SccmClient} */ (
15570
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SccmClient, 5));
15571
+ };
15572
+
15573
+
15574
+ /**
15575
+ * @param {?proto.com.lansweeper.dp.outbound.v1.SccmClient|undefined} value
15576
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmInfo} returns this
15577
+ */
15578
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.setSccmClient = function(value) {
15579
+ return jspb.Message.setWrapperField(this, 5, value);
15580
+ };
15581
+
15582
+
15583
+ /**
15584
+ * Clears the message field making it undefined.
15585
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmInfo} returns this
15586
+ */
15587
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.clearSccmClient = function() {
15588
+ return this.setSccmClient(undefined);
15589
+ };
15590
+
15591
+
15592
+ /**
15593
+ * Returns whether this field is set.
15594
+ * @return {boolean}
15595
+ */
15596
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.hasSccmClient = function() {
15597
+ return jspb.Message.getField(this, 5) != null;
15598
+ };
15599
+
15600
+
15601
+ /**
15602
+ * optional google.protobuf.Timestamp creation_date = 6;
15603
+ * @return {?proto.google.protobuf.Timestamp}
15604
+ */
15605
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.getCreationDate = function() {
15606
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
15607
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
15608
+ };
15609
+
15610
+
15611
+ /**
15612
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
15613
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmInfo} returns this
15614
+ */
15615
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.setCreationDate = function(value) {
15616
+ return jspb.Message.setWrapperField(this, 6, value);
15617
+ };
15618
+
15619
+
15620
+ /**
15621
+ * Clears the message field making it undefined.
15622
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmInfo} returns this
15623
+ */
15624
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.clearCreationDate = function() {
15625
+ return this.setCreationDate(undefined);
15626
+ };
15627
+
15628
+
15629
+ /**
15630
+ * Returns whether this field is set.
15631
+ * @return {boolean}
15632
+ */
15633
+ proto.com.lansweeper.dp.outbound.v1.SccmInfo.prototype.hasCreationDate = function() {
15634
+ return jspb.Message.getField(this, 6) != null;
15635
+ };
15636
+
15637
+
15638
+
15639
+
15640
+
15641
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15642
+ /**
15643
+ * Creates an object representation of this proto.
15644
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15645
+ * Optional fields that are not set will be set to undefined.
15646
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15647
+ * For the list of reserved names please see:
15648
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15649
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15650
+ * JSPB instance for transitional soy proto support:
15651
+ * http://goto/soy-param-migration
15652
+ * @return {!Object}
15653
+ */
15654
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.prototype.toObject = function(opt_includeInstance) {
15655
+ return proto.com.lansweeper.dp.outbound.v1.SccmServer.toObject(opt_includeInstance, this);
15656
+ };
15657
+
15658
+
15659
+ /**
15660
+ * Static version of the {@see toObject} method.
15661
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15662
+ * the JSPB instance for transitional soy proto support:
15663
+ * http://goto/soy-param-migration
15664
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SccmServer} msg The msg instance to transform.
15665
+ * @return {!Object}
15666
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15667
+ */
15668
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.toObject = function(includeInstance, msg) {
15669
+ var f, obj = {
15670
+ server: (f = msg.getServer()) && proto.com.lansweeper.dp.outbound.v1.EntityPath.toObject(includeInstance, f),
15671
+ serverName: jspb.Message.getFieldWithDefault(msg, 2, ""),
15672
+ domain: jspb.Message.getFieldWithDefault(msg, 3, "")
15673
+ };
15674
+
15675
+ if (includeInstance) {
15676
+ obj.$jspbMessageInstance = msg;
15677
+ }
15678
+ return obj;
15679
+ };
15680
+ }
15681
+
15682
+
15683
+ /**
15684
+ * Deserializes binary data (in protobuf wire format).
15685
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15686
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmServer}
15687
+ */
15688
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.deserializeBinary = function(bytes) {
15689
+ var reader = new jspb.BinaryReader(bytes);
15690
+ var msg = new proto.com.lansweeper.dp.outbound.v1.SccmServer;
15691
+ return proto.com.lansweeper.dp.outbound.v1.SccmServer.deserializeBinaryFromReader(msg, reader);
15692
+ };
15693
+
15694
+
15695
+ /**
15696
+ * Deserializes binary data (in protobuf wire format) from the
15697
+ * given reader into the given message object.
15698
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SccmServer} msg The message object to deserialize into.
15699
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15700
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmServer}
15701
+ */
15702
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.deserializeBinaryFromReader = function(msg, reader) {
15703
+ while (reader.nextField()) {
15704
+ if (reader.isEndGroup()) {
15705
+ break;
15706
+ }
15707
+ var field = reader.getFieldNumber();
15708
+ switch (field) {
15709
+ case 1:
15710
+ var value = new proto.com.lansweeper.dp.outbound.v1.EntityPath;
15711
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.EntityPath.deserializeBinaryFromReader);
15712
+ msg.setServer(value);
15713
+ break;
15714
+ case 2:
15715
+ var value = /** @type {string} */ (reader.readString());
15716
+ msg.setServerName(value);
15717
+ break;
15718
+ case 3:
15719
+ var value = /** @type {string} */ (reader.readString());
15720
+ msg.setDomain(value);
15721
+ break;
15722
+ default:
15723
+ reader.skipField();
15724
+ break;
15725
+ }
15726
+ }
15727
+ return msg;
15728
+ };
15729
+
15730
+
15731
+ /**
15732
+ * Serializes the message to binary data (in protobuf wire format).
15733
+ * @return {!Uint8Array}
15734
+ */
15735
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.prototype.serializeBinary = function() {
15736
+ var writer = new jspb.BinaryWriter();
15737
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.serializeBinaryToWriter(this, writer);
15738
+ return writer.getResultBuffer();
15739
+ };
15740
+
15741
+
15742
+ /**
15743
+ * Serializes the given message to binary data (in protobuf wire
15744
+ * format), writing to the given BinaryWriter.
15745
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SccmServer} message
15746
+ * @param {!jspb.BinaryWriter} writer
15747
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15748
+ */
15749
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.serializeBinaryToWriter = function(message, writer) {
15750
+ var f = undefined;
15751
+ f = message.getServer();
15752
+ if (f != null) {
15753
+ writer.writeMessage(
15754
+ 1,
15755
+ f,
15756
+ proto.com.lansweeper.dp.outbound.v1.EntityPath.serializeBinaryToWriter
15757
+ );
15758
+ }
15759
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
15760
+ if (f != null) {
15761
+ writer.writeString(
15762
+ 2,
15763
+ f
15764
+ );
15765
+ }
15766
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
15767
+ if (f != null) {
15768
+ writer.writeString(
15769
+ 3,
15770
+ f
15771
+ );
15772
+ }
15773
+ };
15774
+
15775
+
15776
+ /**
15777
+ * optional EntityPath server = 1;
15778
+ * @return {?proto.com.lansweeper.dp.outbound.v1.EntityPath}
15779
+ */
15780
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.prototype.getServer = function() {
15781
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.EntityPath} */ (
15782
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.EntityPath, 1));
15783
+ };
15784
+
15785
+
15786
+ /**
15787
+ * @param {?proto.com.lansweeper.dp.outbound.v1.EntityPath|undefined} value
15788
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmServer} returns this
15789
+ */
15790
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.prototype.setServer = function(value) {
15791
+ return jspb.Message.setWrapperField(this, 1, value);
15792
+ };
15793
+
15794
+
15795
+ /**
15796
+ * Clears the message field making it undefined.
15797
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmServer} returns this
15798
+ */
15799
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.prototype.clearServer = function() {
15800
+ return this.setServer(undefined);
15801
+ };
15802
+
15803
+
15804
+ /**
15805
+ * Returns whether this field is set.
15806
+ * @return {boolean}
15807
+ */
15808
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.prototype.hasServer = function() {
15809
+ return jspb.Message.getField(this, 1) != null;
15810
+ };
15811
+
15812
+
15813
+ /**
15814
+ * optional string server_name = 2;
15815
+ * @return {string}
15816
+ */
15817
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.prototype.getServerName = function() {
15818
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
15819
+ };
15820
+
15821
+
15822
+ /**
15823
+ * @param {string} value
15824
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmServer} returns this
15825
+ */
15826
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.prototype.setServerName = function(value) {
15827
+ return jspb.Message.setField(this, 2, value);
15828
+ };
15829
+
15830
+
15831
+ /**
15832
+ * Clears the field making it undefined.
15833
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmServer} returns this
15834
+ */
15835
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.prototype.clearServerName = function() {
15836
+ return jspb.Message.setField(this, 2, undefined);
15837
+ };
15838
+
15839
+
15840
+ /**
15841
+ * Returns whether this field is set.
15842
+ * @return {boolean}
15843
+ */
15844
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.prototype.hasServerName = function() {
15845
+ return jspb.Message.getField(this, 2) != null;
15846
+ };
15847
+
15848
+
15849
+ /**
15850
+ * optional string domain = 3;
15851
+ * @return {string}
15852
+ */
15853
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.prototype.getDomain = function() {
15854
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
15855
+ };
15856
+
15857
+
15858
+ /**
15859
+ * @param {string} value
15860
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmServer} returns this
15861
+ */
15862
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.prototype.setDomain = function(value) {
15863
+ return jspb.Message.setField(this, 3, value);
15864
+ };
15865
+
15866
+
15867
+ /**
15868
+ * Clears the field making it undefined.
15869
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmServer} returns this
15870
+ */
15871
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.prototype.clearDomain = function() {
15872
+ return jspb.Message.setField(this, 3, undefined);
15873
+ };
15874
+
15875
+
15876
+ /**
15877
+ * Returns whether this field is set.
15878
+ * @return {boolean}
15879
+ */
15880
+ proto.com.lansweeper.dp.outbound.v1.SccmServer.prototype.hasDomain = function() {
15881
+ return jspb.Message.getField(this, 3) != null;
15882
+ };
15883
+
15884
+
15885
+
15886
+
15887
+
15888
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15889
+ /**
15890
+ * Creates an object representation of this proto.
15891
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15892
+ * Optional fields that are not set will be set to undefined.
15893
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15894
+ * For the list of reserved names please see:
15895
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15896
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15897
+ * JSPB instance for transitional soy proto support:
15898
+ * http://goto/soy-param-migration
15899
+ * @return {!Object}
15900
+ */
15901
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.toObject = function(opt_includeInstance) {
15902
+ return proto.com.lansweeper.dp.outbound.v1.SccmSite.toObject(opt_includeInstance, this);
15903
+ };
15904
+
15905
+
15906
+ /**
15907
+ * Static version of the {@see toObject} method.
15908
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15909
+ * the JSPB instance for transitional soy proto support:
15910
+ * http://goto/soy-param-migration
15911
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SccmSite} msg The msg instance to transform.
15912
+ * @return {!Object}
15913
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15914
+ */
15915
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.toObject = function(includeInstance, msg) {
15916
+ var f, obj = {
15917
+ code: jspb.Message.getFieldWithDefault(msg, 5, ""),
15918
+ name: jspb.Message.getFieldWithDefault(msg, 6, ""),
15919
+ version: jspb.Message.getFieldWithDefault(msg, 7, ""),
15920
+ buildNumber: jspb.Message.getFieldWithDefault(msg, 8, 0),
15921
+ status: jspb.Message.getFieldWithDefault(msg, 9, "")
15922
+ };
15923
+
15924
+ if (includeInstance) {
15925
+ obj.$jspbMessageInstance = msg;
15926
+ }
15927
+ return obj;
15928
+ };
15929
+ }
15930
+
15931
+
15932
+ /**
15933
+ * Deserializes binary data (in protobuf wire format).
15934
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15935
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmSite}
15936
+ */
15937
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.deserializeBinary = function(bytes) {
15938
+ var reader = new jspb.BinaryReader(bytes);
15939
+ var msg = new proto.com.lansweeper.dp.outbound.v1.SccmSite;
15940
+ return proto.com.lansweeper.dp.outbound.v1.SccmSite.deserializeBinaryFromReader(msg, reader);
15941
+ };
15942
+
15943
+
15944
+ /**
15945
+ * Deserializes binary data (in protobuf wire format) from the
15946
+ * given reader into the given message object.
15947
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SccmSite} msg The message object to deserialize into.
15948
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15949
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmSite}
15950
+ */
15951
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.deserializeBinaryFromReader = function(msg, reader) {
15952
+ while (reader.nextField()) {
15953
+ if (reader.isEndGroup()) {
15954
+ break;
15955
+ }
15956
+ var field = reader.getFieldNumber();
15957
+ switch (field) {
15958
+ case 5:
15959
+ var value = /** @type {string} */ (reader.readString());
15960
+ msg.setCode(value);
15961
+ break;
15962
+ case 6:
15963
+ var value = /** @type {string} */ (reader.readString());
15964
+ msg.setName(value);
15965
+ break;
15966
+ case 7:
15967
+ var value = /** @type {string} */ (reader.readString());
15968
+ msg.setVersion(value);
15969
+ break;
15970
+ case 8:
15971
+ var value = /** @type {number} */ (reader.readInt32());
15972
+ msg.setBuildNumber(value);
15973
+ break;
15974
+ case 9:
15975
+ var value = /** @type {string} */ (reader.readString());
15976
+ msg.setStatus(value);
15977
+ break;
15978
+ default:
15979
+ reader.skipField();
15980
+ break;
15981
+ }
15982
+ }
15983
+ return msg;
15984
+ };
15985
+
15986
+
15987
+ /**
15988
+ * Serializes the message to binary data (in protobuf wire format).
15989
+ * @return {!Uint8Array}
15990
+ */
15991
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.serializeBinary = function() {
15992
+ var writer = new jspb.BinaryWriter();
15993
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.serializeBinaryToWriter(this, writer);
15994
+ return writer.getResultBuffer();
15995
+ };
15996
+
15997
+
15998
+ /**
15999
+ * Serializes the given message to binary data (in protobuf wire
16000
+ * format), writing to the given BinaryWriter.
16001
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SccmSite} message
16002
+ * @param {!jspb.BinaryWriter} writer
16003
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16004
+ */
16005
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.serializeBinaryToWriter = function(message, writer) {
16006
+ var f = undefined;
16007
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
16008
+ if (f != null) {
16009
+ writer.writeString(
16010
+ 5,
16011
+ f
16012
+ );
16013
+ }
16014
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
16015
+ if (f != null) {
16016
+ writer.writeString(
16017
+ 6,
16018
+ f
16019
+ );
16020
+ }
16021
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
16022
+ if (f != null) {
16023
+ writer.writeString(
16024
+ 7,
16025
+ f
16026
+ );
16027
+ }
16028
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
16029
+ if (f != null) {
16030
+ writer.writeInt32(
16031
+ 8,
16032
+ f
16033
+ );
16034
+ }
16035
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
16036
+ if (f != null) {
16037
+ writer.writeString(
16038
+ 9,
16039
+ f
16040
+ );
16041
+ }
16042
+ };
16043
+
16044
+
16045
+ /**
16046
+ * optional string code = 5;
16047
+ * @return {string}
16048
+ */
16049
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.getCode = function() {
16050
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
16051
+ };
16052
+
16053
+
16054
+ /**
16055
+ * @param {string} value
16056
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmSite} returns this
16057
+ */
16058
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.setCode = function(value) {
16059
+ return jspb.Message.setField(this, 5, value);
16060
+ };
16061
+
16062
+
16063
+ /**
16064
+ * Clears the field making it undefined.
16065
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmSite} returns this
16066
+ */
16067
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.clearCode = function() {
16068
+ return jspb.Message.setField(this, 5, undefined);
16069
+ };
16070
+
16071
+
16072
+ /**
16073
+ * Returns whether this field is set.
16074
+ * @return {boolean}
16075
+ */
16076
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.hasCode = function() {
16077
+ return jspb.Message.getField(this, 5) != null;
16078
+ };
16079
+
16080
+
16081
+ /**
16082
+ * optional string name = 6;
16083
+ * @return {string}
16084
+ */
16085
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.getName = function() {
16086
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
16087
+ };
16088
+
16089
+
16090
+ /**
16091
+ * @param {string} value
16092
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmSite} returns this
16093
+ */
16094
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.setName = function(value) {
16095
+ return jspb.Message.setField(this, 6, value);
16096
+ };
16097
+
16098
+
16099
+ /**
16100
+ * Clears the field making it undefined.
16101
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmSite} returns this
16102
+ */
16103
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.clearName = function() {
16104
+ return jspb.Message.setField(this, 6, undefined);
16105
+ };
16106
+
16107
+
16108
+ /**
16109
+ * Returns whether this field is set.
16110
+ * @return {boolean}
16111
+ */
16112
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.hasName = function() {
16113
+ return jspb.Message.getField(this, 6) != null;
16114
+ };
16115
+
16116
+
16117
+ /**
16118
+ * optional string version = 7;
16119
+ * @return {string}
16120
+ */
16121
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.getVersion = function() {
16122
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
16123
+ };
16124
+
16125
+
16126
+ /**
16127
+ * @param {string} value
16128
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmSite} returns this
16129
+ */
16130
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.setVersion = function(value) {
16131
+ return jspb.Message.setField(this, 7, value);
16132
+ };
16133
+
16134
+
16135
+ /**
16136
+ * Clears the field making it undefined.
16137
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmSite} returns this
16138
+ */
16139
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.clearVersion = function() {
16140
+ return jspb.Message.setField(this, 7, undefined);
16141
+ };
16142
+
16143
+
16144
+ /**
16145
+ * Returns whether this field is set.
16146
+ * @return {boolean}
16147
+ */
16148
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.hasVersion = function() {
16149
+ return jspb.Message.getField(this, 7) != null;
16150
+ };
16151
+
16152
+
16153
+ /**
16154
+ * optional int32 build_number = 8;
16155
+ * @return {number}
16156
+ */
16157
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.getBuildNumber = function() {
16158
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
16159
+ };
16160
+
16161
+
16162
+ /**
16163
+ * @param {number} value
16164
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmSite} returns this
16165
+ */
16166
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.setBuildNumber = function(value) {
16167
+ return jspb.Message.setField(this, 8, value);
16168
+ };
16169
+
16170
+
16171
+ /**
16172
+ * Clears the field making it undefined.
16173
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmSite} returns this
16174
+ */
16175
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.clearBuildNumber = function() {
16176
+ return jspb.Message.setField(this, 8, undefined);
16177
+ };
16178
+
16179
+
16180
+ /**
16181
+ * Returns whether this field is set.
16182
+ * @return {boolean}
16183
+ */
16184
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.hasBuildNumber = function() {
16185
+ return jspb.Message.getField(this, 8) != null;
16186
+ };
16187
+
16188
+
16189
+ /**
16190
+ * optional string status = 9;
16191
+ * @return {string}
16192
+ */
16193
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.getStatus = function() {
16194
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
16195
+ };
16196
+
16197
+
16198
+ /**
16199
+ * @param {string} value
16200
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmSite} returns this
16201
+ */
16202
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.setStatus = function(value) {
16203
+ return jspb.Message.setField(this, 9, value);
16204
+ };
16205
+
16206
+
16207
+ /**
16208
+ * Clears the field making it undefined.
16209
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmSite} returns this
16210
+ */
16211
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.clearStatus = function() {
16212
+ return jspb.Message.setField(this, 9, undefined);
16213
+ };
16214
+
16215
+
16216
+ /**
16217
+ * Returns whether this field is set.
16218
+ * @return {boolean}
16219
+ */
16220
+ proto.com.lansweeper.dp.outbound.v1.SccmSite.prototype.hasStatus = function() {
16221
+ return jspb.Message.getField(this, 9) != null;
16222
+ };
16223
+
16224
+
16225
+
16226
+
16227
+
16228
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16229
+ /**
16230
+ * Creates an object representation of this proto.
16231
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16232
+ * Optional fields that are not set will be set to undefined.
16233
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16234
+ * For the list of reserved names please see:
16235
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16236
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16237
+ * JSPB instance for transitional soy proto support:
16238
+ * http://goto/soy-param-migration
16239
+ * @return {!Object}
16240
+ */
16241
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.prototype.toObject = function(opt_includeInstance) {
16242
+ return proto.com.lansweeper.dp.outbound.v1.SccmClient.toObject(opt_includeInstance, this);
16243
+ };
16244
+
16245
+
16246
+ /**
16247
+ * Static version of the {@see toObject} method.
16248
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16249
+ * the JSPB instance for transitional soy proto support:
16250
+ * http://goto/soy-param-migration
16251
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SccmClient} msg The msg instance to transform.
16252
+ * @return {!Object}
16253
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16254
+ */
16255
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.toObject = function(includeInstance, msg) {
16256
+ var f, obj = {
16257
+ clientEdition: (f = msg.getClientEdition()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
16258
+ clientVersion: jspb.Message.getFieldWithDefault(msg, 2, "")
16259
+ };
16260
+
16261
+ if (includeInstance) {
16262
+ obj.$jspbMessageInstance = msg;
16263
+ }
16264
+ return obj;
16265
+ };
16266
+ }
16267
+
16268
+
16269
+ /**
16270
+ * Deserializes binary data (in protobuf wire format).
16271
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16272
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmClient}
16273
+ */
16274
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.deserializeBinary = function(bytes) {
16275
+ var reader = new jspb.BinaryReader(bytes);
16276
+ var msg = new proto.com.lansweeper.dp.outbound.v1.SccmClient;
16277
+ return proto.com.lansweeper.dp.outbound.v1.SccmClient.deserializeBinaryFromReader(msg, reader);
16278
+ };
16279
+
16280
+
16281
+ /**
16282
+ * Deserializes binary data (in protobuf wire format) from the
16283
+ * given reader into the given message object.
16284
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SccmClient} msg The message object to deserialize into.
16285
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16286
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmClient}
16287
+ */
16288
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.deserializeBinaryFromReader = function(msg, reader) {
16289
+ while (reader.nextField()) {
16290
+ if (reader.isEndGroup()) {
16291
+ break;
16292
+ }
16293
+ var field = reader.getFieldNumber();
16294
+ switch (field) {
16295
+ case 1:
16296
+ var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
16297
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
16298
+ msg.setClientEdition(value);
16299
+ break;
16300
+ case 2:
16301
+ var value = /** @type {string} */ (reader.readString());
16302
+ msg.setClientVersion(value);
16303
+ break;
16304
+ default:
16305
+ reader.skipField();
16306
+ break;
16307
+ }
16308
+ }
16309
+ return msg;
16310
+ };
16311
+
16312
+
16313
+ /**
16314
+ * Serializes the message to binary data (in protobuf wire format).
16315
+ * @return {!Uint8Array}
16316
+ */
16317
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.prototype.serializeBinary = function() {
16318
+ var writer = new jspb.BinaryWriter();
16319
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.serializeBinaryToWriter(this, writer);
16320
+ return writer.getResultBuffer();
16321
+ };
16322
+
16323
+
16324
+ /**
16325
+ * Serializes the given message to binary data (in protobuf wire
16326
+ * format), writing to the given BinaryWriter.
16327
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SccmClient} message
16328
+ * @param {!jspb.BinaryWriter} writer
16329
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16330
+ */
16331
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.serializeBinaryToWriter = function(message, writer) {
16332
+ var f = undefined;
16333
+ f = message.getClientEdition();
16334
+ if (f != null) {
16335
+ writer.writeMessage(
16336
+ 1,
16337
+ f,
16338
+ proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
16339
+ );
16340
+ }
16341
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
16342
+ if (f != null) {
16343
+ writer.writeString(
16344
+ 2,
16345
+ f
16346
+ );
16347
+ }
16348
+ };
16349
+
16350
+
16351
+ /**
16352
+ * optional MappedValue client_edition = 1;
16353
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
16354
+ */
16355
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.prototype.getClientEdition = function() {
16356
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
16357
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 1));
16358
+ };
16359
+
16360
+
16361
+ /**
16362
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
16363
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmClient} returns this
16364
+ */
16365
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.prototype.setClientEdition = function(value) {
16366
+ return jspb.Message.setWrapperField(this, 1, value);
16367
+ };
16368
+
16369
+
16370
+ /**
16371
+ * Clears the message field making it undefined.
16372
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmClient} returns this
16373
+ */
16374
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.prototype.clearClientEdition = function() {
16375
+ return this.setClientEdition(undefined);
16376
+ };
16377
+
16378
+
16379
+ /**
16380
+ * Returns whether this field is set.
16381
+ * @return {boolean}
16382
+ */
16383
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.prototype.hasClientEdition = function() {
16384
+ return jspb.Message.getField(this, 1) != null;
16385
+ };
16386
+
16387
+
16388
+ /**
16389
+ * optional string client_version = 2;
16390
+ * @return {string}
16391
+ */
16392
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.prototype.getClientVersion = function() {
16393
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
16394
+ };
16395
+
16396
+
16397
+ /**
16398
+ * @param {string} value
16399
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmClient} returns this
16400
+ */
16401
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.prototype.setClientVersion = function(value) {
16402
+ return jspb.Message.setField(this, 2, value);
16403
+ };
16404
+
16405
+
16406
+ /**
16407
+ * Clears the field making it undefined.
16408
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SccmClient} returns this
16409
+ */
16410
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.prototype.clearClientVersion = function() {
16411
+ return jspb.Message.setField(this, 2, undefined);
16412
+ };
16413
+
16414
+
16415
+ /**
16416
+ * Returns whether this field is set.
16417
+ * @return {boolean}
16418
+ */
16419
+ proto.com.lansweeper.dp.outbound.v1.SccmClient.prototype.hasClientVersion = function() {
16420
+ return jspb.Message.getField(this, 2) != null;
16421
+ };
16422
+
16423
+
16424
+
16425
+
16426
+
14944
16427
  if (jspb.Message.GENERATE_TO_OBJECT) {
14945
16428
  /**
14946
16429
  * Creates an object representation of this proto.