@lansweeper/discovery-sensor-proto 2.85.0 → 2.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,10 +27,19 @@ var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrapp
27
27
  goog.object.extend(proto, google_protobuf_wrappers_pb);
28
28
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.Snmp', null, global);
29
29
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpArpEntry', null, global);
30
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig', null, global);
31
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData', null, global);
30
32
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpCustomOid', null, global);
31
33
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpInterfaceInfo', null, global);
34
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData', null, global);
35
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation', null, global);
32
36
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpPrinterInfo', null, global);
33
37
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpPrinterTonerInfo', null, global);
38
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo', null, global);
39
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember', null, global);
40
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMemberState', null, global);
41
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackProtocol', null, global);
42
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackRole', null, global);
34
43
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpUpsInfo', null, global);
35
44
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.Warranties', null, global);
36
45
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.Warranty', null, global);
@@ -181,6 +190,48 @@ if (goog.DEBUG && !COMPILED) {
181
190
  */
182
191
  proto.com.lansweeper.discovery.sensor.other.v1.SnmpArpEntry.displayName = 'proto.com.lansweeper.discovery.sensor.other.v1.SnmpArpEntry';
183
192
  }
193
+ /**
194
+ * Generated by JsPbCodeGenerator.
195
+ * @param {Array=} opt_data Optional initial data array, typically from a
196
+ * server response, or constructed directly in Javascript. The array is used
197
+ * in place and becomes part of the constructed object. It is not cloned.
198
+ * If no data is provided, the constructed object will be empty, but still
199
+ * valid.
200
+ * @extends {jspb.Message}
201
+ * @constructor
202
+ */
203
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo = function(opt_data) {
204
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.repeatedFields_, null);
205
+ };
206
+ goog.inherits(proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo, jspb.Message);
207
+ if (goog.DEBUG && !COMPILED) {
208
+ /**
209
+ * @public
210
+ * @override
211
+ */
212
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.displayName = 'proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo';
213
+ }
214
+ /**
215
+ * Generated by JsPbCodeGenerator.
216
+ * @param {Array=} opt_data Optional initial data array, typically from a
217
+ * server response, or constructed directly in Javascript. The array is used
218
+ * in place and becomes part of the constructed object. It is not cloned.
219
+ * If no data is provided, the constructed object will be empty, but still
220
+ * valid.
221
+ * @extends {jspb.Message}
222
+ * @constructor
223
+ */
224
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember = function(opt_data) {
225
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
226
+ };
227
+ goog.inherits(proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember, jspb.Message);
228
+ if (goog.DEBUG && !COMPILED) {
229
+ /**
230
+ * @public
231
+ * @override
232
+ */
233
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.displayName = 'proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember';
234
+ }
184
235
  /**
185
236
  * Generated by JsPbCodeGenerator.
186
237
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -223,6 +274,90 @@ if (goog.DEBUG && !COMPILED) {
223
274
  */
224
275
  proto.com.lansweeper.discovery.sensor.other.v1.Warranty.displayName = 'proto.com.lansweeper.discovery.sensor.other.v1.Warranty';
225
276
  }
277
+ /**
278
+ * Generated by JsPbCodeGenerator.
279
+ * @param {Array=} opt_data Optional initial data array, typically from a
280
+ * server response, or constructed directly in Javascript. The array is used
281
+ * in place and becomes part of the constructed object. It is not cloned.
282
+ * If no data is provided, the constructed object will be empty, but still
283
+ * valid.
284
+ * @extends {jspb.Message}
285
+ * @constructor
286
+ */
287
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData = function(opt_data) {
288
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.repeatedFields_, null);
289
+ };
290
+ goog.inherits(proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData, jspb.Message);
291
+ if (goog.DEBUG && !COMPILED) {
292
+ /**
293
+ * @public
294
+ * @override
295
+ */
296
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.displayName = 'proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData';
297
+ }
298
+ /**
299
+ * Generated by JsPbCodeGenerator.
300
+ * @param {Array=} opt_data Optional initial data array, typically from a
301
+ * server response, or constructed directly in Javascript. The array is used
302
+ * in place and becomes part of the constructed object. It is not cloned.
303
+ * If no data is provided, the constructed object will be empty, but still
304
+ * valid.
305
+ * @extends {jspb.Message}
306
+ * @constructor
307
+ */
308
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig = function(opt_data) {
309
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.repeatedFields_, null);
310
+ };
311
+ goog.inherits(proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig, jspb.Message);
312
+ if (goog.DEBUG && !COMPILED) {
313
+ /**
314
+ * @public
315
+ * @override
316
+ */
317
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.displayName = 'proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig';
318
+ }
319
+ /**
320
+ * Generated by JsPbCodeGenerator.
321
+ * @param {Array=} opt_data Optional initial data array, typically from a
322
+ * server response, or constructed directly in Javascript. The array is used
323
+ * in place and becomes part of the constructed object. It is not cloned.
324
+ * If no data is provided, the constructed object will be empty, but still
325
+ * valid.
326
+ * @extends {jspb.Message}
327
+ * @constructor
328
+ */
329
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData = function(opt_data) {
330
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.repeatedFields_, null);
331
+ };
332
+ goog.inherits(proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData, jspb.Message);
333
+ if (goog.DEBUG && !COMPILED) {
334
+ /**
335
+ * @public
336
+ * @override
337
+ */
338
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.displayName = 'proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData';
339
+ }
340
+ /**
341
+ * Generated by JsPbCodeGenerator.
342
+ * @param {Array=} opt_data Optional initial data array, typically from a
343
+ * server response, or constructed directly in Javascript. The array is used
344
+ * in place and becomes part of the constructed object. It is not cloned.
345
+ * If no data is provided, the constructed object will be empty, but still
346
+ * valid.
347
+ * @extends {jspb.Message}
348
+ * @constructor
349
+ */
350
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation = function(opt_data) {
351
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
352
+ };
353
+ goog.inherits(proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation, jspb.Message);
354
+ if (goog.DEBUG && !COMPILED) {
355
+ /**
356
+ * @public
357
+ * @override
358
+ */
359
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.displayName = 'proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation';
360
+ }
226
361
 
227
362
  /**
228
363
  * List of repeated fields within this message type.
@@ -291,7 +426,9 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.toObject = function(includeI
291
426
  customOidsList: jspb.Message.toObjectList(msg.getCustomOidsList(),
292
427
  proto.com.lansweeper.discovery.sensor.other.v1.SnmpCustomOid.toObject, includeInstance),
293
428
  processorArchitecture: (f = msg.getProcessorArchitecture()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
294
- totalMemory: (f = msg.getTotalMemory()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f)
429
+ totalMemory: (f = msg.getTotalMemory()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f),
430
+ stackInfo: (f = msg.getStackInfo()) && proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.toObject(includeInstance, f),
431
+ chassisInfo: (f = msg.getChassisInfo()) && proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.toObject(includeInstance, f)
295
432
  };
296
433
 
297
434
  if (includeInstance) {
@@ -462,6 +599,16 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.deserializeBinaryFromReader
462
599
  reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
463
600
  msg.setTotalMemory(value);
464
601
  break;
602
+ case 29:
603
+ var value = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo;
604
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.deserializeBinaryFromReader);
605
+ msg.setStackInfo(value);
606
+ break;
607
+ case 30:
608
+ var value = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData;
609
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.deserializeBinaryFromReader);
610
+ msg.setChassisInfo(value);
611
+ break;
465
612
  default:
466
613
  reader.skipField();
467
614
  break;
@@ -706,6 +853,22 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.serializeBinaryToWriter = fu
706
853
  google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
707
854
  );
708
855
  }
856
+ f = message.getStackInfo();
857
+ if (f != null) {
858
+ writer.writeMessage(
859
+ 29,
860
+ f,
861
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.serializeBinaryToWriter
862
+ );
863
+ }
864
+ f = message.getChassisInfo();
865
+ if (f != null) {
866
+ writer.writeMessage(
867
+ 30,
868
+ f,
869
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.serializeBinaryToWriter
870
+ );
871
+ }
709
872
  };
710
873
 
711
874
 
@@ -1711,6 +1874,80 @@ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.hasTotalMemory = f
1711
1874
  };
1712
1875
 
1713
1876
 
1877
+ /**
1878
+ * optional SnmpStackInfo stack_info = 29;
1879
+ * @return {?proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo}
1880
+ */
1881
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.getStackInfo = function() {
1882
+ return /** @type{?proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo} */ (
1883
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo, 29));
1884
+ };
1885
+
1886
+
1887
+ /**
1888
+ * @param {?proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo|undefined} value
1889
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
1890
+ */
1891
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.setStackInfo = function(value) {
1892
+ return jspb.Message.setWrapperField(this, 29, value);
1893
+ };
1894
+
1895
+
1896
+ /**
1897
+ * Clears the message field making it undefined.
1898
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
1899
+ */
1900
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.clearStackInfo = function() {
1901
+ return this.setStackInfo(undefined);
1902
+ };
1903
+
1904
+
1905
+ /**
1906
+ * Returns whether this field is set.
1907
+ * @return {boolean}
1908
+ */
1909
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.hasStackInfo = function() {
1910
+ return jspb.Message.getField(this, 29) != null;
1911
+ };
1912
+
1913
+
1914
+ /**
1915
+ * optional SnmpBusConfigData chassis_info = 30;
1916
+ * @return {?proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData}
1917
+ */
1918
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.getChassisInfo = function() {
1919
+ return /** @type{?proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData} */ (
1920
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData, 30));
1921
+ };
1922
+
1923
+
1924
+ /**
1925
+ * @param {?proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData|undefined} value
1926
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
1927
+ */
1928
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.setChassisInfo = function(value) {
1929
+ return jspb.Message.setWrapperField(this, 30, value);
1930
+ };
1931
+
1932
+
1933
+ /**
1934
+ * Clears the message field making it undefined.
1935
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
1936
+ */
1937
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.clearChassisInfo = function() {
1938
+ return this.setChassisInfo(undefined);
1939
+ };
1940
+
1941
+
1942
+ /**
1943
+ * Returns whether this field is set.
1944
+ * @return {boolean}
1945
+ */
1946
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.hasChassisInfo = function() {
1947
+ return jspb.Message.getField(this, 30) != null;
1948
+ };
1949
+
1950
+
1714
1951
 
1715
1952
 
1716
1953
 
@@ -4909,7 +5146,7 @@ proto.com.lansweeper.discovery.sensor.other.v1.SnmpArpEntry.prototype.hasMapping
4909
5146
  * @private {!Array<number>}
4910
5147
  * @const
4911
5148
  */
4912
- proto.com.lansweeper.discovery.sensor.other.v1.Warranties.repeatedFields_ = [1];
5149
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.repeatedFields_ = [1];
4913
5150
 
4914
5151
 
4915
5152
 
@@ -4926,8 +5163,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
4926
5163
  * http://goto/soy-param-migration
4927
5164
  * @return {!Object}
4928
5165
  */
4929
- proto.com.lansweeper.discovery.sensor.other.v1.Warranties.prototype.toObject = function(opt_includeInstance) {
4930
- return proto.com.lansweeper.discovery.sensor.other.v1.Warranties.toObject(opt_includeInstance, this);
5166
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.prototype.toObject = function(opt_includeInstance) {
5167
+ return proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.toObject(opt_includeInstance, this);
4931
5168
  };
4932
5169
 
4933
5170
 
@@ -4936,14 +5173,15 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.prototype.toObject = f
4936
5173
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4937
5174
  * the JSPB instance for transitional soy proto support:
4938
5175
  * http://goto/soy-param-migration
4939
- * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Warranties} msg The msg instance to transform.
5176
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo} msg The msg instance to transform.
4940
5177
  * @return {!Object}
4941
5178
  * @suppress {unusedLocalVariables} f is only used for nested messages
4942
5179
  */
4943
- proto.com.lansweeper.discovery.sensor.other.v1.Warranties.toObject = function(includeInstance, msg) {
5180
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.toObject = function(includeInstance, msg) {
4944
5181
  var f, obj = {
4945
- entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
4946
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.toObject, includeInstance)
5182
+ membersList: jspb.Message.toObjectList(msg.getMembersList(),
5183
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.toObject, includeInstance),
5184
+ protocol: jspb.Message.getFieldWithDefault(msg, 2, 0)
4947
5185
  };
4948
5186
 
4949
5187
  if (includeInstance) {
@@ -4957,23 +5195,23 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.toObject = function(in
4957
5195
  /**
4958
5196
  * Deserializes binary data (in protobuf wire format).
4959
5197
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
4960
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranties}
5198
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo}
4961
5199
  */
4962
- proto.com.lansweeper.discovery.sensor.other.v1.Warranties.deserializeBinary = function(bytes) {
5200
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.deserializeBinary = function(bytes) {
4963
5201
  var reader = new jspb.BinaryReader(bytes);
4964
- var msg = new proto.com.lansweeper.discovery.sensor.other.v1.Warranties;
4965
- return proto.com.lansweeper.discovery.sensor.other.v1.Warranties.deserializeBinaryFromReader(msg, reader);
5202
+ var msg = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo;
5203
+ return proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.deserializeBinaryFromReader(msg, reader);
4966
5204
  };
4967
5205
 
4968
5206
 
4969
5207
  /**
4970
5208
  * Deserializes binary data (in protobuf wire format) from the
4971
5209
  * given reader into the given message object.
4972
- * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Warranties} msg The message object to deserialize into.
5210
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo} msg The message object to deserialize into.
4973
5211
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4974
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranties}
5212
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo}
4975
5213
  */
4976
- proto.com.lansweeper.discovery.sensor.other.v1.Warranties.deserializeBinaryFromReader = function(msg, reader) {
5214
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.deserializeBinaryFromReader = function(msg, reader) {
4977
5215
  while (reader.nextField()) {
4978
5216
  if (reader.isEndGroup()) {
4979
5217
  break;
@@ -4981,9 +5219,13 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.deserializeBinaryFromR
4981
5219
  var field = reader.getFieldNumber();
4982
5220
  switch (field) {
4983
5221
  case 1:
4984
- var value = new proto.com.lansweeper.discovery.sensor.other.v1.Warranty;
4985
- reader.readMessage(value,proto.com.lansweeper.discovery.sensor.other.v1.Warranty.deserializeBinaryFromReader);
4986
- msg.addEntries(value);
5222
+ var value = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember;
5223
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.deserializeBinaryFromReader);
5224
+ msg.addMembers(value);
5225
+ break;
5226
+ case 2:
5227
+ var value = /** @type {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackProtocol} */ (reader.readEnum());
5228
+ msg.setProtocol(value);
4987
5229
  break;
4988
5230
  default:
4989
5231
  reader.skipField();
@@ -4998,9 +5240,9 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.deserializeBinaryFromR
4998
5240
  * Serializes the message to binary data (in protobuf wire format).
4999
5241
  * @return {!Uint8Array}
5000
5242
  */
5001
- proto.com.lansweeper.discovery.sensor.other.v1.Warranties.prototype.serializeBinary = function() {
5243
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.prototype.serializeBinary = function() {
5002
5244
  var writer = new jspb.BinaryWriter();
5003
- proto.com.lansweeper.discovery.sensor.other.v1.Warranties.serializeBinaryToWriter(this, writer);
5245
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.serializeBinaryToWriter(this, writer);
5004
5246
  return writer.getResultBuffer();
5005
5247
  };
5006
5248
 
@@ -5008,58 +5250,83 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.prototype.serializeBin
5008
5250
  /**
5009
5251
  * Serializes the given message to binary data (in protobuf wire
5010
5252
  * format), writing to the given BinaryWriter.
5011
- * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Warranties} message
5253
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo} message
5012
5254
  * @param {!jspb.BinaryWriter} writer
5013
5255
  * @suppress {unusedLocalVariables} f is only used for nested messages
5014
5256
  */
5015
- proto.com.lansweeper.discovery.sensor.other.v1.Warranties.serializeBinaryToWriter = function(message, writer) {
5257
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.serializeBinaryToWriter = function(message, writer) {
5016
5258
  var f = undefined;
5017
- f = message.getEntriesList();
5259
+ f = message.getMembersList();
5018
5260
  if (f.length > 0) {
5019
5261
  writer.writeRepeatedMessage(
5020
5262
  1,
5021
5263
  f,
5022
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.serializeBinaryToWriter
5264
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.serializeBinaryToWriter
5265
+ );
5266
+ }
5267
+ f = message.getProtocol();
5268
+ if (f !== 0.0) {
5269
+ writer.writeEnum(
5270
+ 2,
5271
+ f
5023
5272
  );
5024
5273
  }
5025
5274
  };
5026
5275
 
5027
5276
 
5028
5277
  /**
5029
- * repeated Warranty entries = 1;
5030
- * @return {!Array<!proto.com.lansweeper.discovery.sensor.other.v1.Warranty>}
5278
+ * repeated SnmpStackMember members = 1;
5279
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember>}
5031
5280
  */
5032
- proto.com.lansweeper.discovery.sensor.other.v1.Warranties.prototype.getEntriesList = function() {
5033
- return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.other.v1.Warranty>} */ (
5034
- jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.other.v1.Warranty, 1));
5281
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.prototype.getMembersList = function() {
5282
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember>} */ (
5283
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember, 1));
5035
5284
  };
5036
5285
 
5037
5286
 
5038
5287
  /**
5039
- * @param {!Array<!proto.com.lansweeper.discovery.sensor.other.v1.Warranty>} value
5040
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranties} returns this
5288
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember>} value
5289
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo} returns this
5041
5290
  */
5042
- proto.com.lansweeper.discovery.sensor.other.v1.Warranties.prototype.setEntriesList = function(value) {
5291
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.prototype.setMembersList = function(value) {
5043
5292
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
5044
5293
  };
5045
5294
 
5046
5295
 
5047
5296
  /**
5048
- * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty=} opt_value
5297
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember=} opt_value
5049
5298
  * @param {number=} opt_index
5050
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty}
5299
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember}
5051
5300
  */
5052
- proto.com.lansweeper.discovery.sensor.other.v1.Warranties.prototype.addEntries = function(opt_value, opt_index) {
5053
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.other.v1.Warranty, opt_index);
5301
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.prototype.addMembers = function(opt_value, opt_index) {
5302
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember, opt_index);
5054
5303
  };
5055
5304
 
5056
5305
 
5057
5306
  /**
5058
5307
  * Clears the list making it empty but non-null.
5059
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranties} returns this
5308
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo} returns this
5060
5309
  */
5061
- proto.com.lansweeper.discovery.sensor.other.v1.Warranties.prototype.clearEntriesList = function() {
5062
- return this.setEntriesList([]);
5310
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.prototype.clearMembersList = function() {
5311
+ return this.setMembersList([]);
5312
+ };
5313
+
5314
+
5315
+ /**
5316
+ * optional SnmpStackProtocol protocol = 2;
5317
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackProtocol}
5318
+ */
5319
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.prototype.getProtocol = function() {
5320
+ return /** @type {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackProtocol} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
5321
+ };
5322
+
5323
+
5324
+ /**
5325
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackProtocol} value
5326
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo} returns this
5327
+ */
5328
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackInfo.prototype.setProtocol = function(value) {
5329
+ return jspb.Message.setProto3EnumField(this, 2, value);
5063
5330
  };
5064
5331
 
5065
5332
 
@@ -5079,8 +5346,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
5079
5346
  * http://goto/soy-param-migration
5080
5347
  * @return {!Object}
5081
5348
  */
5082
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.toObject = function(opt_includeInstance) {
5083
- return proto.com.lansweeper.discovery.sensor.other.v1.Warranty.toObject(opt_includeInstance, this);
5349
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.toObject = function(opt_includeInstance) {
5350
+ return proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.toObject(opt_includeInstance, this);
5084
5351
  };
5085
5352
 
5086
5353
 
@@ -5089,17 +5356,22 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.toObject = fun
5089
5356
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5090
5357
  * the JSPB instance for transitional soy proto support:
5091
5358
  * http://goto/soy-param-migration
5092
- * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} msg The msg instance to transform.
5359
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} msg The msg instance to transform.
5093
5360
  * @return {!Object}
5094
5361
  * @suppress {unusedLocalVariables} f is only used for nested messages
5095
5362
  */
5096
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.toObject = function(includeInstance, msg) {
5363
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.toObject = function(includeInstance, msg) {
5097
5364
  var f, obj = {
5098
- warrantyStartDate: (f = msg.getWarrantyStartDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
5099
- warrantyEndDate: (f = msg.getWarrantyEndDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
5100
- serviceType: (f = msg.getServiceType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
5101
- purchaseCountry: (f = msg.getPurchaseCountry()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
5102
- shipDate: (f = msg.getShipDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
5365
+ memberId: (f = msg.getMemberId()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f),
5366
+ role: jspb.Message.getFieldWithDefault(msg, 2, 0),
5367
+ macAddress: (f = msg.getMacAddress()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
5368
+ serialNumber: (f = msg.getSerialNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
5369
+ model: (f = msg.getModel()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
5370
+ description: (f = msg.getDescription()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
5371
+ priority: (f = msg.getPriority()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f),
5372
+ state: jspb.Message.getFieldWithDefault(msg, 8, 0),
5373
+ softwareImage: (f = msg.getSoftwareImage()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
5374
+ entPhysicalIndex: (f = msg.getEntPhysicalIndex()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f)
5103
5375
  };
5104
5376
 
5105
5377
  if (includeInstance) {
@@ -5113,23 +5385,23 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.toObject = function(incl
5113
5385
  /**
5114
5386
  * Deserializes binary data (in protobuf wire format).
5115
5387
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
5116
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty}
5388
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember}
5117
5389
  */
5118
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.deserializeBinary = function(bytes) {
5390
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.deserializeBinary = function(bytes) {
5119
5391
  var reader = new jspb.BinaryReader(bytes);
5120
- var msg = new proto.com.lansweeper.discovery.sensor.other.v1.Warranty;
5121
- return proto.com.lansweeper.discovery.sensor.other.v1.Warranty.deserializeBinaryFromReader(msg, reader);
5392
+ var msg = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember;
5393
+ return proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.deserializeBinaryFromReader(msg, reader);
5122
5394
  };
5123
5395
 
5124
5396
 
5125
5397
  /**
5126
5398
  * Deserializes binary data (in protobuf wire format) from the
5127
5399
  * given reader into the given message object.
5128
- * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} msg The message object to deserialize into.
5400
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} msg The message object to deserialize into.
5129
5401
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5130
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty}
5402
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember}
5131
5403
  */
5132
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.deserializeBinaryFromReader = function(msg, reader) {
5404
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.deserializeBinaryFromReader = function(msg, reader) {
5133
5405
  while (reader.nextField()) {
5134
5406
  if (reader.isEndGroup()) {
5135
5407
  break;
@@ -5137,30 +5409,53 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.deserializeBinaryFromRea
5137
5409
  var field = reader.getFieldNumber();
5138
5410
  switch (field) {
5139
5411
  case 1:
5140
- var value = new google_protobuf_timestamp_pb.Timestamp;
5141
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
5142
- msg.setWarrantyStartDate(value);
5412
+ var value = new google_protobuf_wrappers_pb.Int32Value;
5413
+ reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
5414
+ msg.setMemberId(value);
5143
5415
  break;
5144
5416
  case 2:
5145
- var value = new google_protobuf_timestamp_pb.Timestamp;
5146
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
5147
- msg.setWarrantyEndDate(value);
5417
+ var value = /** @type {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackRole} */ (reader.readEnum());
5418
+ msg.setRole(value);
5148
5419
  break;
5149
5420
  case 3:
5150
5421
  var value = new google_protobuf_wrappers_pb.StringValue;
5151
5422
  reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
5152
- msg.setServiceType(value);
5423
+ msg.setMacAddress(value);
5153
5424
  break;
5154
5425
  case 4:
5155
5426
  var value = new google_protobuf_wrappers_pb.StringValue;
5156
5427
  reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
5157
- msg.setPurchaseCountry(value);
5428
+ msg.setSerialNumber(value);
5158
5429
  break;
5159
5430
  case 5:
5160
- var value = new google_protobuf_timestamp_pb.Timestamp;
5161
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
5162
- msg.setShipDate(value);
5163
- break;
5431
+ var value = new google_protobuf_wrappers_pb.StringValue;
5432
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
5433
+ msg.setModel(value);
5434
+ break;
5435
+ case 6:
5436
+ var value = new google_protobuf_wrappers_pb.StringValue;
5437
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
5438
+ msg.setDescription(value);
5439
+ break;
5440
+ case 7:
5441
+ var value = new google_protobuf_wrappers_pb.Int32Value;
5442
+ reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
5443
+ msg.setPriority(value);
5444
+ break;
5445
+ case 8:
5446
+ var value = /** @type {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMemberState} */ (reader.readEnum());
5447
+ msg.setState(value);
5448
+ break;
5449
+ case 9:
5450
+ var value = new google_protobuf_wrappers_pb.StringValue;
5451
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
5452
+ msg.setSoftwareImage(value);
5453
+ break;
5454
+ case 10:
5455
+ var value = new google_protobuf_wrappers_pb.Int32Value;
5456
+ reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
5457
+ msg.setEntPhysicalIndex(value);
5458
+ break;
5164
5459
  default:
5165
5460
  reader.skipField();
5166
5461
  break;
@@ -5174,9 +5469,9 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.deserializeBinaryFromRea
5174
5469
  * Serializes the message to binary data (in protobuf wire format).
5175
5470
  * @return {!Uint8Array}
5176
5471
  */
5177
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.serializeBinary = function() {
5472
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.serializeBinary = function() {
5178
5473
  var writer = new jspb.BinaryWriter();
5179
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.serializeBinaryToWriter(this, writer);
5474
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.serializeBinaryToWriter(this, writer);
5180
5475
  return writer.getResultBuffer();
5181
5476
  };
5182
5477
 
@@ -5184,29 +5479,28 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.serializeBinar
5184
5479
  /**
5185
5480
  * Serializes the given message to binary data (in protobuf wire
5186
5481
  * format), writing to the given BinaryWriter.
5187
- * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} message
5482
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} message
5188
5483
  * @param {!jspb.BinaryWriter} writer
5189
5484
  * @suppress {unusedLocalVariables} f is only used for nested messages
5190
5485
  */
5191
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.serializeBinaryToWriter = function(message, writer) {
5486
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.serializeBinaryToWriter = function(message, writer) {
5192
5487
  var f = undefined;
5193
- f = message.getWarrantyStartDate();
5488
+ f = message.getMemberId();
5194
5489
  if (f != null) {
5195
5490
  writer.writeMessage(
5196
5491
  1,
5197
5492
  f,
5198
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
5493
+ google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
5199
5494
  );
5200
5495
  }
5201
- f = message.getWarrantyEndDate();
5202
- if (f != null) {
5203
- writer.writeMessage(
5496
+ f = message.getRole();
5497
+ if (f !== 0.0) {
5498
+ writer.writeEnum(
5204
5499
  2,
5205
- f,
5206
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
5500
+ f
5207
5501
  );
5208
5502
  }
5209
- f = message.getServiceType();
5503
+ f = message.getMacAddress();
5210
5504
  if (f != null) {
5211
5505
  writer.writeMessage(
5212
5506
  3,
@@ -5214,7 +5508,7 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.serializeBinaryToWriter
5214
5508
  google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
5215
5509
  );
5216
5510
  }
5217
- f = message.getPurchaseCountry();
5511
+ f = message.getSerialNumber();
5218
5512
  if (f != null) {
5219
5513
  writer.writeMessage(
5220
5514
  4,
@@ -5222,42 +5516,81 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.serializeBinaryToWriter
5222
5516
  google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
5223
5517
  );
5224
5518
  }
5225
- f = message.getShipDate();
5519
+ f = message.getModel();
5226
5520
  if (f != null) {
5227
5521
  writer.writeMessage(
5228
5522
  5,
5229
5523
  f,
5230
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
5524
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
5525
+ );
5526
+ }
5527
+ f = message.getDescription();
5528
+ if (f != null) {
5529
+ writer.writeMessage(
5530
+ 6,
5531
+ f,
5532
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
5533
+ );
5534
+ }
5535
+ f = message.getPriority();
5536
+ if (f != null) {
5537
+ writer.writeMessage(
5538
+ 7,
5539
+ f,
5540
+ google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
5541
+ );
5542
+ }
5543
+ f = message.getState();
5544
+ if (f !== 0.0) {
5545
+ writer.writeEnum(
5546
+ 8,
5547
+ f
5548
+ );
5549
+ }
5550
+ f = message.getSoftwareImage();
5551
+ if (f != null) {
5552
+ writer.writeMessage(
5553
+ 9,
5554
+ f,
5555
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
5556
+ );
5557
+ }
5558
+ f = message.getEntPhysicalIndex();
5559
+ if (f != null) {
5560
+ writer.writeMessage(
5561
+ 10,
5562
+ f,
5563
+ google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
5231
5564
  );
5232
5565
  }
5233
5566
  };
5234
5567
 
5235
5568
 
5236
5569
  /**
5237
- * optional google.protobuf.Timestamp warranty_start_date = 1;
5238
- * @return {?proto.google.protobuf.Timestamp}
5570
+ * optional google.protobuf.Int32Value member_id = 1;
5571
+ * @return {?proto.google.protobuf.Int32Value}
5239
5572
  */
5240
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.getWarrantyStartDate = function() {
5241
- return /** @type{?proto.google.protobuf.Timestamp} */ (
5242
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
5573
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.getMemberId = function() {
5574
+ return /** @type{?proto.google.protobuf.Int32Value} */ (
5575
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 1));
5243
5576
  };
5244
5577
 
5245
5578
 
5246
5579
  /**
5247
- * @param {?proto.google.protobuf.Timestamp|undefined} value
5248
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
5580
+ * @param {?proto.google.protobuf.Int32Value|undefined} value
5581
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5249
5582
  */
5250
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.setWarrantyStartDate = function(value) {
5583
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.setMemberId = function(value) {
5251
5584
  return jspb.Message.setWrapperField(this, 1, value);
5252
5585
  };
5253
5586
 
5254
5587
 
5255
5588
  /**
5256
5589
  * Clears the message field making it undefined.
5257
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
5590
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5258
5591
  */
5259
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.clearWarrantyStartDate = function() {
5260
- return this.setWarrantyStartDate(undefined);
5592
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.clearMemberId = function() {
5593
+ return this.setMemberId(undefined);
5261
5594
  };
5262
5595
 
5263
5596
 
@@ -5265,36 +5598,54 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.clearWarrantyS
5265
5598
  * Returns whether this field is set.
5266
5599
  * @return {boolean}
5267
5600
  */
5268
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.hasWarrantyStartDate = function() {
5601
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.hasMemberId = function() {
5269
5602
  return jspb.Message.getField(this, 1) != null;
5270
5603
  };
5271
5604
 
5272
5605
 
5273
5606
  /**
5274
- * optional google.protobuf.Timestamp warranty_end_date = 2;
5275
- * @return {?proto.google.protobuf.Timestamp}
5607
+ * optional SnmpStackRole role = 2;
5608
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackRole}
5276
5609
  */
5277
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.getWarrantyEndDate = function() {
5278
- return /** @type{?proto.google.protobuf.Timestamp} */ (
5279
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
5610
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.getRole = function() {
5611
+ return /** @type {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackRole} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
5280
5612
  };
5281
5613
 
5282
5614
 
5283
5615
  /**
5284
- * @param {?proto.google.protobuf.Timestamp|undefined} value
5285
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
5616
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackRole} value
5617
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5618
+ */
5619
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.setRole = function(value) {
5620
+ return jspb.Message.setProto3EnumField(this, 2, value);
5621
+ };
5622
+
5623
+
5624
+ /**
5625
+ * optional google.protobuf.StringValue mac_address = 3;
5626
+ * @return {?proto.google.protobuf.StringValue}
5627
+ */
5628
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.getMacAddress = function() {
5629
+ return /** @type{?proto.google.protobuf.StringValue} */ (
5630
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
5631
+ };
5632
+
5633
+
5634
+ /**
5635
+ * @param {?proto.google.protobuf.StringValue|undefined} value
5636
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5286
5637
  */
5287
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.setWarrantyEndDate = function(value) {
5288
- return jspb.Message.setWrapperField(this, 2, value);
5638
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.setMacAddress = function(value) {
5639
+ return jspb.Message.setWrapperField(this, 3, value);
5289
5640
  };
5290
5641
 
5291
5642
 
5292
5643
  /**
5293
5644
  * Clears the message field making it undefined.
5294
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
5645
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5295
5646
  */
5296
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.clearWarrantyEndDate = function() {
5297
- return this.setWarrantyEndDate(undefined);
5647
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.clearMacAddress = function() {
5648
+ return this.setMacAddress(undefined);
5298
5649
  };
5299
5650
 
5300
5651
 
@@ -5302,36 +5653,36 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.clearWarrantyE
5302
5653
  * Returns whether this field is set.
5303
5654
  * @return {boolean}
5304
5655
  */
5305
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.hasWarrantyEndDate = function() {
5306
- return jspb.Message.getField(this, 2) != null;
5656
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.hasMacAddress = function() {
5657
+ return jspb.Message.getField(this, 3) != null;
5307
5658
  };
5308
5659
 
5309
5660
 
5310
5661
  /**
5311
- * optional google.protobuf.StringValue service_type = 3;
5662
+ * optional google.protobuf.StringValue serial_number = 4;
5312
5663
  * @return {?proto.google.protobuf.StringValue}
5313
5664
  */
5314
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.getServiceType = function() {
5665
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.getSerialNumber = function() {
5315
5666
  return /** @type{?proto.google.protobuf.StringValue} */ (
5316
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
5667
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
5317
5668
  };
5318
5669
 
5319
5670
 
5320
5671
  /**
5321
5672
  * @param {?proto.google.protobuf.StringValue|undefined} value
5322
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
5673
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5323
5674
  */
5324
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.setServiceType = function(value) {
5325
- return jspb.Message.setWrapperField(this, 3, value);
5675
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.setSerialNumber = function(value) {
5676
+ return jspb.Message.setWrapperField(this, 4, value);
5326
5677
  };
5327
5678
 
5328
5679
 
5329
5680
  /**
5330
5681
  * Clears the message field making it undefined.
5331
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
5682
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5332
5683
  */
5333
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.clearServiceType = function() {
5334
- return this.setServiceType(undefined);
5684
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.clearSerialNumber = function() {
5685
+ return this.setSerialNumber(undefined);
5335
5686
  };
5336
5687
 
5337
5688
 
@@ -5339,36 +5690,36 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.clearServiceTy
5339
5690
  * Returns whether this field is set.
5340
5691
  * @return {boolean}
5341
5692
  */
5342
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.hasServiceType = function() {
5343
- return jspb.Message.getField(this, 3) != null;
5693
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.hasSerialNumber = function() {
5694
+ return jspb.Message.getField(this, 4) != null;
5344
5695
  };
5345
5696
 
5346
5697
 
5347
5698
  /**
5348
- * optional google.protobuf.StringValue purchase_country = 4;
5699
+ * optional google.protobuf.StringValue model = 5;
5349
5700
  * @return {?proto.google.protobuf.StringValue}
5350
5701
  */
5351
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.getPurchaseCountry = function() {
5702
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.getModel = function() {
5352
5703
  return /** @type{?proto.google.protobuf.StringValue} */ (
5353
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
5704
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
5354
5705
  };
5355
5706
 
5356
5707
 
5357
5708
  /**
5358
5709
  * @param {?proto.google.protobuf.StringValue|undefined} value
5359
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
5710
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5360
5711
  */
5361
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.setPurchaseCountry = function(value) {
5362
- return jspb.Message.setWrapperField(this, 4, value);
5712
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.setModel = function(value) {
5713
+ return jspb.Message.setWrapperField(this, 5, value);
5363
5714
  };
5364
5715
 
5365
5716
 
5366
5717
  /**
5367
5718
  * Clears the message field making it undefined.
5368
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
5719
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5369
5720
  */
5370
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.clearPurchaseCountry = function() {
5371
- return this.setPurchaseCountry(undefined);
5721
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.clearModel = function() {
5722
+ return this.setModel(undefined);
5372
5723
  };
5373
5724
 
5374
5725
 
@@ -5376,36 +5727,36 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.clearPurchaseC
5376
5727
  * Returns whether this field is set.
5377
5728
  * @return {boolean}
5378
5729
  */
5379
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.hasPurchaseCountry = function() {
5380
- return jspb.Message.getField(this, 4) != null;
5730
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.hasModel = function() {
5731
+ return jspb.Message.getField(this, 5) != null;
5381
5732
  };
5382
5733
 
5383
5734
 
5384
5735
  /**
5385
- * optional google.protobuf.Timestamp ship_date = 5;
5386
- * @return {?proto.google.protobuf.Timestamp}
5736
+ * optional google.protobuf.StringValue description = 6;
5737
+ * @return {?proto.google.protobuf.StringValue}
5387
5738
  */
5388
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.getShipDate = function() {
5389
- return /** @type{?proto.google.protobuf.Timestamp} */ (
5390
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
5739
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.getDescription = function() {
5740
+ return /** @type{?proto.google.protobuf.StringValue} */ (
5741
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
5391
5742
  };
5392
5743
 
5393
5744
 
5394
5745
  /**
5395
- * @param {?proto.google.protobuf.Timestamp|undefined} value
5396
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
5746
+ * @param {?proto.google.protobuf.StringValue|undefined} value
5747
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5397
5748
  */
5398
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.setShipDate = function(value) {
5399
- return jspb.Message.setWrapperField(this, 5, value);
5749
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.setDescription = function(value) {
5750
+ return jspb.Message.setWrapperField(this, 6, value);
5400
5751
  };
5401
5752
 
5402
5753
 
5403
5754
  /**
5404
5755
  * Clears the message field making it undefined.
5405
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
5756
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5406
5757
  */
5407
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.clearShipDate = function() {
5408
- return this.setShipDate(undefined);
5758
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.clearDescription = function() {
5759
+ return this.setDescription(undefined);
5409
5760
  };
5410
5761
 
5411
5762
 
@@ -5413,9 +5764,2115 @@ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.clearShipDate
5413
5764
  * Returns whether this field is set.
5414
5765
  * @return {boolean}
5415
5766
  */
5416
- proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.hasShipDate = function() {
5417
- return jspb.Message.getField(this, 5) != null;
5767
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.hasDescription = function() {
5768
+ return jspb.Message.getField(this, 6) != null;
5769
+ };
5770
+
5771
+
5772
+ /**
5773
+ * optional google.protobuf.Int32Value priority = 7;
5774
+ * @return {?proto.google.protobuf.Int32Value}
5775
+ */
5776
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.getPriority = function() {
5777
+ return /** @type{?proto.google.protobuf.Int32Value} */ (
5778
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 7));
5779
+ };
5780
+
5781
+
5782
+ /**
5783
+ * @param {?proto.google.protobuf.Int32Value|undefined} value
5784
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5785
+ */
5786
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.setPriority = function(value) {
5787
+ return jspb.Message.setWrapperField(this, 7, value);
5788
+ };
5789
+
5790
+
5791
+ /**
5792
+ * Clears the message field making it undefined.
5793
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5794
+ */
5795
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.clearPriority = function() {
5796
+ return this.setPriority(undefined);
5797
+ };
5798
+
5799
+
5800
+ /**
5801
+ * Returns whether this field is set.
5802
+ * @return {boolean}
5803
+ */
5804
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.hasPriority = function() {
5805
+ return jspb.Message.getField(this, 7) != null;
5806
+ };
5807
+
5808
+
5809
+ /**
5810
+ * optional SnmpStackMemberState state = 8;
5811
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMemberState}
5812
+ */
5813
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.getState = function() {
5814
+ return /** @type {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMemberState} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
5815
+ };
5816
+
5817
+
5818
+ /**
5819
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMemberState} value
5820
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5821
+ */
5822
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.setState = function(value) {
5823
+ return jspb.Message.setProto3EnumField(this, 8, value);
5824
+ };
5825
+
5826
+
5827
+ /**
5828
+ * optional google.protobuf.StringValue software_image = 9;
5829
+ * @return {?proto.google.protobuf.StringValue}
5830
+ */
5831
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.getSoftwareImage = function() {
5832
+ return /** @type{?proto.google.protobuf.StringValue} */ (
5833
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 9));
5834
+ };
5835
+
5836
+
5837
+ /**
5838
+ * @param {?proto.google.protobuf.StringValue|undefined} value
5839
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5840
+ */
5841
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.setSoftwareImage = function(value) {
5842
+ return jspb.Message.setWrapperField(this, 9, value);
5843
+ };
5844
+
5845
+
5846
+ /**
5847
+ * Clears the message field making it undefined.
5848
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5849
+ */
5850
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.clearSoftwareImage = function() {
5851
+ return this.setSoftwareImage(undefined);
5852
+ };
5853
+
5854
+
5855
+ /**
5856
+ * Returns whether this field is set.
5857
+ * @return {boolean}
5858
+ */
5859
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.hasSoftwareImage = function() {
5860
+ return jspb.Message.getField(this, 9) != null;
5861
+ };
5862
+
5863
+
5864
+ /**
5865
+ * optional google.protobuf.Int32Value ent_physical_index = 10;
5866
+ * @return {?proto.google.protobuf.Int32Value}
5867
+ */
5868
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.getEntPhysicalIndex = function() {
5869
+ return /** @type{?proto.google.protobuf.Int32Value} */ (
5870
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 10));
5418
5871
  };
5419
5872
 
5420
5873
 
5874
+ /**
5875
+ * @param {?proto.google.protobuf.Int32Value|undefined} value
5876
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5877
+ */
5878
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.setEntPhysicalIndex = function(value) {
5879
+ return jspb.Message.setWrapperField(this, 10, value);
5880
+ };
5881
+
5882
+
5883
+ /**
5884
+ * Clears the message field making it undefined.
5885
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember} returns this
5886
+ */
5887
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.clearEntPhysicalIndex = function() {
5888
+ return this.setEntPhysicalIndex(undefined);
5889
+ };
5890
+
5891
+
5892
+ /**
5893
+ * Returns whether this field is set.
5894
+ * @return {boolean}
5895
+ */
5896
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMember.prototype.hasEntPhysicalIndex = function() {
5897
+ return jspb.Message.getField(this, 10) != null;
5898
+ };
5899
+
5900
+
5901
+
5902
+ /**
5903
+ * List of repeated fields within this message type.
5904
+ * @private {!Array<number>}
5905
+ * @const
5906
+ */
5907
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.repeatedFields_ = [1];
5908
+
5909
+
5910
+
5911
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5912
+ /**
5913
+ * Creates an object representation of this proto.
5914
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5915
+ * Optional fields that are not set will be set to undefined.
5916
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5917
+ * For the list of reserved names please see:
5918
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5919
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5920
+ * JSPB instance for transitional soy proto support:
5921
+ * http://goto/soy-param-migration
5922
+ * @return {!Object}
5923
+ */
5924
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.prototype.toObject = function(opt_includeInstance) {
5925
+ return proto.com.lansweeper.discovery.sensor.other.v1.Warranties.toObject(opt_includeInstance, this);
5926
+ };
5927
+
5928
+
5929
+ /**
5930
+ * Static version of the {@see toObject} method.
5931
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5932
+ * the JSPB instance for transitional soy proto support:
5933
+ * http://goto/soy-param-migration
5934
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Warranties} msg The msg instance to transform.
5935
+ * @return {!Object}
5936
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5937
+ */
5938
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.toObject = function(includeInstance, msg) {
5939
+ var f, obj = {
5940
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
5941
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.toObject, includeInstance)
5942
+ };
5943
+
5944
+ if (includeInstance) {
5945
+ obj.$jspbMessageInstance = msg;
5946
+ }
5947
+ return obj;
5948
+ };
5949
+ }
5950
+
5951
+
5952
+ /**
5953
+ * Deserializes binary data (in protobuf wire format).
5954
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5955
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranties}
5956
+ */
5957
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.deserializeBinary = function(bytes) {
5958
+ var reader = new jspb.BinaryReader(bytes);
5959
+ var msg = new proto.com.lansweeper.discovery.sensor.other.v1.Warranties;
5960
+ return proto.com.lansweeper.discovery.sensor.other.v1.Warranties.deserializeBinaryFromReader(msg, reader);
5961
+ };
5962
+
5963
+
5964
+ /**
5965
+ * Deserializes binary data (in protobuf wire format) from the
5966
+ * given reader into the given message object.
5967
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Warranties} msg The message object to deserialize into.
5968
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5969
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranties}
5970
+ */
5971
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.deserializeBinaryFromReader = function(msg, reader) {
5972
+ while (reader.nextField()) {
5973
+ if (reader.isEndGroup()) {
5974
+ break;
5975
+ }
5976
+ var field = reader.getFieldNumber();
5977
+ switch (field) {
5978
+ case 1:
5979
+ var value = new proto.com.lansweeper.discovery.sensor.other.v1.Warranty;
5980
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.other.v1.Warranty.deserializeBinaryFromReader);
5981
+ msg.addEntries(value);
5982
+ break;
5983
+ default:
5984
+ reader.skipField();
5985
+ break;
5986
+ }
5987
+ }
5988
+ return msg;
5989
+ };
5990
+
5991
+
5992
+ /**
5993
+ * Serializes the message to binary data (in protobuf wire format).
5994
+ * @return {!Uint8Array}
5995
+ */
5996
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.prototype.serializeBinary = function() {
5997
+ var writer = new jspb.BinaryWriter();
5998
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.serializeBinaryToWriter(this, writer);
5999
+ return writer.getResultBuffer();
6000
+ };
6001
+
6002
+
6003
+ /**
6004
+ * Serializes the given message to binary data (in protobuf wire
6005
+ * format), writing to the given BinaryWriter.
6006
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Warranties} message
6007
+ * @param {!jspb.BinaryWriter} writer
6008
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6009
+ */
6010
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.serializeBinaryToWriter = function(message, writer) {
6011
+ var f = undefined;
6012
+ f = message.getEntriesList();
6013
+ if (f.length > 0) {
6014
+ writer.writeRepeatedMessage(
6015
+ 1,
6016
+ f,
6017
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.serializeBinaryToWriter
6018
+ );
6019
+ }
6020
+ };
6021
+
6022
+
6023
+ /**
6024
+ * repeated Warranty entries = 1;
6025
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.other.v1.Warranty>}
6026
+ */
6027
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.prototype.getEntriesList = function() {
6028
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.other.v1.Warranty>} */ (
6029
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.other.v1.Warranty, 1));
6030
+ };
6031
+
6032
+
6033
+ /**
6034
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.other.v1.Warranty>} value
6035
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranties} returns this
6036
+ */
6037
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.prototype.setEntriesList = function(value) {
6038
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
6039
+ };
6040
+
6041
+
6042
+ /**
6043
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty=} opt_value
6044
+ * @param {number=} opt_index
6045
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty}
6046
+ */
6047
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.prototype.addEntries = function(opt_value, opt_index) {
6048
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.other.v1.Warranty, opt_index);
6049
+ };
6050
+
6051
+
6052
+ /**
6053
+ * Clears the list making it empty but non-null.
6054
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranties} returns this
6055
+ */
6056
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranties.prototype.clearEntriesList = function() {
6057
+ return this.setEntriesList([]);
6058
+ };
6059
+
6060
+
6061
+
6062
+
6063
+
6064
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6065
+ /**
6066
+ * Creates an object representation of this proto.
6067
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6068
+ * Optional fields that are not set will be set to undefined.
6069
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6070
+ * For the list of reserved names please see:
6071
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6072
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6073
+ * JSPB instance for transitional soy proto support:
6074
+ * http://goto/soy-param-migration
6075
+ * @return {!Object}
6076
+ */
6077
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.toObject = function(opt_includeInstance) {
6078
+ return proto.com.lansweeper.discovery.sensor.other.v1.Warranty.toObject(opt_includeInstance, this);
6079
+ };
6080
+
6081
+
6082
+ /**
6083
+ * Static version of the {@see toObject} method.
6084
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6085
+ * the JSPB instance for transitional soy proto support:
6086
+ * http://goto/soy-param-migration
6087
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} msg The msg instance to transform.
6088
+ * @return {!Object}
6089
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6090
+ */
6091
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.toObject = function(includeInstance, msg) {
6092
+ var f, obj = {
6093
+ warrantyStartDate: (f = msg.getWarrantyStartDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
6094
+ warrantyEndDate: (f = msg.getWarrantyEndDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
6095
+ serviceType: (f = msg.getServiceType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
6096
+ purchaseCountry: (f = msg.getPurchaseCountry()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
6097
+ shipDate: (f = msg.getShipDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
6098
+ };
6099
+
6100
+ if (includeInstance) {
6101
+ obj.$jspbMessageInstance = msg;
6102
+ }
6103
+ return obj;
6104
+ };
6105
+ }
6106
+
6107
+
6108
+ /**
6109
+ * Deserializes binary data (in protobuf wire format).
6110
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6111
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty}
6112
+ */
6113
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.deserializeBinary = function(bytes) {
6114
+ var reader = new jspb.BinaryReader(bytes);
6115
+ var msg = new proto.com.lansweeper.discovery.sensor.other.v1.Warranty;
6116
+ return proto.com.lansweeper.discovery.sensor.other.v1.Warranty.deserializeBinaryFromReader(msg, reader);
6117
+ };
6118
+
6119
+
6120
+ /**
6121
+ * Deserializes binary data (in protobuf wire format) from the
6122
+ * given reader into the given message object.
6123
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} msg The message object to deserialize into.
6124
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6125
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty}
6126
+ */
6127
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.deserializeBinaryFromReader = function(msg, reader) {
6128
+ while (reader.nextField()) {
6129
+ if (reader.isEndGroup()) {
6130
+ break;
6131
+ }
6132
+ var field = reader.getFieldNumber();
6133
+ switch (field) {
6134
+ case 1:
6135
+ var value = new google_protobuf_timestamp_pb.Timestamp;
6136
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
6137
+ msg.setWarrantyStartDate(value);
6138
+ break;
6139
+ case 2:
6140
+ var value = new google_protobuf_timestamp_pb.Timestamp;
6141
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
6142
+ msg.setWarrantyEndDate(value);
6143
+ break;
6144
+ case 3:
6145
+ var value = new google_protobuf_wrappers_pb.StringValue;
6146
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
6147
+ msg.setServiceType(value);
6148
+ break;
6149
+ case 4:
6150
+ var value = new google_protobuf_wrappers_pb.StringValue;
6151
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
6152
+ msg.setPurchaseCountry(value);
6153
+ break;
6154
+ case 5:
6155
+ var value = new google_protobuf_timestamp_pb.Timestamp;
6156
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
6157
+ msg.setShipDate(value);
6158
+ break;
6159
+ default:
6160
+ reader.skipField();
6161
+ break;
6162
+ }
6163
+ }
6164
+ return msg;
6165
+ };
6166
+
6167
+
6168
+ /**
6169
+ * Serializes the message to binary data (in protobuf wire format).
6170
+ * @return {!Uint8Array}
6171
+ */
6172
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.serializeBinary = function() {
6173
+ var writer = new jspb.BinaryWriter();
6174
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.serializeBinaryToWriter(this, writer);
6175
+ return writer.getResultBuffer();
6176
+ };
6177
+
6178
+
6179
+ /**
6180
+ * Serializes the given message to binary data (in protobuf wire
6181
+ * format), writing to the given BinaryWriter.
6182
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} message
6183
+ * @param {!jspb.BinaryWriter} writer
6184
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6185
+ */
6186
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.serializeBinaryToWriter = function(message, writer) {
6187
+ var f = undefined;
6188
+ f = message.getWarrantyStartDate();
6189
+ if (f != null) {
6190
+ writer.writeMessage(
6191
+ 1,
6192
+ f,
6193
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
6194
+ );
6195
+ }
6196
+ f = message.getWarrantyEndDate();
6197
+ if (f != null) {
6198
+ writer.writeMessage(
6199
+ 2,
6200
+ f,
6201
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
6202
+ );
6203
+ }
6204
+ f = message.getServiceType();
6205
+ if (f != null) {
6206
+ writer.writeMessage(
6207
+ 3,
6208
+ f,
6209
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
6210
+ );
6211
+ }
6212
+ f = message.getPurchaseCountry();
6213
+ if (f != null) {
6214
+ writer.writeMessage(
6215
+ 4,
6216
+ f,
6217
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
6218
+ );
6219
+ }
6220
+ f = message.getShipDate();
6221
+ if (f != null) {
6222
+ writer.writeMessage(
6223
+ 5,
6224
+ f,
6225
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
6226
+ );
6227
+ }
6228
+ };
6229
+
6230
+
6231
+ /**
6232
+ * optional google.protobuf.Timestamp warranty_start_date = 1;
6233
+ * @return {?proto.google.protobuf.Timestamp}
6234
+ */
6235
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.getWarrantyStartDate = function() {
6236
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
6237
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
6238
+ };
6239
+
6240
+
6241
+ /**
6242
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
6243
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
6244
+ */
6245
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.setWarrantyStartDate = function(value) {
6246
+ return jspb.Message.setWrapperField(this, 1, value);
6247
+ };
6248
+
6249
+
6250
+ /**
6251
+ * Clears the message field making it undefined.
6252
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
6253
+ */
6254
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.clearWarrantyStartDate = function() {
6255
+ return this.setWarrantyStartDate(undefined);
6256
+ };
6257
+
6258
+
6259
+ /**
6260
+ * Returns whether this field is set.
6261
+ * @return {boolean}
6262
+ */
6263
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.hasWarrantyStartDate = function() {
6264
+ return jspb.Message.getField(this, 1) != null;
6265
+ };
6266
+
6267
+
6268
+ /**
6269
+ * optional google.protobuf.Timestamp warranty_end_date = 2;
6270
+ * @return {?proto.google.protobuf.Timestamp}
6271
+ */
6272
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.getWarrantyEndDate = function() {
6273
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
6274
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
6275
+ };
6276
+
6277
+
6278
+ /**
6279
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
6280
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
6281
+ */
6282
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.setWarrantyEndDate = function(value) {
6283
+ return jspb.Message.setWrapperField(this, 2, value);
6284
+ };
6285
+
6286
+
6287
+ /**
6288
+ * Clears the message field making it undefined.
6289
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
6290
+ */
6291
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.clearWarrantyEndDate = function() {
6292
+ return this.setWarrantyEndDate(undefined);
6293
+ };
6294
+
6295
+
6296
+ /**
6297
+ * Returns whether this field is set.
6298
+ * @return {boolean}
6299
+ */
6300
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.hasWarrantyEndDate = function() {
6301
+ return jspb.Message.getField(this, 2) != null;
6302
+ };
6303
+
6304
+
6305
+ /**
6306
+ * optional google.protobuf.StringValue service_type = 3;
6307
+ * @return {?proto.google.protobuf.StringValue}
6308
+ */
6309
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.getServiceType = function() {
6310
+ return /** @type{?proto.google.protobuf.StringValue} */ (
6311
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
6312
+ };
6313
+
6314
+
6315
+ /**
6316
+ * @param {?proto.google.protobuf.StringValue|undefined} value
6317
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
6318
+ */
6319
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.setServiceType = function(value) {
6320
+ return jspb.Message.setWrapperField(this, 3, value);
6321
+ };
6322
+
6323
+
6324
+ /**
6325
+ * Clears the message field making it undefined.
6326
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
6327
+ */
6328
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.clearServiceType = function() {
6329
+ return this.setServiceType(undefined);
6330
+ };
6331
+
6332
+
6333
+ /**
6334
+ * Returns whether this field is set.
6335
+ * @return {boolean}
6336
+ */
6337
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.hasServiceType = function() {
6338
+ return jspb.Message.getField(this, 3) != null;
6339
+ };
6340
+
6341
+
6342
+ /**
6343
+ * optional google.protobuf.StringValue purchase_country = 4;
6344
+ * @return {?proto.google.protobuf.StringValue}
6345
+ */
6346
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.getPurchaseCountry = function() {
6347
+ return /** @type{?proto.google.protobuf.StringValue} */ (
6348
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
6349
+ };
6350
+
6351
+
6352
+ /**
6353
+ * @param {?proto.google.protobuf.StringValue|undefined} value
6354
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
6355
+ */
6356
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.setPurchaseCountry = function(value) {
6357
+ return jspb.Message.setWrapperField(this, 4, value);
6358
+ };
6359
+
6360
+
6361
+ /**
6362
+ * Clears the message field making it undefined.
6363
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
6364
+ */
6365
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.clearPurchaseCountry = function() {
6366
+ return this.setPurchaseCountry(undefined);
6367
+ };
6368
+
6369
+
6370
+ /**
6371
+ * Returns whether this field is set.
6372
+ * @return {boolean}
6373
+ */
6374
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.hasPurchaseCountry = function() {
6375
+ return jspb.Message.getField(this, 4) != null;
6376
+ };
6377
+
6378
+
6379
+ /**
6380
+ * optional google.protobuf.Timestamp ship_date = 5;
6381
+ * @return {?proto.google.protobuf.Timestamp}
6382
+ */
6383
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.getShipDate = function() {
6384
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
6385
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
6386
+ };
6387
+
6388
+
6389
+ /**
6390
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
6391
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
6392
+ */
6393
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.setShipDate = function(value) {
6394
+ return jspb.Message.setWrapperField(this, 5, value);
6395
+ };
6396
+
6397
+
6398
+ /**
6399
+ * Clears the message field making it undefined.
6400
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Warranty} returns this
6401
+ */
6402
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.clearShipDate = function() {
6403
+ return this.setShipDate(undefined);
6404
+ };
6405
+
6406
+
6407
+ /**
6408
+ * Returns whether this field is set.
6409
+ * @return {boolean}
6410
+ */
6411
+ proto.com.lansweeper.discovery.sensor.other.v1.Warranty.prototype.hasShipDate = function() {
6412
+ return jspb.Message.getField(this, 5) != null;
6413
+ };
6414
+
6415
+
6416
+
6417
+ /**
6418
+ * List of repeated fields within this message type.
6419
+ * @private {!Array<number>}
6420
+ * @const
6421
+ */
6422
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.repeatedFields_ = [1];
6423
+
6424
+
6425
+
6426
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6427
+ /**
6428
+ * Creates an object representation of this proto.
6429
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6430
+ * Optional fields that are not set will be set to undefined.
6431
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6432
+ * For the list of reserved names please see:
6433
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6434
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6435
+ * JSPB instance for transitional soy proto support:
6436
+ * http://goto/soy-param-migration
6437
+ * @return {!Object}
6438
+ */
6439
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.prototype.toObject = function(opt_includeInstance) {
6440
+ return proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.toObject(opt_includeInstance, this);
6441
+ };
6442
+
6443
+
6444
+ /**
6445
+ * Static version of the {@see toObject} method.
6446
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6447
+ * the JSPB instance for transitional soy proto support:
6448
+ * http://goto/soy-param-migration
6449
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData} msg The msg instance to transform.
6450
+ * @return {!Object}
6451
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6452
+ */
6453
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.toObject = function(includeInstance, msg) {
6454
+ var f, obj = {
6455
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
6456
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.toObject, includeInstance)
6457
+ };
6458
+
6459
+ if (includeInstance) {
6460
+ obj.$jspbMessageInstance = msg;
6461
+ }
6462
+ return obj;
6463
+ };
6464
+ }
6465
+
6466
+
6467
+ /**
6468
+ * Deserializes binary data (in protobuf wire format).
6469
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6470
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData}
6471
+ */
6472
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.deserializeBinary = function(bytes) {
6473
+ var reader = new jspb.BinaryReader(bytes);
6474
+ var msg = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData;
6475
+ return proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.deserializeBinaryFromReader(msg, reader);
6476
+ };
6477
+
6478
+
6479
+ /**
6480
+ * Deserializes binary data (in protobuf wire format) from the
6481
+ * given reader into the given message object.
6482
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData} msg The message object to deserialize into.
6483
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6484
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData}
6485
+ */
6486
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.deserializeBinaryFromReader = function(msg, reader) {
6487
+ while (reader.nextField()) {
6488
+ if (reader.isEndGroup()) {
6489
+ break;
6490
+ }
6491
+ var field = reader.getFieldNumber();
6492
+ switch (field) {
6493
+ case 1:
6494
+ var value = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig;
6495
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.deserializeBinaryFromReader);
6496
+ msg.addEntries(value);
6497
+ break;
6498
+ default:
6499
+ reader.skipField();
6500
+ break;
6501
+ }
6502
+ }
6503
+ return msg;
6504
+ };
6505
+
6506
+
6507
+ /**
6508
+ * Serializes the message to binary data (in protobuf wire format).
6509
+ * @return {!Uint8Array}
6510
+ */
6511
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.prototype.serializeBinary = function() {
6512
+ var writer = new jspb.BinaryWriter();
6513
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.serializeBinaryToWriter(this, writer);
6514
+ return writer.getResultBuffer();
6515
+ };
6516
+
6517
+
6518
+ /**
6519
+ * Serializes the given message to binary data (in protobuf wire
6520
+ * format), writing to the given BinaryWriter.
6521
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData} message
6522
+ * @param {!jspb.BinaryWriter} writer
6523
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6524
+ */
6525
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.serializeBinaryToWriter = function(message, writer) {
6526
+ var f = undefined;
6527
+ f = message.getEntriesList();
6528
+ if (f.length > 0) {
6529
+ writer.writeRepeatedMessage(
6530
+ 1,
6531
+ f,
6532
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.serializeBinaryToWriter
6533
+ );
6534
+ }
6535
+ };
6536
+
6537
+
6538
+ /**
6539
+ * repeated SnmpBusConfig entries = 1;
6540
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig>}
6541
+ */
6542
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.prototype.getEntriesList = function() {
6543
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig>} */ (
6544
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig, 1));
6545
+ };
6546
+
6547
+
6548
+ /**
6549
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig>} value
6550
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData} returns this
6551
+ */
6552
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.prototype.setEntriesList = function(value) {
6553
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
6554
+ };
6555
+
6556
+
6557
+ /**
6558
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig=} opt_value
6559
+ * @param {number=} opt_index
6560
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig}
6561
+ */
6562
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.prototype.addEntries = function(opt_value, opt_index) {
6563
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig, opt_index);
6564
+ };
6565
+
6566
+
6567
+ /**
6568
+ * Clears the list making it empty but non-null.
6569
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData} returns this
6570
+ */
6571
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfigData.prototype.clearEntriesList = function() {
6572
+ return this.setEntriesList([]);
6573
+ };
6574
+
6575
+
6576
+
6577
+ /**
6578
+ * List of repeated fields within this message type.
6579
+ * @private {!Array<number>}
6580
+ * @const
6581
+ */
6582
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.repeatedFields_ = [4];
6583
+
6584
+
6585
+
6586
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6587
+ /**
6588
+ * Creates an object representation of this proto.
6589
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6590
+ * Optional fields that are not set will be set to undefined.
6591
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6592
+ * For the list of reserved names please see:
6593
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6594
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6595
+ * JSPB instance for transitional soy proto support:
6596
+ * http://goto/soy-param-migration
6597
+ * @return {!Object}
6598
+ */
6599
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.toObject = function(opt_includeInstance) {
6600
+ return proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.toObject(opt_includeInstance, this);
6601
+ };
6602
+
6603
+
6604
+ /**
6605
+ * Static version of the {@see toObject} method.
6606
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6607
+ * the JSPB instance for transitional soy proto support:
6608
+ * http://goto/soy-param-migration
6609
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig} msg The msg instance to transform.
6610
+ * @return {!Object}
6611
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6612
+ */
6613
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.toObject = function(includeInstance, msg) {
6614
+ var f, obj = {
6615
+ index: jspb.Message.getFieldWithDefault(msg, 1, 0),
6616
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
6617
+ maxSize: jspb.Message.getFieldWithDefault(msg, 3, 0),
6618
+ modulesList: jspb.Message.toObjectList(msg.getModulesList(),
6619
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.toObject, includeInstance),
6620
+ type: (f = msg.getType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
6621
+ moduleStartIndex: jspb.Message.getFieldWithDefault(msg, 6, 0)
6622
+ };
6623
+
6624
+ if (includeInstance) {
6625
+ obj.$jspbMessageInstance = msg;
6626
+ }
6627
+ return obj;
6628
+ };
6629
+ }
6630
+
6631
+
6632
+ /**
6633
+ * Deserializes binary data (in protobuf wire format).
6634
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6635
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig}
6636
+ */
6637
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.deserializeBinary = function(bytes) {
6638
+ var reader = new jspb.BinaryReader(bytes);
6639
+ var msg = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig;
6640
+ return proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.deserializeBinaryFromReader(msg, reader);
6641
+ };
6642
+
6643
+
6644
+ /**
6645
+ * Deserializes binary data (in protobuf wire format) from the
6646
+ * given reader into the given message object.
6647
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig} msg The message object to deserialize into.
6648
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6649
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig}
6650
+ */
6651
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.deserializeBinaryFromReader = function(msg, reader) {
6652
+ while (reader.nextField()) {
6653
+ if (reader.isEndGroup()) {
6654
+ break;
6655
+ }
6656
+ var field = reader.getFieldNumber();
6657
+ switch (field) {
6658
+ case 1:
6659
+ var value = /** @type {number} */ (reader.readUint32());
6660
+ msg.setIndex(value);
6661
+ break;
6662
+ case 2:
6663
+ var value = new google_protobuf_wrappers_pb.StringValue;
6664
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
6665
+ msg.setName(value);
6666
+ break;
6667
+ case 3:
6668
+ var value = /** @type {number} */ (reader.readUint32());
6669
+ msg.setMaxSize(value);
6670
+ break;
6671
+ case 4:
6672
+ var value = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData;
6673
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.deserializeBinaryFromReader);
6674
+ msg.addModules(value);
6675
+ break;
6676
+ case 5:
6677
+ var value = new google_protobuf_wrappers_pb.StringValue;
6678
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
6679
+ msg.setType(value);
6680
+ break;
6681
+ case 6:
6682
+ var value = /** @type {number} */ (reader.readUint32());
6683
+ msg.setModuleStartIndex(value);
6684
+ break;
6685
+ default:
6686
+ reader.skipField();
6687
+ break;
6688
+ }
6689
+ }
6690
+ return msg;
6691
+ };
6692
+
6693
+
6694
+ /**
6695
+ * Serializes the message to binary data (in protobuf wire format).
6696
+ * @return {!Uint8Array}
6697
+ */
6698
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.serializeBinary = function() {
6699
+ var writer = new jspb.BinaryWriter();
6700
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.serializeBinaryToWriter(this, writer);
6701
+ return writer.getResultBuffer();
6702
+ };
6703
+
6704
+
6705
+ /**
6706
+ * Serializes the given message to binary data (in protobuf wire
6707
+ * format), writing to the given BinaryWriter.
6708
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig} message
6709
+ * @param {!jspb.BinaryWriter} writer
6710
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6711
+ */
6712
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.serializeBinaryToWriter = function(message, writer) {
6713
+ var f = undefined;
6714
+ f = message.getIndex();
6715
+ if (f !== 0) {
6716
+ writer.writeUint32(
6717
+ 1,
6718
+ f
6719
+ );
6720
+ }
6721
+ f = message.getName();
6722
+ if (f != null) {
6723
+ writer.writeMessage(
6724
+ 2,
6725
+ f,
6726
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
6727
+ );
6728
+ }
6729
+ f = message.getMaxSize();
6730
+ if (f !== 0) {
6731
+ writer.writeUint32(
6732
+ 3,
6733
+ f
6734
+ );
6735
+ }
6736
+ f = message.getModulesList();
6737
+ if (f.length > 0) {
6738
+ writer.writeRepeatedMessage(
6739
+ 4,
6740
+ f,
6741
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.serializeBinaryToWriter
6742
+ );
6743
+ }
6744
+ f = message.getType();
6745
+ if (f != null) {
6746
+ writer.writeMessage(
6747
+ 5,
6748
+ f,
6749
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
6750
+ );
6751
+ }
6752
+ f = message.getModuleStartIndex();
6753
+ if (f !== 0) {
6754
+ writer.writeUint32(
6755
+ 6,
6756
+ f
6757
+ );
6758
+ }
6759
+ };
6760
+
6761
+
6762
+ /**
6763
+ * optional uint32 index = 1;
6764
+ * @return {number}
6765
+ */
6766
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.getIndex = function() {
6767
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
6768
+ };
6769
+
6770
+
6771
+ /**
6772
+ * @param {number} value
6773
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig} returns this
6774
+ */
6775
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.setIndex = function(value) {
6776
+ return jspb.Message.setProto3IntField(this, 1, value);
6777
+ };
6778
+
6779
+
6780
+ /**
6781
+ * optional google.protobuf.StringValue name = 2;
6782
+ * @return {?proto.google.protobuf.StringValue}
6783
+ */
6784
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.getName = function() {
6785
+ return /** @type{?proto.google.protobuf.StringValue} */ (
6786
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
6787
+ };
6788
+
6789
+
6790
+ /**
6791
+ * @param {?proto.google.protobuf.StringValue|undefined} value
6792
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig} returns this
6793
+ */
6794
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.setName = function(value) {
6795
+ return jspb.Message.setWrapperField(this, 2, value);
6796
+ };
6797
+
6798
+
6799
+ /**
6800
+ * Clears the message field making it undefined.
6801
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig} returns this
6802
+ */
6803
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.clearName = function() {
6804
+ return this.setName(undefined);
6805
+ };
6806
+
6807
+
6808
+ /**
6809
+ * Returns whether this field is set.
6810
+ * @return {boolean}
6811
+ */
6812
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.hasName = function() {
6813
+ return jspb.Message.getField(this, 2) != null;
6814
+ };
6815
+
6816
+
6817
+ /**
6818
+ * optional uint32 max_size = 3;
6819
+ * @return {number}
6820
+ */
6821
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.getMaxSize = function() {
6822
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
6823
+ };
6824
+
6825
+
6826
+ /**
6827
+ * @param {number} value
6828
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig} returns this
6829
+ */
6830
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.setMaxSize = function(value) {
6831
+ return jspb.Message.setProto3IntField(this, 3, value);
6832
+ };
6833
+
6834
+
6835
+ /**
6836
+ * repeated SnmpModuleData modules = 4;
6837
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData>}
6838
+ */
6839
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.getModulesList = function() {
6840
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData>} */ (
6841
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData, 4));
6842
+ };
6843
+
6844
+
6845
+ /**
6846
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData>} value
6847
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig} returns this
6848
+ */
6849
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.setModulesList = function(value) {
6850
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
6851
+ };
6852
+
6853
+
6854
+ /**
6855
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData=} opt_value
6856
+ * @param {number=} opt_index
6857
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData}
6858
+ */
6859
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.addModules = function(opt_value, opt_index) {
6860
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData, opt_index);
6861
+ };
6862
+
6863
+
6864
+ /**
6865
+ * Clears the list making it empty but non-null.
6866
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig} returns this
6867
+ */
6868
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.clearModulesList = function() {
6869
+ return this.setModulesList([]);
6870
+ };
6871
+
6872
+
6873
+ /**
6874
+ * optional google.protobuf.StringValue type = 5;
6875
+ * @return {?proto.google.protobuf.StringValue}
6876
+ */
6877
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.getType = function() {
6878
+ return /** @type{?proto.google.protobuf.StringValue} */ (
6879
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
6880
+ };
6881
+
6882
+
6883
+ /**
6884
+ * @param {?proto.google.protobuf.StringValue|undefined} value
6885
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig} returns this
6886
+ */
6887
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.setType = function(value) {
6888
+ return jspb.Message.setWrapperField(this, 5, value);
6889
+ };
6890
+
6891
+
6892
+ /**
6893
+ * Clears the message field making it undefined.
6894
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig} returns this
6895
+ */
6896
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.clearType = function() {
6897
+ return this.setType(undefined);
6898
+ };
6899
+
6900
+
6901
+ /**
6902
+ * Returns whether this field is set.
6903
+ * @return {boolean}
6904
+ */
6905
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.hasType = function() {
6906
+ return jspb.Message.getField(this, 5) != null;
6907
+ };
6908
+
6909
+
6910
+ /**
6911
+ * optional uint32 module_start_index = 6;
6912
+ * @return {number}
6913
+ */
6914
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.getModuleStartIndex = function() {
6915
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
6916
+ };
6917
+
6918
+
6919
+ /**
6920
+ * @param {number} value
6921
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig} returns this
6922
+ */
6923
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.prototype.setModuleStartIndex = function(value) {
6924
+ return jspb.Message.setProto3IntField(this, 6, value);
6925
+ };
6926
+
6927
+
6928
+
6929
+ /**
6930
+ * List of repeated fields within this message type.
6931
+ * @private {!Array<number>}
6932
+ * @const
6933
+ */
6934
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.repeatedFields_ = [11,12];
6935
+
6936
+
6937
+
6938
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6939
+ /**
6940
+ * Creates an object representation of this proto.
6941
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6942
+ * Optional fields that are not set will be set to undefined.
6943
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6944
+ * For the list of reserved names please see:
6945
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6946
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6947
+ * JSPB instance for transitional soy proto support:
6948
+ * http://goto/soy-param-migration
6949
+ * @return {!Object}
6950
+ */
6951
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.toObject = function(opt_includeInstance) {
6952
+ return proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.toObject(opt_includeInstance, this);
6953
+ };
6954
+
6955
+
6956
+ /**
6957
+ * Static version of the {@see toObject} method.
6958
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6959
+ * the JSPB instance for transitional soy proto support:
6960
+ * http://goto/soy-param-migration
6961
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} msg The msg instance to transform.
6962
+ * @return {!Object}
6963
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6964
+ */
6965
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.toObject = function(includeInstance, msg) {
6966
+ var f, obj = {
6967
+ componentType: jspb.Message.getFieldWithDefault(msg, 1, ""),
6968
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
6969
+ mac: (f = msg.getMac()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
6970
+ manufacturer: (f = msg.getManufacturer()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
6971
+ serialNumber: (f = msg.getSerialNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
6972
+ model: (f = msg.getModel()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
6973
+ firmware: (f = msg.getFirmware()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
6974
+ partNumber: (f = msg.getPartNumber()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
6975
+ positionInBusConfig: (f = msg.getPositionInBusConfig()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f),
6976
+ width: (f = msg.getWidth()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
6977
+ extendedInformationList: jspb.Message.toObjectList(msg.getExtendedInformationList(),
6978
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.toObject, includeInstance),
6979
+ busConfigList: jspb.Message.toObjectList(msg.getBusConfigList(),
6980
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.toObject, includeInstance),
6981
+ routePath: (f = msg.getRoutePath()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
6982
+ };
6983
+
6984
+ if (includeInstance) {
6985
+ obj.$jspbMessageInstance = msg;
6986
+ }
6987
+ return obj;
6988
+ };
6989
+ }
6990
+
6991
+
6992
+ /**
6993
+ * Deserializes binary data (in protobuf wire format).
6994
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6995
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData}
6996
+ */
6997
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.deserializeBinary = function(bytes) {
6998
+ var reader = new jspb.BinaryReader(bytes);
6999
+ var msg = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData;
7000
+ return proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.deserializeBinaryFromReader(msg, reader);
7001
+ };
7002
+
7003
+
7004
+ /**
7005
+ * Deserializes binary data (in protobuf wire format) from the
7006
+ * given reader into the given message object.
7007
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} msg The message object to deserialize into.
7008
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7009
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData}
7010
+ */
7011
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.deserializeBinaryFromReader = function(msg, reader) {
7012
+ while (reader.nextField()) {
7013
+ if (reader.isEndGroup()) {
7014
+ break;
7015
+ }
7016
+ var field = reader.getFieldNumber();
7017
+ switch (field) {
7018
+ case 1:
7019
+ var value = /** @type {string} */ (reader.readString());
7020
+ msg.setComponentType(value);
7021
+ break;
7022
+ case 2:
7023
+ var value = new google_protobuf_wrappers_pb.StringValue;
7024
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
7025
+ msg.setName(value);
7026
+ break;
7027
+ case 3:
7028
+ var value = new google_protobuf_wrappers_pb.StringValue;
7029
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
7030
+ msg.setMac(value);
7031
+ break;
7032
+ case 4:
7033
+ var value = new google_protobuf_wrappers_pb.StringValue;
7034
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
7035
+ msg.setManufacturer(value);
7036
+ break;
7037
+ case 5:
7038
+ var value = new google_protobuf_wrappers_pb.StringValue;
7039
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
7040
+ msg.setSerialNumber(value);
7041
+ break;
7042
+ case 6:
7043
+ var value = new google_protobuf_wrappers_pb.StringValue;
7044
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
7045
+ msg.setModel(value);
7046
+ break;
7047
+ case 7:
7048
+ var value = new google_protobuf_wrappers_pb.StringValue;
7049
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
7050
+ msg.setFirmware(value);
7051
+ break;
7052
+ case 8:
7053
+ var value = new google_protobuf_wrappers_pb.StringValue;
7054
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
7055
+ msg.setPartNumber(value);
7056
+ break;
7057
+ case 9:
7058
+ var value = new google_protobuf_wrappers_pb.Int32Value;
7059
+ reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
7060
+ msg.setPositionInBusConfig(value);
7061
+ break;
7062
+ case 10:
7063
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
7064
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
7065
+ msg.setWidth(value);
7066
+ break;
7067
+ case 11:
7068
+ var value = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation;
7069
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.deserializeBinaryFromReader);
7070
+ msg.addExtendedInformation(value);
7071
+ break;
7072
+ case 12:
7073
+ var value = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig;
7074
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.deserializeBinaryFromReader);
7075
+ msg.addBusConfig(value);
7076
+ break;
7077
+ case 14:
7078
+ var value = new google_protobuf_wrappers_pb.StringValue;
7079
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
7080
+ msg.setRoutePath(value);
7081
+ break;
7082
+ default:
7083
+ reader.skipField();
7084
+ break;
7085
+ }
7086
+ }
7087
+ return msg;
7088
+ };
7089
+
7090
+
7091
+ /**
7092
+ * Serializes the message to binary data (in protobuf wire format).
7093
+ * @return {!Uint8Array}
7094
+ */
7095
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.serializeBinary = function() {
7096
+ var writer = new jspb.BinaryWriter();
7097
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.serializeBinaryToWriter(this, writer);
7098
+ return writer.getResultBuffer();
7099
+ };
7100
+
7101
+
7102
+ /**
7103
+ * Serializes the given message to binary data (in protobuf wire
7104
+ * format), writing to the given BinaryWriter.
7105
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} message
7106
+ * @param {!jspb.BinaryWriter} writer
7107
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7108
+ */
7109
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.serializeBinaryToWriter = function(message, writer) {
7110
+ var f = undefined;
7111
+ f = message.getComponentType();
7112
+ if (f.length > 0) {
7113
+ writer.writeString(
7114
+ 1,
7115
+ f
7116
+ );
7117
+ }
7118
+ f = message.getName();
7119
+ if (f != null) {
7120
+ writer.writeMessage(
7121
+ 2,
7122
+ f,
7123
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
7124
+ );
7125
+ }
7126
+ f = message.getMac();
7127
+ if (f != null) {
7128
+ writer.writeMessage(
7129
+ 3,
7130
+ f,
7131
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
7132
+ );
7133
+ }
7134
+ f = message.getManufacturer();
7135
+ if (f != null) {
7136
+ writer.writeMessage(
7137
+ 4,
7138
+ f,
7139
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
7140
+ );
7141
+ }
7142
+ f = message.getSerialNumber();
7143
+ if (f != null) {
7144
+ writer.writeMessage(
7145
+ 5,
7146
+ f,
7147
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
7148
+ );
7149
+ }
7150
+ f = message.getModel();
7151
+ if (f != null) {
7152
+ writer.writeMessage(
7153
+ 6,
7154
+ f,
7155
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
7156
+ );
7157
+ }
7158
+ f = message.getFirmware();
7159
+ if (f != null) {
7160
+ writer.writeMessage(
7161
+ 7,
7162
+ f,
7163
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
7164
+ );
7165
+ }
7166
+ f = message.getPartNumber();
7167
+ if (f != null) {
7168
+ writer.writeMessage(
7169
+ 8,
7170
+ f,
7171
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
7172
+ );
7173
+ }
7174
+ f = message.getPositionInBusConfig();
7175
+ if (f != null) {
7176
+ writer.writeMessage(
7177
+ 9,
7178
+ f,
7179
+ google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
7180
+ );
7181
+ }
7182
+ f = message.getWidth();
7183
+ if (f != null) {
7184
+ writer.writeMessage(
7185
+ 10,
7186
+ f,
7187
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
7188
+ );
7189
+ }
7190
+ f = message.getExtendedInformationList();
7191
+ if (f.length > 0) {
7192
+ writer.writeRepeatedMessage(
7193
+ 11,
7194
+ f,
7195
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.serializeBinaryToWriter
7196
+ );
7197
+ }
7198
+ f = message.getBusConfigList();
7199
+ if (f.length > 0) {
7200
+ writer.writeRepeatedMessage(
7201
+ 12,
7202
+ f,
7203
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig.serializeBinaryToWriter
7204
+ );
7205
+ }
7206
+ f = message.getRoutePath();
7207
+ if (f != null) {
7208
+ writer.writeMessage(
7209
+ 14,
7210
+ f,
7211
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
7212
+ );
7213
+ }
7214
+ };
7215
+
7216
+
7217
+ /**
7218
+ * optional string component_type = 1;
7219
+ * @return {string}
7220
+ */
7221
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.getComponentType = function() {
7222
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
7223
+ };
7224
+
7225
+
7226
+ /**
7227
+ * @param {string} value
7228
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7229
+ */
7230
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.setComponentType = function(value) {
7231
+ return jspb.Message.setProto3StringField(this, 1, value);
7232
+ };
7233
+
7234
+
7235
+ /**
7236
+ * optional google.protobuf.StringValue name = 2;
7237
+ * @return {?proto.google.protobuf.StringValue}
7238
+ */
7239
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.getName = function() {
7240
+ return /** @type{?proto.google.protobuf.StringValue} */ (
7241
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
7242
+ };
7243
+
7244
+
7245
+ /**
7246
+ * @param {?proto.google.protobuf.StringValue|undefined} value
7247
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7248
+ */
7249
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.setName = function(value) {
7250
+ return jspb.Message.setWrapperField(this, 2, value);
7251
+ };
7252
+
7253
+
7254
+ /**
7255
+ * Clears the message field making it undefined.
7256
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7257
+ */
7258
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.clearName = function() {
7259
+ return this.setName(undefined);
7260
+ };
7261
+
7262
+
7263
+ /**
7264
+ * Returns whether this field is set.
7265
+ * @return {boolean}
7266
+ */
7267
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.hasName = function() {
7268
+ return jspb.Message.getField(this, 2) != null;
7269
+ };
7270
+
7271
+
7272
+ /**
7273
+ * optional google.protobuf.StringValue mac = 3;
7274
+ * @return {?proto.google.protobuf.StringValue}
7275
+ */
7276
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.getMac = function() {
7277
+ return /** @type{?proto.google.protobuf.StringValue} */ (
7278
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
7279
+ };
7280
+
7281
+
7282
+ /**
7283
+ * @param {?proto.google.protobuf.StringValue|undefined} value
7284
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7285
+ */
7286
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.setMac = function(value) {
7287
+ return jspb.Message.setWrapperField(this, 3, value);
7288
+ };
7289
+
7290
+
7291
+ /**
7292
+ * Clears the message field making it undefined.
7293
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7294
+ */
7295
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.clearMac = function() {
7296
+ return this.setMac(undefined);
7297
+ };
7298
+
7299
+
7300
+ /**
7301
+ * Returns whether this field is set.
7302
+ * @return {boolean}
7303
+ */
7304
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.hasMac = function() {
7305
+ return jspb.Message.getField(this, 3) != null;
7306
+ };
7307
+
7308
+
7309
+ /**
7310
+ * optional google.protobuf.StringValue manufacturer = 4;
7311
+ * @return {?proto.google.protobuf.StringValue}
7312
+ */
7313
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.getManufacturer = function() {
7314
+ return /** @type{?proto.google.protobuf.StringValue} */ (
7315
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
7316
+ };
7317
+
7318
+
7319
+ /**
7320
+ * @param {?proto.google.protobuf.StringValue|undefined} value
7321
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7322
+ */
7323
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.setManufacturer = function(value) {
7324
+ return jspb.Message.setWrapperField(this, 4, value);
7325
+ };
7326
+
7327
+
7328
+ /**
7329
+ * Clears the message field making it undefined.
7330
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7331
+ */
7332
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.clearManufacturer = function() {
7333
+ return this.setManufacturer(undefined);
7334
+ };
7335
+
7336
+
7337
+ /**
7338
+ * Returns whether this field is set.
7339
+ * @return {boolean}
7340
+ */
7341
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.hasManufacturer = function() {
7342
+ return jspb.Message.getField(this, 4) != null;
7343
+ };
7344
+
7345
+
7346
+ /**
7347
+ * optional google.protobuf.StringValue serial_number = 5;
7348
+ * @return {?proto.google.protobuf.StringValue}
7349
+ */
7350
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.getSerialNumber = function() {
7351
+ return /** @type{?proto.google.protobuf.StringValue} */ (
7352
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
7353
+ };
7354
+
7355
+
7356
+ /**
7357
+ * @param {?proto.google.protobuf.StringValue|undefined} value
7358
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7359
+ */
7360
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.setSerialNumber = function(value) {
7361
+ return jspb.Message.setWrapperField(this, 5, value);
7362
+ };
7363
+
7364
+
7365
+ /**
7366
+ * Clears the message field making it undefined.
7367
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7368
+ */
7369
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.clearSerialNumber = function() {
7370
+ return this.setSerialNumber(undefined);
7371
+ };
7372
+
7373
+
7374
+ /**
7375
+ * Returns whether this field is set.
7376
+ * @return {boolean}
7377
+ */
7378
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.hasSerialNumber = function() {
7379
+ return jspb.Message.getField(this, 5) != null;
7380
+ };
7381
+
7382
+
7383
+ /**
7384
+ * optional google.protobuf.StringValue model = 6;
7385
+ * @return {?proto.google.protobuf.StringValue}
7386
+ */
7387
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.getModel = function() {
7388
+ return /** @type{?proto.google.protobuf.StringValue} */ (
7389
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
7390
+ };
7391
+
7392
+
7393
+ /**
7394
+ * @param {?proto.google.protobuf.StringValue|undefined} value
7395
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7396
+ */
7397
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.setModel = function(value) {
7398
+ return jspb.Message.setWrapperField(this, 6, value);
7399
+ };
7400
+
7401
+
7402
+ /**
7403
+ * Clears the message field making it undefined.
7404
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7405
+ */
7406
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.clearModel = function() {
7407
+ return this.setModel(undefined);
7408
+ };
7409
+
7410
+
7411
+ /**
7412
+ * Returns whether this field is set.
7413
+ * @return {boolean}
7414
+ */
7415
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.hasModel = function() {
7416
+ return jspb.Message.getField(this, 6) != null;
7417
+ };
7418
+
7419
+
7420
+ /**
7421
+ * optional google.protobuf.StringValue firmware = 7;
7422
+ * @return {?proto.google.protobuf.StringValue}
7423
+ */
7424
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.getFirmware = function() {
7425
+ return /** @type{?proto.google.protobuf.StringValue} */ (
7426
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
7427
+ };
7428
+
7429
+
7430
+ /**
7431
+ * @param {?proto.google.protobuf.StringValue|undefined} value
7432
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7433
+ */
7434
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.setFirmware = function(value) {
7435
+ return jspb.Message.setWrapperField(this, 7, value);
7436
+ };
7437
+
7438
+
7439
+ /**
7440
+ * Clears the message field making it undefined.
7441
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7442
+ */
7443
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.clearFirmware = function() {
7444
+ return this.setFirmware(undefined);
7445
+ };
7446
+
7447
+
7448
+ /**
7449
+ * Returns whether this field is set.
7450
+ * @return {boolean}
7451
+ */
7452
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.hasFirmware = function() {
7453
+ return jspb.Message.getField(this, 7) != null;
7454
+ };
7455
+
7456
+
7457
+ /**
7458
+ * optional google.protobuf.StringValue part_number = 8;
7459
+ * @return {?proto.google.protobuf.StringValue}
7460
+ */
7461
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.getPartNumber = function() {
7462
+ return /** @type{?proto.google.protobuf.StringValue} */ (
7463
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
7464
+ };
7465
+
7466
+
7467
+ /**
7468
+ * @param {?proto.google.protobuf.StringValue|undefined} value
7469
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7470
+ */
7471
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.setPartNumber = function(value) {
7472
+ return jspb.Message.setWrapperField(this, 8, value);
7473
+ };
7474
+
7475
+
7476
+ /**
7477
+ * Clears the message field making it undefined.
7478
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7479
+ */
7480
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.clearPartNumber = function() {
7481
+ return this.setPartNumber(undefined);
7482
+ };
7483
+
7484
+
7485
+ /**
7486
+ * Returns whether this field is set.
7487
+ * @return {boolean}
7488
+ */
7489
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.hasPartNumber = function() {
7490
+ return jspb.Message.getField(this, 8) != null;
7491
+ };
7492
+
7493
+
7494
+ /**
7495
+ * optional google.protobuf.Int32Value position_in_bus_config = 9;
7496
+ * @return {?proto.google.protobuf.Int32Value}
7497
+ */
7498
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.getPositionInBusConfig = function() {
7499
+ return /** @type{?proto.google.protobuf.Int32Value} */ (
7500
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 9));
7501
+ };
7502
+
7503
+
7504
+ /**
7505
+ * @param {?proto.google.protobuf.Int32Value|undefined} value
7506
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7507
+ */
7508
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.setPositionInBusConfig = function(value) {
7509
+ return jspb.Message.setWrapperField(this, 9, value);
7510
+ };
7511
+
7512
+
7513
+ /**
7514
+ * Clears the message field making it undefined.
7515
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7516
+ */
7517
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.clearPositionInBusConfig = function() {
7518
+ return this.setPositionInBusConfig(undefined);
7519
+ };
7520
+
7521
+
7522
+ /**
7523
+ * Returns whether this field is set.
7524
+ * @return {boolean}
7525
+ */
7526
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.hasPositionInBusConfig = function() {
7527
+ return jspb.Message.getField(this, 9) != null;
7528
+ };
7529
+
7530
+
7531
+ /**
7532
+ * optional google.protobuf.UInt32Value width = 10;
7533
+ * @return {?proto.google.protobuf.UInt32Value}
7534
+ */
7535
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.getWidth = function() {
7536
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
7537
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 10));
7538
+ };
7539
+
7540
+
7541
+ /**
7542
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
7543
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7544
+ */
7545
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.setWidth = function(value) {
7546
+ return jspb.Message.setWrapperField(this, 10, value);
7547
+ };
7548
+
7549
+
7550
+ /**
7551
+ * Clears the message field making it undefined.
7552
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7553
+ */
7554
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.clearWidth = function() {
7555
+ return this.setWidth(undefined);
7556
+ };
7557
+
7558
+
7559
+ /**
7560
+ * Returns whether this field is set.
7561
+ * @return {boolean}
7562
+ */
7563
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.hasWidth = function() {
7564
+ return jspb.Message.getField(this, 10) != null;
7565
+ };
7566
+
7567
+
7568
+ /**
7569
+ * repeated SnmpModuleExtendedInformation extended_information = 11;
7570
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation>}
7571
+ */
7572
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.getExtendedInformationList = function() {
7573
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation>} */ (
7574
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation, 11));
7575
+ };
7576
+
7577
+
7578
+ /**
7579
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation>} value
7580
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7581
+ */
7582
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.setExtendedInformationList = function(value) {
7583
+ return jspb.Message.setRepeatedWrapperField(this, 11, value);
7584
+ };
7585
+
7586
+
7587
+ /**
7588
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation=} opt_value
7589
+ * @param {number=} opt_index
7590
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation}
7591
+ */
7592
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.addExtendedInformation = function(opt_value, opt_index) {
7593
+ return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation, opt_index);
7594
+ };
7595
+
7596
+
7597
+ /**
7598
+ * Clears the list making it empty but non-null.
7599
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7600
+ */
7601
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.clearExtendedInformationList = function() {
7602
+ return this.setExtendedInformationList([]);
7603
+ };
7604
+
7605
+
7606
+ /**
7607
+ * repeated SnmpBusConfig bus_config = 12;
7608
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig>}
7609
+ */
7610
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.getBusConfigList = function() {
7611
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig>} */ (
7612
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig, 12));
7613
+ };
7614
+
7615
+
7616
+ /**
7617
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig>} value
7618
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7619
+ */
7620
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.setBusConfigList = function(value) {
7621
+ return jspb.Message.setRepeatedWrapperField(this, 12, value);
7622
+ };
7623
+
7624
+
7625
+ /**
7626
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig=} opt_value
7627
+ * @param {number=} opt_index
7628
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig}
7629
+ */
7630
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.addBusConfig = function(opt_value, opt_index) {
7631
+ return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.com.lansweeper.discovery.sensor.other.v1.SnmpBusConfig, opt_index);
7632
+ };
7633
+
7634
+
7635
+ /**
7636
+ * Clears the list making it empty but non-null.
7637
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7638
+ */
7639
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.clearBusConfigList = function() {
7640
+ return this.setBusConfigList([]);
7641
+ };
7642
+
7643
+
7644
+ /**
7645
+ * optional google.protobuf.StringValue route_path = 14;
7646
+ * @return {?proto.google.protobuf.StringValue}
7647
+ */
7648
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.getRoutePath = function() {
7649
+ return /** @type{?proto.google.protobuf.StringValue} */ (
7650
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 14));
7651
+ };
7652
+
7653
+
7654
+ /**
7655
+ * @param {?proto.google.protobuf.StringValue|undefined} value
7656
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7657
+ */
7658
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.setRoutePath = function(value) {
7659
+ return jspb.Message.setWrapperField(this, 14, value);
7660
+ };
7661
+
7662
+
7663
+ /**
7664
+ * Clears the message field making it undefined.
7665
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData} returns this
7666
+ */
7667
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.clearRoutePath = function() {
7668
+ return this.setRoutePath(undefined);
7669
+ };
7670
+
7671
+
7672
+ /**
7673
+ * Returns whether this field is set.
7674
+ * @return {boolean}
7675
+ */
7676
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleData.prototype.hasRoutePath = function() {
7677
+ return jspb.Message.getField(this, 14) != null;
7678
+ };
7679
+
7680
+
7681
+
7682
+
7683
+
7684
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7685
+ /**
7686
+ * Creates an object representation of this proto.
7687
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7688
+ * Optional fields that are not set will be set to undefined.
7689
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7690
+ * For the list of reserved names please see:
7691
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7692
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7693
+ * JSPB instance for transitional soy proto support:
7694
+ * http://goto/soy-param-migration
7695
+ * @return {!Object}
7696
+ */
7697
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.prototype.toObject = function(opt_includeInstance) {
7698
+ return proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.toObject(opt_includeInstance, this);
7699
+ };
7700
+
7701
+
7702
+ /**
7703
+ * Static version of the {@see toObject} method.
7704
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7705
+ * the JSPB instance for transitional soy proto support:
7706
+ * http://goto/soy-param-migration
7707
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation} msg The msg instance to transform.
7708
+ * @return {!Object}
7709
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7710
+ */
7711
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.toObject = function(includeInstance, msg) {
7712
+ var f, obj = {
7713
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
7714
+ value: jspb.Message.getFieldWithDefault(msg, 2, "")
7715
+ };
7716
+
7717
+ if (includeInstance) {
7718
+ obj.$jspbMessageInstance = msg;
7719
+ }
7720
+ return obj;
7721
+ };
7722
+ }
7723
+
7724
+
7725
+ /**
7726
+ * Deserializes binary data (in protobuf wire format).
7727
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7728
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation}
7729
+ */
7730
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.deserializeBinary = function(bytes) {
7731
+ var reader = new jspb.BinaryReader(bytes);
7732
+ var msg = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation;
7733
+ return proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.deserializeBinaryFromReader(msg, reader);
7734
+ };
7735
+
7736
+
7737
+ /**
7738
+ * Deserializes binary data (in protobuf wire format) from the
7739
+ * given reader into the given message object.
7740
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation} msg The message object to deserialize into.
7741
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7742
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation}
7743
+ */
7744
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.deserializeBinaryFromReader = function(msg, reader) {
7745
+ while (reader.nextField()) {
7746
+ if (reader.isEndGroup()) {
7747
+ break;
7748
+ }
7749
+ var field = reader.getFieldNumber();
7750
+ switch (field) {
7751
+ case 1:
7752
+ var value = /** @type {string} */ (reader.readString());
7753
+ msg.setKey(value);
7754
+ break;
7755
+ case 2:
7756
+ var value = /** @type {string} */ (reader.readString());
7757
+ msg.setValue(value);
7758
+ break;
7759
+ default:
7760
+ reader.skipField();
7761
+ break;
7762
+ }
7763
+ }
7764
+ return msg;
7765
+ };
7766
+
7767
+
7768
+ /**
7769
+ * Serializes the message to binary data (in protobuf wire format).
7770
+ * @return {!Uint8Array}
7771
+ */
7772
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.prototype.serializeBinary = function() {
7773
+ var writer = new jspb.BinaryWriter();
7774
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.serializeBinaryToWriter(this, writer);
7775
+ return writer.getResultBuffer();
7776
+ };
7777
+
7778
+
7779
+ /**
7780
+ * Serializes the given message to binary data (in protobuf wire
7781
+ * format), writing to the given BinaryWriter.
7782
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation} message
7783
+ * @param {!jspb.BinaryWriter} writer
7784
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7785
+ */
7786
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.serializeBinaryToWriter = function(message, writer) {
7787
+ var f = undefined;
7788
+ f = message.getKey();
7789
+ if (f.length > 0) {
7790
+ writer.writeString(
7791
+ 1,
7792
+ f
7793
+ );
7794
+ }
7795
+ f = message.getValue();
7796
+ if (f.length > 0) {
7797
+ writer.writeString(
7798
+ 2,
7799
+ f
7800
+ );
7801
+ }
7802
+ };
7803
+
7804
+
7805
+ /**
7806
+ * optional string key = 1;
7807
+ * @return {string}
7808
+ */
7809
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.prototype.getKey = function() {
7810
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
7811
+ };
7812
+
7813
+
7814
+ /**
7815
+ * @param {string} value
7816
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation} returns this
7817
+ */
7818
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.prototype.setKey = function(value) {
7819
+ return jspb.Message.setProto3StringField(this, 1, value);
7820
+ };
7821
+
7822
+
7823
+ /**
7824
+ * optional string value = 2;
7825
+ * @return {string}
7826
+ */
7827
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.prototype.getValue = function() {
7828
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
7829
+ };
7830
+
7831
+
7832
+ /**
7833
+ * @param {string} value
7834
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation} returns this
7835
+ */
7836
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpModuleExtendedInformation.prototype.setValue = function(value) {
7837
+ return jspb.Message.setProto3StringField(this, 2, value);
7838
+ };
7839
+
7840
+
7841
+ /**
7842
+ * @enum {number}
7843
+ */
7844
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackProtocol = {
7845
+ SNMP_STACK_PROTOCOL_UNKNOWN: 0,
7846
+ SNMP_STACK_PROTOCOL_CISCO_STACKWISE: 1,
7847
+ SNMP_STACK_PROTOCOL_HP_VSF: 2,
7848
+ SNMP_STACK_PROTOCOL_JUNIPER_VC: 3,
7849
+ SNMP_STACK_PROTOCOL_GENERIC_STACK_MIB: 4,
7850
+ SNMP_STACK_PROTOCOL_ENTITY_MIB: 5
7851
+ };
7852
+
7853
+ /**
7854
+ * @enum {number}
7855
+ */
7856
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackRole = {
7857
+ SNMP_STACK_ROLE_UNKNOWN: 0,
7858
+ SNMP_STACK_ROLE_MASTER: 1,
7859
+ SNMP_STACK_ROLE_MEMBER: 2,
7860
+ SNMP_STACK_ROLE_STANDBY: 3
7861
+ };
7862
+
7863
+ /**
7864
+ * @enum {number}
7865
+ */
7866
+ proto.com.lansweeper.discovery.sensor.other.v1.SnmpStackMemberState = {
7867
+ SNMP_STACK_MEMBER_STATE_UNKNOWN: 0,
7868
+ SNMP_STACK_MEMBER_STATE_READY: 1,
7869
+ SNMP_STACK_MEMBER_STATE_NOT_READY: 2,
7870
+ SNMP_STACK_MEMBER_STATE_PROVISIONING: 3,
7871
+ SNMP_STACK_MEMBER_STATE_DEGRADED: 4,
7872
+ SNMP_STACK_MEMBER_STATE_VERSION_MISMATCH: 5,
7873
+ SNMP_STACK_MEMBER_STATE_FEATURE_MISMATCH: 6,
7874
+ SNMP_STACK_MEMBER_STATE_SDM_MISMATCH: 7,
7875
+ SNMP_STACK_MEMBER_STATE_REMOVED: 8
7876
+ };
7877
+
5421
7878
  goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.other.v1);