@lansweeper/discovery-sensor-proto 2.35.2 → 2.35.4

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,1490 @@ 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
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
58391
+ };
58392
+
58393
+ if (includeInstance) {
58394
+ obj.$jspbMessageInstance = msg;
58395
+ }
58396
+ return obj;
58397
+ };
58398
+ }
58399
+
58400
+
58401
+ /**
58402
+ * Deserializes binary data (in protobuf wire format).
58403
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
58404
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance}
58405
+ */
58406
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.deserializeBinary = function(bytes) {
58407
+ var reader = new jspb.BinaryReader(bytes);
58408
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance;
58409
+ return proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.deserializeBinaryFromReader(msg, reader);
58410
+ };
58411
+
58412
+
58413
+ /**
58414
+ * Deserializes binary data (in protobuf wire format) from the
58415
+ * given reader into the given message object.
58416
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance} msg The message object to deserialize into.
58417
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
58418
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance}
58419
+ */
58420
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.deserializeBinaryFromReader = function(msg, reader) {
58421
+ while (reader.nextField()) {
58422
+ if (reader.isEndGroup()) {
58423
+ break;
58424
+ }
58425
+ var field = reader.getFieldNumber();
58426
+ switch (field) {
58427
+ case 1:
58428
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
58429
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
58430
+ msg.setPercentProcessorTime(value);
58431
+ break;
58432
+ case 2:
58433
+ var value = new google_protobuf_wrappers_pb.StringValue;
58434
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
58435
+ msg.setName(value);
58436
+ break;
58437
+ default:
58438
+ reader.skipField();
58439
+ break;
58440
+ }
58441
+ }
58442
+ return msg;
58443
+ };
58444
+
58445
+
58446
+ /**
58447
+ * Serializes the message to binary data (in protobuf wire format).
58448
+ * @return {!Uint8Array}
58449
+ */
58450
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.prototype.serializeBinary = function() {
58451
+ var writer = new jspb.BinaryWriter();
58452
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.serializeBinaryToWriter(this, writer);
58453
+ return writer.getResultBuffer();
58454
+ };
58455
+
58456
+
58457
+ /**
58458
+ * Serializes the given message to binary data (in protobuf wire
58459
+ * format), writing to the given BinaryWriter.
58460
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance} message
58461
+ * @param {!jspb.BinaryWriter} writer
58462
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58463
+ */
58464
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.serializeBinaryToWriter = function(message, writer) {
58465
+ var f = undefined;
58466
+ f = message.getPercentProcessorTime();
58467
+ if (f != null) {
58468
+ writer.writeMessage(
58469
+ 1,
58470
+ f,
58471
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
58472
+ );
58473
+ }
58474
+ f = message.getName();
58475
+ if (f != null) {
58476
+ writer.writeMessage(
58477
+ 2,
58478
+ f,
58479
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
58480
+ );
58481
+ }
58482
+ };
58483
+
58484
+
58485
+ /**
58486
+ * optional google.protobuf.UInt64Value percent_processor_time = 1;
58487
+ * @return {?proto.google.protobuf.UInt64Value}
58488
+ */
58489
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.prototype.getPercentProcessorTime = function() {
58490
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
58491
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 1));
58492
+ };
58493
+
58494
+
58495
+ /**
58496
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
58497
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance} returns this
58498
+ */
58499
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.prototype.setPercentProcessorTime = function(value) {
58500
+ return jspb.Message.setWrapperField(this, 1, value);
58501
+ };
58502
+
58503
+
58504
+ /**
58505
+ * Clears the message field making it undefined.
58506
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance} returns this
58507
+ */
58508
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.prototype.clearPercentProcessorTime = function() {
58509
+ return this.setPercentProcessorTime(undefined);
58510
+ };
58511
+
58512
+
58513
+ /**
58514
+ * Returns whether this field is set.
58515
+ * @return {boolean}
58516
+ */
58517
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.prototype.hasPercentProcessorTime = function() {
58518
+ return jspb.Message.getField(this, 1) != null;
58519
+ };
58520
+
58521
+
58522
+ /**
58523
+ * optional google.protobuf.StringValue name = 2;
58524
+ * @return {?proto.google.protobuf.StringValue}
58525
+ */
58526
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.prototype.getName = function() {
58527
+ return /** @type{?proto.google.protobuf.StringValue} */ (
58528
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
58529
+ };
58530
+
58531
+
58532
+ /**
58533
+ * @param {?proto.google.protobuf.StringValue|undefined} value
58534
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance} returns this
58535
+ */
58536
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.prototype.setName = function(value) {
58537
+ return jspb.Message.setWrapperField(this, 2, value);
58538
+ };
58539
+
58540
+
58541
+ /**
58542
+ * Clears the message field making it undefined.
58543
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance} returns this
58544
+ */
58545
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.prototype.clearName = function() {
58546
+ return this.setName(undefined);
58547
+ };
58548
+
58549
+
58550
+ /**
58551
+ * Returns whether this field is set.
58552
+ * @return {boolean}
58553
+ */
58554
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessorPerformance.prototype.hasName = function() {
58555
+ return jspb.Message.getField(this, 2) != null;
58556
+ };
58557
+
58558
+
58559
+
58560
+
58561
+
58562
+ if (jspb.Message.GENERATE_TO_OBJECT) {
58563
+ /**
58564
+ * Creates an object representation of this proto.
58565
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
58566
+ * Optional fields that are not set will be set to undefined.
58567
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
58568
+ * For the list of reserved names please see:
58569
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
58570
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
58571
+ * JSPB instance for transitional soy proto support:
58572
+ * http://goto/soy-param-migration
58573
+ * @return {!Object}
58574
+ */
58575
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.toObject = function(opt_includeInstance) {
58576
+ return proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.toObject(opt_includeInstance, this);
58577
+ };
58578
+
58579
+
58580
+ /**
58581
+ * Static version of the {@see toObject} method.
58582
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
58583
+ * the JSPB instance for transitional soy proto support:
58584
+ * http://goto/soy-param-migration
58585
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} msg The msg instance to transform.
58586
+ * @return {!Object}
58587
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58588
+ */
58589
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.toObject = function(includeInstance, msg) {
58590
+ var f, obj = {
58591
+ diskReadsPerSec: (f = msg.getDiskReadsPerSec()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
58592
+ diskTransfersPerSec: (f = msg.getDiskTransfersPerSec()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
58593
+ diskWritesPerSec: (f = msg.getDiskWritesPerSec()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
58594
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
58595
+ };
58596
+
58597
+ if (includeInstance) {
58598
+ obj.$jspbMessageInstance = msg;
58599
+ }
58600
+ return obj;
58601
+ };
58602
+ }
58603
+
58604
+
58605
+ /**
58606
+ * Deserializes binary data (in protobuf wire format).
58607
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
58608
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance}
58609
+ */
58610
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.deserializeBinary = function(bytes) {
58611
+ var reader = new jspb.BinaryReader(bytes);
58612
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance;
58613
+ return proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.deserializeBinaryFromReader(msg, reader);
58614
+ };
58615
+
58616
+
58617
+ /**
58618
+ * Deserializes binary data (in protobuf wire format) from the
58619
+ * given reader into the given message object.
58620
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} msg The message object to deserialize into.
58621
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
58622
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance}
58623
+ */
58624
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.deserializeBinaryFromReader = function(msg, reader) {
58625
+ while (reader.nextField()) {
58626
+ if (reader.isEndGroup()) {
58627
+ break;
58628
+ }
58629
+ var field = reader.getFieldNumber();
58630
+ switch (field) {
58631
+ case 1:
58632
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
58633
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
58634
+ msg.setDiskReadsPerSec(value);
58635
+ break;
58636
+ case 2:
58637
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
58638
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
58639
+ msg.setDiskTransfersPerSec(value);
58640
+ break;
58641
+ case 3:
58642
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
58643
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
58644
+ msg.setDiskWritesPerSec(value);
58645
+ break;
58646
+ case 4:
58647
+ var value = new google_protobuf_wrappers_pb.StringValue;
58648
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
58649
+ msg.setName(value);
58650
+ break;
58651
+ default:
58652
+ reader.skipField();
58653
+ break;
58654
+ }
58655
+ }
58656
+ return msg;
58657
+ };
58658
+
58659
+
58660
+ /**
58661
+ * Serializes the message to binary data (in protobuf wire format).
58662
+ * @return {!Uint8Array}
58663
+ */
58664
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.serializeBinary = function() {
58665
+ var writer = new jspb.BinaryWriter();
58666
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.serializeBinaryToWriter(this, writer);
58667
+ return writer.getResultBuffer();
58668
+ };
58669
+
58670
+
58671
+ /**
58672
+ * Serializes the given message to binary data (in protobuf wire
58673
+ * format), writing to the given BinaryWriter.
58674
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} message
58675
+ * @param {!jspb.BinaryWriter} writer
58676
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58677
+ */
58678
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.serializeBinaryToWriter = function(message, writer) {
58679
+ var f = undefined;
58680
+ f = message.getDiskReadsPerSec();
58681
+ if (f != null) {
58682
+ writer.writeMessage(
58683
+ 1,
58684
+ f,
58685
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
58686
+ );
58687
+ }
58688
+ f = message.getDiskTransfersPerSec();
58689
+ if (f != null) {
58690
+ writer.writeMessage(
58691
+ 2,
58692
+ f,
58693
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
58694
+ );
58695
+ }
58696
+ f = message.getDiskWritesPerSec();
58697
+ if (f != null) {
58698
+ writer.writeMessage(
58699
+ 3,
58700
+ f,
58701
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
58702
+ );
58703
+ }
58704
+ f = message.getName();
58705
+ if (f != null) {
58706
+ writer.writeMessage(
58707
+ 4,
58708
+ f,
58709
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
58710
+ );
58711
+ }
58712
+ };
58713
+
58714
+
58715
+ /**
58716
+ * optional google.protobuf.UInt32Value disk_reads_per_sec = 1;
58717
+ * @return {?proto.google.protobuf.UInt32Value}
58718
+ */
58719
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.getDiskReadsPerSec = function() {
58720
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
58721
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 1));
58722
+ };
58723
+
58724
+
58725
+ /**
58726
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
58727
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} returns this
58728
+ */
58729
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.setDiskReadsPerSec = function(value) {
58730
+ return jspb.Message.setWrapperField(this, 1, value);
58731
+ };
58732
+
58733
+
58734
+ /**
58735
+ * Clears the message field making it undefined.
58736
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} returns this
58737
+ */
58738
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.clearDiskReadsPerSec = function() {
58739
+ return this.setDiskReadsPerSec(undefined);
58740
+ };
58741
+
58742
+
58743
+ /**
58744
+ * Returns whether this field is set.
58745
+ * @return {boolean}
58746
+ */
58747
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.hasDiskReadsPerSec = function() {
58748
+ return jspb.Message.getField(this, 1) != null;
58749
+ };
58750
+
58751
+
58752
+ /**
58753
+ * optional google.protobuf.UInt32Value disk_transfers_per_sec = 2;
58754
+ * @return {?proto.google.protobuf.UInt32Value}
58755
+ */
58756
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.getDiskTransfersPerSec = function() {
58757
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
58758
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 2));
58759
+ };
58760
+
58761
+
58762
+ /**
58763
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
58764
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} returns this
58765
+ */
58766
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.setDiskTransfersPerSec = function(value) {
58767
+ return jspb.Message.setWrapperField(this, 2, value);
58768
+ };
58769
+
58770
+
58771
+ /**
58772
+ * Clears the message field making it undefined.
58773
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} returns this
58774
+ */
58775
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.clearDiskTransfersPerSec = function() {
58776
+ return this.setDiskTransfersPerSec(undefined);
58777
+ };
58778
+
58779
+
58780
+ /**
58781
+ * Returns whether this field is set.
58782
+ * @return {boolean}
58783
+ */
58784
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.hasDiskTransfersPerSec = function() {
58785
+ return jspb.Message.getField(this, 2) != null;
58786
+ };
58787
+
58788
+
58789
+ /**
58790
+ * optional google.protobuf.UInt32Value disk_writes_per_sec = 3;
58791
+ * @return {?proto.google.protobuf.UInt32Value}
58792
+ */
58793
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.getDiskWritesPerSec = function() {
58794
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
58795
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 3));
58796
+ };
58797
+
58798
+
58799
+ /**
58800
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
58801
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} returns this
58802
+ */
58803
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.setDiskWritesPerSec = function(value) {
58804
+ return jspb.Message.setWrapperField(this, 3, value);
58805
+ };
58806
+
58807
+
58808
+ /**
58809
+ * Clears the message field making it undefined.
58810
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} returns this
58811
+ */
58812
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.clearDiskWritesPerSec = function() {
58813
+ return this.setDiskWritesPerSec(undefined);
58814
+ };
58815
+
58816
+
58817
+ /**
58818
+ * Returns whether this field is set.
58819
+ * @return {boolean}
58820
+ */
58821
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.hasDiskWritesPerSec = function() {
58822
+ return jspb.Message.getField(this, 3) != null;
58823
+ };
58824
+
58825
+
58826
+ /**
58827
+ * optional google.protobuf.StringValue name = 4;
58828
+ * @return {?proto.google.protobuf.StringValue}
58829
+ */
58830
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.getName = function() {
58831
+ return /** @type{?proto.google.protobuf.StringValue} */ (
58832
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
58833
+ };
58834
+
58835
+
58836
+ /**
58837
+ * @param {?proto.google.protobuf.StringValue|undefined} value
58838
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} returns this
58839
+ */
58840
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.setName = function(value) {
58841
+ return jspb.Message.setWrapperField(this, 4, value);
58842
+ };
58843
+
58844
+
58845
+ /**
58846
+ * Clears the message field making it undefined.
58847
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance} returns this
58848
+ */
58849
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.clearName = function() {
58850
+ return this.setName(undefined);
58851
+ };
58852
+
58853
+
58854
+ /**
58855
+ * Returns whether this field is set.
58856
+ * @return {boolean}
58857
+ */
58858
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskPerformance.prototype.hasName = function() {
58859
+ return jspb.Message.getField(this, 4) != null;
58860
+ };
58861
+
58862
+
58863
+
58864
+
58865
+
58866
+ if (jspb.Message.GENERATE_TO_OBJECT) {
58867
+ /**
58868
+ * Creates an object representation of this proto.
58869
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
58870
+ * Optional fields that are not set will be set to undefined.
58871
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
58872
+ * For the list of reserved names please see:
58873
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
58874
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
58875
+ * JSPB instance for transitional soy proto support:
58876
+ * http://goto/soy-param-migration
58877
+ * @return {!Object}
58878
+ */
58879
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.toObject = function(opt_includeInstance) {
58880
+ return proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.toObject(opt_includeInstance, this);
58881
+ };
58882
+
58883
+
58884
+ /**
58885
+ * Static version of the {@see toObject} method.
58886
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
58887
+ * the JSPB instance for transitional soy proto support:
58888
+ * http://goto/soy-param-migration
58889
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} msg The msg instance to transform.
58890
+ * @return {!Object}
58891
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58892
+ */
58893
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.toObject = function(includeInstance, msg) {
58894
+ var f, obj = {
58895
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
58896
+ freeSpace: (f = msg.getFreeSpace()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f),
58897
+ size: (f = msg.getSize()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f)
58898
+ };
58899
+
58900
+ if (includeInstance) {
58901
+ obj.$jspbMessageInstance = msg;
58902
+ }
58903
+ return obj;
58904
+ };
58905
+ }
58906
+
58907
+
58908
+ /**
58909
+ * Deserializes binary data (in protobuf wire format).
58910
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
58911
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize}
58912
+ */
58913
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.deserializeBinary = function(bytes) {
58914
+ var reader = new jspb.BinaryReader(bytes);
58915
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize;
58916
+ return proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.deserializeBinaryFromReader(msg, reader);
58917
+ };
58918
+
58919
+
58920
+ /**
58921
+ * Deserializes binary data (in protobuf wire format) from the
58922
+ * given reader into the given message object.
58923
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} msg The message object to deserialize into.
58924
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
58925
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize}
58926
+ */
58927
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.deserializeBinaryFromReader = function(msg, reader) {
58928
+ while (reader.nextField()) {
58929
+ if (reader.isEndGroup()) {
58930
+ break;
58931
+ }
58932
+ var field = reader.getFieldNumber();
58933
+ switch (field) {
58934
+ case 1:
58935
+ var value = new google_protobuf_wrappers_pb.StringValue;
58936
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
58937
+ msg.setName(value);
58938
+ break;
58939
+ case 2:
58940
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
58941
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
58942
+ msg.setFreeSpace(value);
58943
+ break;
58944
+ case 3:
58945
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
58946
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
58947
+ msg.setSize(value);
58948
+ break;
58949
+ default:
58950
+ reader.skipField();
58951
+ break;
58952
+ }
58953
+ }
58954
+ return msg;
58955
+ };
58956
+
58957
+
58958
+ /**
58959
+ * Serializes the message to binary data (in protobuf wire format).
58960
+ * @return {!Uint8Array}
58961
+ */
58962
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.serializeBinary = function() {
58963
+ var writer = new jspb.BinaryWriter();
58964
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.serializeBinaryToWriter(this, writer);
58965
+ return writer.getResultBuffer();
58966
+ };
58967
+
58968
+
58969
+ /**
58970
+ * Serializes the given message to binary data (in protobuf wire
58971
+ * format), writing to the given BinaryWriter.
58972
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} message
58973
+ * @param {!jspb.BinaryWriter} writer
58974
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58975
+ */
58976
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.serializeBinaryToWriter = function(message, writer) {
58977
+ var f = undefined;
58978
+ f = message.getName();
58979
+ if (f != null) {
58980
+ writer.writeMessage(
58981
+ 1,
58982
+ f,
58983
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
58984
+ );
58985
+ }
58986
+ f = message.getFreeSpace();
58987
+ if (f != null) {
58988
+ writer.writeMessage(
58989
+ 2,
58990
+ f,
58991
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
58992
+ );
58993
+ }
58994
+ f = message.getSize();
58995
+ if (f != null) {
58996
+ writer.writeMessage(
58997
+ 3,
58998
+ f,
58999
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
59000
+ );
59001
+ }
59002
+ };
59003
+
59004
+
59005
+ /**
59006
+ * optional google.protobuf.StringValue name = 1;
59007
+ * @return {?proto.google.protobuf.StringValue}
59008
+ */
59009
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.getName = function() {
59010
+ return /** @type{?proto.google.protobuf.StringValue} */ (
59011
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
59012
+ };
59013
+
59014
+
59015
+ /**
59016
+ * @param {?proto.google.protobuf.StringValue|undefined} value
59017
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} returns this
59018
+ */
59019
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.setName = function(value) {
59020
+ return jspb.Message.setWrapperField(this, 1, value);
59021
+ };
59022
+
59023
+
59024
+ /**
59025
+ * Clears the message field making it undefined.
59026
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} returns this
59027
+ */
59028
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.clearName = function() {
59029
+ return this.setName(undefined);
59030
+ };
59031
+
59032
+
59033
+ /**
59034
+ * Returns whether this field is set.
59035
+ * @return {boolean}
59036
+ */
59037
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.hasName = function() {
59038
+ return jspb.Message.getField(this, 1) != null;
59039
+ };
59040
+
59041
+
59042
+ /**
59043
+ * optional google.protobuf.UInt64Value free_space = 2;
59044
+ * @return {?proto.google.protobuf.UInt64Value}
59045
+ */
59046
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.getFreeSpace = function() {
59047
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
59048
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 2));
59049
+ };
59050
+
59051
+
59052
+ /**
59053
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
59054
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} returns this
59055
+ */
59056
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.setFreeSpace = function(value) {
59057
+ return jspb.Message.setWrapperField(this, 2, value);
59058
+ };
59059
+
59060
+
59061
+ /**
59062
+ * Clears the message field making it undefined.
59063
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} returns this
59064
+ */
59065
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.clearFreeSpace = function() {
59066
+ return this.setFreeSpace(undefined);
59067
+ };
59068
+
59069
+
59070
+ /**
59071
+ * Returns whether this field is set.
59072
+ * @return {boolean}
59073
+ */
59074
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.hasFreeSpace = function() {
59075
+ return jspb.Message.getField(this, 2) != null;
59076
+ };
59077
+
59078
+
59079
+ /**
59080
+ * optional google.protobuf.UInt64Value size = 3;
59081
+ * @return {?proto.google.protobuf.UInt64Value}
59082
+ */
59083
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.getSize = function() {
59084
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
59085
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 3));
59086
+ };
59087
+
59088
+
59089
+ /**
59090
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
59091
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} returns this
59092
+ */
59093
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.setSize = function(value) {
59094
+ return jspb.Message.setWrapperField(this, 3, value);
59095
+ };
59096
+
59097
+
59098
+ /**
59099
+ * Clears the message field making it undefined.
59100
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize} returns this
59101
+ */
59102
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.clearSize = function() {
59103
+ return this.setSize(undefined);
59104
+ };
59105
+
59106
+
59107
+ /**
59108
+ * Returns whether this field is set.
59109
+ * @return {boolean}
59110
+ */
59111
+ proto.com.lansweeper.discovery.sensor.windows.v1.DiskSize.prototype.hasSize = function() {
59112
+ return jspb.Message.getField(this, 3) != null;
59113
+ };
59114
+
59115
+
59116
+
59117
+
59118
+
59119
+ if (jspb.Message.GENERATE_TO_OBJECT) {
59120
+ /**
59121
+ * Creates an object representation of this proto.
59122
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
59123
+ * Optional fields that are not set will be set to undefined.
59124
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
59125
+ * For the list of reserved names please see:
59126
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
59127
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
59128
+ * JSPB instance for transitional soy proto support:
59129
+ * http://goto/soy-param-migration
59130
+ * @return {!Object}
59131
+ */
59132
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.toObject = function(opt_includeInstance) {
59133
+ return proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.toObject(opt_includeInstance, this);
59134
+ };
59135
+
59136
+
59137
+ /**
59138
+ * Static version of the {@see toObject} method.
59139
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
59140
+ * the JSPB instance for transitional soy proto support:
59141
+ * http://goto/soy-param-migration
59142
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} msg The msg instance to transform.
59143
+ * @return {!Object}
59144
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59145
+ */
59146
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.toObject = function(includeInstance, msg) {
59147
+ var f, obj = {
59148
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
59149
+ networkBytesTotalPerSec: (f = msg.getNetworkBytesTotalPerSec()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f),
59150
+ networkBytesSentPerSec: (f = msg.getNetworkBytesSentPerSec()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f),
59151
+ networkBytesReceivedPerSec: (f = msg.getNetworkBytesReceivedPerSec()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f)
59152
+ };
59153
+
59154
+ if (includeInstance) {
59155
+ obj.$jspbMessageInstance = msg;
59156
+ }
59157
+ return obj;
59158
+ };
59159
+ }
59160
+
59161
+
59162
+ /**
59163
+ * Deserializes binary data (in protobuf wire format).
59164
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
59165
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance}
59166
+ */
59167
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.deserializeBinary = function(bytes) {
59168
+ var reader = new jspb.BinaryReader(bytes);
59169
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance;
59170
+ return proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.deserializeBinaryFromReader(msg, reader);
59171
+ };
59172
+
59173
+
59174
+ /**
59175
+ * Deserializes binary data (in protobuf wire format) from the
59176
+ * given reader into the given message object.
59177
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} msg The message object to deserialize into.
59178
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
59179
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance}
59180
+ */
59181
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.deserializeBinaryFromReader = function(msg, reader) {
59182
+ while (reader.nextField()) {
59183
+ if (reader.isEndGroup()) {
59184
+ break;
59185
+ }
59186
+ var field = reader.getFieldNumber();
59187
+ switch (field) {
59188
+ case 1:
59189
+ var value = new google_protobuf_wrappers_pb.StringValue;
59190
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
59191
+ msg.setName(value);
59192
+ break;
59193
+ case 2:
59194
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
59195
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
59196
+ msg.setNetworkBytesTotalPerSec(value);
59197
+ break;
59198
+ case 3:
59199
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
59200
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
59201
+ msg.setNetworkBytesSentPerSec(value);
59202
+ break;
59203
+ case 4:
59204
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
59205
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
59206
+ msg.setNetworkBytesReceivedPerSec(value);
59207
+ break;
59208
+ default:
59209
+ reader.skipField();
59210
+ break;
59211
+ }
59212
+ }
59213
+ return msg;
59214
+ };
59215
+
59216
+
59217
+ /**
59218
+ * Serializes the message to binary data (in protobuf wire format).
59219
+ * @return {!Uint8Array}
59220
+ */
59221
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.serializeBinary = function() {
59222
+ var writer = new jspb.BinaryWriter();
59223
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.serializeBinaryToWriter(this, writer);
59224
+ return writer.getResultBuffer();
59225
+ };
59226
+
59227
+
59228
+ /**
59229
+ * Serializes the given message to binary data (in protobuf wire
59230
+ * format), writing to the given BinaryWriter.
59231
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} message
59232
+ * @param {!jspb.BinaryWriter} writer
59233
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59234
+ */
59235
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.serializeBinaryToWriter = function(message, writer) {
59236
+ var f = undefined;
59237
+ f = message.getName();
59238
+ if (f != null) {
59239
+ writer.writeMessage(
59240
+ 1,
59241
+ f,
59242
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
59243
+ );
59244
+ }
59245
+ f = message.getNetworkBytesTotalPerSec();
59246
+ if (f != null) {
59247
+ writer.writeMessage(
59248
+ 2,
59249
+ f,
59250
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
59251
+ );
59252
+ }
59253
+ f = message.getNetworkBytesSentPerSec();
59254
+ if (f != null) {
59255
+ writer.writeMessage(
59256
+ 3,
59257
+ f,
59258
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
59259
+ );
59260
+ }
59261
+ f = message.getNetworkBytesReceivedPerSec();
59262
+ if (f != null) {
59263
+ writer.writeMessage(
59264
+ 4,
59265
+ f,
59266
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
59267
+ );
59268
+ }
59269
+ };
59270
+
59271
+
59272
+ /**
59273
+ * optional google.protobuf.StringValue name = 1;
59274
+ * @return {?proto.google.protobuf.StringValue}
59275
+ */
59276
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.getName = function() {
59277
+ return /** @type{?proto.google.protobuf.StringValue} */ (
59278
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
59279
+ };
59280
+
59281
+
59282
+ /**
59283
+ * @param {?proto.google.protobuf.StringValue|undefined} value
59284
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59285
+ */
59286
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.setName = function(value) {
59287
+ return jspb.Message.setWrapperField(this, 1, value);
59288
+ };
59289
+
59290
+
59291
+ /**
59292
+ * Clears the message field making it undefined.
59293
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59294
+ */
59295
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.clearName = function() {
59296
+ return this.setName(undefined);
59297
+ };
59298
+
59299
+
59300
+ /**
59301
+ * Returns whether this field is set.
59302
+ * @return {boolean}
59303
+ */
59304
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.hasName = function() {
59305
+ return jspb.Message.getField(this, 1) != null;
59306
+ };
59307
+
59308
+
59309
+ /**
59310
+ * optional google.protobuf.UInt64Value network_bytes_total_per_sec = 2;
59311
+ * @return {?proto.google.protobuf.UInt64Value}
59312
+ */
59313
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.getNetworkBytesTotalPerSec = function() {
59314
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
59315
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 2));
59316
+ };
59317
+
59318
+
59319
+ /**
59320
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
59321
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59322
+ */
59323
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.setNetworkBytesTotalPerSec = function(value) {
59324
+ return jspb.Message.setWrapperField(this, 2, value);
59325
+ };
59326
+
59327
+
59328
+ /**
59329
+ * Clears the message field making it undefined.
59330
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59331
+ */
59332
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.clearNetworkBytesTotalPerSec = function() {
59333
+ return this.setNetworkBytesTotalPerSec(undefined);
59334
+ };
59335
+
59336
+
59337
+ /**
59338
+ * Returns whether this field is set.
59339
+ * @return {boolean}
59340
+ */
59341
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.hasNetworkBytesTotalPerSec = function() {
59342
+ return jspb.Message.getField(this, 2) != null;
59343
+ };
59344
+
59345
+
59346
+ /**
59347
+ * optional google.protobuf.UInt64Value network_bytes_sent_per_sec = 3;
59348
+ * @return {?proto.google.protobuf.UInt64Value}
59349
+ */
59350
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.getNetworkBytesSentPerSec = function() {
59351
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
59352
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 3));
59353
+ };
59354
+
59355
+
59356
+ /**
59357
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
59358
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59359
+ */
59360
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.setNetworkBytesSentPerSec = function(value) {
59361
+ return jspb.Message.setWrapperField(this, 3, value);
59362
+ };
59363
+
59364
+
59365
+ /**
59366
+ * Clears the message field making it undefined.
59367
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59368
+ */
59369
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.clearNetworkBytesSentPerSec = function() {
59370
+ return this.setNetworkBytesSentPerSec(undefined);
59371
+ };
59372
+
59373
+
59374
+ /**
59375
+ * Returns whether this field is set.
59376
+ * @return {boolean}
59377
+ */
59378
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.hasNetworkBytesSentPerSec = function() {
59379
+ return jspb.Message.getField(this, 3) != null;
59380
+ };
59381
+
59382
+
59383
+ /**
59384
+ * optional google.protobuf.UInt64Value network_bytes_received_per_sec = 4;
59385
+ * @return {?proto.google.protobuf.UInt64Value}
59386
+ */
59387
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.getNetworkBytesReceivedPerSec = function() {
59388
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
59389
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 4));
59390
+ };
59391
+
59392
+
59393
+ /**
59394
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
59395
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59396
+ */
59397
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.setNetworkBytesReceivedPerSec = function(value) {
59398
+ return jspb.Message.setWrapperField(this, 4, value);
59399
+ };
59400
+
59401
+
59402
+ /**
59403
+ * Clears the message field making it undefined.
59404
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance} returns this
59405
+ */
59406
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.clearNetworkBytesReceivedPerSec = function() {
59407
+ return this.setNetworkBytesReceivedPerSec(undefined);
59408
+ };
59409
+
59410
+
59411
+ /**
59412
+ * Returns whether this field is set.
59413
+ * @return {boolean}
59414
+ */
59415
+ proto.com.lansweeper.discovery.sensor.windows.v1.NetworkPerformance.prototype.hasNetworkBytesReceivedPerSec = function() {
59416
+ return jspb.Message.getField(this, 4) != null;
59417
+ };
59418
+
59419
+
59420
+
57827
59421
  /**
57828
59422
  * List of repeated fields within this message type.
57829
59423
  * @private {!Array<number>}