@lansweeper/data-platform-outbound-grpc 0.1.118 → 0.1.120

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.
@@ -62,10 +62,12 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacDiagnostics',
62
62
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacEthernet', null, global);
63
63
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacHardwareController', null, global);
64
64
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory', null, global);
65
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress', null, global);
65
66
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacNetworkLocation', null, global);
66
67
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacOsFramework', null, global);
67
68
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacPreferencePane', null, global);
68
69
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacRegionalSettings', null, global);
70
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice', null, global);
69
71
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacSecureElements', null, global);
70
72
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerMacWifiController', null, global);
71
73
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerSystemProduct', null, global);
@@ -136,6 +138,8 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Monitor.SpecCase', null,
136
138
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MonitorInventory', null, global);
137
139
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Motherboard', null, global);
138
140
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MotherboardDevice', null, global);
141
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NVMExpress', null, global);
142
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume', null, global);
139
143
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetIpAddress', null, global);
140
144
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetworkInterface', null, global);
141
145
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces', null, global);
@@ -2200,6 +2204,90 @@ if (goog.DEBUG && !COMPILED) {
2200
2204
  */
2201
2205
  proto.com.lansweeper.dp.outbound.v1.ComputerMacNetworkLocation.displayName = 'proto.com.lansweeper.dp.outbound.v1.ComputerMacNetworkLocation';
2202
2206
  }
2207
+ /**
2208
+ * Generated by JsPbCodeGenerator.
2209
+ * @param {Array=} opt_data Optional initial data array, typically from a
2210
+ * server response, or constructed directly in Javascript. The array is used
2211
+ * in place and becomes part of the constructed object. It is not cloned.
2212
+ * If no data is provided, the constructed object will be empty, but still
2213
+ * valid.
2214
+ * @extends {jspb.Message}
2215
+ * @constructor
2216
+ */
2217
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress = function(opt_data) {
2218
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.repeatedFields_, null);
2219
+ };
2220
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress, jspb.Message);
2221
+ if (goog.DEBUG && !COMPILED) {
2222
+ /**
2223
+ * @public
2224
+ * @override
2225
+ */
2226
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.displayName = 'proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress';
2227
+ }
2228
+ /**
2229
+ * Generated by JsPbCodeGenerator.
2230
+ * @param {Array=} opt_data Optional initial data array, typically from a
2231
+ * server response, or constructed directly in Javascript. The array is used
2232
+ * in place and becomes part of the constructed object. It is not cloned.
2233
+ * If no data is provided, the constructed object will be empty, but still
2234
+ * valid.
2235
+ * @extends {jspb.Message}
2236
+ * @constructor
2237
+ */
2238
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress = function(opt_data) {
2239
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.NVMExpress.repeatedFields_, null);
2240
+ };
2241
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.NVMExpress, jspb.Message);
2242
+ if (goog.DEBUG && !COMPILED) {
2243
+ /**
2244
+ * @public
2245
+ * @override
2246
+ */
2247
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.displayName = 'proto.com.lansweeper.dp.outbound.v1.NVMExpress';
2248
+ }
2249
+ /**
2250
+ * Generated by JsPbCodeGenerator.
2251
+ * @param {Array=} opt_data Optional initial data array, typically from a
2252
+ * server response, or constructed directly in Javascript. The array is used
2253
+ * in place and becomes part of the constructed object. It is not cloned.
2254
+ * If no data is provided, the constructed object will be empty, but still
2255
+ * valid.
2256
+ * @extends {jspb.Message}
2257
+ * @constructor
2258
+ */
2259
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume = function(opt_data) {
2260
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2261
+ };
2262
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume, jspb.Message);
2263
+ if (goog.DEBUG && !COMPILED) {
2264
+ /**
2265
+ * @public
2266
+ * @override
2267
+ */
2268
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.displayName = 'proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume';
2269
+ }
2270
+ /**
2271
+ * Generated by JsPbCodeGenerator.
2272
+ * @param {Array=} opt_data Optional initial data array, typically from a
2273
+ * server response, or constructed directly in Javascript. The array is used
2274
+ * in place and becomes part of the constructed object. It is not cloned.
2275
+ * If no data is provided, the constructed object will be empty, but still
2276
+ * valid.
2277
+ * @extends {jspb.Message}
2278
+ * @constructor
2279
+ */
2280
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice = function(opt_data) {
2281
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2282
+ };
2283
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice, jspb.Message);
2284
+ if (goog.DEBUG && !COMPILED) {
2285
+ /**
2286
+ * @public
2287
+ * @override
2288
+ */
2289
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.displayName = 'proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice';
2290
+ }
2203
2291
  /**
2204
2292
  * Generated by JsPbCodeGenerator.
2205
2293
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -9150,7 +9238,7 @@ proto.com.lansweeper.dp.outbound.v1.WarrantyInfo.prototype.setIsReliable = funct
9150
9238
  * @private {!Array<number>}
9151
9239
  * @const
9152
9240
  */
9153
- proto.com.lansweeper.dp.outbound.v1.Computer.repeatedFields_ = [3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,33,27,32,28,29,30,31,34,35,36,38,39,41,102,103,105,107,202,203,205,206,207,209,210,211,212,213,214,215,216,217,218,219,221,222,225,302,303,304];
9241
+ proto.com.lansweeper.dp.outbound.v1.Computer.repeatedFields_ = [3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,33,27,32,28,29,30,31,34,35,36,38,39,41,44,102,103,105,107,202,203,205,206,207,209,210,211,212,213,214,215,216,217,218,219,221,222,225,302,303,304];
9154
9242
 
9155
9243
 
9156
9244
 
@@ -9261,6 +9349,9 @@ proto.com.lansweeper.dp.outbound.v1.Computer.toObject = function(includeInstance
9261
9349
  macDiagnosticList: jspb.Message.toObjectList(msg.getMacDiagnosticList(),
9262
9350
  proto.com.lansweeper.dp.outbound.v1.ComputerMacDiagnostics.toObject, includeInstance),
9263
9351
  macEthernet: (f = msg.getMacEthernet()) && proto.com.lansweeper.dp.outbound.v1.ComputerMacEthernet.toObject(includeInstance, f),
9352
+ macNvmExpress: (f = msg.getMacNvmExpress()) && proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.toObject(includeInstance, f),
9353
+ macSpiDeviceList: jspb.Message.toObjectList(msg.getMacSpiDeviceList(),
9354
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.toObject, includeInstance),
9264
9355
  bios: (f = msg.getBios()) && proto.com.lansweeper.dp.outbound.v1.Bios.toObject(includeInstance, f),
9265
9356
  osPatchList: jspb.Message.toObjectList(msg.getOsPatchList(),
9266
9357
  proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch.toObject, includeInstance),
@@ -9569,6 +9660,16 @@ proto.com.lansweeper.dp.outbound.v1.Computer.deserializeBinaryFromReader = funct
9569
9660
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ComputerMacEthernet.deserializeBinaryFromReader);
9570
9661
  msg.setMacEthernet(value);
9571
9662
  break;
9663
+ case 43:
9664
+ var value = new proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress;
9665
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.deserializeBinaryFromReader);
9666
+ msg.setMacNvmExpress(value);
9667
+ break;
9668
+ case 44:
9669
+ var value = new proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice;
9670
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.deserializeBinaryFromReader);
9671
+ msg.addMacSpiDevice(value);
9672
+ break;
9572
9673
  case 101:
9573
9674
  var value = new proto.com.lansweeper.dp.outbound.v1.Bios;
9574
9675
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Bios.deserializeBinaryFromReader);
@@ -10114,6 +10215,22 @@ proto.com.lansweeper.dp.outbound.v1.Computer.serializeBinaryToWriter = function(
10114
10215
  proto.com.lansweeper.dp.outbound.v1.ComputerMacEthernet.serializeBinaryToWriter
10115
10216
  );
10116
10217
  }
10218
+ f = message.getMacNvmExpress();
10219
+ if (f != null) {
10220
+ writer.writeMessage(
10221
+ 43,
10222
+ f,
10223
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.serializeBinaryToWriter
10224
+ );
10225
+ }
10226
+ f = message.getMacSpiDeviceList();
10227
+ if (f.length > 0) {
10228
+ writer.writeRepeatedMessage(
10229
+ 44,
10230
+ f,
10231
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.serializeBinaryToWriter
10232
+ );
10233
+ }
10117
10234
  f = message.getBios();
10118
10235
  if (f != null) {
10119
10236
  writer.writeMessage(
@@ -11995,6 +12112,81 @@ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.hasMacEthernet = function
11995
12112
  };
11996
12113
 
11997
12114
 
12115
+ /**
12116
+ * optional ComputerMacNVMExpress mac_nvm_express = 43;
12117
+ * @return {?proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress}
12118
+ */
12119
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.getMacNvmExpress = function() {
12120
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress} */ (
12121
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress, 43));
12122
+ };
12123
+
12124
+
12125
+ /**
12126
+ * @param {?proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress|undefined} value
12127
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
12128
+ */
12129
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.setMacNvmExpress = function(value) {
12130
+ return jspb.Message.setWrapperField(this, 43, value);
12131
+ };
12132
+
12133
+
12134
+ /**
12135
+ * Clears the message field making it undefined.
12136
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
12137
+ */
12138
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.clearMacNvmExpress = function() {
12139
+ return this.setMacNvmExpress(undefined);
12140
+ };
12141
+
12142
+
12143
+ /**
12144
+ * Returns whether this field is set.
12145
+ * @return {boolean}
12146
+ */
12147
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.hasMacNvmExpress = function() {
12148
+ return jspb.Message.getField(this, 43) != null;
12149
+ };
12150
+
12151
+
12152
+ /**
12153
+ * repeated ComputerMacSPIDevice mac_spi_device = 44;
12154
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice>}
12155
+ */
12156
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.getMacSpiDeviceList = function() {
12157
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice>} */ (
12158
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice, 44));
12159
+ };
12160
+
12161
+
12162
+ /**
12163
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice>} value
12164
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
12165
+ */
12166
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.setMacSpiDeviceList = function(value) {
12167
+ return jspb.Message.setRepeatedWrapperField(this, 44, value);
12168
+ };
12169
+
12170
+
12171
+ /**
12172
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice=} opt_value
12173
+ * @param {number=} opt_index
12174
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice}
12175
+ */
12176
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.addMacSpiDevice = function(opt_value, opt_index) {
12177
+ return jspb.Message.addToRepeatedWrapperField(this, 44, opt_value, proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice, opt_index);
12178
+ };
12179
+
12180
+
12181
+ /**
12182
+ * Clears the list making it empty but non-null.
12183
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
12184
+ */
12185
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.clearMacSpiDeviceList = function() {
12186
+ return this.setMacSpiDeviceList([]);
12187
+ };
12188
+
12189
+
11998
12190
  /**
11999
12191
  * optional Bios bios = 101;
12000
12192
  * @return {?proto.com.lansweeper.dp.outbound.v1.Bios}
@@ -52386,6 +52578,1822 @@ proto.com.lansweeper.dp.outbound.v1.ComputerMacNetworkLocation.prototype.clearLo
52386
52578
 
52387
52579
 
52388
52580
 
52581
+ /**
52582
+ * List of repeated fields within this message type.
52583
+ * @private {!Array<number>}
52584
+ * @const
52585
+ */
52586
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.repeatedFields_ = [2];
52587
+
52588
+
52589
+
52590
+ if (jspb.Message.GENERATE_TO_OBJECT) {
52591
+ /**
52592
+ * Creates an object representation of this proto.
52593
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
52594
+ * Optional fields that are not set will be set to undefined.
52595
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
52596
+ * For the list of reserved names please see:
52597
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
52598
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
52599
+ * JSPB instance for transitional soy proto support:
52600
+ * http://goto/soy-param-migration
52601
+ * @return {!Object}
52602
+ */
52603
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.prototype.toObject = function(opt_includeInstance) {
52604
+ return proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.toObject(opt_includeInstance, this);
52605
+ };
52606
+
52607
+
52608
+ /**
52609
+ * Static version of the {@see toObject} method.
52610
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
52611
+ * the JSPB instance for transitional soy proto support:
52612
+ * http://goto/soy-param-migration
52613
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress} msg The msg instance to transform.
52614
+ * @return {!Object}
52615
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52616
+ */
52617
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.toObject = function(includeInstance, msg) {
52618
+ var f, obj = {
52619
+ controllerName: jspb.Message.getFieldWithDefault(msg, 1, ""),
52620
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
52621
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.toObject, includeInstance)
52622
+ };
52623
+
52624
+ if (includeInstance) {
52625
+ obj.$jspbMessageInstance = msg;
52626
+ }
52627
+ return obj;
52628
+ };
52629
+ }
52630
+
52631
+
52632
+ /**
52633
+ * Deserializes binary data (in protobuf wire format).
52634
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
52635
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress}
52636
+ */
52637
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.deserializeBinary = function(bytes) {
52638
+ var reader = new jspb.BinaryReader(bytes);
52639
+ var msg = new proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress;
52640
+ return proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.deserializeBinaryFromReader(msg, reader);
52641
+ };
52642
+
52643
+
52644
+ /**
52645
+ * Deserializes binary data (in protobuf wire format) from the
52646
+ * given reader into the given message object.
52647
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress} msg The message object to deserialize into.
52648
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
52649
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress}
52650
+ */
52651
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.deserializeBinaryFromReader = function(msg, reader) {
52652
+ while (reader.nextField()) {
52653
+ if (reader.isEndGroup()) {
52654
+ break;
52655
+ }
52656
+ var field = reader.getFieldNumber();
52657
+ switch (field) {
52658
+ case 1:
52659
+ var value = /** @type {string} */ (reader.readString());
52660
+ msg.setControllerName(value);
52661
+ break;
52662
+ case 2:
52663
+ var value = new proto.com.lansweeper.dp.outbound.v1.NVMExpress;
52664
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.NVMExpress.deserializeBinaryFromReader);
52665
+ msg.addEntries(value);
52666
+ break;
52667
+ default:
52668
+ reader.skipField();
52669
+ break;
52670
+ }
52671
+ }
52672
+ return msg;
52673
+ };
52674
+
52675
+
52676
+ /**
52677
+ * Serializes the message to binary data (in protobuf wire format).
52678
+ * @return {!Uint8Array}
52679
+ */
52680
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.prototype.serializeBinary = function() {
52681
+ var writer = new jspb.BinaryWriter();
52682
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.serializeBinaryToWriter(this, writer);
52683
+ return writer.getResultBuffer();
52684
+ };
52685
+
52686
+
52687
+ /**
52688
+ * Serializes the given message to binary data (in protobuf wire
52689
+ * format), writing to the given BinaryWriter.
52690
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress} message
52691
+ * @param {!jspb.BinaryWriter} writer
52692
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52693
+ */
52694
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.serializeBinaryToWriter = function(message, writer) {
52695
+ var f = undefined;
52696
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
52697
+ if (f != null) {
52698
+ writer.writeString(
52699
+ 1,
52700
+ f
52701
+ );
52702
+ }
52703
+ f = message.getEntriesList();
52704
+ if (f.length > 0) {
52705
+ writer.writeRepeatedMessage(
52706
+ 2,
52707
+ f,
52708
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.serializeBinaryToWriter
52709
+ );
52710
+ }
52711
+ };
52712
+
52713
+
52714
+ /**
52715
+ * optional string controller_name = 1;
52716
+ * @return {string}
52717
+ */
52718
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.prototype.getControllerName = function() {
52719
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
52720
+ };
52721
+
52722
+
52723
+ /**
52724
+ * @param {string} value
52725
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress} returns this
52726
+ */
52727
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.prototype.setControllerName = function(value) {
52728
+ return jspb.Message.setField(this, 1, value);
52729
+ };
52730
+
52731
+
52732
+ /**
52733
+ * Clears the field making it undefined.
52734
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress} returns this
52735
+ */
52736
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.prototype.clearControllerName = function() {
52737
+ return jspb.Message.setField(this, 1, undefined);
52738
+ };
52739
+
52740
+
52741
+ /**
52742
+ * Returns whether this field is set.
52743
+ * @return {boolean}
52744
+ */
52745
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.prototype.hasControllerName = function() {
52746
+ return jspb.Message.getField(this, 1) != null;
52747
+ };
52748
+
52749
+
52750
+ /**
52751
+ * repeated NVMExpress entries = 2;
52752
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.NVMExpress>}
52753
+ */
52754
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.prototype.getEntriesList = function() {
52755
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.NVMExpress>} */ (
52756
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.NVMExpress, 2));
52757
+ };
52758
+
52759
+
52760
+ /**
52761
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.NVMExpress>} value
52762
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress} returns this
52763
+ */
52764
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.prototype.setEntriesList = function(value) {
52765
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
52766
+ };
52767
+
52768
+
52769
+ /**
52770
+ * @param {!proto.com.lansweeper.dp.outbound.v1.NVMExpress=} opt_value
52771
+ * @param {number=} opt_index
52772
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress}
52773
+ */
52774
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.prototype.addEntries = function(opt_value, opt_index) {
52775
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.dp.outbound.v1.NVMExpress, opt_index);
52776
+ };
52777
+
52778
+
52779
+ /**
52780
+ * Clears the list making it empty but non-null.
52781
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress} returns this
52782
+ */
52783
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacNVMExpress.prototype.clearEntriesList = function() {
52784
+ return this.setEntriesList([]);
52785
+ };
52786
+
52787
+
52788
+
52789
+ /**
52790
+ * List of repeated fields within this message type.
52791
+ * @private {!Array<number>}
52792
+ * @const
52793
+ */
52794
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.repeatedFields_ = [13];
52795
+
52796
+
52797
+
52798
+ if (jspb.Message.GENERATE_TO_OBJECT) {
52799
+ /**
52800
+ * Creates an object representation of this proto.
52801
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
52802
+ * Optional fields that are not set will be set to undefined.
52803
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
52804
+ * For the list of reserved names please see:
52805
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
52806
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
52807
+ * JSPB instance for transitional soy proto support:
52808
+ * http://goto/soy-param-migration
52809
+ * @return {!Object}
52810
+ */
52811
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.toObject = function(opt_includeInstance) {
52812
+ return proto.com.lansweeper.dp.outbound.v1.NVMExpress.toObject(opt_includeInstance, this);
52813
+ };
52814
+
52815
+
52816
+ /**
52817
+ * Static version of the {@see toObject} method.
52818
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
52819
+ * the JSPB instance for transitional soy proto support:
52820
+ * http://goto/soy-param-migration
52821
+ * @param {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} msg The msg instance to transform.
52822
+ * @return {!Object}
52823
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52824
+ */
52825
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.toObject = function(includeInstance, msg) {
52826
+ var f, obj = {
52827
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
52828
+ bsdName: jspb.Message.getFieldWithDefault(msg, 2, ""),
52829
+ detachableDrive: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
52830
+ deviceModel: jspb.Message.getFieldWithDefault(msg, 4, ""),
52831
+ deviceRevision: jspb.Message.getFieldWithDefault(msg, 5, ""),
52832
+ deviceSerialNumber: jspb.Message.getFieldWithDefault(msg, 6, ""),
52833
+ partitionMapType: jspb.Message.getFieldWithDefault(msg, 7, ""),
52834
+ removableMedia: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
52835
+ size: jspb.Message.getFieldWithDefault(msg, 9, ""),
52836
+ sizeInBytes: jspb.Message.getFieldWithDefault(msg, 10, 0),
52837
+ smartStatus: jspb.Message.getFieldWithDefault(msg, 11, ""),
52838
+ trimSupport: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
52839
+ volumesList: jspb.Message.toObjectList(msg.getVolumesList(),
52840
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.toObject, includeInstance)
52841
+ };
52842
+
52843
+ if (includeInstance) {
52844
+ obj.$jspbMessageInstance = msg;
52845
+ }
52846
+ return obj;
52847
+ };
52848
+ }
52849
+
52850
+
52851
+ /**
52852
+ * Deserializes binary data (in protobuf wire format).
52853
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
52854
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress}
52855
+ */
52856
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.deserializeBinary = function(bytes) {
52857
+ var reader = new jspb.BinaryReader(bytes);
52858
+ var msg = new proto.com.lansweeper.dp.outbound.v1.NVMExpress;
52859
+ return proto.com.lansweeper.dp.outbound.v1.NVMExpress.deserializeBinaryFromReader(msg, reader);
52860
+ };
52861
+
52862
+
52863
+ /**
52864
+ * Deserializes binary data (in protobuf wire format) from the
52865
+ * given reader into the given message object.
52866
+ * @param {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} msg The message object to deserialize into.
52867
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
52868
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress}
52869
+ */
52870
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.deserializeBinaryFromReader = function(msg, reader) {
52871
+ while (reader.nextField()) {
52872
+ if (reader.isEndGroup()) {
52873
+ break;
52874
+ }
52875
+ var field = reader.getFieldNumber();
52876
+ switch (field) {
52877
+ case 1:
52878
+ var value = /** @type {string} */ (reader.readString());
52879
+ msg.setName(value);
52880
+ break;
52881
+ case 2:
52882
+ var value = /** @type {string} */ (reader.readString());
52883
+ msg.setBsdName(value);
52884
+ break;
52885
+ case 3:
52886
+ var value = /** @type {boolean} */ (reader.readBool());
52887
+ msg.setDetachableDrive(value);
52888
+ break;
52889
+ case 4:
52890
+ var value = /** @type {string} */ (reader.readString());
52891
+ msg.setDeviceModel(value);
52892
+ break;
52893
+ case 5:
52894
+ var value = /** @type {string} */ (reader.readString());
52895
+ msg.setDeviceRevision(value);
52896
+ break;
52897
+ case 6:
52898
+ var value = /** @type {string} */ (reader.readString());
52899
+ msg.setDeviceSerialNumber(value);
52900
+ break;
52901
+ case 7:
52902
+ var value = /** @type {string} */ (reader.readString());
52903
+ msg.setPartitionMapType(value);
52904
+ break;
52905
+ case 8:
52906
+ var value = /** @type {boolean} */ (reader.readBool());
52907
+ msg.setRemovableMedia(value);
52908
+ break;
52909
+ case 9:
52910
+ var value = /** @type {string} */ (reader.readString());
52911
+ msg.setSize(value);
52912
+ break;
52913
+ case 10:
52914
+ var value = /** @type {number} */ (reader.readUint64());
52915
+ msg.setSizeInBytes(value);
52916
+ break;
52917
+ case 11:
52918
+ var value = /** @type {string} */ (reader.readString());
52919
+ msg.setSmartStatus(value);
52920
+ break;
52921
+ case 12:
52922
+ var value = /** @type {boolean} */ (reader.readBool());
52923
+ msg.setTrimSupport(value);
52924
+ break;
52925
+ case 13:
52926
+ var value = new proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume;
52927
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.deserializeBinaryFromReader);
52928
+ msg.addVolumes(value);
52929
+ break;
52930
+ default:
52931
+ reader.skipField();
52932
+ break;
52933
+ }
52934
+ }
52935
+ return msg;
52936
+ };
52937
+
52938
+
52939
+ /**
52940
+ * Serializes the message to binary data (in protobuf wire format).
52941
+ * @return {!Uint8Array}
52942
+ */
52943
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.serializeBinary = function() {
52944
+ var writer = new jspb.BinaryWriter();
52945
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.serializeBinaryToWriter(this, writer);
52946
+ return writer.getResultBuffer();
52947
+ };
52948
+
52949
+
52950
+ /**
52951
+ * Serializes the given message to binary data (in protobuf wire
52952
+ * format), writing to the given BinaryWriter.
52953
+ * @param {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} message
52954
+ * @param {!jspb.BinaryWriter} writer
52955
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52956
+ */
52957
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.serializeBinaryToWriter = function(message, writer) {
52958
+ var f = undefined;
52959
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
52960
+ if (f != null) {
52961
+ writer.writeString(
52962
+ 1,
52963
+ f
52964
+ );
52965
+ }
52966
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
52967
+ if (f != null) {
52968
+ writer.writeString(
52969
+ 2,
52970
+ f
52971
+ );
52972
+ }
52973
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
52974
+ if (f != null) {
52975
+ writer.writeBool(
52976
+ 3,
52977
+ f
52978
+ );
52979
+ }
52980
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
52981
+ if (f != null) {
52982
+ writer.writeString(
52983
+ 4,
52984
+ f
52985
+ );
52986
+ }
52987
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
52988
+ if (f != null) {
52989
+ writer.writeString(
52990
+ 5,
52991
+ f
52992
+ );
52993
+ }
52994
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
52995
+ if (f != null) {
52996
+ writer.writeString(
52997
+ 6,
52998
+ f
52999
+ );
53000
+ }
53001
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
53002
+ if (f != null) {
53003
+ writer.writeString(
53004
+ 7,
53005
+ f
53006
+ );
53007
+ }
53008
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 8));
53009
+ if (f != null) {
53010
+ writer.writeBool(
53011
+ 8,
53012
+ f
53013
+ );
53014
+ }
53015
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
53016
+ if (f != null) {
53017
+ writer.writeString(
53018
+ 9,
53019
+ f
53020
+ );
53021
+ }
53022
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
53023
+ if (f != null) {
53024
+ writer.writeUint64(
53025
+ 10,
53026
+ f
53027
+ );
53028
+ }
53029
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
53030
+ if (f != null) {
53031
+ writer.writeString(
53032
+ 11,
53033
+ f
53034
+ );
53035
+ }
53036
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 12));
53037
+ if (f != null) {
53038
+ writer.writeBool(
53039
+ 12,
53040
+ f
53041
+ );
53042
+ }
53043
+ f = message.getVolumesList();
53044
+ if (f.length > 0) {
53045
+ writer.writeRepeatedMessage(
53046
+ 13,
53047
+ f,
53048
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.serializeBinaryToWriter
53049
+ );
53050
+ }
53051
+ };
53052
+
53053
+
53054
+ /**
53055
+ * optional string name = 1;
53056
+ * @return {string}
53057
+ */
53058
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.getName = function() {
53059
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
53060
+ };
53061
+
53062
+
53063
+ /**
53064
+ * @param {string} value
53065
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53066
+ */
53067
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.setName = function(value) {
53068
+ return jspb.Message.setField(this, 1, value);
53069
+ };
53070
+
53071
+
53072
+ /**
53073
+ * Clears the field making it undefined.
53074
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53075
+ */
53076
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.clearName = function() {
53077
+ return jspb.Message.setField(this, 1, undefined);
53078
+ };
53079
+
53080
+
53081
+ /**
53082
+ * Returns whether this field is set.
53083
+ * @return {boolean}
53084
+ */
53085
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.hasName = function() {
53086
+ return jspb.Message.getField(this, 1) != null;
53087
+ };
53088
+
53089
+
53090
+ /**
53091
+ * optional string bsd_name = 2;
53092
+ * @return {string}
53093
+ */
53094
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.getBsdName = function() {
53095
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
53096
+ };
53097
+
53098
+
53099
+ /**
53100
+ * @param {string} value
53101
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53102
+ */
53103
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.setBsdName = function(value) {
53104
+ return jspb.Message.setField(this, 2, value);
53105
+ };
53106
+
53107
+
53108
+ /**
53109
+ * Clears the field making it undefined.
53110
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53111
+ */
53112
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.clearBsdName = function() {
53113
+ return jspb.Message.setField(this, 2, undefined);
53114
+ };
53115
+
53116
+
53117
+ /**
53118
+ * Returns whether this field is set.
53119
+ * @return {boolean}
53120
+ */
53121
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.hasBsdName = function() {
53122
+ return jspb.Message.getField(this, 2) != null;
53123
+ };
53124
+
53125
+
53126
+ /**
53127
+ * optional bool detachable_drive = 3;
53128
+ * @return {boolean}
53129
+ */
53130
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.getDetachableDrive = function() {
53131
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
53132
+ };
53133
+
53134
+
53135
+ /**
53136
+ * @param {boolean} value
53137
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53138
+ */
53139
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.setDetachableDrive = function(value) {
53140
+ return jspb.Message.setField(this, 3, value);
53141
+ };
53142
+
53143
+
53144
+ /**
53145
+ * Clears the field making it undefined.
53146
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53147
+ */
53148
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.clearDetachableDrive = function() {
53149
+ return jspb.Message.setField(this, 3, undefined);
53150
+ };
53151
+
53152
+
53153
+ /**
53154
+ * Returns whether this field is set.
53155
+ * @return {boolean}
53156
+ */
53157
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.hasDetachableDrive = function() {
53158
+ return jspb.Message.getField(this, 3) != null;
53159
+ };
53160
+
53161
+
53162
+ /**
53163
+ * optional string device_model = 4;
53164
+ * @return {string}
53165
+ */
53166
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.getDeviceModel = function() {
53167
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
53168
+ };
53169
+
53170
+
53171
+ /**
53172
+ * @param {string} value
53173
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53174
+ */
53175
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.setDeviceModel = function(value) {
53176
+ return jspb.Message.setField(this, 4, value);
53177
+ };
53178
+
53179
+
53180
+ /**
53181
+ * Clears the field making it undefined.
53182
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53183
+ */
53184
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.clearDeviceModel = function() {
53185
+ return jspb.Message.setField(this, 4, undefined);
53186
+ };
53187
+
53188
+
53189
+ /**
53190
+ * Returns whether this field is set.
53191
+ * @return {boolean}
53192
+ */
53193
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.hasDeviceModel = function() {
53194
+ return jspb.Message.getField(this, 4) != null;
53195
+ };
53196
+
53197
+
53198
+ /**
53199
+ * optional string device_revision = 5;
53200
+ * @return {string}
53201
+ */
53202
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.getDeviceRevision = function() {
53203
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
53204
+ };
53205
+
53206
+
53207
+ /**
53208
+ * @param {string} value
53209
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53210
+ */
53211
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.setDeviceRevision = function(value) {
53212
+ return jspb.Message.setField(this, 5, value);
53213
+ };
53214
+
53215
+
53216
+ /**
53217
+ * Clears the field making it undefined.
53218
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53219
+ */
53220
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.clearDeviceRevision = function() {
53221
+ return jspb.Message.setField(this, 5, undefined);
53222
+ };
53223
+
53224
+
53225
+ /**
53226
+ * Returns whether this field is set.
53227
+ * @return {boolean}
53228
+ */
53229
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.hasDeviceRevision = function() {
53230
+ return jspb.Message.getField(this, 5) != null;
53231
+ };
53232
+
53233
+
53234
+ /**
53235
+ * optional string device_serial_number = 6;
53236
+ * @return {string}
53237
+ */
53238
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.getDeviceSerialNumber = function() {
53239
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
53240
+ };
53241
+
53242
+
53243
+ /**
53244
+ * @param {string} value
53245
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53246
+ */
53247
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.setDeviceSerialNumber = function(value) {
53248
+ return jspb.Message.setField(this, 6, value);
53249
+ };
53250
+
53251
+
53252
+ /**
53253
+ * Clears the field making it undefined.
53254
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53255
+ */
53256
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.clearDeviceSerialNumber = function() {
53257
+ return jspb.Message.setField(this, 6, undefined);
53258
+ };
53259
+
53260
+
53261
+ /**
53262
+ * Returns whether this field is set.
53263
+ * @return {boolean}
53264
+ */
53265
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.hasDeviceSerialNumber = function() {
53266
+ return jspb.Message.getField(this, 6) != null;
53267
+ };
53268
+
53269
+
53270
+ /**
53271
+ * optional string partition_map_type = 7;
53272
+ * @return {string}
53273
+ */
53274
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.getPartitionMapType = function() {
53275
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
53276
+ };
53277
+
53278
+
53279
+ /**
53280
+ * @param {string} value
53281
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53282
+ */
53283
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.setPartitionMapType = function(value) {
53284
+ return jspb.Message.setField(this, 7, value);
53285
+ };
53286
+
53287
+
53288
+ /**
53289
+ * Clears the field making it undefined.
53290
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53291
+ */
53292
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.clearPartitionMapType = function() {
53293
+ return jspb.Message.setField(this, 7, undefined);
53294
+ };
53295
+
53296
+
53297
+ /**
53298
+ * Returns whether this field is set.
53299
+ * @return {boolean}
53300
+ */
53301
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.hasPartitionMapType = function() {
53302
+ return jspb.Message.getField(this, 7) != null;
53303
+ };
53304
+
53305
+
53306
+ /**
53307
+ * optional bool removable_media = 8;
53308
+ * @return {boolean}
53309
+ */
53310
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.getRemovableMedia = function() {
53311
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
53312
+ };
53313
+
53314
+
53315
+ /**
53316
+ * @param {boolean} value
53317
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53318
+ */
53319
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.setRemovableMedia = function(value) {
53320
+ return jspb.Message.setField(this, 8, value);
53321
+ };
53322
+
53323
+
53324
+ /**
53325
+ * Clears the field making it undefined.
53326
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53327
+ */
53328
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.clearRemovableMedia = function() {
53329
+ return jspb.Message.setField(this, 8, undefined);
53330
+ };
53331
+
53332
+
53333
+ /**
53334
+ * Returns whether this field is set.
53335
+ * @return {boolean}
53336
+ */
53337
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.hasRemovableMedia = function() {
53338
+ return jspb.Message.getField(this, 8) != null;
53339
+ };
53340
+
53341
+
53342
+ /**
53343
+ * optional string size = 9;
53344
+ * @return {string}
53345
+ */
53346
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.getSize = function() {
53347
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
53348
+ };
53349
+
53350
+
53351
+ /**
53352
+ * @param {string} value
53353
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53354
+ */
53355
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.setSize = function(value) {
53356
+ return jspb.Message.setField(this, 9, value);
53357
+ };
53358
+
53359
+
53360
+ /**
53361
+ * Clears the field making it undefined.
53362
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53363
+ */
53364
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.clearSize = function() {
53365
+ return jspb.Message.setField(this, 9, undefined);
53366
+ };
53367
+
53368
+
53369
+ /**
53370
+ * Returns whether this field is set.
53371
+ * @return {boolean}
53372
+ */
53373
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.hasSize = function() {
53374
+ return jspb.Message.getField(this, 9) != null;
53375
+ };
53376
+
53377
+
53378
+ /**
53379
+ * optional uint64 size_in_bytes = 10;
53380
+ * @return {number}
53381
+ */
53382
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.getSizeInBytes = function() {
53383
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
53384
+ };
53385
+
53386
+
53387
+ /**
53388
+ * @param {number} value
53389
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53390
+ */
53391
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.setSizeInBytes = function(value) {
53392
+ return jspb.Message.setField(this, 10, value);
53393
+ };
53394
+
53395
+
53396
+ /**
53397
+ * Clears the field making it undefined.
53398
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53399
+ */
53400
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.clearSizeInBytes = function() {
53401
+ return jspb.Message.setField(this, 10, undefined);
53402
+ };
53403
+
53404
+
53405
+ /**
53406
+ * Returns whether this field is set.
53407
+ * @return {boolean}
53408
+ */
53409
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.hasSizeInBytes = function() {
53410
+ return jspb.Message.getField(this, 10) != null;
53411
+ };
53412
+
53413
+
53414
+ /**
53415
+ * optional string smart_status = 11;
53416
+ * @return {string}
53417
+ */
53418
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.getSmartStatus = function() {
53419
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
53420
+ };
53421
+
53422
+
53423
+ /**
53424
+ * @param {string} value
53425
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53426
+ */
53427
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.setSmartStatus = function(value) {
53428
+ return jspb.Message.setField(this, 11, value);
53429
+ };
53430
+
53431
+
53432
+ /**
53433
+ * Clears the field making it undefined.
53434
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53435
+ */
53436
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.clearSmartStatus = function() {
53437
+ return jspb.Message.setField(this, 11, undefined);
53438
+ };
53439
+
53440
+
53441
+ /**
53442
+ * Returns whether this field is set.
53443
+ * @return {boolean}
53444
+ */
53445
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.hasSmartStatus = function() {
53446
+ return jspb.Message.getField(this, 11) != null;
53447
+ };
53448
+
53449
+
53450
+ /**
53451
+ * optional bool trim_support = 12;
53452
+ * @return {boolean}
53453
+ */
53454
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.getTrimSupport = function() {
53455
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
53456
+ };
53457
+
53458
+
53459
+ /**
53460
+ * @param {boolean} value
53461
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53462
+ */
53463
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.setTrimSupport = function(value) {
53464
+ return jspb.Message.setField(this, 12, value);
53465
+ };
53466
+
53467
+
53468
+ /**
53469
+ * Clears the field making it undefined.
53470
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53471
+ */
53472
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.clearTrimSupport = function() {
53473
+ return jspb.Message.setField(this, 12, undefined);
53474
+ };
53475
+
53476
+
53477
+ /**
53478
+ * Returns whether this field is set.
53479
+ * @return {boolean}
53480
+ */
53481
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.hasTrimSupport = function() {
53482
+ return jspb.Message.getField(this, 12) != null;
53483
+ };
53484
+
53485
+
53486
+ /**
53487
+ * repeated NVMExpressVolume volumes = 13;
53488
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume>}
53489
+ */
53490
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.getVolumesList = function() {
53491
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume>} */ (
53492
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume, 13));
53493
+ };
53494
+
53495
+
53496
+ /**
53497
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume>} value
53498
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53499
+ */
53500
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.setVolumesList = function(value) {
53501
+ return jspb.Message.setRepeatedWrapperField(this, 13, value);
53502
+ };
53503
+
53504
+
53505
+ /**
53506
+ * @param {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume=} opt_value
53507
+ * @param {number=} opt_index
53508
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume}
53509
+ */
53510
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.addVolumes = function(opt_value, opt_index) {
53511
+ return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume, opt_index);
53512
+ };
53513
+
53514
+
53515
+ /**
53516
+ * Clears the list making it empty but non-null.
53517
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpress} returns this
53518
+ */
53519
+ proto.com.lansweeper.dp.outbound.v1.NVMExpress.prototype.clearVolumesList = function() {
53520
+ return this.setVolumesList([]);
53521
+ };
53522
+
53523
+
53524
+
53525
+
53526
+
53527
+ if (jspb.Message.GENERATE_TO_OBJECT) {
53528
+ /**
53529
+ * Creates an object representation of this proto.
53530
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
53531
+ * Optional fields that are not set will be set to undefined.
53532
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
53533
+ * For the list of reserved names please see:
53534
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
53535
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
53536
+ * JSPB instance for transitional soy proto support:
53537
+ * http://goto/soy-param-migration
53538
+ * @return {!Object}
53539
+ */
53540
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.toObject = function(opt_includeInstance) {
53541
+ return proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.toObject(opt_includeInstance, this);
53542
+ };
53543
+
53544
+
53545
+ /**
53546
+ * Static version of the {@see toObject} method.
53547
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
53548
+ * the JSPB instance for transitional soy proto support:
53549
+ * http://goto/soy-param-migration
53550
+ * @param {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume} msg The msg instance to transform.
53551
+ * @return {!Object}
53552
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53553
+ */
53554
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.toObject = function(includeInstance, msg) {
53555
+ var f, obj = {
53556
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
53557
+ bsdName: jspb.Message.getFieldWithDefault(msg, 2, ""),
53558
+ ioContent: jspb.Message.getFieldWithDefault(msg, 3, ""),
53559
+ size: jspb.Message.getFieldWithDefault(msg, 4, ""),
53560
+ sizeInBytes: jspb.Message.getFieldWithDefault(msg, 5, 0)
53561
+ };
53562
+
53563
+ if (includeInstance) {
53564
+ obj.$jspbMessageInstance = msg;
53565
+ }
53566
+ return obj;
53567
+ };
53568
+ }
53569
+
53570
+
53571
+ /**
53572
+ * Deserializes binary data (in protobuf wire format).
53573
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
53574
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume}
53575
+ */
53576
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.deserializeBinary = function(bytes) {
53577
+ var reader = new jspb.BinaryReader(bytes);
53578
+ var msg = new proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume;
53579
+ return proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.deserializeBinaryFromReader(msg, reader);
53580
+ };
53581
+
53582
+
53583
+ /**
53584
+ * Deserializes binary data (in protobuf wire format) from the
53585
+ * given reader into the given message object.
53586
+ * @param {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume} msg The message object to deserialize into.
53587
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
53588
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume}
53589
+ */
53590
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.deserializeBinaryFromReader = function(msg, reader) {
53591
+ while (reader.nextField()) {
53592
+ if (reader.isEndGroup()) {
53593
+ break;
53594
+ }
53595
+ var field = reader.getFieldNumber();
53596
+ switch (field) {
53597
+ case 1:
53598
+ var value = /** @type {string} */ (reader.readString());
53599
+ msg.setName(value);
53600
+ break;
53601
+ case 2:
53602
+ var value = /** @type {string} */ (reader.readString());
53603
+ msg.setBsdName(value);
53604
+ break;
53605
+ case 3:
53606
+ var value = /** @type {string} */ (reader.readString());
53607
+ msg.setIoContent(value);
53608
+ break;
53609
+ case 4:
53610
+ var value = /** @type {string} */ (reader.readString());
53611
+ msg.setSize(value);
53612
+ break;
53613
+ case 5:
53614
+ var value = /** @type {number} */ (reader.readUint64());
53615
+ msg.setSizeInBytes(value);
53616
+ break;
53617
+ default:
53618
+ reader.skipField();
53619
+ break;
53620
+ }
53621
+ }
53622
+ return msg;
53623
+ };
53624
+
53625
+
53626
+ /**
53627
+ * Serializes the message to binary data (in protobuf wire format).
53628
+ * @return {!Uint8Array}
53629
+ */
53630
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.serializeBinary = function() {
53631
+ var writer = new jspb.BinaryWriter();
53632
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.serializeBinaryToWriter(this, writer);
53633
+ return writer.getResultBuffer();
53634
+ };
53635
+
53636
+
53637
+ /**
53638
+ * Serializes the given message to binary data (in protobuf wire
53639
+ * format), writing to the given BinaryWriter.
53640
+ * @param {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume} message
53641
+ * @param {!jspb.BinaryWriter} writer
53642
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53643
+ */
53644
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.serializeBinaryToWriter = function(message, writer) {
53645
+ var f = undefined;
53646
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
53647
+ if (f != null) {
53648
+ writer.writeString(
53649
+ 1,
53650
+ f
53651
+ );
53652
+ }
53653
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
53654
+ if (f != null) {
53655
+ writer.writeString(
53656
+ 2,
53657
+ f
53658
+ );
53659
+ }
53660
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
53661
+ if (f != null) {
53662
+ writer.writeString(
53663
+ 3,
53664
+ f
53665
+ );
53666
+ }
53667
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
53668
+ if (f != null) {
53669
+ writer.writeString(
53670
+ 4,
53671
+ f
53672
+ );
53673
+ }
53674
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
53675
+ if (f != null) {
53676
+ writer.writeUint64(
53677
+ 5,
53678
+ f
53679
+ );
53680
+ }
53681
+ };
53682
+
53683
+
53684
+ /**
53685
+ * optional string name = 1;
53686
+ * @return {string}
53687
+ */
53688
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.getName = function() {
53689
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
53690
+ };
53691
+
53692
+
53693
+ /**
53694
+ * @param {string} value
53695
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume} returns this
53696
+ */
53697
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.setName = function(value) {
53698
+ return jspb.Message.setField(this, 1, value);
53699
+ };
53700
+
53701
+
53702
+ /**
53703
+ * Clears the field making it undefined.
53704
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume} returns this
53705
+ */
53706
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.clearName = function() {
53707
+ return jspb.Message.setField(this, 1, undefined);
53708
+ };
53709
+
53710
+
53711
+ /**
53712
+ * Returns whether this field is set.
53713
+ * @return {boolean}
53714
+ */
53715
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.hasName = function() {
53716
+ return jspb.Message.getField(this, 1) != null;
53717
+ };
53718
+
53719
+
53720
+ /**
53721
+ * optional string bsd_name = 2;
53722
+ * @return {string}
53723
+ */
53724
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.getBsdName = function() {
53725
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
53726
+ };
53727
+
53728
+
53729
+ /**
53730
+ * @param {string} value
53731
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume} returns this
53732
+ */
53733
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.setBsdName = function(value) {
53734
+ return jspb.Message.setField(this, 2, value);
53735
+ };
53736
+
53737
+
53738
+ /**
53739
+ * Clears the field making it undefined.
53740
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume} returns this
53741
+ */
53742
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.clearBsdName = function() {
53743
+ return jspb.Message.setField(this, 2, undefined);
53744
+ };
53745
+
53746
+
53747
+ /**
53748
+ * Returns whether this field is set.
53749
+ * @return {boolean}
53750
+ */
53751
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.hasBsdName = function() {
53752
+ return jspb.Message.getField(this, 2) != null;
53753
+ };
53754
+
53755
+
53756
+ /**
53757
+ * optional string io_content = 3;
53758
+ * @return {string}
53759
+ */
53760
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.getIoContent = function() {
53761
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
53762
+ };
53763
+
53764
+
53765
+ /**
53766
+ * @param {string} value
53767
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume} returns this
53768
+ */
53769
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.setIoContent = function(value) {
53770
+ return jspb.Message.setField(this, 3, value);
53771
+ };
53772
+
53773
+
53774
+ /**
53775
+ * Clears the field making it undefined.
53776
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume} returns this
53777
+ */
53778
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.clearIoContent = function() {
53779
+ return jspb.Message.setField(this, 3, undefined);
53780
+ };
53781
+
53782
+
53783
+ /**
53784
+ * Returns whether this field is set.
53785
+ * @return {boolean}
53786
+ */
53787
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.hasIoContent = function() {
53788
+ return jspb.Message.getField(this, 3) != null;
53789
+ };
53790
+
53791
+
53792
+ /**
53793
+ * optional string size = 4;
53794
+ * @return {string}
53795
+ */
53796
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.getSize = function() {
53797
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
53798
+ };
53799
+
53800
+
53801
+ /**
53802
+ * @param {string} value
53803
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume} returns this
53804
+ */
53805
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.setSize = function(value) {
53806
+ return jspb.Message.setField(this, 4, value);
53807
+ };
53808
+
53809
+
53810
+ /**
53811
+ * Clears the field making it undefined.
53812
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume} returns this
53813
+ */
53814
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.clearSize = function() {
53815
+ return jspb.Message.setField(this, 4, undefined);
53816
+ };
53817
+
53818
+
53819
+ /**
53820
+ * Returns whether this field is set.
53821
+ * @return {boolean}
53822
+ */
53823
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.hasSize = function() {
53824
+ return jspb.Message.getField(this, 4) != null;
53825
+ };
53826
+
53827
+
53828
+ /**
53829
+ * optional uint64 size_in_bytes = 5;
53830
+ * @return {number}
53831
+ */
53832
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.getSizeInBytes = function() {
53833
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
53834
+ };
53835
+
53836
+
53837
+ /**
53838
+ * @param {number} value
53839
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume} returns this
53840
+ */
53841
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.setSizeInBytes = function(value) {
53842
+ return jspb.Message.setField(this, 5, value);
53843
+ };
53844
+
53845
+
53846
+ /**
53847
+ * Clears the field making it undefined.
53848
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume} returns this
53849
+ */
53850
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.clearSizeInBytes = function() {
53851
+ return jspb.Message.setField(this, 5, undefined);
53852
+ };
53853
+
53854
+
53855
+ /**
53856
+ * Returns whether this field is set.
53857
+ * @return {boolean}
53858
+ */
53859
+ proto.com.lansweeper.dp.outbound.v1.NVMExpressVolume.prototype.hasSizeInBytes = function() {
53860
+ return jspb.Message.getField(this, 5) != null;
53861
+ };
53862
+
53863
+
53864
+
53865
+
53866
+
53867
+ if (jspb.Message.GENERATE_TO_OBJECT) {
53868
+ /**
53869
+ * Creates an object representation of this proto.
53870
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
53871
+ * Optional fields that are not set will be set to undefined.
53872
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
53873
+ * For the list of reserved names please see:
53874
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
53875
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
53876
+ * JSPB instance for transitional soy proto support:
53877
+ * http://goto/soy-param-migration
53878
+ * @return {!Object}
53879
+ */
53880
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.toObject = function(opt_includeInstance) {
53881
+ return proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.toObject(opt_includeInstance, this);
53882
+ };
53883
+
53884
+
53885
+ /**
53886
+ * Static version of the {@see toObject} method.
53887
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
53888
+ * the JSPB instance for transitional soy proto support:
53889
+ * http://goto/soy-param-migration
53890
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} msg The msg instance to transform.
53891
+ * @return {!Object}
53892
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53893
+ */
53894
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.toObject = function(includeInstance, msg) {
53895
+ var f, obj = {
53896
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
53897
+ productId: jspb.Message.getFieldWithDefault(msg, 2, ""),
53898
+ vendorId: jspb.Message.getFieldWithDefault(msg, 3, ""),
53899
+ stfwVersion: jspb.Message.getFieldWithDefault(msg, 4, ""),
53900
+ serialNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
53901
+ deviceSpeed: jspb.Message.getFieldWithDefault(msg, 6, ""),
53902
+ manufacturer: jspb.Message.getFieldWithDefault(msg, 7, ""),
53903
+ locationId: jspb.Message.getFieldWithDefault(msg, 8, ""),
53904
+ mtfwVersion: jspb.Message.getFieldWithDefault(msg, 9, "")
53905
+ };
53906
+
53907
+ if (includeInstance) {
53908
+ obj.$jspbMessageInstance = msg;
53909
+ }
53910
+ return obj;
53911
+ };
53912
+ }
53913
+
53914
+
53915
+ /**
53916
+ * Deserializes binary data (in protobuf wire format).
53917
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
53918
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice}
53919
+ */
53920
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.deserializeBinary = function(bytes) {
53921
+ var reader = new jspb.BinaryReader(bytes);
53922
+ var msg = new proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice;
53923
+ return proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.deserializeBinaryFromReader(msg, reader);
53924
+ };
53925
+
53926
+
53927
+ /**
53928
+ * Deserializes binary data (in protobuf wire format) from the
53929
+ * given reader into the given message object.
53930
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} msg The message object to deserialize into.
53931
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
53932
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice}
53933
+ */
53934
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.deserializeBinaryFromReader = function(msg, reader) {
53935
+ while (reader.nextField()) {
53936
+ if (reader.isEndGroup()) {
53937
+ break;
53938
+ }
53939
+ var field = reader.getFieldNumber();
53940
+ switch (field) {
53941
+ case 1:
53942
+ var value = /** @type {string} */ (reader.readString());
53943
+ msg.setName(value);
53944
+ break;
53945
+ case 2:
53946
+ var value = /** @type {string} */ (reader.readString());
53947
+ msg.setProductId(value);
53948
+ break;
53949
+ case 3:
53950
+ var value = /** @type {string} */ (reader.readString());
53951
+ msg.setVendorId(value);
53952
+ break;
53953
+ case 4:
53954
+ var value = /** @type {string} */ (reader.readString());
53955
+ msg.setStfwVersion(value);
53956
+ break;
53957
+ case 5:
53958
+ var value = /** @type {string} */ (reader.readString());
53959
+ msg.setSerialNumber(value);
53960
+ break;
53961
+ case 6:
53962
+ var value = /** @type {string} */ (reader.readString());
53963
+ msg.setDeviceSpeed(value);
53964
+ break;
53965
+ case 7:
53966
+ var value = /** @type {string} */ (reader.readString());
53967
+ msg.setManufacturer(value);
53968
+ break;
53969
+ case 8:
53970
+ var value = /** @type {string} */ (reader.readString());
53971
+ msg.setLocationId(value);
53972
+ break;
53973
+ case 9:
53974
+ var value = /** @type {string} */ (reader.readString());
53975
+ msg.setMtfwVersion(value);
53976
+ break;
53977
+ default:
53978
+ reader.skipField();
53979
+ break;
53980
+ }
53981
+ }
53982
+ return msg;
53983
+ };
53984
+
53985
+
53986
+ /**
53987
+ * Serializes the message to binary data (in protobuf wire format).
53988
+ * @return {!Uint8Array}
53989
+ */
53990
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.serializeBinary = function() {
53991
+ var writer = new jspb.BinaryWriter();
53992
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.serializeBinaryToWriter(this, writer);
53993
+ return writer.getResultBuffer();
53994
+ };
53995
+
53996
+
53997
+ /**
53998
+ * Serializes the given message to binary data (in protobuf wire
53999
+ * format), writing to the given BinaryWriter.
54000
+ * @param {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} message
54001
+ * @param {!jspb.BinaryWriter} writer
54002
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54003
+ */
54004
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.serializeBinaryToWriter = function(message, writer) {
54005
+ var f = undefined;
54006
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
54007
+ if (f != null) {
54008
+ writer.writeString(
54009
+ 1,
54010
+ f
54011
+ );
54012
+ }
54013
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
54014
+ if (f != null) {
54015
+ writer.writeString(
54016
+ 2,
54017
+ f
54018
+ );
54019
+ }
54020
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
54021
+ if (f != null) {
54022
+ writer.writeString(
54023
+ 3,
54024
+ f
54025
+ );
54026
+ }
54027
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
54028
+ if (f != null) {
54029
+ writer.writeString(
54030
+ 4,
54031
+ f
54032
+ );
54033
+ }
54034
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
54035
+ if (f != null) {
54036
+ writer.writeString(
54037
+ 5,
54038
+ f
54039
+ );
54040
+ }
54041
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
54042
+ if (f != null) {
54043
+ writer.writeString(
54044
+ 6,
54045
+ f
54046
+ );
54047
+ }
54048
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
54049
+ if (f != null) {
54050
+ writer.writeString(
54051
+ 7,
54052
+ f
54053
+ );
54054
+ }
54055
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
54056
+ if (f != null) {
54057
+ writer.writeString(
54058
+ 8,
54059
+ f
54060
+ );
54061
+ }
54062
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
54063
+ if (f != null) {
54064
+ writer.writeString(
54065
+ 9,
54066
+ f
54067
+ );
54068
+ }
54069
+ };
54070
+
54071
+
54072
+ /**
54073
+ * optional string name = 1;
54074
+ * @return {string}
54075
+ */
54076
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.getName = function() {
54077
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
54078
+ };
54079
+
54080
+
54081
+ /**
54082
+ * @param {string} value
54083
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54084
+ */
54085
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.setName = function(value) {
54086
+ return jspb.Message.setField(this, 1, value);
54087
+ };
54088
+
54089
+
54090
+ /**
54091
+ * Clears the field making it undefined.
54092
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54093
+ */
54094
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.clearName = function() {
54095
+ return jspb.Message.setField(this, 1, undefined);
54096
+ };
54097
+
54098
+
54099
+ /**
54100
+ * Returns whether this field is set.
54101
+ * @return {boolean}
54102
+ */
54103
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.hasName = function() {
54104
+ return jspb.Message.getField(this, 1) != null;
54105
+ };
54106
+
54107
+
54108
+ /**
54109
+ * optional string product_id = 2;
54110
+ * @return {string}
54111
+ */
54112
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.getProductId = function() {
54113
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
54114
+ };
54115
+
54116
+
54117
+ /**
54118
+ * @param {string} value
54119
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54120
+ */
54121
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.setProductId = function(value) {
54122
+ return jspb.Message.setField(this, 2, value);
54123
+ };
54124
+
54125
+
54126
+ /**
54127
+ * Clears the field making it undefined.
54128
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54129
+ */
54130
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.clearProductId = function() {
54131
+ return jspb.Message.setField(this, 2, undefined);
54132
+ };
54133
+
54134
+
54135
+ /**
54136
+ * Returns whether this field is set.
54137
+ * @return {boolean}
54138
+ */
54139
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.hasProductId = function() {
54140
+ return jspb.Message.getField(this, 2) != null;
54141
+ };
54142
+
54143
+
54144
+ /**
54145
+ * optional string vendor_id = 3;
54146
+ * @return {string}
54147
+ */
54148
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.getVendorId = function() {
54149
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
54150
+ };
54151
+
54152
+
54153
+ /**
54154
+ * @param {string} value
54155
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54156
+ */
54157
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.setVendorId = function(value) {
54158
+ return jspb.Message.setField(this, 3, value);
54159
+ };
54160
+
54161
+
54162
+ /**
54163
+ * Clears the field making it undefined.
54164
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54165
+ */
54166
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.clearVendorId = function() {
54167
+ return jspb.Message.setField(this, 3, undefined);
54168
+ };
54169
+
54170
+
54171
+ /**
54172
+ * Returns whether this field is set.
54173
+ * @return {boolean}
54174
+ */
54175
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.hasVendorId = function() {
54176
+ return jspb.Message.getField(this, 3) != null;
54177
+ };
54178
+
54179
+
54180
+ /**
54181
+ * optional string stfw_version = 4;
54182
+ * @return {string}
54183
+ */
54184
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.getStfwVersion = function() {
54185
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
54186
+ };
54187
+
54188
+
54189
+ /**
54190
+ * @param {string} value
54191
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54192
+ */
54193
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.setStfwVersion = function(value) {
54194
+ return jspb.Message.setField(this, 4, value);
54195
+ };
54196
+
54197
+
54198
+ /**
54199
+ * Clears the field making it undefined.
54200
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54201
+ */
54202
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.clearStfwVersion = function() {
54203
+ return jspb.Message.setField(this, 4, undefined);
54204
+ };
54205
+
54206
+
54207
+ /**
54208
+ * Returns whether this field is set.
54209
+ * @return {boolean}
54210
+ */
54211
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.hasStfwVersion = function() {
54212
+ return jspb.Message.getField(this, 4) != null;
54213
+ };
54214
+
54215
+
54216
+ /**
54217
+ * optional string serial_number = 5;
54218
+ * @return {string}
54219
+ */
54220
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.getSerialNumber = function() {
54221
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
54222
+ };
54223
+
54224
+
54225
+ /**
54226
+ * @param {string} value
54227
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54228
+ */
54229
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.setSerialNumber = function(value) {
54230
+ return jspb.Message.setField(this, 5, value);
54231
+ };
54232
+
54233
+
54234
+ /**
54235
+ * Clears the field making it undefined.
54236
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54237
+ */
54238
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.clearSerialNumber = function() {
54239
+ return jspb.Message.setField(this, 5, undefined);
54240
+ };
54241
+
54242
+
54243
+ /**
54244
+ * Returns whether this field is set.
54245
+ * @return {boolean}
54246
+ */
54247
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.hasSerialNumber = function() {
54248
+ return jspb.Message.getField(this, 5) != null;
54249
+ };
54250
+
54251
+
54252
+ /**
54253
+ * optional string device_speed = 6;
54254
+ * @return {string}
54255
+ */
54256
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.getDeviceSpeed = function() {
54257
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
54258
+ };
54259
+
54260
+
54261
+ /**
54262
+ * @param {string} value
54263
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54264
+ */
54265
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.setDeviceSpeed = function(value) {
54266
+ return jspb.Message.setField(this, 6, value);
54267
+ };
54268
+
54269
+
54270
+ /**
54271
+ * Clears the field making it undefined.
54272
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54273
+ */
54274
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.clearDeviceSpeed = function() {
54275
+ return jspb.Message.setField(this, 6, undefined);
54276
+ };
54277
+
54278
+
54279
+ /**
54280
+ * Returns whether this field is set.
54281
+ * @return {boolean}
54282
+ */
54283
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.hasDeviceSpeed = function() {
54284
+ return jspb.Message.getField(this, 6) != null;
54285
+ };
54286
+
54287
+
54288
+ /**
54289
+ * optional string manufacturer = 7;
54290
+ * @return {string}
54291
+ */
54292
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.getManufacturer = function() {
54293
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
54294
+ };
54295
+
54296
+
54297
+ /**
54298
+ * @param {string} value
54299
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54300
+ */
54301
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.setManufacturer = function(value) {
54302
+ return jspb.Message.setField(this, 7, value);
54303
+ };
54304
+
54305
+
54306
+ /**
54307
+ * Clears the field making it undefined.
54308
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54309
+ */
54310
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.clearManufacturer = function() {
54311
+ return jspb.Message.setField(this, 7, undefined);
54312
+ };
54313
+
54314
+
54315
+ /**
54316
+ * Returns whether this field is set.
54317
+ * @return {boolean}
54318
+ */
54319
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.hasManufacturer = function() {
54320
+ return jspb.Message.getField(this, 7) != null;
54321
+ };
54322
+
54323
+
54324
+ /**
54325
+ * optional string location_id = 8;
54326
+ * @return {string}
54327
+ */
54328
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.getLocationId = function() {
54329
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
54330
+ };
54331
+
54332
+
54333
+ /**
54334
+ * @param {string} value
54335
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54336
+ */
54337
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.setLocationId = function(value) {
54338
+ return jspb.Message.setField(this, 8, value);
54339
+ };
54340
+
54341
+
54342
+ /**
54343
+ * Clears the field making it undefined.
54344
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54345
+ */
54346
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.clearLocationId = function() {
54347
+ return jspb.Message.setField(this, 8, undefined);
54348
+ };
54349
+
54350
+
54351
+ /**
54352
+ * Returns whether this field is set.
54353
+ * @return {boolean}
54354
+ */
54355
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.hasLocationId = function() {
54356
+ return jspb.Message.getField(this, 8) != null;
54357
+ };
54358
+
54359
+
54360
+ /**
54361
+ * optional string mtfw_version = 9;
54362
+ * @return {string}
54363
+ */
54364
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.getMtfwVersion = function() {
54365
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
54366
+ };
54367
+
54368
+
54369
+ /**
54370
+ * @param {string} value
54371
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54372
+ */
54373
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.setMtfwVersion = function(value) {
54374
+ return jspb.Message.setField(this, 9, value);
54375
+ };
54376
+
54377
+
54378
+ /**
54379
+ * Clears the field making it undefined.
54380
+ * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice} returns this
54381
+ */
54382
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.clearMtfwVersion = function() {
54383
+ return jspb.Message.setField(this, 9, undefined);
54384
+ };
54385
+
54386
+
54387
+ /**
54388
+ * Returns whether this field is set.
54389
+ * @return {boolean}
54390
+ */
54391
+ proto.com.lansweeper.dp.outbound.v1.ComputerMacSPIDevice.prototype.hasMtfwVersion = function() {
54392
+ return jspb.Message.getField(this, 9) != null;
54393
+ };
54394
+
54395
+
54396
+
52389
54397
 
52390
54398
 
52391
54399
  if (jspb.Message.GENERATE_TO_OBJECT) {