@lansweeper/discovery-sensor-proto 2.28.0 → 2.29.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.
@@ -8481,6 +8481,8 @@ export class FirewallRule extends jspb.Message {
8481
8481
 
8482
8482
  getPropertiesMap(): jspb.Map<string, string>;
8483
8483
  clearPropertiesMap(): void;
8484
+ getName(): string;
8485
+ setName(value: string): FirewallRule;
8484
8486
 
8485
8487
  serializeBinary(): Uint8Array;
8486
8488
  toObject(includeInstance?: boolean): FirewallRule.AsObject;
@@ -8497,6 +8499,7 @@ export namespace FirewallRule {
8497
8499
  version: string,
8498
8500
 
8499
8501
  propertiesMap: Array<[string, string]>,
8502
+ name: string,
8500
8503
  }
8501
8504
  }
8502
8505
 
@@ -70115,7 +70115,8 @@ proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.prototype.toObject
70115
70115
  proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.toObject = function(includeInstance, msg) {
70116
70116
  var f, obj = {
70117
70117
  version: jspb.Message.getFieldWithDefault(msg, 1, ""),
70118
- propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, undefined) : []
70118
+ propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, undefined) : [],
70119
+ name: jspb.Message.getFieldWithDefault(msg, 3, "")
70119
70120
  };
70120
70121
 
70121
70122
  if (includeInstance) {
@@ -70162,6 +70163,10 @@ proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.deserializeBinaryF
70162
70163
  jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
70163
70164
  });
70164
70165
  break;
70166
+ case 3:
70167
+ var value = /** @type {string} */ (reader.readString());
70168
+ msg.setName(value);
70169
+ break;
70165
70170
  default:
70166
70171
  reader.skipField();
70167
70172
  break;
@@ -70202,6 +70207,13 @@ proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.serializeBinaryToW
70202
70207
  if (f && f.getLength() > 0) {
70203
70208
  f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
70204
70209
  }
70210
+ f = message.getName();
70211
+ if (f.length > 0) {
70212
+ writer.writeString(
70213
+ 3,
70214
+ f
70215
+ );
70216
+ }
70205
70217
  };
70206
70218
 
70207
70219
 
@@ -70245,6 +70257,24 @@ proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.prototype.clearPro
70245
70257
  return this;};
70246
70258
 
70247
70259
 
70260
+ /**
70261
+ * optional string name = 3;
70262
+ * @return {string}
70263
+ */
70264
+ proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.prototype.getName = function() {
70265
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
70266
+ };
70267
+
70268
+
70269
+ /**
70270
+ * @param {string} value
70271
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule} returns this
70272
+ */
70273
+ proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.prototype.setName = function(value) {
70274
+ return jspb.Message.setProto3StringField(this, 3, value);
70275
+ };
70276
+
70277
+
70248
70278
  /**
70249
70279
  * @enum {number}
70250
70280
  */