@lansweeper/scanningconfig-grpc 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2563,7 +2563,8 @@ proto.lansweeper.scanningconfig.v1.Component.toObject = function(includeInstance
2563
2563
  proto.lansweeper.scanningconfig.v1.Action.toObject, includeInstance),
2564
2564
  opConfig: (f = msg.getOpConfig()) && proto.lansweeper.scanningconfig.v1.OperationalConfig.toObject(includeInstance, f),
2565
2565
  enabled: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
2566
- appConfig: (f = msg.getAppConfig()) && proto.lansweeper.scanningconfig.v1.ApplicationConfig.toObject(includeInstance, f)
2566
+ appConfig: (f = msg.getAppConfig()) && proto.lansweeper.scanningconfig.v1.ApplicationConfig.toObject(includeInstance, f),
2567
+ displayName: jspb.Message.getFieldWithDefault(msg, 7, "")
2567
2568
  };
2568
2569
 
2569
2570
  if (includeInstance) {
@@ -2627,6 +2628,10 @@ proto.lansweeper.scanningconfig.v1.Component.deserializeBinaryFromReader = funct
2627
2628
  reader.readMessage(value,proto.lansweeper.scanningconfig.v1.ApplicationConfig.deserializeBinaryFromReader);
2628
2629
  msg.setAppConfig(value);
2629
2630
  break;
2631
+ case 7:
2632
+ var value = /** @type {string} */ (reader.readString());
2633
+ msg.setDisplayName(value);
2634
+ break;
2630
2635
  default:
2631
2636
  reader.skipField();
2632
2637
  break;
@@ -2701,6 +2706,13 @@ proto.lansweeper.scanningconfig.v1.Component.serializeBinaryToWriter = function(
2701
2706
  proto.lansweeper.scanningconfig.v1.ApplicationConfig.serializeBinaryToWriter
2702
2707
  );
2703
2708
  }
2709
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
2710
+ if (f != null) {
2711
+ writer.writeString(
2712
+ 7,
2713
+ f
2714
+ );
2715
+ }
2704
2716
  };
2705
2717
 
2706
2718
 
@@ -2882,6 +2894,42 @@ proto.lansweeper.scanningconfig.v1.Component.prototype.hasAppConfig = function()
2882
2894
  };
2883
2895
 
2884
2896
 
2897
+ /**
2898
+ * optional string display_name = 7;
2899
+ * @return {string}
2900
+ */
2901
+ proto.lansweeper.scanningconfig.v1.Component.prototype.getDisplayName = function() {
2902
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
2903
+ };
2904
+
2905
+
2906
+ /**
2907
+ * @param {string} value
2908
+ * @return {!proto.lansweeper.scanningconfig.v1.Component} returns this
2909
+ */
2910
+ proto.lansweeper.scanningconfig.v1.Component.prototype.setDisplayName = function(value) {
2911
+ return jspb.Message.setField(this, 7, value);
2912
+ };
2913
+
2914
+
2915
+ /**
2916
+ * Clears the field making it undefined.
2917
+ * @return {!proto.lansweeper.scanningconfig.v1.Component} returns this
2918
+ */
2919
+ proto.lansweeper.scanningconfig.v1.Component.prototype.clearDisplayName = function() {
2920
+ return jspb.Message.setField(this, 7, undefined);
2921
+ };
2922
+
2923
+
2924
+ /**
2925
+ * Returns whether this field is set.
2926
+ * @return {boolean}
2927
+ */
2928
+ proto.lansweeper.scanningconfig.v1.Component.prototype.hasDisplayName = function() {
2929
+ return jspb.Message.getField(this, 7) != null;
2930
+ };
2931
+
2932
+
2885
2933
 
2886
2934
  /**
2887
2935
  * List of repeated fields within this message type.