@lansweeper/discovery-sensor-proto 2.35.0 → 2.35.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,6 +40,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.CertificateE
40
40
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.CertificateInfo', null, global);
41
41
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.CertificateKeyUsage', null, global);
42
42
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.CertificateLocation', null, global);
43
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Codec', null, global);
43
44
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.ComputerSystem', null, global);
44
45
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.ComputerSystemProduct', null, global);
45
46
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Desktop', null, global);
@@ -48,6 +49,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DiskPartitio
48
49
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DisplayConfig', null, global);
49
50
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DisplayControllerConfig', null, global);
50
51
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.EncryptableVolume', null, global);
52
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Environment', null, global);
51
53
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Feature', null, global);
52
54
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule', null, global);
53
55
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty', null, global);
@@ -140,6 +142,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCdRom
140
142
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCertificateInfo', null, global);
141
143
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsClusterInfo', null, global);
142
144
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsClusterNode', null, global);
145
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec', null, global);
143
146
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComputerSystem', null, global);
144
147
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsComputerSystemProduct', null, global);
145
148
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDesktop', null, global);
@@ -148,6 +151,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDiskP
148
151
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDisplayConfig', null, global);
149
152
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDisplayControllerConfig', null, global);
150
153
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEncryptableVolume', null, global);
154
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment', null, global);
151
155
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsFeature', null, global);
152
156
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsFirewallRules', null, global);
153
157
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsFloppy', null, global);
@@ -2967,6 +2971,90 @@ if (goog.DEBUG && !COMPILED) {
2967
2971
  */
2968
2972
  proto.com.lansweeper.discovery.sensor.windows.v1.CdRom.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.CdRom';
2969
2973
  }
2974
+ /**
2975
+ * Generated by JsPbCodeGenerator.
2976
+ * @param {Array=} opt_data Optional initial data array, typically from a
2977
+ * server response, or constructed directly in Javascript. The array is used
2978
+ * in place and becomes part of the constructed object. It is not cloned.
2979
+ * If no data is provided, the constructed object will be empty, but still
2980
+ * valid.
2981
+ * @extends {jspb.Message}
2982
+ * @constructor
2983
+ */
2984
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec = function(opt_data) {
2985
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.repeatedFields_, null);
2986
+ };
2987
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec, jspb.Message);
2988
+ if (goog.DEBUG && !COMPILED) {
2989
+ /**
2990
+ * @public
2991
+ * @override
2992
+ */
2993
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec';
2994
+ }
2995
+ /**
2996
+ * Generated by JsPbCodeGenerator.
2997
+ * @param {Array=} opt_data Optional initial data array, typically from a
2998
+ * server response, or constructed directly in Javascript. The array is used
2999
+ * in place and becomes part of the constructed object. It is not cloned.
3000
+ * If no data is provided, the constructed object will be empty, but still
3001
+ * valid.
3002
+ * @extends {jspb.Message}
3003
+ * @constructor
3004
+ */
3005
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec = function(opt_data) {
3006
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3007
+ };
3008
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.Codec, jspb.Message);
3009
+ if (goog.DEBUG && !COMPILED) {
3010
+ /**
3011
+ * @public
3012
+ * @override
3013
+ */
3014
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.Codec';
3015
+ }
3016
+ /**
3017
+ * Generated by JsPbCodeGenerator.
3018
+ * @param {Array=} opt_data Optional initial data array, typically from a
3019
+ * server response, or constructed directly in Javascript. The array is used
3020
+ * in place and becomes part of the constructed object. It is not cloned.
3021
+ * If no data is provided, the constructed object will be empty, but still
3022
+ * valid.
3023
+ * @extends {jspb.Message}
3024
+ * @constructor
3025
+ */
3026
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment = function(opt_data) {
3027
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.repeatedFields_, null);
3028
+ };
3029
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment, jspb.Message);
3030
+ if (goog.DEBUG && !COMPILED) {
3031
+ /**
3032
+ * @public
3033
+ * @override
3034
+ */
3035
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment';
3036
+ }
3037
+ /**
3038
+ * Generated by JsPbCodeGenerator.
3039
+ * @param {Array=} opt_data Optional initial data array, typically from a
3040
+ * server response, or constructed directly in Javascript. The array is used
3041
+ * in place and becomes part of the constructed object. It is not cloned.
3042
+ * If no data is provided, the constructed object will be empty, but still
3043
+ * valid.
3044
+ * @extends {jspb.Message}
3045
+ * @constructor
3046
+ */
3047
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment = function(opt_data) {
3048
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3049
+ };
3050
+ goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.Environment, jspb.Message);
3051
+ if (goog.DEBUG && !COMPILED) {
3052
+ /**
3053
+ * @public
3054
+ * @override
3055
+ */
3056
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.Environment';
3057
+ }
2970
3058
  /**
2971
3059
  * Generated by JsPbCodeGenerator.
2972
3060
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -55941,6 +56029,1801 @@ proto.com.lansweeper.discovery.sensor.windows.v1.CdRom.prototype.hasStatus = fun
55941
56029
 
55942
56030
 
55943
56031
 
56032
+ /**
56033
+ * List of repeated fields within this message type.
56034
+ * @private {!Array<number>}
56035
+ * @const
56036
+ */
56037
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.repeatedFields_ = [1];
56038
+
56039
+
56040
+
56041
+ if (jspb.Message.GENERATE_TO_OBJECT) {
56042
+ /**
56043
+ * Creates an object representation of this proto.
56044
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
56045
+ * Optional fields that are not set will be set to undefined.
56046
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
56047
+ * For the list of reserved names please see:
56048
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
56049
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
56050
+ * JSPB instance for transitional soy proto support:
56051
+ * http://goto/soy-param-migration
56052
+ * @return {!Object}
56053
+ */
56054
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.prototype.toObject = function(opt_includeInstance) {
56055
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.toObject(opt_includeInstance, this);
56056
+ };
56057
+
56058
+
56059
+ /**
56060
+ * Static version of the {@see toObject} method.
56061
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
56062
+ * the JSPB instance for transitional soy proto support:
56063
+ * http://goto/soy-param-migration
56064
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec} msg The msg instance to transform.
56065
+ * @return {!Object}
56066
+ * @suppress {unusedLocalVariables} f is only used for nested messages
56067
+ */
56068
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.toObject = function(includeInstance, msg) {
56069
+ var f, obj = {
56070
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
56071
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.toObject, includeInstance)
56072
+ };
56073
+
56074
+ if (includeInstance) {
56075
+ obj.$jspbMessageInstance = msg;
56076
+ }
56077
+ return obj;
56078
+ };
56079
+ }
56080
+
56081
+
56082
+ /**
56083
+ * Deserializes binary data (in protobuf wire format).
56084
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
56085
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec}
56086
+ */
56087
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.deserializeBinary = function(bytes) {
56088
+ var reader = new jspb.BinaryReader(bytes);
56089
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec;
56090
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.deserializeBinaryFromReader(msg, reader);
56091
+ };
56092
+
56093
+
56094
+ /**
56095
+ * Deserializes binary data (in protobuf wire format) from the
56096
+ * given reader into the given message object.
56097
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec} msg The message object to deserialize into.
56098
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
56099
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec}
56100
+ */
56101
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.deserializeBinaryFromReader = function(msg, reader) {
56102
+ while (reader.nextField()) {
56103
+ if (reader.isEndGroup()) {
56104
+ break;
56105
+ }
56106
+ var field = reader.getFieldNumber();
56107
+ switch (field) {
56108
+ case 1:
56109
+ var value = new proto.com.lansweeper.discovery.sensor.windows.v1.Codec;
56110
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.Codec.deserializeBinaryFromReader);
56111
+ msg.addEntries(value);
56112
+ break;
56113
+ default:
56114
+ reader.skipField();
56115
+ break;
56116
+ }
56117
+ }
56118
+ return msg;
56119
+ };
56120
+
56121
+
56122
+ /**
56123
+ * Serializes the message to binary data (in protobuf wire format).
56124
+ * @return {!Uint8Array}
56125
+ */
56126
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.prototype.serializeBinary = function() {
56127
+ var writer = new jspb.BinaryWriter();
56128
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.serializeBinaryToWriter(this, writer);
56129
+ return writer.getResultBuffer();
56130
+ };
56131
+
56132
+
56133
+ /**
56134
+ * Serializes the given message to binary data (in protobuf wire
56135
+ * format), writing to the given BinaryWriter.
56136
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec} message
56137
+ * @param {!jspb.BinaryWriter} writer
56138
+ * @suppress {unusedLocalVariables} f is only used for nested messages
56139
+ */
56140
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.serializeBinaryToWriter = function(message, writer) {
56141
+ var f = undefined;
56142
+ f = message.getEntriesList();
56143
+ if (f.length > 0) {
56144
+ writer.writeRepeatedMessage(
56145
+ 1,
56146
+ f,
56147
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.serializeBinaryToWriter
56148
+ );
56149
+ }
56150
+ };
56151
+
56152
+
56153
+ /**
56154
+ * repeated Codec entries = 1;
56155
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.Codec>}
56156
+ */
56157
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.prototype.getEntriesList = function() {
56158
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.Codec>} */ (
56159
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.Codec, 1));
56160
+ };
56161
+
56162
+
56163
+ /**
56164
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.Codec>} value
56165
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec} returns this
56166
+ */
56167
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.prototype.setEntriesList = function(value) {
56168
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
56169
+ };
56170
+
56171
+
56172
+ /**
56173
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec=} opt_value
56174
+ * @param {number=} opt_index
56175
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec}
56176
+ */
56177
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.prototype.addEntries = function(opt_value, opt_index) {
56178
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.Codec, opt_index);
56179
+ };
56180
+
56181
+
56182
+ /**
56183
+ * Clears the list making it empty but non-null.
56184
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec} returns this
56185
+ */
56186
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsCodec.prototype.clearEntriesList = function() {
56187
+ return this.setEntriesList([]);
56188
+ };
56189
+
56190
+
56191
+
56192
+
56193
+
56194
+ if (jspb.Message.GENERATE_TO_OBJECT) {
56195
+ /**
56196
+ * Creates an object representation of this proto.
56197
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
56198
+ * Optional fields that are not set will be set to undefined.
56199
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
56200
+ * For the list of reserved names please see:
56201
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
56202
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
56203
+ * JSPB instance for transitional soy proto support:
56204
+ * http://goto/soy-param-migration
56205
+ * @return {!Object}
56206
+ */
56207
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.toObject = function(opt_includeInstance) {
56208
+ return proto.com.lansweeper.discovery.sensor.windows.v1.Codec.toObject(opt_includeInstance, this);
56209
+ };
56210
+
56211
+
56212
+ /**
56213
+ * Static version of the {@see toObject} method.
56214
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
56215
+ * the JSPB instance for transitional soy proto support:
56216
+ * http://goto/soy-param-migration
56217
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} msg The msg instance to transform.
56218
+ * @return {!Object}
56219
+ * @suppress {unusedLocalVariables} f is only used for nested messages
56220
+ */
56221
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.toObject = function(includeInstance, msg) {
56222
+ var f, obj = {
56223
+ archive: (f = msg.getArchive()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
56224
+ caption: (f = msg.getCaption()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
56225
+ compressed: (f = msg.getCompressed()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
56226
+ compressionMethod: (f = msg.getCompressionMethod()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
56227
+ description: (f = msg.getDescription()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
56228
+ drive: (f = msg.getDrive()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
56229
+ encrypted: (f = msg.getEncrypted()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
56230
+ encryptionMethod: (f = msg.getEncryptionMethod()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
56231
+ extension: (f = msg.getExtension$()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
56232
+ fileName: (f = msg.getFileName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
56233
+ fileSize: (f = msg.getFileSize()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f),
56234
+ fileType: (f = msg.getFileType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
56235
+ fsName: (f = msg.getFsName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
56236
+ group: (f = msg.getGroup()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
56237
+ hidden: (f = msg.getHidden()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
56238
+ installDate: (f = msg.getInstallDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
56239
+ manufacturer: (f = msg.getManufacturer()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
56240
+ status: (f = msg.getStatus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
56241
+ system: (f = msg.getSystem()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
56242
+ version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
56243
+ };
56244
+
56245
+ if (includeInstance) {
56246
+ obj.$jspbMessageInstance = msg;
56247
+ }
56248
+ return obj;
56249
+ };
56250
+ }
56251
+
56252
+
56253
+ /**
56254
+ * Deserializes binary data (in protobuf wire format).
56255
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
56256
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec}
56257
+ */
56258
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.deserializeBinary = function(bytes) {
56259
+ var reader = new jspb.BinaryReader(bytes);
56260
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.Codec;
56261
+ return proto.com.lansweeper.discovery.sensor.windows.v1.Codec.deserializeBinaryFromReader(msg, reader);
56262
+ };
56263
+
56264
+
56265
+ /**
56266
+ * Deserializes binary data (in protobuf wire format) from the
56267
+ * given reader into the given message object.
56268
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} msg The message object to deserialize into.
56269
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
56270
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec}
56271
+ */
56272
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.deserializeBinaryFromReader = function(msg, reader) {
56273
+ while (reader.nextField()) {
56274
+ if (reader.isEndGroup()) {
56275
+ break;
56276
+ }
56277
+ var field = reader.getFieldNumber();
56278
+ switch (field) {
56279
+ case 1:
56280
+ var value = new google_protobuf_wrappers_pb.BoolValue;
56281
+ reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
56282
+ msg.setArchive(value);
56283
+ break;
56284
+ case 2:
56285
+ var value = new google_protobuf_wrappers_pb.StringValue;
56286
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
56287
+ msg.setCaption(value);
56288
+ break;
56289
+ case 3:
56290
+ var value = new google_protobuf_wrappers_pb.BoolValue;
56291
+ reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
56292
+ msg.setCompressed(value);
56293
+ break;
56294
+ case 4:
56295
+ var value = new google_protobuf_wrappers_pb.StringValue;
56296
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
56297
+ msg.setCompressionMethod(value);
56298
+ break;
56299
+ case 5:
56300
+ var value = new google_protobuf_wrappers_pb.StringValue;
56301
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
56302
+ msg.setDescription(value);
56303
+ break;
56304
+ case 6:
56305
+ var value = new google_protobuf_wrappers_pb.StringValue;
56306
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
56307
+ msg.setDrive(value);
56308
+ break;
56309
+ case 7:
56310
+ var value = new google_protobuf_wrappers_pb.BoolValue;
56311
+ reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
56312
+ msg.setEncrypted(value);
56313
+ break;
56314
+ case 8:
56315
+ var value = new google_protobuf_wrappers_pb.StringValue;
56316
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
56317
+ msg.setEncryptionMethod(value);
56318
+ break;
56319
+ case 9:
56320
+ var value = new google_protobuf_wrappers_pb.StringValue;
56321
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
56322
+ msg.setExtension$(value);
56323
+ break;
56324
+ case 10:
56325
+ var value = new google_protobuf_wrappers_pb.StringValue;
56326
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
56327
+ msg.setFileName(value);
56328
+ break;
56329
+ case 11:
56330
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
56331
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
56332
+ msg.setFileSize(value);
56333
+ break;
56334
+ case 12:
56335
+ var value = new google_protobuf_wrappers_pb.StringValue;
56336
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
56337
+ msg.setFileType(value);
56338
+ break;
56339
+ case 13:
56340
+ var value = new google_protobuf_wrappers_pb.StringValue;
56341
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
56342
+ msg.setFsName(value);
56343
+ break;
56344
+ case 14:
56345
+ var value = new google_protobuf_wrappers_pb.StringValue;
56346
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
56347
+ msg.setGroup(value);
56348
+ break;
56349
+ case 15:
56350
+ var value = new google_protobuf_wrappers_pb.BoolValue;
56351
+ reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
56352
+ msg.setHidden(value);
56353
+ break;
56354
+ case 16:
56355
+ var value = new google_protobuf_timestamp_pb.Timestamp;
56356
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
56357
+ msg.setInstallDate(value);
56358
+ break;
56359
+ case 17:
56360
+ var value = new google_protobuf_wrappers_pb.StringValue;
56361
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
56362
+ msg.setManufacturer(value);
56363
+ break;
56364
+ case 18:
56365
+ var value = new google_protobuf_wrappers_pb.StringValue;
56366
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
56367
+ msg.setStatus(value);
56368
+ break;
56369
+ case 19:
56370
+ var value = new google_protobuf_wrappers_pb.BoolValue;
56371
+ reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
56372
+ msg.setSystem(value);
56373
+ break;
56374
+ case 20:
56375
+ var value = new google_protobuf_wrappers_pb.StringValue;
56376
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
56377
+ msg.setVersion(value);
56378
+ break;
56379
+ default:
56380
+ reader.skipField();
56381
+ break;
56382
+ }
56383
+ }
56384
+ return msg;
56385
+ };
56386
+
56387
+
56388
+ /**
56389
+ * Serializes the message to binary data (in protobuf wire format).
56390
+ * @return {!Uint8Array}
56391
+ */
56392
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.serializeBinary = function() {
56393
+ var writer = new jspb.BinaryWriter();
56394
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.serializeBinaryToWriter(this, writer);
56395
+ return writer.getResultBuffer();
56396
+ };
56397
+
56398
+
56399
+ /**
56400
+ * Serializes the given message to binary data (in protobuf wire
56401
+ * format), writing to the given BinaryWriter.
56402
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} message
56403
+ * @param {!jspb.BinaryWriter} writer
56404
+ * @suppress {unusedLocalVariables} f is only used for nested messages
56405
+ */
56406
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.serializeBinaryToWriter = function(message, writer) {
56407
+ var f = undefined;
56408
+ f = message.getArchive();
56409
+ if (f != null) {
56410
+ writer.writeMessage(
56411
+ 1,
56412
+ f,
56413
+ google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
56414
+ );
56415
+ }
56416
+ f = message.getCaption();
56417
+ if (f != null) {
56418
+ writer.writeMessage(
56419
+ 2,
56420
+ f,
56421
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
56422
+ );
56423
+ }
56424
+ f = message.getCompressed();
56425
+ if (f != null) {
56426
+ writer.writeMessage(
56427
+ 3,
56428
+ f,
56429
+ google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
56430
+ );
56431
+ }
56432
+ f = message.getCompressionMethod();
56433
+ if (f != null) {
56434
+ writer.writeMessage(
56435
+ 4,
56436
+ f,
56437
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
56438
+ );
56439
+ }
56440
+ f = message.getDescription();
56441
+ if (f != null) {
56442
+ writer.writeMessage(
56443
+ 5,
56444
+ f,
56445
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
56446
+ );
56447
+ }
56448
+ f = message.getDrive();
56449
+ if (f != null) {
56450
+ writer.writeMessage(
56451
+ 6,
56452
+ f,
56453
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
56454
+ );
56455
+ }
56456
+ f = message.getEncrypted();
56457
+ if (f != null) {
56458
+ writer.writeMessage(
56459
+ 7,
56460
+ f,
56461
+ google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
56462
+ );
56463
+ }
56464
+ f = message.getEncryptionMethod();
56465
+ if (f != null) {
56466
+ writer.writeMessage(
56467
+ 8,
56468
+ f,
56469
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
56470
+ );
56471
+ }
56472
+ f = message.getExtension$();
56473
+ if (f != null) {
56474
+ writer.writeMessage(
56475
+ 9,
56476
+ f,
56477
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
56478
+ );
56479
+ }
56480
+ f = message.getFileName();
56481
+ if (f != null) {
56482
+ writer.writeMessage(
56483
+ 10,
56484
+ f,
56485
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
56486
+ );
56487
+ }
56488
+ f = message.getFileSize();
56489
+ if (f != null) {
56490
+ writer.writeMessage(
56491
+ 11,
56492
+ f,
56493
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
56494
+ );
56495
+ }
56496
+ f = message.getFileType();
56497
+ if (f != null) {
56498
+ writer.writeMessage(
56499
+ 12,
56500
+ f,
56501
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
56502
+ );
56503
+ }
56504
+ f = message.getFsName();
56505
+ if (f != null) {
56506
+ writer.writeMessage(
56507
+ 13,
56508
+ f,
56509
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
56510
+ );
56511
+ }
56512
+ f = message.getGroup();
56513
+ if (f != null) {
56514
+ writer.writeMessage(
56515
+ 14,
56516
+ f,
56517
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
56518
+ );
56519
+ }
56520
+ f = message.getHidden();
56521
+ if (f != null) {
56522
+ writer.writeMessage(
56523
+ 15,
56524
+ f,
56525
+ google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
56526
+ );
56527
+ }
56528
+ f = message.getInstallDate();
56529
+ if (f != null) {
56530
+ writer.writeMessage(
56531
+ 16,
56532
+ f,
56533
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
56534
+ );
56535
+ }
56536
+ f = message.getManufacturer();
56537
+ if (f != null) {
56538
+ writer.writeMessage(
56539
+ 17,
56540
+ f,
56541
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
56542
+ );
56543
+ }
56544
+ f = message.getStatus();
56545
+ if (f != null) {
56546
+ writer.writeMessage(
56547
+ 18,
56548
+ f,
56549
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
56550
+ );
56551
+ }
56552
+ f = message.getSystem();
56553
+ if (f != null) {
56554
+ writer.writeMessage(
56555
+ 19,
56556
+ f,
56557
+ google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
56558
+ );
56559
+ }
56560
+ f = message.getVersion();
56561
+ if (f != null) {
56562
+ writer.writeMessage(
56563
+ 20,
56564
+ f,
56565
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
56566
+ );
56567
+ }
56568
+ };
56569
+
56570
+
56571
+ /**
56572
+ * optional google.protobuf.BoolValue archive = 1;
56573
+ * @return {?proto.google.protobuf.BoolValue}
56574
+ */
56575
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getArchive = function() {
56576
+ return /** @type{?proto.google.protobuf.BoolValue} */ (
56577
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 1));
56578
+ };
56579
+
56580
+
56581
+ /**
56582
+ * @param {?proto.google.protobuf.BoolValue|undefined} value
56583
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56584
+ */
56585
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setArchive = function(value) {
56586
+ return jspb.Message.setWrapperField(this, 1, value);
56587
+ };
56588
+
56589
+
56590
+ /**
56591
+ * Clears the message field making it undefined.
56592
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56593
+ */
56594
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearArchive = function() {
56595
+ return this.setArchive(undefined);
56596
+ };
56597
+
56598
+
56599
+ /**
56600
+ * Returns whether this field is set.
56601
+ * @return {boolean}
56602
+ */
56603
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasArchive = function() {
56604
+ return jspb.Message.getField(this, 1) != null;
56605
+ };
56606
+
56607
+
56608
+ /**
56609
+ * optional google.protobuf.StringValue caption = 2;
56610
+ * @return {?proto.google.protobuf.StringValue}
56611
+ */
56612
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getCaption = function() {
56613
+ return /** @type{?proto.google.protobuf.StringValue} */ (
56614
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
56615
+ };
56616
+
56617
+
56618
+ /**
56619
+ * @param {?proto.google.protobuf.StringValue|undefined} value
56620
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56621
+ */
56622
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setCaption = function(value) {
56623
+ return jspb.Message.setWrapperField(this, 2, value);
56624
+ };
56625
+
56626
+
56627
+ /**
56628
+ * Clears the message field making it undefined.
56629
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56630
+ */
56631
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearCaption = function() {
56632
+ return this.setCaption(undefined);
56633
+ };
56634
+
56635
+
56636
+ /**
56637
+ * Returns whether this field is set.
56638
+ * @return {boolean}
56639
+ */
56640
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasCaption = function() {
56641
+ return jspb.Message.getField(this, 2) != null;
56642
+ };
56643
+
56644
+
56645
+ /**
56646
+ * optional google.protobuf.BoolValue compressed = 3;
56647
+ * @return {?proto.google.protobuf.BoolValue}
56648
+ */
56649
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getCompressed = function() {
56650
+ return /** @type{?proto.google.protobuf.BoolValue} */ (
56651
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 3));
56652
+ };
56653
+
56654
+
56655
+ /**
56656
+ * @param {?proto.google.protobuf.BoolValue|undefined} value
56657
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56658
+ */
56659
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setCompressed = function(value) {
56660
+ return jspb.Message.setWrapperField(this, 3, value);
56661
+ };
56662
+
56663
+
56664
+ /**
56665
+ * Clears the message field making it undefined.
56666
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56667
+ */
56668
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearCompressed = function() {
56669
+ return this.setCompressed(undefined);
56670
+ };
56671
+
56672
+
56673
+ /**
56674
+ * Returns whether this field is set.
56675
+ * @return {boolean}
56676
+ */
56677
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasCompressed = function() {
56678
+ return jspb.Message.getField(this, 3) != null;
56679
+ };
56680
+
56681
+
56682
+ /**
56683
+ * optional google.protobuf.StringValue compression_method = 4;
56684
+ * @return {?proto.google.protobuf.StringValue}
56685
+ */
56686
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getCompressionMethod = function() {
56687
+ return /** @type{?proto.google.protobuf.StringValue} */ (
56688
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
56689
+ };
56690
+
56691
+
56692
+ /**
56693
+ * @param {?proto.google.protobuf.StringValue|undefined} value
56694
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56695
+ */
56696
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setCompressionMethod = function(value) {
56697
+ return jspb.Message.setWrapperField(this, 4, value);
56698
+ };
56699
+
56700
+
56701
+ /**
56702
+ * Clears the message field making it undefined.
56703
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56704
+ */
56705
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearCompressionMethod = function() {
56706
+ return this.setCompressionMethod(undefined);
56707
+ };
56708
+
56709
+
56710
+ /**
56711
+ * Returns whether this field is set.
56712
+ * @return {boolean}
56713
+ */
56714
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasCompressionMethod = function() {
56715
+ return jspb.Message.getField(this, 4) != null;
56716
+ };
56717
+
56718
+
56719
+ /**
56720
+ * optional google.protobuf.StringValue description = 5;
56721
+ * @return {?proto.google.protobuf.StringValue}
56722
+ */
56723
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getDescription = function() {
56724
+ return /** @type{?proto.google.protobuf.StringValue} */ (
56725
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
56726
+ };
56727
+
56728
+
56729
+ /**
56730
+ * @param {?proto.google.protobuf.StringValue|undefined} value
56731
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56732
+ */
56733
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setDescription = function(value) {
56734
+ return jspb.Message.setWrapperField(this, 5, value);
56735
+ };
56736
+
56737
+
56738
+ /**
56739
+ * Clears the message field making it undefined.
56740
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56741
+ */
56742
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearDescription = function() {
56743
+ return this.setDescription(undefined);
56744
+ };
56745
+
56746
+
56747
+ /**
56748
+ * Returns whether this field is set.
56749
+ * @return {boolean}
56750
+ */
56751
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasDescription = function() {
56752
+ return jspb.Message.getField(this, 5) != null;
56753
+ };
56754
+
56755
+
56756
+ /**
56757
+ * optional google.protobuf.StringValue drive = 6;
56758
+ * @return {?proto.google.protobuf.StringValue}
56759
+ */
56760
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getDrive = function() {
56761
+ return /** @type{?proto.google.protobuf.StringValue} */ (
56762
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
56763
+ };
56764
+
56765
+
56766
+ /**
56767
+ * @param {?proto.google.protobuf.StringValue|undefined} value
56768
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56769
+ */
56770
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setDrive = function(value) {
56771
+ return jspb.Message.setWrapperField(this, 6, value);
56772
+ };
56773
+
56774
+
56775
+ /**
56776
+ * Clears the message field making it undefined.
56777
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56778
+ */
56779
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearDrive = function() {
56780
+ return this.setDrive(undefined);
56781
+ };
56782
+
56783
+
56784
+ /**
56785
+ * Returns whether this field is set.
56786
+ * @return {boolean}
56787
+ */
56788
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasDrive = function() {
56789
+ return jspb.Message.getField(this, 6) != null;
56790
+ };
56791
+
56792
+
56793
+ /**
56794
+ * optional google.protobuf.BoolValue encrypted = 7;
56795
+ * @return {?proto.google.protobuf.BoolValue}
56796
+ */
56797
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getEncrypted = function() {
56798
+ return /** @type{?proto.google.protobuf.BoolValue} */ (
56799
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 7));
56800
+ };
56801
+
56802
+
56803
+ /**
56804
+ * @param {?proto.google.protobuf.BoolValue|undefined} value
56805
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56806
+ */
56807
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setEncrypted = function(value) {
56808
+ return jspb.Message.setWrapperField(this, 7, value);
56809
+ };
56810
+
56811
+
56812
+ /**
56813
+ * Clears the message field making it undefined.
56814
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56815
+ */
56816
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearEncrypted = function() {
56817
+ return this.setEncrypted(undefined);
56818
+ };
56819
+
56820
+
56821
+ /**
56822
+ * Returns whether this field is set.
56823
+ * @return {boolean}
56824
+ */
56825
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasEncrypted = function() {
56826
+ return jspb.Message.getField(this, 7) != null;
56827
+ };
56828
+
56829
+
56830
+ /**
56831
+ * optional google.protobuf.StringValue encryption_method = 8;
56832
+ * @return {?proto.google.protobuf.StringValue}
56833
+ */
56834
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getEncryptionMethod = function() {
56835
+ return /** @type{?proto.google.protobuf.StringValue} */ (
56836
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
56837
+ };
56838
+
56839
+
56840
+ /**
56841
+ * @param {?proto.google.protobuf.StringValue|undefined} value
56842
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56843
+ */
56844
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setEncryptionMethod = function(value) {
56845
+ return jspb.Message.setWrapperField(this, 8, value);
56846
+ };
56847
+
56848
+
56849
+ /**
56850
+ * Clears the message field making it undefined.
56851
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56852
+ */
56853
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearEncryptionMethod = function() {
56854
+ return this.setEncryptionMethod(undefined);
56855
+ };
56856
+
56857
+
56858
+ /**
56859
+ * Returns whether this field is set.
56860
+ * @return {boolean}
56861
+ */
56862
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasEncryptionMethod = function() {
56863
+ return jspb.Message.getField(this, 8) != null;
56864
+ };
56865
+
56866
+
56867
+ /**
56868
+ * optional google.protobuf.StringValue extension = 9;
56869
+ * @return {?proto.google.protobuf.StringValue}
56870
+ */
56871
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getExtension$ = function() {
56872
+ return /** @type{?proto.google.protobuf.StringValue} */ (
56873
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 9));
56874
+ };
56875
+
56876
+
56877
+ /**
56878
+ * @param {?proto.google.protobuf.StringValue|undefined} value
56879
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56880
+ */
56881
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setExtension$ = function(value) {
56882
+ return jspb.Message.setWrapperField(this, 9, value);
56883
+ };
56884
+
56885
+
56886
+ /**
56887
+ * Clears the message field making it undefined.
56888
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56889
+ */
56890
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearExtension$ = function() {
56891
+ return this.setExtension$(undefined);
56892
+ };
56893
+
56894
+
56895
+ /**
56896
+ * Returns whether this field is set.
56897
+ * @return {boolean}
56898
+ */
56899
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasExtension$ = function() {
56900
+ return jspb.Message.getField(this, 9) != null;
56901
+ };
56902
+
56903
+
56904
+ /**
56905
+ * optional google.protobuf.StringValue file_name = 10;
56906
+ * @return {?proto.google.protobuf.StringValue}
56907
+ */
56908
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getFileName = function() {
56909
+ return /** @type{?proto.google.protobuf.StringValue} */ (
56910
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10));
56911
+ };
56912
+
56913
+
56914
+ /**
56915
+ * @param {?proto.google.protobuf.StringValue|undefined} value
56916
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56917
+ */
56918
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setFileName = function(value) {
56919
+ return jspb.Message.setWrapperField(this, 10, value);
56920
+ };
56921
+
56922
+
56923
+ /**
56924
+ * Clears the message field making it undefined.
56925
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56926
+ */
56927
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearFileName = function() {
56928
+ return this.setFileName(undefined);
56929
+ };
56930
+
56931
+
56932
+ /**
56933
+ * Returns whether this field is set.
56934
+ * @return {boolean}
56935
+ */
56936
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasFileName = function() {
56937
+ return jspb.Message.getField(this, 10) != null;
56938
+ };
56939
+
56940
+
56941
+ /**
56942
+ * optional google.protobuf.UInt64Value file_size = 11;
56943
+ * @return {?proto.google.protobuf.UInt64Value}
56944
+ */
56945
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getFileSize = function() {
56946
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
56947
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 11));
56948
+ };
56949
+
56950
+
56951
+ /**
56952
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
56953
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56954
+ */
56955
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setFileSize = function(value) {
56956
+ return jspb.Message.setWrapperField(this, 11, value);
56957
+ };
56958
+
56959
+
56960
+ /**
56961
+ * Clears the message field making it undefined.
56962
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56963
+ */
56964
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearFileSize = function() {
56965
+ return this.setFileSize(undefined);
56966
+ };
56967
+
56968
+
56969
+ /**
56970
+ * Returns whether this field is set.
56971
+ * @return {boolean}
56972
+ */
56973
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasFileSize = function() {
56974
+ return jspb.Message.getField(this, 11) != null;
56975
+ };
56976
+
56977
+
56978
+ /**
56979
+ * optional google.protobuf.StringValue file_type = 12;
56980
+ * @return {?proto.google.protobuf.StringValue}
56981
+ */
56982
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getFileType = function() {
56983
+ return /** @type{?proto.google.protobuf.StringValue} */ (
56984
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 12));
56985
+ };
56986
+
56987
+
56988
+ /**
56989
+ * @param {?proto.google.protobuf.StringValue|undefined} value
56990
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
56991
+ */
56992
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setFileType = function(value) {
56993
+ return jspb.Message.setWrapperField(this, 12, value);
56994
+ };
56995
+
56996
+
56997
+ /**
56998
+ * Clears the message field making it undefined.
56999
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57000
+ */
57001
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearFileType = function() {
57002
+ return this.setFileType(undefined);
57003
+ };
57004
+
57005
+
57006
+ /**
57007
+ * Returns whether this field is set.
57008
+ * @return {boolean}
57009
+ */
57010
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasFileType = function() {
57011
+ return jspb.Message.getField(this, 12) != null;
57012
+ };
57013
+
57014
+
57015
+ /**
57016
+ * optional google.protobuf.StringValue fs_name = 13;
57017
+ * @return {?proto.google.protobuf.StringValue}
57018
+ */
57019
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getFsName = function() {
57020
+ return /** @type{?proto.google.protobuf.StringValue} */ (
57021
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 13));
57022
+ };
57023
+
57024
+
57025
+ /**
57026
+ * @param {?proto.google.protobuf.StringValue|undefined} value
57027
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57028
+ */
57029
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setFsName = function(value) {
57030
+ return jspb.Message.setWrapperField(this, 13, value);
57031
+ };
57032
+
57033
+
57034
+ /**
57035
+ * Clears the message field making it undefined.
57036
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57037
+ */
57038
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearFsName = function() {
57039
+ return this.setFsName(undefined);
57040
+ };
57041
+
57042
+
57043
+ /**
57044
+ * Returns whether this field is set.
57045
+ * @return {boolean}
57046
+ */
57047
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasFsName = function() {
57048
+ return jspb.Message.getField(this, 13) != null;
57049
+ };
57050
+
57051
+
57052
+ /**
57053
+ * optional google.protobuf.StringValue group = 14;
57054
+ * @return {?proto.google.protobuf.StringValue}
57055
+ */
57056
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getGroup = function() {
57057
+ return /** @type{?proto.google.protobuf.StringValue} */ (
57058
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 14));
57059
+ };
57060
+
57061
+
57062
+ /**
57063
+ * @param {?proto.google.protobuf.StringValue|undefined} value
57064
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57065
+ */
57066
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setGroup = function(value) {
57067
+ return jspb.Message.setWrapperField(this, 14, value);
57068
+ };
57069
+
57070
+
57071
+ /**
57072
+ * Clears the message field making it undefined.
57073
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57074
+ */
57075
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearGroup = function() {
57076
+ return this.setGroup(undefined);
57077
+ };
57078
+
57079
+
57080
+ /**
57081
+ * Returns whether this field is set.
57082
+ * @return {boolean}
57083
+ */
57084
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasGroup = function() {
57085
+ return jspb.Message.getField(this, 14) != null;
57086
+ };
57087
+
57088
+
57089
+ /**
57090
+ * optional google.protobuf.BoolValue hidden = 15;
57091
+ * @return {?proto.google.protobuf.BoolValue}
57092
+ */
57093
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getHidden = function() {
57094
+ return /** @type{?proto.google.protobuf.BoolValue} */ (
57095
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 15));
57096
+ };
57097
+
57098
+
57099
+ /**
57100
+ * @param {?proto.google.protobuf.BoolValue|undefined} value
57101
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57102
+ */
57103
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setHidden = function(value) {
57104
+ return jspb.Message.setWrapperField(this, 15, value);
57105
+ };
57106
+
57107
+
57108
+ /**
57109
+ * Clears the message field making it undefined.
57110
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57111
+ */
57112
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearHidden = function() {
57113
+ return this.setHidden(undefined);
57114
+ };
57115
+
57116
+
57117
+ /**
57118
+ * Returns whether this field is set.
57119
+ * @return {boolean}
57120
+ */
57121
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasHidden = function() {
57122
+ return jspb.Message.getField(this, 15) != null;
57123
+ };
57124
+
57125
+
57126
+ /**
57127
+ * optional google.protobuf.Timestamp install_date = 16;
57128
+ * @return {?proto.google.protobuf.Timestamp}
57129
+ */
57130
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getInstallDate = function() {
57131
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
57132
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 16));
57133
+ };
57134
+
57135
+
57136
+ /**
57137
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
57138
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57139
+ */
57140
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setInstallDate = function(value) {
57141
+ return jspb.Message.setWrapperField(this, 16, value);
57142
+ };
57143
+
57144
+
57145
+ /**
57146
+ * Clears the message field making it undefined.
57147
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57148
+ */
57149
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearInstallDate = function() {
57150
+ return this.setInstallDate(undefined);
57151
+ };
57152
+
57153
+
57154
+ /**
57155
+ * Returns whether this field is set.
57156
+ * @return {boolean}
57157
+ */
57158
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasInstallDate = function() {
57159
+ return jspb.Message.getField(this, 16) != null;
57160
+ };
57161
+
57162
+
57163
+ /**
57164
+ * optional google.protobuf.StringValue manufacturer = 17;
57165
+ * @return {?proto.google.protobuf.StringValue}
57166
+ */
57167
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getManufacturer = function() {
57168
+ return /** @type{?proto.google.protobuf.StringValue} */ (
57169
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 17));
57170
+ };
57171
+
57172
+
57173
+ /**
57174
+ * @param {?proto.google.protobuf.StringValue|undefined} value
57175
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57176
+ */
57177
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setManufacturer = function(value) {
57178
+ return jspb.Message.setWrapperField(this, 17, value);
57179
+ };
57180
+
57181
+
57182
+ /**
57183
+ * Clears the message field making it undefined.
57184
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57185
+ */
57186
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearManufacturer = function() {
57187
+ return this.setManufacturer(undefined);
57188
+ };
57189
+
57190
+
57191
+ /**
57192
+ * Returns whether this field is set.
57193
+ * @return {boolean}
57194
+ */
57195
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasManufacturer = function() {
57196
+ return jspb.Message.getField(this, 17) != null;
57197
+ };
57198
+
57199
+
57200
+ /**
57201
+ * optional google.protobuf.StringValue status = 18;
57202
+ * @return {?proto.google.protobuf.StringValue}
57203
+ */
57204
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getStatus = function() {
57205
+ return /** @type{?proto.google.protobuf.StringValue} */ (
57206
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 18));
57207
+ };
57208
+
57209
+
57210
+ /**
57211
+ * @param {?proto.google.protobuf.StringValue|undefined} value
57212
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57213
+ */
57214
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setStatus = function(value) {
57215
+ return jspb.Message.setWrapperField(this, 18, value);
57216
+ };
57217
+
57218
+
57219
+ /**
57220
+ * Clears the message field making it undefined.
57221
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57222
+ */
57223
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearStatus = function() {
57224
+ return this.setStatus(undefined);
57225
+ };
57226
+
57227
+
57228
+ /**
57229
+ * Returns whether this field is set.
57230
+ * @return {boolean}
57231
+ */
57232
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasStatus = function() {
57233
+ return jspb.Message.getField(this, 18) != null;
57234
+ };
57235
+
57236
+
57237
+ /**
57238
+ * optional google.protobuf.BoolValue system = 19;
57239
+ * @return {?proto.google.protobuf.BoolValue}
57240
+ */
57241
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getSystem = function() {
57242
+ return /** @type{?proto.google.protobuf.BoolValue} */ (
57243
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 19));
57244
+ };
57245
+
57246
+
57247
+ /**
57248
+ * @param {?proto.google.protobuf.BoolValue|undefined} value
57249
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57250
+ */
57251
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setSystem = function(value) {
57252
+ return jspb.Message.setWrapperField(this, 19, value);
57253
+ };
57254
+
57255
+
57256
+ /**
57257
+ * Clears the message field making it undefined.
57258
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57259
+ */
57260
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearSystem = function() {
57261
+ return this.setSystem(undefined);
57262
+ };
57263
+
57264
+
57265
+ /**
57266
+ * Returns whether this field is set.
57267
+ * @return {boolean}
57268
+ */
57269
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasSystem = function() {
57270
+ return jspb.Message.getField(this, 19) != null;
57271
+ };
57272
+
57273
+
57274
+ /**
57275
+ * optional google.protobuf.StringValue version = 20;
57276
+ * @return {?proto.google.protobuf.StringValue}
57277
+ */
57278
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.getVersion = function() {
57279
+ return /** @type{?proto.google.protobuf.StringValue} */ (
57280
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 20));
57281
+ };
57282
+
57283
+
57284
+ /**
57285
+ * @param {?proto.google.protobuf.StringValue|undefined} value
57286
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57287
+ */
57288
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.setVersion = function(value) {
57289
+ return jspb.Message.setWrapperField(this, 20, value);
57290
+ };
57291
+
57292
+
57293
+ /**
57294
+ * Clears the message field making it undefined.
57295
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Codec} returns this
57296
+ */
57297
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.clearVersion = function() {
57298
+ return this.setVersion(undefined);
57299
+ };
57300
+
57301
+
57302
+ /**
57303
+ * Returns whether this field is set.
57304
+ * @return {boolean}
57305
+ */
57306
+ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasVersion = function() {
57307
+ return jspb.Message.getField(this, 20) != null;
57308
+ };
57309
+
57310
+
57311
+
57312
+ /**
57313
+ * List of repeated fields within this message type.
57314
+ * @private {!Array<number>}
57315
+ * @const
57316
+ */
57317
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.repeatedFields_ = [1];
57318
+
57319
+
57320
+
57321
+ if (jspb.Message.GENERATE_TO_OBJECT) {
57322
+ /**
57323
+ * Creates an object representation of this proto.
57324
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
57325
+ * Optional fields that are not set will be set to undefined.
57326
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
57327
+ * For the list of reserved names please see:
57328
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57329
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
57330
+ * JSPB instance for transitional soy proto support:
57331
+ * http://goto/soy-param-migration
57332
+ * @return {!Object}
57333
+ */
57334
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.prototype.toObject = function(opt_includeInstance) {
57335
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.toObject(opt_includeInstance, this);
57336
+ };
57337
+
57338
+
57339
+ /**
57340
+ * Static version of the {@see toObject} method.
57341
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
57342
+ * the JSPB instance for transitional soy proto support:
57343
+ * http://goto/soy-param-migration
57344
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment} msg The msg instance to transform.
57345
+ * @return {!Object}
57346
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57347
+ */
57348
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.toObject = function(includeInstance, msg) {
57349
+ var f, obj = {
57350
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
57351
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.toObject, includeInstance)
57352
+ };
57353
+
57354
+ if (includeInstance) {
57355
+ obj.$jspbMessageInstance = msg;
57356
+ }
57357
+ return obj;
57358
+ };
57359
+ }
57360
+
57361
+
57362
+ /**
57363
+ * Deserializes binary data (in protobuf wire format).
57364
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
57365
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment}
57366
+ */
57367
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.deserializeBinary = function(bytes) {
57368
+ var reader = new jspb.BinaryReader(bytes);
57369
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment;
57370
+ return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.deserializeBinaryFromReader(msg, reader);
57371
+ };
57372
+
57373
+
57374
+ /**
57375
+ * Deserializes binary data (in protobuf wire format) from the
57376
+ * given reader into the given message object.
57377
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment} msg The message object to deserialize into.
57378
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
57379
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment}
57380
+ */
57381
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.deserializeBinaryFromReader = function(msg, reader) {
57382
+ while (reader.nextField()) {
57383
+ if (reader.isEndGroup()) {
57384
+ break;
57385
+ }
57386
+ var field = reader.getFieldNumber();
57387
+ switch (field) {
57388
+ case 1:
57389
+ var value = new proto.com.lansweeper.discovery.sensor.windows.v1.Environment;
57390
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.Environment.deserializeBinaryFromReader);
57391
+ msg.addEntries(value);
57392
+ break;
57393
+ default:
57394
+ reader.skipField();
57395
+ break;
57396
+ }
57397
+ }
57398
+ return msg;
57399
+ };
57400
+
57401
+
57402
+ /**
57403
+ * Serializes the message to binary data (in protobuf wire format).
57404
+ * @return {!Uint8Array}
57405
+ */
57406
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.prototype.serializeBinary = function() {
57407
+ var writer = new jspb.BinaryWriter();
57408
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.serializeBinaryToWriter(this, writer);
57409
+ return writer.getResultBuffer();
57410
+ };
57411
+
57412
+
57413
+ /**
57414
+ * Serializes the given message to binary data (in protobuf wire
57415
+ * format), writing to the given BinaryWriter.
57416
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment} message
57417
+ * @param {!jspb.BinaryWriter} writer
57418
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57419
+ */
57420
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.serializeBinaryToWriter = function(message, writer) {
57421
+ var f = undefined;
57422
+ f = message.getEntriesList();
57423
+ if (f.length > 0) {
57424
+ writer.writeRepeatedMessage(
57425
+ 1,
57426
+ f,
57427
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.serializeBinaryToWriter
57428
+ );
57429
+ }
57430
+ };
57431
+
57432
+
57433
+ /**
57434
+ * repeated Environment entries = 1;
57435
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.Environment>}
57436
+ */
57437
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.prototype.getEntriesList = function() {
57438
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.Environment>} */ (
57439
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.Environment, 1));
57440
+ };
57441
+
57442
+
57443
+ /**
57444
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.Environment>} value
57445
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment} returns this
57446
+ */
57447
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.prototype.setEntriesList = function(value) {
57448
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
57449
+ };
57450
+
57451
+
57452
+ /**
57453
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment=} opt_value
57454
+ * @param {number=} opt_index
57455
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment}
57456
+ */
57457
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.prototype.addEntries = function(opt_value, opt_index) {
57458
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.Environment, opt_index);
57459
+ };
57460
+
57461
+
57462
+ /**
57463
+ * Clears the list making it empty but non-null.
57464
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment} returns this
57465
+ */
57466
+ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.prototype.clearEntriesList = function() {
57467
+ return this.setEntriesList([]);
57468
+ };
57469
+
57470
+
57471
+
57472
+
57473
+
57474
+ if (jspb.Message.GENERATE_TO_OBJECT) {
57475
+ /**
57476
+ * Creates an object representation of this proto.
57477
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
57478
+ * Optional fields that are not set will be set to undefined.
57479
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
57480
+ * For the list of reserved names please see:
57481
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57482
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
57483
+ * JSPB instance for transitional soy proto support:
57484
+ * http://goto/soy-param-migration
57485
+ * @return {!Object}
57486
+ */
57487
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.toObject = function(opt_includeInstance) {
57488
+ return proto.com.lansweeper.discovery.sensor.windows.v1.Environment.toObject(opt_includeInstance, this);
57489
+ };
57490
+
57491
+
57492
+ /**
57493
+ * Static version of the {@see toObject} method.
57494
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
57495
+ * the JSPB instance for transitional soy proto support:
57496
+ * http://goto/soy-param-migration
57497
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} msg The msg instance to transform.
57498
+ * @return {!Object}
57499
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57500
+ */
57501
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.toObject = function(includeInstance, msg) {
57502
+ var f, obj = {
57503
+ caption: (f = msg.getCaption()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
57504
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
57505
+ systemVariable: (f = msg.getSystemVariable()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
57506
+ userName: (f = msg.getUserName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
57507
+ variableValue: (f = msg.getVariableValue()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
57508
+ };
57509
+
57510
+ if (includeInstance) {
57511
+ obj.$jspbMessageInstance = msg;
57512
+ }
57513
+ return obj;
57514
+ };
57515
+ }
57516
+
57517
+
57518
+ /**
57519
+ * Deserializes binary data (in protobuf wire format).
57520
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
57521
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment}
57522
+ */
57523
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.deserializeBinary = function(bytes) {
57524
+ var reader = new jspb.BinaryReader(bytes);
57525
+ var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.Environment;
57526
+ return proto.com.lansweeper.discovery.sensor.windows.v1.Environment.deserializeBinaryFromReader(msg, reader);
57527
+ };
57528
+
57529
+
57530
+ /**
57531
+ * Deserializes binary data (in protobuf wire format) from the
57532
+ * given reader into the given message object.
57533
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} msg The message object to deserialize into.
57534
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
57535
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment}
57536
+ */
57537
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.deserializeBinaryFromReader = function(msg, reader) {
57538
+ while (reader.nextField()) {
57539
+ if (reader.isEndGroup()) {
57540
+ break;
57541
+ }
57542
+ var field = reader.getFieldNumber();
57543
+ switch (field) {
57544
+ case 1:
57545
+ var value = new google_protobuf_wrappers_pb.StringValue;
57546
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
57547
+ msg.setCaption(value);
57548
+ break;
57549
+ case 2:
57550
+ var value = new google_protobuf_wrappers_pb.StringValue;
57551
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
57552
+ msg.setName(value);
57553
+ break;
57554
+ case 3:
57555
+ var value = new google_protobuf_wrappers_pb.BoolValue;
57556
+ reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
57557
+ msg.setSystemVariable(value);
57558
+ break;
57559
+ case 4:
57560
+ var value = new google_protobuf_wrappers_pb.StringValue;
57561
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
57562
+ msg.setUserName(value);
57563
+ break;
57564
+ case 5:
57565
+ var value = new google_protobuf_wrappers_pb.StringValue;
57566
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
57567
+ msg.setVariableValue(value);
57568
+ break;
57569
+ default:
57570
+ reader.skipField();
57571
+ break;
57572
+ }
57573
+ }
57574
+ return msg;
57575
+ };
57576
+
57577
+
57578
+ /**
57579
+ * Serializes the message to binary data (in protobuf wire format).
57580
+ * @return {!Uint8Array}
57581
+ */
57582
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.serializeBinary = function() {
57583
+ var writer = new jspb.BinaryWriter();
57584
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.serializeBinaryToWriter(this, writer);
57585
+ return writer.getResultBuffer();
57586
+ };
57587
+
57588
+
57589
+ /**
57590
+ * Serializes the given message to binary data (in protobuf wire
57591
+ * format), writing to the given BinaryWriter.
57592
+ * @param {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} message
57593
+ * @param {!jspb.BinaryWriter} writer
57594
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57595
+ */
57596
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.serializeBinaryToWriter = function(message, writer) {
57597
+ var f = undefined;
57598
+ f = message.getCaption();
57599
+ if (f != null) {
57600
+ writer.writeMessage(
57601
+ 1,
57602
+ f,
57603
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
57604
+ );
57605
+ }
57606
+ f = message.getName();
57607
+ if (f != null) {
57608
+ writer.writeMessage(
57609
+ 2,
57610
+ f,
57611
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
57612
+ );
57613
+ }
57614
+ f = message.getSystemVariable();
57615
+ if (f != null) {
57616
+ writer.writeMessage(
57617
+ 3,
57618
+ f,
57619
+ google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
57620
+ );
57621
+ }
57622
+ f = message.getUserName();
57623
+ if (f != null) {
57624
+ writer.writeMessage(
57625
+ 4,
57626
+ f,
57627
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
57628
+ );
57629
+ }
57630
+ f = message.getVariableValue();
57631
+ if (f != null) {
57632
+ writer.writeMessage(
57633
+ 5,
57634
+ f,
57635
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
57636
+ );
57637
+ }
57638
+ };
57639
+
57640
+
57641
+ /**
57642
+ * optional google.protobuf.StringValue caption = 1;
57643
+ * @return {?proto.google.protobuf.StringValue}
57644
+ */
57645
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.getCaption = function() {
57646
+ return /** @type{?proto.google.protobuf.StringValue} */ (
57647
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
57648
+ };
57649
+
57650
+
57651
+ /**
57652
+ * @param {?proto.google.protobuf.StringValue|undefined} value
57653
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
57654
+ */
57655
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.setCaption = function(value) {
57656
+ return jspb.Message.setWrapperField(this, 1, value);
57657
+ };
57658
+
57659
+
57660
+ /**
57661
+ * Clears the message field making it undefined.
57662
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
57663
+ */
57664
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.clearCaption = function() {
57665
+ return this.setCaption(undefined);
57666
+ };
57667
+
57668
+
57669
+ /**
57670
+ * Returns whether this field is set.
57671
+ * @return {boolean}
57672
+ */
57673
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.hasCaption = function() {
57674
+ return jspb.Message.getField(this, 1) != null;
57675
+ };
57676
+
57677
+
57678
+ /**
57679
+ * optional google.protobuf.StringValue name = 2;
57680
+ * @return {?proto.google.protobuf.StringValue}
57681
+ */
57682
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.getName = function() {
57683
+ return /** @type{?proto.google.protobuf.StringValue} */ (
57684
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
57685
+ };
57686
+
57687
+
57688
+ /**
57689
+ * @param {?proto.google.protobuf.StringValue|undefined} value
57690
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
57691
+ */
57692
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.setName = function(value) {
57693
+ return jspb.Message.setWrapperField(this, 2, value);
57694
+ };
57695
+
57696
+
57697
+ /**
57698
+ * Clears the message field making it undefined.
57699
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
57700
+ */
57701
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.clearName = function() {
57702
+ return this.setName(undefined);
57703
+ };
57704
+
57705
+
57706
+ /**
57707
+ * Returns whether this field is set.
57708
+ * @return {boolean}
57709
+ */
57710
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.hasName = function() {
57711
+ return jspb.Message.getField(this, 2) != null;
57712
+ };
57713
+
57714
+
57715
+ /**
57716
+ * optional google.protobuf.BoolValue system_variable = 3;
57717
+ * @return {?proto.google.protobuf.BoolValue}
57718
+ */
57719
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.getSystemVariable = function() {
57720
+ return /** @type{?proto.google.protobuf.BoolValue} */ (
57721
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 3));
57722
+ };
57723
+
57724
+
57725
+ /**
57726
+ * @param {?proto.google.protobuf.BoolValue|undefined} value
57727
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
57728
+ */
57729
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.setSystemVariable = function(value) {
57730
+ return jspb.Message.setWrapperField(this, 3, value);
57731
+ };
57732
+
57733
+
57734
+ /**
57735
+ * Clears the message field making it undefined.
57736
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
57737
+ */
57738
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.clearSystemVariable = function() {
57739
+ return this.setSystemVariable(undefined);
57740
+ };
57741
+
57742
+
57743
+ /**
57744
+ * Returns whether this field is set.
57745
+ * @return {boolean}
57746
+ */
57747
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.hasSystemVariable = function() {
57748
+ return jspb.Message.getField(this, 3) != null;
57749
+ };
57750
+
57751
+
57752
+ /**
57753
+ * optional google.protobuf.StringValue user_name = 4;
57754
+ * @return {?proto.google.protobuf.StringValue}
57755
+ */
57756
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.getUserName = function() {
57757
+ return /** @type{?proto.google.protobuf.StringValue} */ (
57758
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
57759
+ };
57760
+
57761
+
57762
+ /**
57763
+ * @param {?proto.google.protobuf.StringValue|undefined} value
57764
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
57765
+ */
57766
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.setUserName = function(value) {
57767
+ return jspb.Message.setWrapperField(this, 4, value);
57768
+ };
57769
+
57770
+
57771
+ /**
57772
+ * Clears the message field making it undefined.
57773
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
57774
+ */
57775
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.clearUserName = function() {
57776
+ return this.setUserName(undefined);
57777
+ };
57778
+
57779
+
57780
+ /**
57781
+ * Returns whether this field is set.
57782
+ * @return {boolean}
57783
+ */
57784
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.hasUserName = function() {
57785
+ return jspb.Message.getField(this, 4) != null;
57786
+ };
57787
+
57788
+
57789
+ /**
57790
+ * optional google.protobuf.StringValue variable_value = 5;
57791
+ * @return {?proto.google.protobuf.StringValue}
57792
+ */
57793
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.getVariableValue = function() {
57794
+ return /** @type{?proto.google.protobuf.StringValue} */ (
57795
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
57796
+ };
57797
+
57798
+
57799
+ /**
57800
+ * @param {?proto.google.protobuf.StringValue|undefined} value
57801
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
57802
+ */
57803
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.setVariableValue = function(value) {
57804
+ return jspb.Message.setWrapperField(this, 5, value);
57805
+ };
57806
+
57807
+
57808
+ /**
57809
+ * Clears the message field making it undefined.
57810
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
57811
+ */
57812
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.clearVariableValue = function() {
57813
+ return this.setVariableValue(undefined);
57814
+ };
57815
+
57816
+
57817
+ /**
57818
+ * Returns whether this field is set.
57819
+ * @return {boolean}
57820
+ */
57821
+ proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.hasVariableValue = function() {
57822
+ return jspb.Message.getField(this, 5) != null;
57823
+ };
57824
+
57825
+
57826
+
55944
57827
  /**
55945
57828
  * List of repeated fields within this message type.
55946
57829
  * @private {!Array<number>}