@lansweeper/discovery-sensor-proto 2.35.2 → 2.35.3

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.
@@ -46,6 +46,8 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.ComputerSyst
46
46
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Desktop', null, global);
47
47
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DesktopMonitor', null, global);
48
48
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DiskPartition', null, global);
49
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance', null, global);
50
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize', null, global);
49
51
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DisplayConfig', null, global);
50
52
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DisplayControllerConfig', null, global);
51
53
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.EncryptableVolume', null, global);
@@ -72,6 +74,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.MonitorInfo'
72
74
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Network', null, global);
73
75
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.NetworkAdapter', null, global);
74
76
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.NetworkClient', null, global);
77
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance', null, global);
75
78
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.OnboardDevice', null, global);
76
79
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Os', null, global);
77
80
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.OsRecovery', null, global);
@@ -94,6 +97,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDrive
94
97
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.PrinterDriverDevice', null, global);
95
98
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Process', null, global);
96
99
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Processor', null, global);
100
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance', null, global);
97
101
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.PsLog', null, global);
98
102
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.QuickFix', null, global);
99
103
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.RegistryInfo', null, global);
@@ -179,6 +183,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsOsRec
179
183
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPageFile', null, global);
180
184
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsParallelPort', null, global);
181
185
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPcmcia', null, global);
186
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance', null, global);
182
187
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPhysicalMemory', null, global);
183
188
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPhysicalMemoryArray', null, global);
184
189
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPnpSignedDriver', null, global);
@@ -3055,6 +3060,111 @@ if (goog.DEBUG && !COMPILED) {
3055
3060
  */
3056
3061
  proto.com.lansweeper.discovery.sensor.windows.v1.Environment.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.Environment';
3057
3062
  }
3063
+ /**
3064
+ * Generated by JsPbCodeGenerator.
3065
+ * @param {Array=} opt_data Optional initial data array, typically from a
3066
+ * server response, or constructed directly in Javascript. The array is used
3067
+ * in place and becomes part of the constructed object. It is not cloned.
3068
+ * If no data is provided, the constructed object will be empty, but still
3069
+ * valid.
3070
+ * @extends {jspb.Message}
3071
+ * @constructor
3072
+ */
3073
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance = function(opt_data) {
3074
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.repeatedFields_, null);
3075
+ };
3076
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance, jspb.Message);
3077
+ if (goog.DEBUG && !COMPILED) {
3078
+ /**
3079
+ * @public
3080
+ * @override
3081
+ */
3082
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance';
3083
+ }
3084
+ /**
3085
+ * Generated by JsPbCodeGenerator.
3086
+ * @param {Array=} opt_data Optional initial data array, typically from a
3087
+ * server response, or constructed directly in Javascript. The array is used
3088
+ * in place and becomes part of the constructed object. It is not cloned.
3089
+ * If no data is provided, the constructed object will be empty, but still
3090
+ * valid.
3091
+ * @extends {jspb.Message}
3092
+ * @constructor
3093
+ */
3094
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance = function(opt_data) {
3095
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3096
+ };
3097
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance, jspb.Message);
3098
+ if (goog.DEBUG && !COMPILED) {
3099
+ /**
3100
+ * @public
3101
+ * @override
3102
+ */
3103
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance';
3104
+ }
3105
+ /**
3106
+ * Generated by JsPbCodeGenerator.
3107
+ * @param {Array=} opt_data Optional initial data array, typically from a
3108
+ * server response, or constructed directly in Javascript. The array is used
3109
+ * in place and becomes part of the constructed object. It is not cloned.
3110
+ * If no data is provided, the constructed object will be empty, but still
3111
+ * valid.
3112
+ * @extends {jspb.Message}
3113
+ * @constructor
3114
+ */
3115
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance = function(opt_data) {
3116
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3117
+ };
3118
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance, jspb.Message);
3119
+ if (goog.DEBUG && !COMPILED) {
3120
+ /**
3121
+ * @public
3122
+ * @override
3123
+ */
3124
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance';
3125
+ }
3126
+ /**
3127
+ * Generated by JsPbCodeGenerator.
3128
+ * @param {Array=} opt_data Optional initial data array, typically from a
3129
+ * server response, or constructed directly in Javascript. The array is used
3130
+ * in place and becomes part of the constructed object. It is not cloned.
3131
+ * If no data is provided, the constructed object will be empty, but still
3132
+ * valid.
3133
+ * @extends {jspb.Message}
3134
+ * @constructor
3135
+ */
3136
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize = function(opt_data) {
3137
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3138
+ };
3139
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize, jspb.Message);
3140
+ if (goog.DEBUG && !COMPILED) {
3141
+ /**
3142
+ * @public
3143
+ * @override
3144
+ */
3145
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize';
3146
+ }
3147
+ /**
3148
+ * Generated by JsPbCodeGenerator.
3149
+ * @param {Array=} opt_data Optional initial data array, typically from a
3150
+ * server response, or constructed directly in Javascript. The array is used
3151
+ * in place and becomes part of the constructed object. It is not cloned.
3152
+ * If no data is provided, the constructed object will be empty, but still
3153
+ * valid.
3154
+ * @extends {jspb.Message}
3155
+ * @constructor
3156
+ */
3157
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance = function(opt_data) {
3158
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3159
+ };
3160
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance, jspb.Message);
3161
+ if (goog.DEBUG && !COMPILED) {
3162
+ /**
3163
+ * @public
3164
+ * @override
3165
+ */
3166
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance';
3167
+ }
3058
3168
  /**
3059
3169
  * Generated by JsPbCodeGenerator.
3060
3170
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -57824,6 +57934,1388 @@ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.hasVariab
57824
57934
 
57825
57935
 
57826
57936
 
57937
+ /**
57938
+ * List of repeated fields within this message type.
57939
+ * @private {!Array<number>}
57940
+ * @const
57941
+ */
57942
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.repeatedFields_ = [1,2,3,4];
57943
+
57944
+
57945
+
57946
+ if (jspb.Message.GENERATE_TO_OBJECT) {
57947
+ /**
57948
+ * Creates an object representation of this proto.
57949
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
57950
+ * Optional fields that are not set will be set to undefined.
57951
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
57952
+ * For the list of reserved names please see:
57953
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57954
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
57955
+ * JSPB instance for transitional soy proto support:
57956
+ * http://goto/soy-param-migration
57957
+ * @return {!Object}
57958
+ */
57959
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.toObject = function(opt_includeInstance) {
57960
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.toObject(opt_includeInstance, this);
57961
+ };
57962
+
57963
+
57964
+ /**
57965
+ * Static version of the {@see toObject} method.
57966
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
57967
+ * the JSPB instance for transitional soy proto support:
57968
+ * http://goto/soy-param-migration
57969
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance} msg The msg instance to transform.
57970
+ * @return {!Object}
57971
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57972
+ */
57973
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.toObject = function(includeInstance, msg) {
57974
+ var f, obj = {
57975
+ processorPerformanceList: jspb.Message.toObjectList(msg.getProcessorPerformanceList(),
57976
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.toObject, includeInstance),
57977
+ diskPerformanceList: jspb.Message.toObjectList(msg.getDiskPerformanceList(),
57978
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.toObject, includeInstance),
57979
+ diskSizeList: jspb.Message.toObjectList(msg.getDiskSizeList(),
57980
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.toObject, includeInstance),
57981
+ networkPerformanceList: jspb.Message.toObjectList(msg.getNetworkPerformanceList(),
57982
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.toObject, includeInstance),
57983
+ totalVisibleMemorySize: (f = msg.getTotalVisibleMemorySize()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f),
57984
+ freePhysicalMemory: (f = msg.getFreePhysicalMemory()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f)
57985
+ };
57986
+
57987
+ if (includeInstance) {
57988
+ obj.$jspbMessageInstance = msg;
57989
+ }
57990
+ return obj;
57991
+ };
57992
+ }
57993
+
57994
+
57995
+ /**
57996
+ * Deserializes binary data (in protobuf wire format).
57997
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
57998
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance}
57999
+ */
58000
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.deserializeBinary = function(bytes) {
58001
+ var reader = new jspb.BinaryReader(bytes);
58002
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance;
58003
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.deserializeBinaryFromReader(msg, reader);
58004
+ };
58005
+
58006
+
58007
+ /**
58008
+ * Deserializes binary data (in protobuf wire format) from the
58009
+ * given reader into the given message object.
58010
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance} msg The message object to deserialize into.
58011
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
58012
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance}
58013
+ */
58014
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.deserializeBinaryFromReader = function(msg, reader) {
58015
+ while (reader.nextField()) {
58016
+ if (reader.isEndGroup()) {
58017
+ break;
58018
+ }
58019
+ var field = reader.getFieldNumber();
58020
+ switch (field) {
58021
+ case 1:
58022
+ var value = new proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance;
58023
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.deserializeBinaryFromReader);
58024
+ msg.addProcessorPerformance(value);
58025
+ break;
58026
+ case 2:
58027
+ var value = new proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance;
58028
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.deserializeBinaryFromReader);
58029
+ msg.addDiskPerformance(value);
58030
+ break;
58031
+ case 3:
58032
+ var value = new proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize;
58033
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.deserializeBinaryFromReader);
58034
+ msg.addDiskSize(value);
58035
+ break;
58036
+ case 4:
58037
+ var value = new proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance;
58038
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.deserializeBinaryFromReader);
58039
+ msg.addNetworkPerformance(value);
58040
+ break;
58041
+ case 5:
58042
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
58043
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
58044
+ msg.setTotalVisibleMemorySize(value);
58045
+ break;
58046
+ case 6:
58047
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
58048
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
58049
+ msg.setFreePhysicalMemory(value);
58050
+ break;
58051
+ default:
58052
+ reader.skipField();
58053
+ break;
58054
+ }
58055
+ }
58056
+ return msg;
58057
+ };
58058
+
58059
+
58060
+ /**
58061
+ * Serializes the message to binary data (in protobuf wire format).
58062
+ * @return {!Uint8Array}
58063
+ */
58064
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.serializeBinary = function() {
58065
+ var writer = new jspb.BinaryWriter();
58066
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.serializeBinaryToWriter(this, writer);
58067
+ return writer.getResultBuffer();
58068
+ };
58069
+
58070
+
58071
+ /**
58072
+ * Serializes the given message to binary data (in protobuf wire
58073
+ * format), writing to the given BinaryWriter.
58074
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance} message
58075
+ * @param {!jspb.BinaryWriter} writer
58076
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58077
+ */
58078
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.serializeBinaryToWriter = function(message, writer) {
58079
+ var f = undefined;
58080
+ f = message.getProcessorPerformanceList();
58081
+ if (f.length > 0) {
58082
+ writer.writeRepeatedMessage(
58083
+ 1,
58084
+ f,
58085
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.serializeBinaryToWriter
58086
+ );
58087
+ }
58088
+ f = message.getDiskPerformanceList();
58089
+ if (f.length > 0) {
58090
+ writer.writeRepeatedMessage(
58091
+ 2,
58092
+ f,
58093
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.serializeBinaryToWriter
58094
+ );
58095
+ }
58096
+ f = message.getDiskSizeList();
58097
+ if (f.length > 0) {
58098
+ writer.writeRepeatedMessage(
58099
+ 3,
58100
+ f,
58101
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.serializeBinaryToWriter
58102
+ );
58103
+ }
58104
+ f = message.getNetworkPerformanceList();
58105
+ if (f.length > 0) {
58106
+ writer.writeRepeatedMessage(
58107
+ 4,
58108
+ f,
58109
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.serializeBinaryToWriter
58110
+ );
58111
+ }
58112
+ f = message.getTotalVisibleMemorySize();
58113
+ if (f != null) {
58114
+ writer.writeMessage(
58115
+ 5,
58116
+ f,
58117
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
58118
+ );
58119
+ }
58120
+ f = message.getFreePhysicalMemory();
58121
+ if (f != null) {
58122
+ writer.writeMessage(
58123
+ 6,
58124
+ f,
58125
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
58126
+ );
58127
+ }
58128
+ };
58129
+
58130
+
58131
+ /**
58132
+ * repeated ProcessorPerformance processor_performance = 1;
58133
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance>}
58134
+ */
58135
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.getProcessorPerformanceList = function() {
58136
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance>} */ (
58137
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance, 1));
58138
+ };
58139
+
58140
+
58141
+ /**
58142
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance>} value
58143
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance} returns this
58144
+ */
58145
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.setProcessorPerformanceList = function(value) {
58146
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
58147
+ };
58148
+
58149
+
58150
+ /**
58151
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance=} opt_value
58152
+ * @param {number=} opt_index
58153
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance}
58154
+ */
58155
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.addProcessorPerformance = function(opt_value, opt_index) {
58156
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance, opt_index);
58157
+ };
58158
+
58159
+
58160
+ /**
58161
+ * Clears the list making it empty but non-null.
58162
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance} returns this
58163
+ */
58164
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.clearProcessorPerformanceList = function() {
58165
+ return this.setProcessorPerformanceList([]);
58166
+ };
58167
+
58168
+
58169
+ /**
58170
+ * repeated DiskPerformance disk_performance = 2;
58171
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance>}
58172
+ */
58173
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.getDiskPerformanceList = function() {
58174
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance>} */ (
58175
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance, 2));
58176
+ };
58177
+
58178
+
58179
+ /**
58180
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance>} value
58181
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance} returns this
58182
+ */
58183
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.setDiskPerformanceList = function(value) {
58184
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
58185
+ };
58186
+
58187
+
58188
+ /**
58189
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance=} opt_value
58190
+ * @param {number=} opt_index
58191
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance}
58192
+ */
58193
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.addDiskPerformance = function(opt_value, opt_index) {
58194
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance, opt_index);
58195
+ };
58196
+
58197
+
58198
+ /**
58199
+ * Clears the list making it empty but non-null.
58200
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance} returns this
58201
+ */
58202
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.clearDiskPerformanceList = function() {
58203
+ return this.setDiskPerformanceList([]);
58204
+ };
58205
+
58206
+
58207
+ /**
58208
+ * repeated DiskSize disk_size = 3;
58209
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize>}
58210
+ */
58211
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.getDiskSizeList = function() {
58212
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize>} */ (
58213
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize, 3));
58214
+ };
58215
+
58216
+
58217
+ /**
58218
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize>} value
58219
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance} returns this
58220
+ */
58221
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.setDiskSizeList = function(value) {
58222
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
58223
+ };
58224
+
58225
+
58226
+ /**
58227
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize=} opt_value
58228
+ * @param {number=} opt_index
58229
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize}
58230
+ */
58231
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.addDiskSize = function(opt_value, opt_index) {
58232
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize, opt_index);
58233
+ };
58234
+
58235
+
58236
+ /**
58237
+ * Clears the list making it empty but non-null.
58238
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance} returns this
58239
+ */
58240
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.clearDiskSizeList = function() {
58241
+ return this.setDiskSizeList([]);
58242
+ };
58243
+
58244
+
58245
+ /**
58246
+ * repeated NetworkPerformance network_performance = 4;
58247
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance>}
58248
+ */
58249
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.getNetworkPerformanceList = function() {
58250
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance>} */ (
58251
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance, 4));
58252
+ };
58253
+
58254
+
58255
+ /**
58256
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance>} value
58257
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance} returns this
58258
+ */
58259
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.setNetworkPerformanceList = function(value) {
58260
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
58261
+ };
58262
+
58263
+
58264
+ /**
58265
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance=} opt_value
58266
+ * @param {number=} opt_index
58267
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance}
58268
+ */
58269
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.addNetworkPerformance = function(opt_value, opt_index) {
58270
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance, opt_index);
58271
+ };
58272
+
58273
+
58274
+ /**
58275
+ * Clears the list making it empty but non-null.
58276
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance} returns this
58277
+ */
58278
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.clearNetworkPerformanceList = function() {
58279
+ return this.setNetworkPerformanceList([]);
58280
+ };
58281
+
58282
+
58283
+ /**
58284
+ * optional google.protobuf.UInt64Value total_visible_memory_size = 5;
58285
+ * @return {?proto.google.protobuf.UInt64Value}
58286
+ */
58287
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.getTotalVisibleMemorySize = function() {
58288
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
58289
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 5));
58290
+ };
58291
+
58292
+
58293
+ /**
58294
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
58295
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance} returns this
58296
+ */
58297
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.setTotalVisibleMemorySize = function(value) {
58298
+ return jspb.Message.setWrapperField(this, 5, value);
58299
+ };
58300
+
58301
+
58302
+ /**
58303
+ * Clears the message field making it undefined.
58304
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance} returns this
58305
+ */
58306
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.clearTotalVisibleMemorySize = function() {
58307
+ return this.setTotalVisibleMemorySize(undefined);
58308
+ };
58309
+
58310
+
58311
+ /**
58312
+ * Returns whether this field is set.
58313
+ * @return {boolean}
58314
+ */
58315
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.hasTotalVisibleMemorySize = function() {
58316
+ return jspb.Message.getField(this, 5) != null;
58317
+ };
58318
+
58319
+
58320
+ /**
58321
+ * optional google.protobuf.UInt64Value free_physical_memory = 6;
58322
+ * @return {?proto.google.protobuf.UInt64Value}
58323
+ */
58324
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.getFreePhysicalMemory = function() {
58325
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
58326
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 6));
58327
+ };
58328
+
58329
+
58330
+ /**
58331
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
58332
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance} returns this
58333
+ */
58334
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.setFreePhysicalMemory = function(value) {
58335
+ return jspb.Message.setWrapperField(this, 6, value);
58336
+ };
58337
+
58338
+
58339
+ /**
58340
+ * Clears the message field making it undefined.
58341
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance} returns this
58342
+ */
58343
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.clearFreePhysicalMemory = function() {
58344
+ return this.setFreePhysicalMemory(undefined);
58345
+ };
58346
+
58347
+
58348
+ /**
58349
+ * Returns whether this field is set.
58350
+ * @return {boolean}
58351
+ */
58352
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsPerformance.prototype.hasFreePhysicalMemory = function() {
58353
+ return jspb.Message.getField(this, 6) != null;
58354
+ };
58355
+
58356
+
58357
+
58358
+
58359
+
58360
+ if (jspb.Message.GENERATE_TO_OBJECT) {
58361
+ /**
58362
+ * Creates an object representation of this proto.
58363
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
58364
+ * Optional fields that are not set will be set to undefined.
58365
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
58366
+ * For the list of reserved names please see:
58367
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
58368
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
58369
+ * JSPB instance for transitional soy proto support:
58370
+ * http://goto/soy-param-migration
58371
+ * @return {!Object}
58372
+ */
58373
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.prototype.toObject = function(opt_includeInstance) {
58374
+ return proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.toObject(opt_includeInstance, this);
58375
+ };
58376
+
58377
+
58378
+ /**
58379
+ * Static version of the {@see toObject} method.
58380
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
58381
+ * the JSPB instance for transitional soy proto support:
58382
+ * http://goto/soy-param-migration
58383
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance} msg The msg instance to transform.
58384
+ * @return {!Object}
58385
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58386
+ */
58387
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.toObject = function(includeInstance, msg) {
58388
+ var f, obj = {
58389
+ percentProcessorTime: (f = msg.getPercentProcessorTime()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f)
58390
+ };
58391
+
58392
+ if (includeInstance) {
58393
+ obj.$jspbMessageInstance = msg;
58394
+ }
58395
+ return obj;
58396
+ };
58397
+ }
58398
+
58399
+
58400
+ /**
58401
+ * Deserializes binary data (in protobuf wire format).
58402
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
58403
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance}
58404
+ */
58405
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.deserializeBinary = function(bytes) {
58406
+ var reader = new jspb.BinaryReader(bytes);
58407
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance;
58408
+ return proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.deserializeBinaryFromReader(msg, reader);
58409
+ };
58410
+
58411
+
58412
+ /**
58413
+ * Deserializes binary data (in protobuf wire format) from the
58414
+ * given reader into the given message object.
58415
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance} msg The message object to deserialize into.
58416
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
58417
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance}
58418
+ */
58419
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.deserializeBinaryFromReader = function(msg, reader) {
58420
+ while (reader.nextField()) {
58421
+ if (reader.isEndGroup()) {
58422
+ break;
58423
+ }
58424
+ var field = reader.getFieldNumber();
58425
+ switch (field) {
58426
+ case 1:
58427
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
58428
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
58429
+ msg.setPercentProcessorTime(value);
58430
+ break;
58431
+ default:
58432
+ reader.skipField();
58433
+ break;
58434
+ }
58435
+ }
58436
+ return msg;
58437
+ };
58438
+
58439
+
58440
+ /**
58441
+ * Serializes the message to binary data (in protobuf wire format).
58442
+ * @return {!Uint8Array}
58443
+ */
58444
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.prototype.serializeBinary = function() {
58445
+ var writer = new jspb.BinaryWriter();
58446
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.serializeBinaryToWriter(this, writer);
58447
+ return writer.getResultBuffer();
58448
+ };
58449
+
58450
+
58451
+ /**
58452
+ * Serializes the given message to binary data (in protobuf wire
58453
+ * format), writing to the given BinaryWriter.
58454
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance} message
58455
+ * @param {!jspb.BinaryWriter} writer
58456
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58457
+ */
58458
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.serializeBinaryToWriter = function(message, writer) {
58459
+ var f = undefined;
58460
+ f = message.getPercentProcessorTime();
58461
+ if (f != null) {
58462
+ writer.writeMessage(
58463
+ 1,
58464
+ f,
58465
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
58466
+ );
58467
+ }
58468
+ };
58469
+
58470
+
58471
+ /**
58472
+ * optional google.protobuf.UInt64Value percent_processor_time = 1;
58473
+ * @return {?proto.google.protobuf.UInt64Value}
58474
+ */
58475
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.prototype.getPercentProcessorTime = function() {
58476
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
58477
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 1));
58478
+ };
58479
+
58480
+
58481
+ /**
58482
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
58483
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance} returns this
58484
+ */
58485
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.prototype.setPercentProcessorTime = function(value) {
58486
+ return jspb.Message.setWrapperField(this, 1, value);
58487
+ };
58488
+
58489
+
58490
+ /**
58491
+ * Clears the message field making it undefined.
58492
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance} returns this
58493
+ */
58494
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.prototype.clearPercentProcessorTime = function() {
58495
+ return this.setPercentProcessorTime(undefined);
58496
+ };
58497
+
58498
+
58499
+ /**
58500
+ * Returns whether this field is set.
58501
+ * @return {boolean}
58502
+ */
58503
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.prototype.hasPercentProcessorTime = function() {
58504
+ return jspb.Message.getField(this, 1) != null;
58505
+ };
58506
+
58507
+
58508
+
58509
+
58510
+
58511
+ if (jspb.Message.GENERATE_TO_OBJECT) {
58512
+ /**
58513
+ * Creates an object representation of this proto.
58514
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
58515
+ * Optional fields that are not set will be set to undefined.
58516
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
58517
+ * For the list of reserved names please see:
58518
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
58519
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
58520
+ * JSPB instance for transitional soy proto support:
58521
+ * http://goto/soy-param-migration
58522
+ * @return {!Object}
58523
+ */
58524
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.toObject = function(opt_includeInstance) {
58525
+ return proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.toObject(opt_includeInstance, this);
58526
+ };
58527
+
58528
+
58529
+ /**
58530
+ * Static version of the {@see toObject} method.
58531
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
58532
+ * the JSPB instance for transitional soy proto support:
58533
+ * http://goto/soy-param-migration
58534
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} msg The msg instance to transform.
58535
+ * @return {!Object}
58536
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58537
+ */
58538
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.toObject = function(includeInstance, msg) {
58539
+ var f, obj = {
58540
+ diskReadsPerSec: (f = msg.getDiskReadsPerSec()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
58541
+ diskTransfersPerSec: (f = msg.getDiskTransfersPerSec()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
58542
+ diskWritesPerSec: (f = msg.getDiskWritesPerSec()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f)
58543
+ };
58544
+
58545
+ if (includeInstance) {
58546
+ obj.$jspbMessageInstance = msg;
58547
+ }
58548
+ return obj;
58549
+ };
58550
+ }
58551
+
58552
+
58553
+ /**
58554
+ * Deserializes binary data (in protobuf wire format).
58555
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
58556
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance}
58557
+ */
58558
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.deserializeBinary = function(bytes) {
58559
+ var reader = new jspb.BinaryReader(bytes);
58560
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance;
58561
+ return proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.deserializeBinaryFromReader(msg, reader);
58562
+ };
58563
+
58564
+
58565
+ /**
58566
+ * Deserializes binary data (in protobuf wire format) from the
58567
+ * given reader into the given message object.
58568
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} msg The message object to deserialize into.
58569
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
58570
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance}
58571
+ */
58572
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.deserializeBinaryFromReader = function(msg, reader) {
58573
+ while (reader.nextField()) {
58574
+ if (reader.isEndGroup()) {
58575
+ break;
58576
+ }
58577
+ var field = reader.getFieldNumber();
58578
+ switch (field) {
58579
+ case 1:
58580
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
58581
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
58582
+ msg.setDiskReadsPerSec(value);
58583
+ break;
58584
+ case 2:
58585
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
58586
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
58587
+ msg.setDiskTransfersPerSec(value);
58588
+ break;
58589
+ case 3:
58590
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
58591
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
58592
+ msg.setDiskWritesPerSec(value);
58593
+ break;
58594
+ default:
58595
+ reader.skipField();
58596
+ break;
58597
+ }
58598
+ }
58599
+ return msg;
58600
+ };
58601
+
58602
+
58603
+ /**
58604
+ * Serializes the message to binary data (in protobuf wire format).
58605
+ * @return {!Uint8Array}
58606
+ */
58607
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.serializeBinary = function() {
58608
+ var writer = new jspb.BinaryWriter();
58609
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.serializeBinaryToWriter(this, writer);
58610
+ return writer.getResultBuffer();
58611
+ };
58612
+
58613
+
58614
+ /**
58615
+ * Serializes the given message to binary data (in protobuf wire
58616
+ * format), writing to the given BinaryWriter.
58617
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} message
58618
+ * @param {!jspb.BinaryWriter} writer
58619
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58620
+ */
58621
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.serializeBinaryToWriter = function(message, writer) {
58622
+ var f = undefined;
58623
+ f = message.getDiskReadsPerSec();
58624
+ if (f != null) {
58625
+ writer.writeMessage(
58626
+ 1,
58627
+ f,
58628
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
58629
+ );
58630
+ }
58631
+ f = message.getDiskTransfersPerSec();
58632
+ if (f != null) {
58633
+ writer.writeMessage(
58634
+ 2,
58635
+ f,
58636
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
58637
+ );
58638
+ }
58639
+ f = message.getDiskWritesPerSec();
58640
+ if (f != null) {
58641
+ writer.writeMessage(
58642
+ 3,
58643
+ f,
58644
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
58645
+ );
58646
+ }
58647
+ };
58648
+
58649
+
58650
+ /**
58651
+ * optional google.protobuf.UInt32Value disk_reads_per_sec = 1;
58652
+ * @return {?proto.google.protobuf.UInt32Value}
58653
+ */
58654
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.getDiskReadsPerSec = function() {
58655
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
58656
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 1));
58657
+ };
58658
+
58659
+
58660
+ /**
58661
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
58662
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} returns this
58663
+ */
58664
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.setDiskReadsPerSec = function(value) {
58665
+ return jspb.Message.setWrapperField(this, 1, value);
58666
+ };
58667
+
58668
+
58669
+ /**
58670
+ * Clears the message field making it undefined.
58671
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} returns this
58672
+ */
58673
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.clearDiskReadsPerSec = function() {
58674
+ return this.setDiskReadsPerSec(undefined);
58675
+ };
58676
+
58677
+
58678
+ /**
58679
+ * Returns whether this field is set.
58680
+ * @return {boolean}
58681
+ */
58682
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.hasDiskReadsPerSec = function() {
58683
+ return jspb.Message.getField(this, 1) != null;
58684
+ };
58685
+
58686
+
58687
+ /**
58688
+ * optional google.protobuf.UInt32Value disk_transfers_per_sec = 2;
58689
+ * @return {?proto.google.protobuf.UInt32Value}
58690
+ */
58691
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.getDiskTransfersPerSec = function() {
58692
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
58693
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 2));
58694
+ };
58695
+
58696
+
58697
+ /**
58698
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
58699
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} returns this
58700
+ */
58701
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.setDiskTransfersPerSec = function(value) {
58702
+ return jspb.Message.setWrapperField(this, 2, value);
58703
+ };
58704
+
58705
+
58706
+ /**
58707
+ * Clears the message field making it undefined.
58708
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} returns this
58709
+ */
58710
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.clearDiskTransfersPerSec = function() {
58711
+ return this.setDiskTransfersPerSec(undefined);
58712
+ };
58713
+
58714
+
58715
+ /**
58716
+ * Returns whether this field is set.
58717
+ * @return {boolean}
58718
+ */
58719
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.hasDiskTransfersPerSec = function() {
58720
+ return jspb.Message.getField(this, 2) != null;
58721
+ };
58722
+
58723
+
58724
+ /**
58725
+ * optional google.protobuf.UInt32Value disk_writes_per_sec = 3;
58726
+ * @return {?proto.google.protobuf.UInt32Value}
58727
+ */
58728
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.getDiskWritesPerSec = function() {
58729
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
58730
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 3));
58731
+ };
58732
+
58733
+
58734
+ /**
58735
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
58736
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} returns this
58737
+ */
58738
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.setDiskWritesPerSec = function(value) {
58739
+ return jspb.Message.setWrapperField(this, 3, value);
58740
+ };
58741
+
58742
+
58743
+ /**
58744
+ * Clears the message field making it undefined.
58745
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} returns this
58746
+ */
58747
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.clearDiskWritesPerSec = function() {
58748
+ return this.setDiskWritesPerSec(undefined);
58749
+ };
58750
+
58751
+
58752
+ /**
58753
+ * Returns whether this field is set.
58754
+ * @return {boolean}
58755
+ */
58756
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.hasDiskWritesPerSec = function() {
58757
+ return jspb.Message.getField(this, 3) != null;
58758
+ };
58759
+
58760
+
58761
+
58762
+
58763
+
58764
+ if (jspb.Message.GENERATE_TO_OBJECT) {
58765
+ /**
58766
+ * Creates an object representation of this proto.
58767
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
58768
+ * Optional fields that are not set will be set to undefined.
58769
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
58770
+ * For the list of reserved names please see:
58771
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
58772
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
58773
+ * JSPB instance for transitional soy proto support:
58774
+ * http://goto/soy-param-migration
58775
+ * @return {!Object}
58776
+ */
58777
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.toObject = function(opt_includeInstance) {
58778
+ return proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.toObject(opt_includeInstance, this);
58779
+ };
58780
+
58781
+
58782
+ /**
58783
+ * Static version of the {@see toObject} method.
58784
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
58785
+ * the JSPB instance for transitional soy proto support:
58786
+ * http://goto/soy-param-migration
58787
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} msg The msg instance to transform.
58788
+ * @return {!Object}
58789
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58790
+ */
58791
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.toObject = function(includeInstance, msg) {
58792
+ var f, obj = {
58793
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
58794
+ freeSpace: (f = msg.getFreeSpace()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f),
58795
+ size: (f = msg.getSize()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f)
58796
+ };
58797
+
58798
+ if (includeInstance) {
58799
+ obj.$jspbMessageInstance = msg;
58800
+ }
58801
+ return obj;
58802
+ };
58803
+ }
58804
+
58805
+
58806
+ /**
58807
+ * Deserializes binary data (in protobuf wire format).
58808
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
58809
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize}
58810
+ */
58811
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.deserializeBinary = function(bytes) {
58812
+ var reader = new jspb.BinaryReader(bytes);
58813
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize;
58814
+ return proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.deserializeBinaryFromReader(msg, reader);
58815
+ };
58816
+
58817
+
58818
+ /**
58819
+ * Deserializes binary data (in protobuf wire format) from the
58820
+ * given reader into the given message object.
58821
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} msg The message object to deserialize into.
58822
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
58823
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize}
58824
+ */
58825
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.deserializeBinaryFromReader = function(msg, reader) {
58826
+ while (reader.nextField()) {
58827
+ if (reader.isEndGroup()) {
58828
+ break;
58829
+ }
58830
+ var field = reader.getFieldNumber();
58831
+ switch (field) {
58832
+ case 1:
58833
+ var value = new google_protobuf_wrappers_pb.StringValue;
58834
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
58835
+ msg.setName(value);
58836
+ break;
58837
+ case 2:
58838
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
58839
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
58840
+ msg.setFreeSpace(value);
58841
+ break;
58842
+ case 3:
58843
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
58844
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
58845
+ msg.setSize(value);
58846
+ break;
58847
+ default:
58848
+ reader.skipField();
58849
+ break;
58850
+ }
58851
+ }
58852
+ return msg;
58853
+ };
58854
+
58855
+
58856
+ /**
58857
+ * Serializes the message to binary data (in protobuf wire format).
58858
+ * @return {!Uint8Array}
58859
+ */
58860
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.serializeBinary = function() {
58861
+ var writer = new jspb.BinaryWriter();
58862
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.serializeBinaryToWriter(this, writer);
58863
+ return writer.getResultBuffer();
58864
+ };
58865
+
58866
+
58867
+ /**
58868
+ * Serializes the given message to binary data (in protobuf wire
58869
+ * format), writing to the given BinaryWriter.
58870
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} message
58871
+ * @param {!jspb.BinaryWriter} writer
58872
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58873
+ */
58874
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.serializeBinaryToWriter = function(message, writer) {
58875
+ var f = undefined;
58876
+ f = message.getName();
58877
+ if (f != null) {
58878
+ writer.writeMessage(
58879
+ 1,
58880
+ f,
58881
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
58882
+ );
58883
+ }
58884
+ f = message.getFreeSpace();
58885
+ if (f != null) {
58886
+ writer.writeMessage(
58887
+ 2,
58888
+ f,
58889
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
58890
+ );
58891
+ }
58892
+ f = message.getSize();
58893
+ if (f != null) {
58894
+ writer.writeMessage(
58895
+ 3,
58896
+ f,
58897
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
58898
+ );
58899
+ }
58900
+ };
58901
+
58902
+
58903
+ /**
58904
+ * optional google.protobuf.StringValue name = 1;
58905
+ * @return {?proto.google.protobuf.StringValue}
58906
+ */
58907
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.getName = function() {
58908
+ return /** @type{?proto.google.protobuf.StringValue} */ (
58909
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
58910
+ };
58911
+
58912
+
58913
+ /**
58914
+ * @param {?proto.google.protobuf.StringValue|undefined} value
58915
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} returns this
58916
+ */
58917
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.setName = function(value) {
58918
+ return jspb.Message.setWrapperField(this, 1, value);
58919
+ };
58920
+
58921
+
58922
+ /**
58923
+ * Clears the message field making it undefined.
58924
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} returns this
58925
+ */
58926
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.clearName = function() {
58927
+ return this.setName(undefined);
58928
+ };
58929
+
58930
+
58931
+ /**
58932
+ * Returns whether this field is set.
58933
+ * @return {boolean}
58934
+ */
58935
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.hasName = function() {
58936
+ return jspb.Message.getField(this, 1) != null;
58937
+ };
58938
+
58939
+
58940
+ /**
58941
+ * optional google.protobuf.UInt64Value free_space = 2;
58942
+ * @return {?proto.google.protobuf.UInt64Value}
58943
+ */
58944
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.getFreeSpace = function() {
58945
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
58946
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 2));
58947
+ };
58948
+
58949
+
58950
+ /**
58951
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
58952
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} returns this
58953
+ */
58954
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.setFreeSpace = function(value) {
58955
+ return jspb.Message.setWrapperField(this, 2, value);
58956
+ };
58957
+
58958
+
58959
+ /**
58960
+ * Clears the message field making it undefined.
58961
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} returns this
58962
+ */
58963
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.clearFreeSpace = function() {
58964
+ return this.setFreeSpace(undefined);
58965
+ };
58966
+
58967
+
58968
+ /**
58969
+ * Returns whether this field is set.
58970
+ * @return {boolean}
58971
+ */
58972
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.hasFreeSpace = function() {
58973
+ return jspb.Message.getField(this, 2) != null;
58974
+ };
58975
+
58976
+
58977
+ /**
58978
+ * optional google.protobuf.UInt64Value size = 3;
58979
+ * @return {?proto.google.protobuf.UInt64Value}
58980
+ */
58981
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.getSize = function() {
58982
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
58983
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 3));
58984
+ };
58985
+
58986
+
58987
+ /**
58988
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
58989
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} returns this
58990
+ */
58991
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.setSize = function(value) {
58992
+ return jspb.Message.setWrapperField(this, 3, value);
58993
+ };
58994
+
58995
+
58996
+ /**
58997
+ * Clears the message field making it undefined.
58998
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} returns this
58999
+ */
59000
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.clearSize = function() {
59001
+ return this.setSize(undefined);
59002
+ };
59003
+
59004
+
59005
+ /**
59006
+ * Returns whether this field is set.
59007
+ * @return {boolean}
59008
+ */
59009
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.hasSize = function() {
59010
+ return jspb.Message.getField(this, 3) != null;
59011
+ };
59012
+
59013
+
59014
+
59015
+
59016
+
59017
+ if (jspb.Message.GENERATE_TO_OBJECT) {
59018
+ /**
59019
+ * Creates an object representation of this proto.
59020
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
59021
+ * Optional fields that are not set will be set to undefined.
59022
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
59023
+ * For the list of reserved names please see:
59024
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
59025
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
59026
+ * JSPB instance for transitional soy proto support:
59027
+ * http://goto/soy-param-migration
59028
+ * @return {!Object}
59029
+ */
59030
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.toObject = function(opt_includeInstance) {
59031
+ return proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.toObject(opt_includeInstance, this);
59032
+ };
59033
+
59034
+
59035
+ /**
59036
+ * Static version of the {@see toObject} method.
59037
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
59038
+ * the JSPB instance for transitional soy proto support:
59039
+ * http://goto/soy-param-migration
59040
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} msg The msg instance to transform.
59041
+ * @return {!Object}
59042
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59043
+ */
59044
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.toObject = function(includeInstance, msg) {
59045
+ var f, obj = {
59046
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
59047
+ networkBytesTotalPerSec: (f = msg.getNetworkBytesTotalPerSec()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f),
59048
+ networkBytesSentPerSec: (f = msg.getNetworkBytesSentPerSec()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f),
59049
+ networkBytesReceivedPerSec: (f = msg.getNetworkBytesReceivedPerSec()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f)
59050
+ };
59051
+
59052
+ if (includeInstance) {
59053
+ obj.$jspbMessageInstance = msg;
59054
+ }
59055
+ return obj;
59056
+ };
59057
+ }
59058
+
59059
+
59060
+ /**
59061
+ * Deserializes binary data (in protobuf wire format).
59062
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
59063
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance}
59064
+ */
59065
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.deserializeBinary = function(bytes) {
59066
+ var reader = new jspb.BinaryReader(bytes);
59067
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance;
59068
+ return proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.deserializeBinaryFromReader(msg, reader);
59069
+ };
59070
+
59071
+
59072
+ /**
59073
+ * Deserializes binary data (in protobuf wire format) from the
59074
+ * given reader into the given message object.
59075
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} msg The message object to deserialize into.
59076
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
59077
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance}
59078
+ */
59079
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.deserializeBinaryFromReader = function(msg, reader) {
59080
+ while (reader.nextField()) {
59081
+ if (reader.isEndGroup()) {
59082
+ break;
59083
+ }
59084
+ var field = reader.getFieldNumber();
59085
+ switch (field) {
59086
+ case 1:
59087
+ var value = new google_protobuf_wrappers_pb.StringValue;
59088
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
59089
+ msg.setName(value);
59090
+ break;
59091
+ case 2:
59092
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
59093
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
59094
+ msg.setNetworkBytesTotalPerSec(value);
59095
+ break;
59096
+ case 3:
59097
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
59098
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
59099
+ msg.setNetworkBytesSentPerSec(value);
59100
+ break;
59101
+ case 4:
59102
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
59103
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
59104
+ msg.setNetworkBytesReceivedPerSec(value);
59105
+ break;
59106
+ default:
59107
+ reader.skipField();
59108
+ break;
59109
+ }
59110
+ }
59111
+ return msg;
59112
+ };
59113
+
59114
+
59115
+ /**
59116
+ * Serializes the message to binary data (in protobuf wire format).
59117
+ * @return {!Uint8Array}
59118
+ */
59119
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.serializeBinary = function() {
59120
+ var writer = new jspb.BinaryWriter();
59121
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.serializeBinaryToWriter(this, writer);
59122
+ return writer.getResultBuffer();
59123
+ };
59124
+
59125
+
59126
+ /**
59127
+ * Serializes the given message to binary data (in protobuf wire
59128
+ * format), writing to the given BinaryWriter.
59129
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} message
59130
+ * @param {!jspb.BinaryWriter} writer
59131
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59132
+ */
59133
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.serializeBinaryToWriter = function(message, writer) {
59134
+ var f = undefined;
59135
+ f = message.getName();
59136
+ if (f != null) {
59137
+ writer.writeMessage(
59138
+ 1,
59139
+ f,
59140
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
59141
+ );
59142
+ }
59143
+ f = message.getNetworkBytesTotalPerSec();
59144
+ if (f != null) {
59145
+ writer.writeMessage(
59146
+ 2,
59147
+ f,
59148
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
59149
+ );
59150
+ }
59151
+ f = message.getNetworkBytesSentPerSec();
59152
+ if (f != null) {
59153
+ writer.writeMessage(
59154
+ 3,
59155
+ f,
59156
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
59157
+ );
59158
+ }
59159
+ f = message.getNetworkBytesReceivedPerSec();
59160
+ if (f != null) {
59161
+ writer.writeMessage(
59162
+ 4,
59163
+ f,
59164
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
59165
+ );
59166
+ }
59167
+ };
59168
+
59169
+
59170
+ /**
59171
+ * optional google.protobuf.StringValue name = 1;
59172
+ * @return {?proto.google.protobuf.StringValue}
59173
+ */
59174
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.getName = function() {
59175
+ return /** @type{?proto.google.protobuf.StringValue} */ (
59176
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
59177
+ };
59178
+
59179
+
59180
+ /**
59181
+ * @param {?proto.google.protobuf.StringValue|undefined} value
59182
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59183
+ */
59184
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.setName = function(value) {
59185
+ return jspb.Message.setWrapperField(this, 1, value);
59186
+ };
59187
+
59188
+
59189
+ /**
59190
+ * Clears the message field making it undefined.
59191
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59192
+ */
59193
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.clearName = function() {
59194
+ return this.setName(undefined);
59195
+ };
59196
+
59197
+
59198
+ /**
59199
+ * Returns whether this field is set.
59200
+ * @return {boolean}
59201
+ */
59202
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.hasName = function() {
59203
+ return jspb.Message.getField(this, 1) != null;
59204
+ };
59205
+
59206
+
59207
+ /**
59208
+ * optional google.protobuf.UInt64Value network_bytes_total_per_sec = 2;
59209
+ * @return {?proto.google.protobuf.UInt64Value}
59210
+ */
59211
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.getNetworkBytesTotalPerSec = function() {
59212
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
59213
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 2));
59214
+ };
59215
+
59216
+
59217
+ /**
59218
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
59219
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59220
+ */
59221
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.setNetworkBytesTotalPerSec = function(value) {
59222
+ return jspb.Message.setWrapperField(this, 2, value);
59223
+ };
59224
+
59225
+
59226
+ /**
59227
+ * Clears the message field making it undefined.
59228
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59229
+ */
59230
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.clearNetworkBytesTotalPerSec = function() {
59231
+ return this.setNetworkBytesTotalPerSec(undefined);
59232
+ };
59233
+
59234
+
59235
+ /**
59236
+ * Returns whether this field is set.
59237
+ * @return {boolean}
59238
+ */
59239
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.hasNetworkBytesTotalPerSec = function() {
59240
+ return jspb.Message.getField(this, 2) != null;
59241
+ };
59242
+
59243
+
59244
+ /**
59245
+ * optional google.protobuf.UInt64Value network_bytes_sent_per_sec = 3;
59246
+ * @return {?proto.google.protobuf.UInt64Value}
59247
+ */
59248
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.getNetworkBytesSentPerSec = function() {
59249
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
59250
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 3));
59251
+ };
59252
+
59253
+
59254
+ /**
59255
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
59256
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59257
+ */
59258
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.setNetworkBytesSentPerSec = function(value) {
59259
+ return jspb.Message.setWrapperField(this, 3, value);
59260
+ };
59261
+
59262
+
59263
+ /**
59264
+ * Clears the message field making it undefined.
59265
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59266
+ */
59267
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.clearNetworkBytesSentPerSec = function() {
59268
+ return this.setNetworkBytesSentPerSec(undefined);
59269
+ };
59270
+
59271
+
59272
+ /**
59273
+ * Returns whether this field is set.
59274
+ * @return {boolean}
59275
+ */
59276
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.hasNetworkBytesSentPerSec = function() {
59277
+ return jspb.Message.getField(this, 3) != null;
59278
+ };
59279
+
59280
+
59281
+ /**
59282
+ * optional google.protobuf.UInt64Value network_bytes_received_per_sec = 4;
59283
+ * @return {?proto.google.protobuf.UInt64Value}
59284
+ */
59285
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.getNetworkBytesReceivedPerSec = function() {
59286
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
59287
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 4));
59288
+ };
59289
+
59290
+
59291
+ /**
59292
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
59293
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59294
+ */
59295
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.setNetworkBytesReceivedPerSec = function(value) {
59296
+ return jspb.Message.setWrapperField(this, 4, value);
59297
+ };
59298
+
59299
+
59300
+ /**
59301
+ * Clears the message field making it undefined.
59302
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59303
+ */
59304
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.clearNetworkBytesReceivedPerSec = function() {
59305
+ return this.setNetworkBytesReceivedPerSec(undefined);
59306
+ };
59307
+
59308
+
59309
+ /**
59310
+ * Returns whether this field is set.
59311
+ * @return {boolean}
59312
+ */
59313
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.hasNetworkBytesReceivedPerSec = function() {
59314
+ return jspb.Message.getField(this, 4) != null;
59315
+ };
59316
+
59317
+
59318
+
57827
59319
  /**
57828
59320
  * List of repeated fields within this message type.
57829
59321
  * @private {!Array<number>}