@lansweeper/discovery-sensor-proto 2.54.0 → 2.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -72,7 +72,9 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNetworkLocati
72
72
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNetworkVolume', null, global);
73
73
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacOpenPorts', null, global);
74
74
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo', null, global);
75
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes', null, global);
75
76
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacPrinters', null, global);
77
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional', null, global);
76
78
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacSATA', null, global);
77
79
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacSPI', null, global);
78
80
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacSecureElements', null, global);
@@ -100,8 +102,12 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkProxies',
100
102
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkSmb', null, global);
101
103
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkVolume', null, global);
102
104
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Power', null, global);
105
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane', null, global);
103
106
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Printer', null, global);
104
107
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.PrinterCupsFilter', null, global);
108
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings', null, global);
109
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings', null, global);
110
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings', null, global);
105
111
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.SATAController', null, global);
106
112
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.SATADevice', null, global);
107
113
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.SATAVolume', null, global);
@@ -2093,6 +2099,132 @@ if (goog.DEBUG && !COMPILED) {
2093
2099
  */
2094
2100
  proto.com.lansweeper.discovery.sensor.mac.v1.InstallHistory.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.InstallHistory';
2095
2101
  }
2102
+ /**
2103
+ * Generated by JsPbCodeGenerator.
2104
+ * @param {Array=} opt_data Optional initial data array, typically from a
2105
+ * server response, or constructed directly in Javascript. The array is used
2106
+ * in place and becomes part of the constructed object. It is not cloned.
2107
+ * If no data is provided, the constructed object will be empty, but still
2108
+ * valid.
2109
+ * @extends {jspb.Message}
2110
+ * @constructor
2111
+ */
2112
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes = function(opt_data) {
2113
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.repeatedFields_, null);
2114
+ };
2115
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes, jspb.Message);
2116
+ if (goog.DEBUG && !COMPILED) {
2117
+ /**
2118
+ * @public
2119
+ * @override
2120
+ */
2121
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes';
2122
+ }
2123
+ /**
2124
+ * Generated by JsPbCodeGenerator.
2125
+ * @param {Array=} opt_data Optional initial data array, typically from a
2126
+ * server response, or constructed directly in Javascript. The array is used
2127
+ * in place and becomes part of the constructed object. It is not cloned.
2128
+ * If no data is provided, the constructed object will be empty, but still
2129
+ * valid.
2130
+ * @extends {jspb.Message}
2131
+ * @constructor
2132
+ */
2133
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane = function(opt_data) {
2134
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2135
+ };
2136
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane, jspb.Message);
2137
+ if (goog.DEBUG && !COMPILED) {
2138
+ /**
2139
+ * @public
2140
+ * @override
2141
+ */
2142
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane';
2143
+ }
2144
+ /**
2145
+ * Generated by JsPbCodeGenerator.
2146
+ * @param {Array=} opt_data Optional initial data array, typically from a
2147
+ * server response, or constructed directly in Javascript. The array is used
2148
+ * in place and becomes part of the constructed object. It is not cloned.
2149
+ * If no data is provided, the constructed object will be empty, but still
2150
+ * valid.
2151
+ * @extends {jspb.Message}
2152
+ * @constructor
2153
+ */
2154
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional = function(opt_data) {
2155
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2156
+ };
2157
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional, jspb.Message);
2158
+ if (goog.DEBUG && !COMPILED) {
2159
+ /**
2160
+ * @public
2161
+ * @override
2162
+ */
2163
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional';
2164
+ }
2165
+ /**
2166
+ * Generated by JsPbCodeGenerator.
2167
+ * @param {Array=} opt_data Optional initial data array, typically from a
2168
+ * server response, or constructed directly in Javascript. The array is used
2169
+ * in place and becomes part of the constructed object. It is not cloned.
2170
+ * If no data is provided, the constructed object will be empty, but still
2171
+ * valid.
2172
+ * @extends {jspb.Message}
2173
+ * @constructor
2174
+ */
2175
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings = function(opt_data) {
2176
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.repeatedFields_, null);
2177
+ };
2178
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings, jspb.Message);
2179
+ if (goog.DEBUG && !COMPILED) {
2180
+ /**
2181
+ * @public
2182
+ * @override
2183
+ */
2184
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings';
2185
+ }
2186
+ /**
2187
+ * Generated by JsPbCodeGenerator.
2188
+ * @param {Array=} opt_data Optional initial data array, typically from a
2189
+ * server response, or constructed directly in Javascript. The array is used
2190
+ * in place and becomes part of the constructed object. It is not cloned.
2191
+ * If no data is provided, the constructed object will be empty, but still
2192
+ * valid.
2193
+ * @extends {jspb.Message}
2194
+ * @constructor
2195
+ */
2196
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings = function(opt_data) {
2197
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.repeatedFields_, null);
2198
+ };
2199
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings, jspb.Message);
2200
+ if (goog.DEBUG && !COMPILED) {
2201
+ /**
2202
+ * @public
2203
+ * @override
2204
+ */
2205
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings';
2206
+ }
2207
+ /**
2208
+ * Generated by JsPbCodeGenerator.
2209
+ * @param {Array=} opt_data Optional initial data array, typically from a
2210
+ * server response, or constructed directly in Javascript. The array is used
2211
+ * in place and becomes part of the constructed object. It is not cloned.
2212
+ * If no data is provided, the constructed object will be empty, but still
2213
+ * valid.
2214
+ * @extends {jspb.Message}
2215
+ * @constructor
2216
+ */
2217
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings = function(opt_data) {
2218
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2219
+ };
2220
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings, jspb.Message);
2221
+ if (goog.DEBUG && !COMPILED) {
2222
+ /**
2223
+ * @public
2224
+ * @override
2225
+ */
2226
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings';
2227
+ }
2096
2228
 
2097
2229
  /**
2098
2230
  * List of repeated fields within this message type.
@@ -41949,4 +42081,2149 @@ proto.com.lansweeper.discovery.sensor.mac.v1.InstallHistory.prototype.hasPackage
41949
42081
  };
41950
42082
 
41951
42083
 
42084
+
42085
+ /**
42086
+ * List of repeated fields within this message type.
42087
+ * @private {!Array<number>}
42088
+ * @const
42089
+ */
42090
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.repeatedFields_ = [1];
42091
+
42092
+
42093
+
42094
+ if (jspb.Message.GENERATE_TO_OBJECT) {
42095
+ /**
42096
+ * Creates an object representation of this proto.
42097
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
42098
+ * Optional fields that are not set will be set to undefined.
42099
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
42100
+ * For the list of reserved names please see:
42101
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
42102
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
42103
+ * JSPB instance for transitional soy proto support:
42104
+ * http://goto/soy-param-migration
42105
+ * @return {!Object}
42106
+ */
42107
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.prototype.toObject = function(opt_includeInstance) {
42108
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.toObject(opt_includeInstance, this);
42109
+ };
42110
+
42111
+
42112
+ /**
42113
+ * Static version of the {@see toObject} method.
42114
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
42115
+ * the JSPB instance for transitional soy proto support:
42116
+ * http://goto/soy-param-migration
42117
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes} msg The msg instance to transform.
42118
+ * @return {!Object}
42119
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42120
+ */
42121
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.toObject = function(includeInstance, msg) {
42122
+ var f, obj = {
42123
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
42124
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.toObject, includeInstance)
42125
+ };
42126
+
42127
+ if (includeInstance) {
42128
+ obj.$jspbMessageInstance = msg;
42129
+ }
42130
+ return obj;
42131
+ };
42132
+ }
42133
+
42134
+
42135
+ /**
42136
+ * Deserializes binary data (in protobuf wire format).
42137
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
42138
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes}
42139
+ */
42140
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.deserializeBinary = function(bytes) {
42141
+ var reader = new jspb.BinaryReader(bytes);
42142
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes;
42143
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.deserializeBinaryFromReader(msg, reader);
42144
+ };
42145
+
42146
+
42147
+ /**
42148
+ * Deserializes binary data (in protobuf wire format) from the
42149
+ * given reader into the given message object.
42150
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes} msg The message object to deserialize into.
42151
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
42152
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes}
42153
+ */
42154
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.deserializeBinaryFromReader = function(msg, reader) {
42155
+ while (reader.nextField()) {
42156
+ if (reader.isEndGroup()) {
42157
+ break;
42158
+ }
42159
+ var field = reader.getFieldNumber();
42160
+ switch (field) {
42161
+ case 1:
42162
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane;
42163
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.deserializeBinaryFromReader);
42164
+ msg.addEntries(value);
42165
+ break;
42166
+ default:
42167
+ reader.skipField();
42168
+ break;
42169
+ }
42170
+ }
42171
+ return msg;
42172
+ };
42173
+
42174
+
42175
+ /**
42176
+ * Serializes the message to binary data (in protobuf wire format).
42177
+ * @return {!Uint8Array}
42178
+ */
42179
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.prototype.serializeBinary = function() {
42180
+ var writer = new jspb.BinaryWriter();
42181
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.serializeBinaryToWriter(this, writer);
42182
+ return writer.getResultBuffer();
42183
+ };
42184
+
42185
+
42186
+ /**
42187
+ * Serializes the given message to binary data (in protobuf wire
42188
+ * format), writing to the given BinaryWriter.
42189
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes} message
42190
+ * @param {!jspb.BinaryWriter} writer
42191
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42192
+ */
42193
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.serializeBinaryToWriter = function(message, writer) {
42194
+ var f = undefined;
42195
+ f = message.getEntriesList();
42196
+ if (f.length > 0) {
42197
+ writer.writeRepeatedMessage(
42198
+ 1,
42199
+ f,
42200
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.serializeBinaryToWriter
42201
+ );
42202
+ }
42203
+ };
42204
+
42205
+
42206
+ /**
42207
+ * repeated PreferencePane entries = 1;
42208
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane>}
42209
+ */
42210
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.prototype.getEntriesList = function() {
42211
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane>} */ (
42212
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane, 1));
42213
+ };
42214
+
42215
+
42216
+ /**
42217
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane>} value
42218
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes} returns this
42219
+ */
42220
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.prototype.setEntriesList = function(value) {
42221
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
42222
+ };
42223
+
42224
+
42225
+ /**
42226
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane=} opt_value
42227
+ * @param {number=} opt_index
42228
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane}
42229
+ */
42230
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.prototype.addEntries = function(opt_value, opt_index) {
42231
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane, opt_index);
42232
+ };
42233
+
42234
+
42235
+ /**
42236
+ * Clears the list making it empty but non-null.
42237
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes} returns this
42238
+ */
42239
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacPreferencePanes.prototype.clearEntriesList = function() {
42240
+ return this.setEntriesList([]);
42241
+ };
42242
+
42243
+
42244
+
42245
+
42246
+
42247
+ if (jspb.Message.GENERATE_TO_OBJECT) {
42248
+ /**
42249
+ * Creates an object representation of this proto.
42250
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
42251
+ * Optional fields that are not set will be set to undefined.
42252
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
42253
+ * For the list of reserved names please see:
42254
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
42255
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
42256
+ * JSPB instance for transitional soy proto support:
42257
+ * http://goto/soy-param-migration
42258
+ * @return {!Object}
42259
+ */
42260
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.toObject = function(opt_includeInstance) {
42261
+ return proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.toObject(opt_includeInstance, this);
42262
+ };
42263
+
42264
+
42265
+ /**
42266
+ * Static version of the {@see toObject} method.
42267
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
42268
+ * the JSPB instance for transitional soy proto support:
42269
+ * http://goto/soy-param-migration
42270
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} msg The msg instance to transform.
42271
+ * @return {!Object}
42272
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42273
+ */
42274
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.toObject = function(includeInstance, msg) {
42275
+ var f, obj = {
42276
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
42277
+ bundlePathLocation: (f = msg.getBundlePathLocation()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
42278
+ identifier: (f = msg.getIdentifier()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
42279
+ isVisible: (f = msg.getIsVisible()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
42280
+ kind: (f = msg.getKind()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
42281
+ supportedBy: (f = msg.getSupportedBy()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
42282
+ version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
42283
+ };
42284
+
42285
+ if (includeInstance) {
42286
+ obj.$jspbMessageInstance = msg;
42287
+ }
42288
+ return obj;
42289
+ };
42290
+ }
42291
+
42292
+
42293
+ /**
42294
+ * Deserializes binary data (in protobuf wire format).
42295
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
42296
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane}
42297
+ */
42298
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.deserializeBinary = function(bytes) {
42299
+ var reader = new jspb.BinaryReader(bytes);
42300
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane;
42301
+ return proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.deserializeBinaryFromReader(msg, reader);
42302
+ };
42303
+
42304
+
42305
+ /**
42306
+ * Deserializes binary data (in protobuf wire format) from the
42307
+ * given reader into the given message object.
42308
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} msg The message object to deserialize into.
42309
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
42310
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane}
42311
+ */
42312
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.deserializeBinaryFromReader = function(msg, reader) {
42313
+ while (reader.nextField()) {
42314
+ if (reader.isEndGroup()) {
42315
+ break;
42316
+ }
42317
+ var field = reader.getFieldNumber();
42318
+ switch (field) {
42319
+ case 1:
42320
+ var value = new google_protobuf_wrappers_pb.StringValue;
42321
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
42322
+ msg.setName(value);
42323
+ break;
42324
+ case 2:
42325
+ var value = new google_protobuf_wrappers_pb.StringValue;
42326
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
42327
+ msg.setBundlePathLocation(value);
42328
+ break;
42329
+ case 3:
42330
+ var value = new google_protobuf_wrappers_pb.StringValue;
42331
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
42332
+ msg.setIdentifier(value);
42333
+ break;
42334
+ case 4:
42335
+ var value = new google_protobuf_wrappers_pb.StringValue;
42336
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
42337
+ msg.setIsVisible(value);
42338
+ break;
42339
+ case 5:
42340
+ var value = new google_protobuf_wrappers_pb.StringValue;
42341
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
42342
+ msg.setKind(value);
42343
+ break;
42344
+ case 6:
42345
+ var value = new google_protobuf_wrappers_pb.StringValue;
42346
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
42347
+ msg.setSupportedBy(value);
42348
+ break;
42349
+ case 7:
42350
+ var value = new google_protobuf_wrappers_pb.StringValue;
42351
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
42352
+ msg.setVersion(value);
42353
+ break;
42354
+ default:
42355
+ reader.skipField();
42356
+ break;
42357
+ }
42358
+ }
42359
+ return msg;
42360
+ };
42361
+
42362
+
42363
+ /**
42364
+ * Serializes the message to binary data (in protobuf wire format).
42365
+ * @return {!Uint8Array}
42366
+ */
42367
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.serializeBinary = function() {
42368
+ var writer = new jspb.BinaryWriter();
42369
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.serializeBinaryToWriter(this, writer);
42370
+ return writer.getResultBuffer();
42371
+ };
42372
+
42373
+
42374
+ /**
42375
+ * Serializes the given message to binary data (in protobuf wire
42376
+ * format), writing to the given BinaryWriter.
42377
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} message
42378
+ * @param {!jspb.BinaryWriter} writer
42379
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42380
+ */
42381
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.serializeBinaryToWriter = function(message, writer) {
42382
+ var f = undefined;
42383
+ f = message.getName();
42384
+ if (f != null) {
42385
+ writer.writeMessage(
42386
+ 1,
42387
+ f,
42388
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
42389
+ );
42390
+ }
42391
+ f = message.getBundlePathLocation();
42392
+ if (f != null) {
42393
+ writer.writeMessage(
42394
+ 2,
42395
+ f,
42396
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
42397
+ );
42398
+ }
42399
+ f = message.getIdentifier();
42400
+ if (f != null) {
42401
+ writer.writeMessage(
42402
+ 3,
42403
+ f,
42404
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
42405
+ );
42406
+ }
42407
+ f = message.getIsVisible();
42408
+ if (f != null) {
42409
+ writer.writeMessage(
42410
+ 4,
42411
+ f,
42412
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
42413
+ );
42414
+ }
42415
+ f = message.getKind();
42416
+ if (f != null) {
42417
+ writer.writeMessage(
42418
+ 5,
42419
+ f,
42420
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
42421
+ );
42422
+ }
42423
+ f = message.getSupportedBy();
42424
+ if (f != null) {
42425
+ writer.writeMessage(
42426
+ 6,
42427
+ f,
42428
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
42429
+ );
42430
+ }
42431
+ f = message.getVersion();
42432
+ if (f != null) {
42433
+ writer.writeMessage(
42434
+ 7,
42435
+ f,
42436
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
42437
+ );
42438
+ }
42439
+ };
42440
+
42441
+
42442
+ /**
42443
+ * optional google.protobuf.StringValue name = 1;
42444
+ * @return {?proto.google.protobuf.StringValue}
42445
+ */
42446
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.getName = function() {
42447
+ return /** @type{?proto.google.protobuf.StringValue} */ (
42448
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
42449
+ };
42450
+
42451
+
42452
+ /**
42453
+ * @param {?proto.google.protobuf.StringValue|undefined} value
42454
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} returns this
42455
+ */
42456
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.setName = function(value) {
42457
+ return jspb.Message.setWrapperField(this, 1, value);
42458
+ };
42459
+
42460
+
42461
+ /**
42462
+ * Clears the message field making it undefined.
42463
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} returns this
42464
+ */
42465
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.clearName = function() {
42466
+ return this.setName(undefined);
42467
+ };
42468
+
42469
+
42470
+ /**
42471
+ * Returns whether this field is set.
42472
+ * @return {boolean}
42473
+ */
42474
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.hasName = function() {
42475
+ return jspb.Message.getField(this, 1) != null;
42476
+ };
42477
+
42478
+
42479
+ /**
42480
+ * optional google.protobuf.StringValue bundle_path_location = 2;
42481
+ * @return {?proto.google.protobuf.StringValue}
42482
+ */
42483
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.getBundlePathLocation = function() {
42484
+ return /** @type{?proto.google.protobuf.StringValue} */ (
42485
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
42486
+ };
42487
+
42488
+
42489
+ /**
42490
+ * @param {?proto.google.protobuf.StringValue|undefined} value
42491
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} returns this
42492
+ */
42493
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.setBundlePathLocation = function(value) {
42494
+ return jspb.Message.setWrapperField(this, 2, value);
42495
+ };
42496
+
42497
+
42498
+ /**
42499
+ * Clears the message field making it undefined.
42500
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} returns this
42501
+ */
42502
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.clearBundlePathLocation = function() {
42503
+ return this.setBundlePathLocation(undefined);
42504
+ };
42505
+
42506
+
42507
+ /**
42508
+ * Returns whether this field is set.
42509
+ * @return {boolean}
42510
+ */
42511
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.hasBundlePathLocation = function() {
42512
+ return jspb.Message.getField(this, 2) != null;
42513
+ };
42514
+
42515
+
42516
+ /**
42517
+ * optional google.protobuf.StringValue identifier = 3;
42518
+ * @return {?proto.google.protobuf.StringValue}
42519
+ */
42520
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.getIdentifier = function() {
42521
+ return /** @type{?proto.google.protobuf.StringValue} */ (
42522
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
42523
+ };
42524
+
42525
+
42526
+ /**
42527
+ * @param {?proto.google.protobuf.StringValue|undefined} value
42528
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} returns this
42529
+ */
42530
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.setIdentifier = function(value) {
42531
+ return jspb.Message.setWrapperField(this, 3, value);
42532
+ };
42533
+
42534
+
42535
+ /**
42536
+ * Clears the message field making it undefined.
42537
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} returns this
42538
+ */
42539
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.clearIdentifier = function() {
42540
+ return this.setIdentifier(undefined);
42541
+ };
42542
+
42543
+
42544
+ /**
42545
+ * Returns whether this field is set.
42546
+ * @return {boolean}
42547
+ */
42548
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.hasIdentifier = function() {
42549
+ return jspb.Message.getField(this, 3) != null;
42550
+ };
42551
+
42552
+
42553
+ /**
42554
+ * optional google.protobuf.StringValue is_visible = 4;
42555
+ * @return {?proto.google.protobuf.StringValue}
42556
+ */
42557
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.getIsVisible = function() {
42558
+ return /** @type{?proto.google.protobuf.StringValue} */ (
42559
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
42560
+ };
42561
+
42562
+
42563
+ /**
42564
+ * @param {?proto.google.protobuf.StringValue|undefined} value
42565
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} returns this
42566
+ */
42567
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.setIsVisible = function(value) {
42568
+ return jspb.Message.setWrapperField(this, 4, value);
42569
+ };
42570
+
42571
+
42572
+ /**
42573
+ * Clears the message field making it undefined.
42574
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} returns this
42575
+ */
42576
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.clearIsVisible = function() {
42577
+ return this.setIsVisible(undefined);
42578
+ };
42579
+
42580
+
42581
+ /**
42582
+ * Returns whether this field is set.
42583
+ * @return {boolean}
42584
+ */
42585
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.hasIsVisible = function() {
42586
+ return jspb.Message.getField(this, 4) != null;
42587
+ };
42588
+
42589
+
42590
+ /**
42591
+ * optional google.protobuf.StringValue kind = 5;
42592
+ * @return {?proto.google.protobuf.StringValue}
42593
+ */
42594
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.getKind = function() {
42595
+ return /** @type{?proto.google.protobuf.StringValue} */ (
42596
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
42597
+ };
42598
+
42599
+
42600
+ /**
42601
+ * @param {?proto.google.protobuf.StringValue|undefined} value
42602
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} returns this
42603
+ */
42604
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.setKind = function(value) {
42605
+ return jspb.Message.setWrapperField(this, 5, value);
42606
+ };
42607
+
42608
+
42609
+ /**
42610
+ * Clears the message field making it undefined.
42611
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} returns this
42612
+ */
42613
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.clearKind = function() {
42614
+ return this.setKind(undefined);
42615
+ };
42616
+
42617
+
42618
+ /**
42619
+ * Returns whether this field is set.
42620
+ * @return {boolean}
42621
+ */
42622
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.hasKind = function() {
42623
+ return jspb.Message.getField(this, 5) != null;
42624
+ };
42625
+
42626
+
42627
+ /**
42628
+ * optional google.protobuf.StringValue supported_by = 6;
42629
+ * @return {?proto.google.protobuf.StringValue}
42630
+ */
42631
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.getSupportedBy = function() {
42632
+ return /** @type{?proto.google.protobuf.StringValue} */ (
42633
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
42634
+ };
42635
+
42636
+
42637
+ /**
42638
+ * @param {?proto.google.protobuf.StringValue|undefined} value
42639
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} returns this
42640
+ */
42641
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.setSupportedBy = function(value) {
42642
+ return jspb.Message.setWrapperField(this, 6, value);
42643
+ };
42644
+
42645
+
42646
+ /**
42647
+ * Clears the message field making it undefined.
42648
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} returns this
42649
+ */
42650
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.clearSupportedBy = function() {
42651
+ return this.setSupportedBy(undefined);
42652
+ };
42653
+
42654
+
42655
+ /**
42656
+ * Returns whether this field is set.
42657
+ * @return {boolean}
42658
+ */
42659
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.hasSupportedBy = function() {
42660
+ return jspb.Message.getField(this, 6) != null;
42661
+ };
42662
+
42663
+
42664
+ /**
42665
+ * optional google.protobuf.StringValue version = 7;
42666
+ * @return {?proto.google.protobuf.StringValue}
42667
+ */
42668
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.getVersion = function() {
42669
+ return /** @type{?proto.google.protobuf.StringValue} */ (
42670
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
42671
+ };
42672
+
42673
+
42674
+ /**
42675
+ * @param {?proto.google.protobuf.StringValue|undefined} value
42676
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} returns this
42677
+ */
42678
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.setVersion = function(value) {
42679
+ return jspb.Message.setWrapperField(this, 7, value);
42680
+ };
42681
+
42682
+
42683
+ /**
42684
+ * Clears the message field making it undefined.
42685
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane} returns this
42686
+ */
42687
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.clearVersion = function() {
42688
+ return this.setVersion(undefined);
42689
+ };
42690
+
42691
+
42692
+ /**
42693
+ * Returns whether this field is set.
42694
+ * @return {boolean}
42695
+ */
42696
+ proto.com.lansweeper.discovery.sensor.mac.v1.PreferencePane.prototype.hasVersion = function() {
42697
+ return jspb.Message.getField(this, 7) != null;
42698
+ };
42699
+
42700
+
42701
+
42702
+
42703
+
42704
+ if (jspb.Message.GENERATE_TO_OBJECT) {
42705
+ /**
42706
+ * Creates an object representation of this proto.
42707
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
42708
+ * Optional fields that are not set will be set to undefined.
42709
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
42710
+ * For the list of reserved names please see:
42711
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
42712
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
42713
+ * JSPB instance for transitional soy proto support:
42714
+ * http://goto/soy-param-migration
42715
+ * @return {!Object}
42716
+ */
42717
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.prototype.toObject = function(opt_includeInstance) {
42718
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.toObject(opt_includeInstance, this);
42719
+ };
42720
+
42721
+
42722
+ /**
42723
+ * Static version of the {@see toObject} method.
42724
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
42725
+ * the JSPB instance for transitional soy proto support:
42726
+ * http://goto/soy-param-migration
42727
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional} msg The msg instance to transform.
42728
+ * @return {!Object}
42729
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42730
+ */
42731
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.toObject = function(includeInstance, msg) {
42732
+ var f, obj = {
42733
+ userSettings: (f = msg.getUserSettings()) && proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.toObject(includeInstance, f),
42734
+ systemSettings: (f = msg.getSystemSettings()) && proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.toObject(includeInstance, f),
42735
+ recoveryOsSettings: (f = msg.getRecoveryOsSettings()) && proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.toObject(includeInstance, f)
42736
+ };
42737
+
42738
+ if (includeInstance) {
42739
+ obj.$jspbMessageInstance = msg;
42740
+ }
42741
+ return obj;
42742
+ };
42743
+ }
42744
+
42745
+
42746
+ /**
42747
+ * Deserializes binary data (in protobuf wire format).
42748
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
42749
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional}
42750
+ */
42751
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.deserializeBinary = function(bytes) {
42752
+ var reader = new jspb.BinaryReader(bytes);
42753
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional;
42754
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.deserializeBinaryFromReader(msg, reader);
42755
+ };
42756
+
42757
+
42758
+ /**
42759
+ * Deserializes binary data (in protobuf wire format) from the
42760
+ * given reader into the given message object.
42761
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional} msg The message object to deserialize into.
42762
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
42763
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional}
42764
+ */
42765
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.deserializeBinaryFromReader = function(msg, reader) {
42766
+ while (reader.nextField()) {
42767
+ if (reader.isEndGroup()) {
42768
+ break;
42769
+ }
42770
+ var field = reader.getFieldNumber();
42771
+ switch (field) {
42772
+ case 1:
42773
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings;
42774
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.deserializeBinaryFromReader);
42775
+ msg.setUserSettings(value);
42776
+ break;
42777
+ case 2:
42778
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings;
42779
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.deserializeBinaryFromReader);
42780
+ msg.setSystemSettings(value);
42781
+ break;
42782
+ case 3:
42783
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings;
42784
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.deserializeBinaryFromReader);
42785
+ msg.setRecoveryOsSettings(value);
42786
+ break;
42787
+ default:
42788
+ reader.skipField();
42789
+ break;
42790
+ }
42791
+ }
42792
+ return msg;
42793
+ };
42794
+
42795
+
42796
+ /**
42797
+ * Serializes the message to binary data (in protobuf wire format).
42798
+ * @return {!Uint8Array}
42799
+ */
42800
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.prototype.serializeBinary = function() {
42801
+ var writer = new jspb.BinaryWriter();
42802
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.serializeBinaryToWriter(this, writer);
42803
+ return writer.getResultBuffer();
42804
+ };
42805
+
42806
+
42807
+ /**
42808
+ * Serializes the given message to binary data (in protobuf wire
42809
+ * format), writing to the given BinaryWriter.
42810
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional} message
42811
+ * @param {!jspb.BinaryWriter} writer
42812
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42813
+ */
42814
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.serializeBinaryToWriter = function(message, writer) {
42815
+ var f = undefined;
42816
+ f = message.getUserSettings();
42817
+ if (f != null) {
42818
+ writer.writeMessage(
42819
+ 1,
42820
+ f,
42821
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.serializeBinaryToWriter
42822
+ );
42823
+ }
42824
+ f = message.getSystemSettings();
42825
+ if (f != null) {
42826
+ writer.writeMessage(
42827
+ 2,
42828
+ f,
42829
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.serializeBinaryToWriter
42830
+ );
42831
+ }
42832
+ f = message.getRecoveryOsSettings();
42833
+ if (f != null) {
42834
+ writer.writeMessage(
42835
+ 3,
42836
+ f,
42837
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.serializeBinaryToWriter
42838
+ );
42839
+ }
42840
+ };
42841
+
42842
+
42843
+ /**
42844
+ * optional RegionalUserSettings user_settings = 1;
42845
+ * @return {?proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings}
42846
+ */
42847
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.prototype.getUserSettings = function() {
42848
+ return /** @type{?proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} */ (
42849
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings, 1));
42850
+ };
42851
+
42852
+
42853
+ /**
42854
+ * @param {?proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings|undefined} value
42855
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional} returns this
42856
+ */
42857
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.prototype.setUserSettings = function(value) {
42858
+ return jspb.Message.setWrapperField(this, 1, value);
42859
+ };
42860
+
42861
+
42862
+ /**
42863
+ * Clears the message field making it undefined.
42864
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional} returns this
42865
+ */
42866
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.prototype.clearUserSettings = function() {
42867
+ return this.setUserSettings(undefined);
42868
+ };
42869
+
42870
+
42871
+ /**
42872
+ * Returns whether this field is set.
42873
+ * @return {boolean}
42874
+ */
42875
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.prototype.hasUserSettings = function() {
42876
+ return jspb.Message.getField(this, 1) != null;
42877
+ };
42878
+
42879
+
42880
+ /**
42881
+ * optional RegionalSystemSettings system_settings = 2;
42882
+ * @return {?proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings}
42883
+ */
42884
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.prototype.getSystemSettings = function() {
42885
+ return /** @type{?proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} */ (
42886
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings, 2));
42887
+ };
42888
+
42889
+
42890
+ /**
42891
+ * @param {?proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings|undefined} value
42892
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional} returns this
42893
+ */
42894
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.prototype.setSystemSettings = function(value) {
42895
+ return jspb.Message.setWrapperField(this, 2, value);
42896
+ };
42897
+
42898
+
42899
+ /**
42900
+ * Clears the message field making it undefined.
42901
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional} returns this
42902
+ */
42903
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.prototype.clearSystemSettings = function() {
42904
+ return this.setSystemSettings(undefined);
42905
+ };
42906
+
42907
+
42908
+ /**
42909
+ * Returns whether this field is set.
42910
+ * @return {boolean}
42911
+ */
42912
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.prototype.hasSystemSettings = function() {
42913
+ return jspb.Message.getField(this, 2) != null;
42914
+ };
42915
+
42916
+
42917
+ /**
42918
+ * optional RegionalRecoveryOsSettings recovery_os_settings = 3;
42919
+ * @return {?proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings}
42920
+ */
42921
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.prototype.getRecoveryOsSettings = function() {
42922
+ return /** @type{?proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings} */ (
42923
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings, 3));
42924
+ };
42925
+
42926
+
42927
+ /**
42928
+ * @param {?proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings|undefined} value
42929
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional} returns this
42930
+ */
42931
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.prototype.setRecoveryOsSettings = function(value) {
42932
+ return jspb.Message.setWrapperField(this, 3, value);
42933
+ };
42934
+
42935
+
42936
+ /**
42937
+ * Clears the message field making it undefined.
42938
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional} returns this
42939
+ */
42940
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.prototype.clearRecoveryOsSettings = function() {
42941
+ return this.setRecoveryOsSettings(undefined);
42942
+ };
42943
+
42944
+
42945
+ /**
42946
+ * Returns whether this field is set.
42947
+ * @return {boolean}
42948
+ */
42949
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacRegional.prototype.hasRecoveryOsSettings = function() {
42950
+ return jspb.Message.getField(this, 3) != null;
42951
+ };
42952
+
42953
+
42954
+
42955
+ /**
42956
+ * List of repeated fields within this message type.
42957
+ * @private {!Array<number>}
42958
+ * @const
42959
+ */
42960
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.repeatedFields_ = [1,9];
42961
+
42962
+
42963
+
42964
+ if (jspb.Message.GENERATE_TO_OBJECT) {
42965
+ /**
42966
+ * Creates an object representation of this proto.
42967
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
42968
+ * Optional fields that are not set will be set to undefined.
42969
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
42970
+ * For the list of reserved names please see:
42971
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
42972
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
42973
+ * JSPB instance for transitional soy proto support:
42974
+ * http://goto/soy-param-migration
42975
+ * @return {!Object}
42976
+ */
42977
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.toObject = function(opt_includeInstance) {
42978
+ return proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.toObject(opt_includeInstance, this);
42979
+ };
42980
+
42981
+
42982
+ /**
42983
+ * Static version of the {@see toObject} method.
42984
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
42985
+ * the JSPB instance for transitional soy proto support:
42986
+ * http://goto/soy-param-migration
42987
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} msg The msg instance to transform.
42988
+ * @return {!Object}
42989
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42990
+ */
42991
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.toObject = function(includeInstance, msg) {
42992
+ var f, obj = {
42993
+ linguisticDataAssetsRequestedList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
42994
+ userAssistantLanguage: (f = msg.getUserAssistantLanguage()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
42995
+ userAssistantVoiceLanguage: (f = msg.getUserAssistantVoiceLanguage()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
42996
+ userCalendar: (f = msg.getUserCalendar()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
42997
+ userCountryCode: (f = msg.getUserCountryCode()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
42998
+ userCurrentInputSource: (f = msg.getUserCurrentInputSource()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
42999
+ userLanguageCode: (f = msg.getUserLanguageCode()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
43000
+ userLocale: (f = msg.getUserLocale()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
43001
+ userPreferredInterfaceLanguagesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
43002
+ userTemperatureUnit: (f = msg.getUserTemperatureUnit()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
43003
+ userUsesMetricSystem: (f = msg.getUserUsesMetricSystem()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
43004
+ };
43005
+
43006
+ if (includeInstance) {
43007
+ obj.$jspbMessageInstance = msg;
43008
+ }
43009
+ return obj;
43010
+ };
43011
+ }
43012
+
43013
+
43014
+ /**
43015
+ * Deserializes binary data (in protobuf wire format).
43016
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
43017
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings}
43018
+ */
43019
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.deserializeBinary = function(bytes) {
43020
+ var reader = new jspb.BinaryReader(bytes);
43021
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings;
43022
+ return proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.deserializeBinaryFromReader(msg, reader);
43023
+ };
43024
+
43025
+
43026
+ /**
43027
+ * Deserializes binary data (in protobuf wire format) from the
43028
+ * given reader into the given message object.
43029
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} msg The message object to deserialize into.
43030
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43031
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings}
43032
+ */
43033
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.deserializeBinaryFromReader = function(msg, reader) {
43034
+ while (reader.nextField()) {
43035
+ if (reader.isEndGroup()) {
43036
+ break;
43037
+ }
43038
+ var field = reader.getFieldNumber();
43039
+ switch (field) {
43040
+ case 1:
43041
+ var value = /** @type {string} */ (reader.readString());
43042
+ msg.addLinguisticDataAssetsRequested(value);
43043
+ break;
43044
+ case 2:
43045
+ var value = new google_protobuf_wrappers_pb.StringValue;
43046
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
43047
+ msg.setUserAssistantLanguage(value);
43048
+ break;
43049
+ case 3:
43050
+ var value = new google_protobuf_wrappers_pb.StringValue;
43051
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
43052
+ msg.setUserAssistantVoiceLanguage(value);
43053
+ break;
43054
+ case 4:
43055
+ var value = new google_protobuf_wrappers_pb.StringValue;
43056
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
43057
+ msg.setUserCalendar(value);
43058
+ break;
43059
+ case 5:
43060
+ var value = new google_protobuf_wrappers_pb.StringValue;
43061
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
43062
+ msg.setUserCountryCode(value);
43063
+ break;
43064
+ case 6:
43065
+ var value = new google_protobuf_wrappers_pb.StringValue;
43066
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
43067
+ msg.setUserCurrentInputSource(value);
43068
+ break;
43069
+ case 7:
43070
+ var value = new google_protobuf_wrappers_pb.StringValue;
43071
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
43072
+ msg.setUserLanguageCode(value);
43073
+ break;
43074
+ case 8:
43075
+ var value = new google_protobuf_wrappers_pb.StringValue;
43076
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
43077
+ msg.setUserLocale(value);
43078
+ break;
43079
+ case 9:
43080
+ var value = /** @type {string} */ (reader.readString());
43081
+ msg.addUserPreferredInterfaceLanguages(value);
43082
+ break;
43083
+ case 10:
43084
+ var value = new google_protobuf_wrappers_pb.StringValue;
43085
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
43086
+ msg.setUserTemperatureUnit(value);
43087
+ break;
43088
+ case 11:
43089
+ var value = new google_protobuf_wrappers_pb.StringValue;
43090
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
43091
+ msg.setUserUsesMetricSystem(value);
43092
+ break;
43093
+ default:
43094
+ reader.skipField();
43095
+ break;
43096
+ }
43097
+ }
43098
+ return msg;
43099
+ };
43100
+
43101
+
43102
+ /**
43103
+ * Serializes the message to binary data (in protobuf wire format).
43104
+ * @return {!Uint8Array}
43105
+ */
43106
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.serializeBinary = function() {
43107
+ var writer = new jspb.BinaryWriter();
43108
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.serializeBinaryToWriter(this, writer);
43109
+ return writer.getResultBuffer();
43110
+ };
43111
+
43112
+
43113
+ /**
43114
+ * Serializes the given message to binary data (in protobuf wire
43115
+ * format), writing to the given BinaryWriter.
43116
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} message
43117
+ * @param {!jspb.BinaryWriter} writer
43118
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43119
+ */
43120
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.serializeBinaryToWriter = function(message, writer) {
43121
+ var f = undefined;
43122
+ f = message.getLinguisticDataAssetsRequestedList();
43123
+ if (f.length > 0) {
43124
+ writer.writeRepeatedString(
43125
+ 1,
43126
+ f
43127
+ );
43128
+ }
43129
+ f = message.getUserAssistantLanguage();
43130
+ if (f != null) {
43131
+ writer.writeMessage(
43132
+ 2,
43133
+ f,
43134
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
43135
+ );
43136
+ }
43137
+ f = message.getUserAssistantVoiceLanguage();
43138
+ if (f != null) {
43139
+ writer.writeMessage(
43140
+ 3,
43141
+ f,
43142
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
43143
+ );
43144
+ }
43145
+ f = message.getUserCalendar();
43146
+ if (f != null) {
43147
+ writer.writeMessage(
43148
+ 4,
43149
+ f,
43150
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
43151
+ );
43152
+ }
43153
+ f = message.getUserCountryCode();
43154
+ if (f != null) {
43155
+ writer.writeMessage(
43156
+ 5,
43157
+ f,
43158
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
43159
+ );
43160
+ }
43161
+ f = message.getUserCurrentInputSource();
43162
+ if (f != null) {
43163
+ writer.writeMessage(
43164
+ 6,
43165
+ f,
43166
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
43167
+ );
43168
+ }
43169
+ f = message.getUserLanguageCode();
43170
+ if (f != null) {
43171
+ writer.writeMessage(
43172
+ 7,
43173
+ f,
43174
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
43175
+ );
43176
+ }
43177
+ f = message.getUserLocale();
43178
+ if (f != null) {
43179
+ writer.writeMessage(
43180
+ 8,
43181
+ f,
43182
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
43183
+ );
43184
+ }
43185
+ f = message.getUserPreferredInterfaceLanguagesList();
43186
+ if (f.length > 0) {
43187
+ writer.writeRepeatedString(
43188
+ 9,
43189
+ f
43190
+ );
43191
+ }
43192
+ f = message.getUserTemperatureUnit();
43193
+ if (f != null) {
43194
+ writer.writeMessage(
43195
+ 10,
43196
+ f,
43197
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
43198
+ );
43199
+ }
43200
+ f = message.getUserUsesMetricSystem();
43201
+ if (f != null) {
43202
+ writer.writeMessage(
43203
+ 11,
43204
+ f,
43205
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
43206
+ );
43207
+ }
43208
+ };
43209
+
43210
+
43211
+ /**
43212
+ * repeated string linguistic_data_assets_requested = 1;
43213
+ * @return {!Array<string>}
43214
+ */
43215
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.getLinguisticDataAssetsRequestedList = function() {
43216
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
43217
+ };
43218
+
43219
+
43220
+ /**
43221
+ * @param {!Array<string>} value
43222
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43223
+ */
43224
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.setLinguisticDataAssetsRequestedList = function(value) {
43225
+ return jspb.Message.setField(this, 1, value || []);
43226
+ };
43227
+
43228
+
43229
+ /**
43230
+ * @param {string} value
43231
+ * @param {number=} opt_index
43232
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43233
+ */
43234
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.addLinguisticDataAssetsRequested = function(value, opt_index) {
43235
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
43236
+ };
43237
+
43238
+
43239
+ /**
43240
+ * Clears the list making it empty but non-null.
43241
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43242
+ */
43243
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.clearLinguisticDataAssetsRequestedList = function() {
43244
+ return this.setLinguisticDataAssetsRequestedList([]);
43245
+ };
43246
+
43247
+
43248
+ /**
43249
+ * optional google.protobuf.StringValue user_assistant_language = 2;
43250
+ * @return {?proto.google.protobuf.StringValue}
43251
+ */
43252
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.getUserAssistantLanguage = function() {
43253
+ return /** @type{?proto.google.protobuf.StringValue} */ (
43254
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
43255
+ };
43256
+
43257
+
43258
+ /**
43259
+ * @param {?proto.google.protobuf.StringValue|undefined} value
43260
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43261
+ */
43262
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.setUserAssistantLanguage = function(value) {
43263
+ return jspb.Message.setWrapperField(this, 2, value);
43264
+ };
43265
+
43266
+
43267
+ /**
43268
+ * Clears the message field making it undefined.
43269
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43270
+ */
43271
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.clearUserAssistantLanguage = function() {
43272
+ return this.setUserAssistantLanguage(undefined);
43273
+ };
43274
+
43275
+
43276
+ /**
43277
+ * Returns whether this field is set.
43278
+ * @return {boolean}
43279
+ */
43280
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.hasUserAssistantLanguage = function() {
43281
+ return jspb.Message.getField(this, 2) != null;
43282
+ };
43283
+
43284
+
43285
+ /**
43286
+ * optional google.protobuf.StringValue user_assistant_voice_language = 3;
43287
+ * @return {?proto.google.protobuf.StringValue}
43288
+ */
43289
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.getUserAssistantVoiceLanguage = function() {
43290
+ return /** @type{?proto.google.protobuf.StringValue} */ (
43291
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
43292
+ };
43293
+
43294
+
43295
+ /**
43296
+ * @param {?proto.google.protobuf.StringValue|undefined} value
43297
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43298
+ */
43299
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.setUserAssistantVoiceLanguage = function(value) {
43300
+ return jspb.Message.setWrapperField(this, 3, value);
43301
+ };
43302
+
43303
+
43304
+ /**
43305
+ * Clears the message field making it undefined.
43306
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43307
+ */
43308
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.clearUserAssistantVoiceLanguage = function() {
43309
+ return this.setUserAssistantVoiceLanguage(undefined);
43310
+ };
43311
+
43312
+
43313
+ /**
43314
+ * Returns whether this field is set.
43315
+ * @return {boolean}
43316
+ */
43317
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.hasUserAssistantVoiceLanguage = function() {
43318
+ return jspb.Message.getField(this, 3) != null;
43319
+ };
43320
+
43321
+
43322
+ /**
43323
+ * optional google.protobuf.StringValue user_calendar = 4;
43324
+ * @return {?proto.google.protobuf.StringValue}
43325
+ */
43326
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.getUserCalendar = function() {
43327
+ return /** @type{?proto.google.protobuf.StringValue} */ (
43328
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
43329
+ };
43330
+
43331
+
43332
+ /**
43333
+ * @param {?proto.google.protobuf.StringValue|undefined} value
43334
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43335
+ */
43336
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.setUserCalendar = function(value) {
43337
+ return jspb.Message.setWrapperField(this, 4, value);
43338
+ };
43339
+
43340
+
43341
+ /**
43342
+ * Clears the message field making it undefined.
43343
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43344
+ */
43345
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.clearUserCalendar = function() {
43346
+ return this.setUserCalendar(undefined);
43347
+ };
43348
+
43349
+
43350
+ /**
43351
+ * Returns whether this field is set.
43352
+ * @return {boolean}
43353
+ */
43354
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.hasUserCalendar = function() {
43355
+ return jspb.Message.getField(this, 4) != null;
43356
+ };
43357
+
43358
+
43359
+ /**
43360
+ * optional google.protobuf.StringValue user_country_code = 5;
43361
+ * @return {?proto.google.protobuf.StringValue}
43362
+ */
43363
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.getUserCountryCode = function() {
43364
+ return /** @type{?proto.google.protobuf.StringValue} */ (
43365
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
43366
+ };
43367
+
43368
+
43369
+ /**
43370
+ * @param {?proto.google.protobuf.StringValue|undefined} value
43371
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43372
+ */
43373
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.setUserCountryCode = function(value) {
43374
+ return jspb.Message.setWrapperField(this, 5, value);
43375
+ };
43376
+
43377
+
43378
+ /**
43379
+ * Clears the message field making it undefined.
43380
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43381
+ */
43382
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.clearUserCountryCode = function() {
43383
+ return this.setUserCountryCode(undefined);
43384
+ };
43385
+
43386
+
43387
+ /**
43388
+ * Returns whether this field is set.
43389
+ * @return {boolean}
43390
+ */
43391
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.hasUserCountryCode = function() {
43392
+ return jspb.Message.getField(this, 5) != null;
43393
+ };
43394
+
43395
+
43396
+ /**
43397
+ * optional google.protobuf.StringValue user_current_input_source = 6;
43398
+ * @return {?proto.google.protobuf.StringValue}
43399
+ */
43400
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.getUserCurrentInputSource = function() {
43401
+ return /** @type{?proto.google.protobuf.StringValue} */ (
43402
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
43403
+ };
43404
+
43405
+
43406
+ /**
43407
+ * @param {?proto.google.protobuf.StringValue|undefined} value
43408
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43409
+ */
43410
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.setUserCurrentInputSource = function(value) {
43411
+ return jspb.Message.setWrapperField(this, 6, value);
43412
+ };
43413
+
43414
+
43415
+ /**
43416
+ * Clears the message field making it undefined.
43417
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43418
+ */
43419
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.clearUserCurrentInputSource = function() {
43420
+ return this.setUserCurrentInputSource(undefined);
43421
+ };
43422
+
43423
+
43424
+ /**
43425
+ * Returns whether this field is set.
43426
+ * @return {boolean}
43427
+ */
43428
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.hasUserCurrentInputSource = function() {
43429
+ return jspb.Message.getField(this, 6) != null;
43430
+ };
43431
+
43432
+
43433
+ /**
43434
+ * optional google.protobuf.StringValue user_language_code = 7;
43435
+ * @return {?proto.google.protobuf.StringValue}
43436
+ */
43437
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.getUserLanguageCode = function() {
43438
+ return /** @type{?proto.google.protobuf.StringValue} */ (
43439
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
43440
+ };
43441
+
43442
+
43443
+ /**
43444
+ * @param {?proto.google.protobuf.StringValue|undefined} value
43445
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43446
+ */
43447
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.setUserLanguageCode = function(value) {
43448
+ return jspb.Message.setWrapperField(this, 7, value);
43449
+ };
43450
+
43451
+
43452
+ /**
43453
+ * Clears the message field making it undefined.
43454
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43455
+ */
43456
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.clearUserLanguageCode = function() {
43457
+ return this.setUserLanguageCode(undefined);
43458
+ };
43459
+
43460
+
43461
+ /**
43462
+ * Returns whether this field is set.
43463
+ * @return {boolean}
43464
+ */
43465
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.hasUserLanguageCode = function() {
43466
+ return jspb.Message.getField(this, 7) != null;
43467
+ };
43468
+
43469
+
43470
+ /**
43471
+ * optional google.protobuf.StringValue user_locale = 8;
43472
+ * @return {?proto.google.protobuf.StringValue}
43473
+ */
43474
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.getUserLocale = function() {
43475
+ return /** @type{?proto.google.protobuf.StringValue} */ (
43476
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
43477
+ };
43478
+
43479
+
43480
+ /**
43481
+ * @param {?proto.google.protobuf.StringValue|undefined} value
43482
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43483
+ */
43484
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.setUserLocale = function(value) {
43485
+ return jspb.Message.setWrapperField(this, 8, value);
43486
+ };
43487
+
43488
+
43489
+ /**
43490
+ * Clears the message field making it undefined.
43491
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43492
+ */
43493
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.clearUserLocale = function() {
43494
+ return this.setUserLocale(undefined);
43495
+ };
43496
+
43497
+
43498
+ /**
43499
+ * Returns whether this field is set.
43500
+ * @return {boolean}
43501
+ */
43502
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.hasUserLocale = function() {
43503
+ return jspb.Message.getField(this, 8) != null;
43504
+ };
43505
+
43506
+
43507
+ /**
43508
+ * repeated string user_preferred_interface_languages = 9;
43509
+ * @return {!Array<string>}
43510
+ */
43511
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.getUserPreferredInterfaceLanguagesList = function() {
43512
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
43513
+ };
43514
+
43515
+
43516
+ /**
43517
+ * @param {!Array<string>} value
43518
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43519
+ */
43520
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.setUserPreferredInterfaceLanguagesList = function(value) {
43521
+ return jspb.Message.setField(this, 9, value || []);
43522
+ };
43523
+
43524
+
43525
+ /**
43526
+ * @param {string} value
43527
+ * @param {number=} opt_index
43528
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43529
+ */
43530
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.addUserPreferredInterfaceLanguages = function(value, opt_index) {
43531
+ return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
43532
+ };
43533
+
43534
+
43535
+ /**
43536
+ * Clears the list making it empty but non-null.
43537
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43538
+ */
43539
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.clearUserPreferredInterfaceLanguagesList = function() {
43540
+ return this.setUserPreferredInterfaceLanguagesList([]);
43541
+ };
43542
+
43543
+
43544
+ /**
43545
+ * optional google.protobuf.StringValue user_temperature_unit = 10;
43546
+ * @return {?proto.google.protobuf.StringValue}
43547
+ */
43548
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.getUserTemperatureUnit = function() {
43549
+ return /** @type{?proto.google.protobuf.StringValue} */ (
43550
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10));
43551
+ };
43552
+
43553
+
43554
+ /**
43555
+ * @param {?proto.google.protobuf.StringValue|undefined} value
43556
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43557
+ */
43558
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.setUserTemperatureUnit = function(value) {
43559
+ return jspb.Message.setWrapperField(this, 10, value);
43560
+ };
43561
+
43562
+
43563
+ /**
43564
+ * Clears the message field making it undefined.
43565
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43566
+ */
43567
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.clearUserTemperatureUnit = function() {
43568
+ return this.setUserTemperatureUnit(undefined);
43569
+ };
43570
+
43571
+
43572
+ /**
43573
+ * Returns whether this field is set.
43574
+ * @return {boolean}
43575
+ */
43576
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.hasUserTemperatureUnit = function() {
43577
+ return jspb.Message.getField(this, 10) != null;
43578
+ };
43579
+
43580
+
43581
+ /**
43582
+ * optional google.protobuf.StringValue user_uses_metric_system = 11;
43583
+ * @return {?proto.google.protobuf.StringValue}
43584
+ */
43585
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.getUserUsesMetricSystem = function() {
43586
+ return /** @type{?proto.google.protobuf.StringValue} */ (
43587
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 11));
43588
+ };
43589
+
43590
+
43591
+ /**
43592
+ * @param {?proto.google.protobuf.StringValue|undefined} value
43593
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43594
+ */
43595
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.setUserUsesMetricSystem = function(value) {
43596
+ return jspb.Message.setWrapperField(this, 11, value);
43597
+ };
43598
+
43599
+
43600
+ /**
43601
+ * Clears the message field making it undefined.
43602
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings} returns this
43603
+ */
43604
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.clearUserUsesMetricSystem = function() {
43605
+ return this.setUserUsesMetricSystem(undefined);
43606
+ };
43607
+
43608
+
43609
+ /**
43610
+ * Returns whether this field is set.
43611
+ * @return {boolean}
43612
+ */
43613
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalUserSettings.prototype.hasUserUsesMetricSystem = function() {
43614
+ return jspb.Message.getField(this, 11) != null;
43615
+ };
43616
+
43617
+
43618
+
43619
+ /**
43620
+ * List of repeated fields within this message type.
43621
+ * @private {!Array<number>}
43622
+ * @const
43623
+ */
43624
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.repeatedFields_ = [2,3];
43625
+
43626
+
43627
+
43628
+ if (jspb.Message.GENERATE_TO_OBJECT) {
43629
+ /**
43630
+ * Creates an object representation of this proto.
43631
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
43632
+ * Optional fields that are not set will be set to undefined.
43633
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
43634
+ * For the list of reserved names please see:
43635
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
43636
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
43637
+ * JSPB instance for transitional soy proto support:
43638
+ * http://goto/soy-param-migration
43639
+ * @return {!Object}
43640
+ */
43641
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.toObject = function(opt_includeInstance) {
43642
+ return proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.toObject(opt_includeInstance, this);
43643
+ };
43644
+
43645
+
43646
+ /**
43647
+ * Static version of the {@see toObject} method.
43648
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
43649
+ * the JSPB instance for transitional soy proto support:
43650
+ * http://goto/soy-param-migration
43651
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} msg The msg instance to transform.
43652
+ * @return {!Object}
43653
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43654
+ */
43655
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.toObject = function(includeInstance, msg) {
43656
+ var f, obj = {
43657
+ systemCountry: (f = msg.getSystemCountry()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
43658
+ systemInterfaceLanguagesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
43659
+ systemLanguagesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
43660
+ systemLocale: (f = msg.getSystemLocale()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
43661
+ systemTextDirection: (f = msg.getSystemTextDirection()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
43662
+ systemUsesMetricSystem: (f = msg.getSystemUsesMetricSystem()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
43663
+ };
43664
+
43665
+ if (includeInstance) {
43666
+ obj.$jspbMessageInstance = msg;
43667
+ }
43668
+ return obj;
43669
+ };
43670
+ }
43671
+
43672
+
43673
+ /**
43674
+ * Deserializes binary data (in protobuf wire format).
43675
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
43676
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings}
43677
+ */
43678
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.deserializeBinary = function(bytes) {
43679
+ var reader = new jspb.BinaryReader(bytes);
43680
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings;
43681
+ return proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.deserializeBinaryFromReader(msg, reader);
43682
+ };
43683
+
43684
+
43685
+ /**
43686
+ * Deserializes binary data (in protobuf wire format) from the
43687
+ * given reader into the given message object.
43688
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} msg The message object to deserialize into.
43689
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43690
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings}
43691
+ */
43692
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.deserializeBinaryFromReader = function(msg, reader) {
43693
+ while (reader.nextField()) {
43694
+ if (reader.isEndGroup()) {
43695
+ break;
43696
+ }
43697
+ var field = reader.getFieldNumber();
43698
+ switch (field) {
43699
+ case 1:
43700
+ var value = new google_protobuf_wrappers_pb.StringValue;
43701
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
43702
+ msg.setSystemCountry(value);
43703
+ break;
43704
+ case 2:
43705
+ var value = /** @type {string} */ (reader.readString());
43706
+ msg.addSystemInterfaceLanguages(value);
43707
+ break;
43708
+ case 3:
43709
+ var value = /** @type {string} */ (reader.readString());
43710
+ msg.addSystemLanguages(value);
43711
+ break;
43712
+ case 4:
43713
+ var value = new google_protobuf_wrappers_pb.StringValue;
43714
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
43715
+ msg.setSystemLocale(value);
43716
+ break;
43717
+ case 5:
43718
+ var value = new google_protobuf_wrappers_pb.StringValue;
43719
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
43720
+ msg.setSystemTextDirection(value);
43721
+ break;
43722
+ case 6:
43723
+ var value = new google_protobuf_wrappers_pb.StringValue;
43724
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
43725
+ msg.setSystemUsesMetricSystem(value);
43726
+ break;
43727
+ default:
43728
+ reader.skipField();
43729
+ break;
43730
+ }
43731
+ }
43732
+ return msg;
43733
+ };
43734
+
43735
+
43736
+ /**
43737
+ * Serializes the message to binary data (in protobuf wire format).
43738
+ * @return {!Uint8Array}
43739
+ */
43740
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.serializeBinary = function() {
43741
+ var writer = new jspb.BinaryWriter();
43742
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.serializeBinaryToWriter(this, writer);
43743
+ return writer.getResultBuffer();
43744
+ };
43745
+
43746
+
43747
+ /**
43748
+ * Serializes the given message to binary data (in protobuf wire
43749
+ * format), writing to the given BinaryWriter.
43750
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} message
43751
+ * @param {!jspb.BinaryWriter} writer
43752
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43753
+ */
43754
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.serializeBinaryToWriter = function(message, writer) {
43755
+ var f = undefined;
43756
+ f = message.getSystemCountry();
43757
+ if (f != null) {
43758
+ writer.writeMessage(
43759
+ 1,
43760
+ f,
43761
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
43762
+ );
43763
+ }
43764
+ f = message.getSystemInterfaceLanguagesList();
43765
+ if (f.length > 0) {
43766
+ writer.writeRepeatedString(
43767
+ 2,
43768
+ f
43769
+ );
43770
+ }
43771
+ f = message.getSystemLanguagesList();
43772
+ if (f.length > 0) {
43773
+ writer.writeRepeatedString(
43774
+ 3,
43775
+ f
43776
+ );
43777
+ }
43778
+ f = message.getSystemLocale();
43779
+ if (f != null) {
43780
+ writer.writeMessage(
43781
+ 4,
43782
+ f,
43783
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
43784
+ );
43785
+ }
43786
+ f = message.getSystemTextDirection();
43787
+ if (f != null) {
43788
+ writer.writeMessage(
43789
+ 5,
43790
+ f,
43791
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
43792
+ );
43793
+ }
43794
+ f = message.getSystemUsesMetricSystem();
43795
+ if (f != null) {
43796
+ writer.writeMessage(
43797
+ 6,
43798
+ f,
43799
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
43800
+ );
43801
+ }
43802
+ };
43803
+
43804
+
43805
+ /**
43806
+ * optional google.protobuf.StringValue system_country = 1;
43807
+ * @return {?proto.google.protobuf.StringValue}
43808
+ */
43809
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.getSystemCountry = function() {
43810
+ return /** @type{?proto.google.protobuf.StringValue} */ (
43811
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
43812
+ };
43813
+
43814
+
43815
+ /**
43816
+ * @param {?proto.google.protobuf.StringValue|undefined} value
43817
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} returns this
43818
+ */
43819
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.setSystemCountry = function(value) {
43820
+ return jspb.Message.setWrapperField(this, 1, value);
43821
+ };
43822
+
43823
+
43824
+ /**
43825
+ * Clears the message field making it undefined.
43826
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} returns this
43827
+ */
43828
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.clearSystemCountry = function() {
43829
+ return this.setSystemCountry(undefined);
43830
+ };
43831
+
43832
+
43833
+ /**
43834
+ * Returns whether this field is set.
43835
+ * @return {boolean}
43836
+ */
43837
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.hasSystemCountry = function() {
43838
+ return jspb.Message.getField(this, 1) != null;
43839
+ };
43840
+
43841
+
43842
+ /**
43843
+ * repeated string system_interface_languages = 2;
43844
+ * @return {!Array<string>}
43845
+ */
43846
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.getSystemInterfaceLanguagesList = function() {
43847
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
43848
+ };
43849
+
43850
+
43851
+ /**
43852
+ * @param {!Array<string>} value
43853
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} returns this
43854
+ */
43855
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.setSystemInterfaceLanguagesList = function(value) {
43856
+ return jspb.Message.setField(this, 2, value || []);
43857
+ };
43858
+
43859
+
43860
+ /**
43861
+ * @param {string} value
43862
+ * @param {number=} opt_index
43863
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} returns this
43864
+ */
43865
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.addSystemInterfaceLanguages = function(value, opt_index) {
43866
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
43867
+ };
43868
+
43869
+
43870
+ /**
43871
+ * Clears the list making it empty but non-null.
43872
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} returns this
43873
+ */
43874
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.clearSystemInterfaceLanguagesList = function() {
43875
+ return this.setSystemInterfaceLanguagesList([]);
43876
+ };
43877
+
43878
+
43879
+ /**
43880
+ * repeated string system_languages = 3;
43881
+ * @return {!Array<string>}
43882
+ */
43883
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.getSystemLanguagesList = function() {
43884
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
43885
+ };
43886
+
43887
+
43888
+ /**
43889
+ * @param {!Array<string>} value
43890
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} returns this
43891
+ */
43892
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.setSystemLanguagesList = function(value) {
43893
+ return jspb.Message.setField(this, 3, value || []);
43894
+ };
43895
+
43896
+
43897
+ /**
43898
+ * @param {string} value
43899
+ * @param {number=} opt_index
43900
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} returns this
43901
+ */
43902
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.addSystemLanguages = function(value, opt_index) {
43903
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
43904
+ };
43905
+
43906
+
43907
+ /**
43908
+ * Clears the list making it empty but non-null.
43909
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} returns this
43910
+ */
43911
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.clearSystemLanguagesList = function() {
43912
+ return this.setSystemLanguagesList([]);
43913
+ };
43914
+
43915
+
43916
+ /**
43917
+ * optional google.protobuf.StringValue system_locale = 4;
43918
+ * @return {?proto.google.protobuf.StringValue}
43919
+ */
43920
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.getSystemLocale = function() {
43921
+ return /** @type{?proto.google.protobuf.StringValue} */ (
43922
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
43923
+ };
43924
+
43925
+
43926
+ /**
43927
+ * @param {?proto.google.protobuf.StringValue|undefined} value
43928
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} returns this
43929
+ */
43930
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.setSystemLocale = function(value) {
43931
+ return jspb.Message.setWrapperField(this, 4, value);
43932
+ };
43933
+
43934
+
43935
+ /**
43936
+ * Clears the message field making it undefined.
43937
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} returns this
43938
+ */
43939
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.clearSystemLocale = function() {
43940
+ return this.setSystemLocale(undefined);
43941
+ };
43942
+
43943
+
43944
+ /**
43945
+ * Returns whether this field is set.
43946
+ * @return {boolean}
43947
+ */
43948
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.hasSystemLocale = function() {
43949
+ return jspb.Message.getField(this, 4) != null;
43950
+ };
43951
+
43952
+
43953
+ /**
43954
+ * optional google.protobuf.StringValue system_text_direction = 5;
43955
+ * @return {?proto.google.protobuf.StringValue}
43956
+ */
43957
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.getSystemTextDirection = function() {
43958
+ return /** @type{?proto.google.protobuf.StringValue} */ (
43959
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
43960
+ };
43961
+
43962
+
43963
+ /**
43964
+ * @param {?proto.google.protobuf.StringValue|undefined} value
43965
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} returns this
43966
+ */
43967
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.setSystemTextDirection = function(value) {
43968
+ return jspb.Message.setWrapperField(this, 5, value);
43969
+ };
43970
+
43971
+
43972
+ /**
43973
+ * Clears the message field making it undefined.
43974
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} returns this
43975
+ */
43976
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.clearSystemTextDirection = function() {
43977
+ return this.setSystemTextDirection(undefined);
43978
+ };
43979
+
43980
+
43981
+ /**
43982
+ * Returns whether this field is set.
43983
+ * @return {boolean}
43984
+ */
43985
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.hasSystemTextDirection = function() {
43986
+ return jspb.Message.getField(this, 5) != null;
43987
+ };
43988
+
43989
+
43990
+ /**
43991
+ * optional google.protobuf.StringValue system_uses_metric_system = 6;
43992
+ * @return {?proto.google.protobuf.StringValue}
43993
+ */
43994
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.getSystemUsesMetricSystem = function() {
43995
+ return /** @type{?proto.google.protobuf.StringValue} */ (
43996
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
43997
+ };
43998
+
43999
+
44000
+ /**
44001
+ * @param {?proto.google.protobuf.StringValue|undefined} value
44002
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} returns this
44003
+ */
44004
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.setSystemUsesMetricSystem = function(value) {
44005
+ return jspb.Message.setWrapperField(this, 6, value);
44006
+ };
44007
+
44008
+
44009
+ /**
44010
+ * Clears the message field making it undefined.
44011
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings} returns this
44012
+ */
44013
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.clearSystemUsesMetricSystem = function() {
44014
+ return this.setSystemUsesMetricSystem(undefined);
44015
+ };
44016
+
44017
+
44018
+ /**
44019
+ * Returns whether this field is set.
44020
+ * @return {boolean}
44021
+ */
44022
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalSystemSettings.prototype.hasSystemUsesMetricSystem = function() {
44023
+ return jspb.Message.getField(this, 6) != null;
44024
+ };
44025
+
44026
+
44027
+
44028
+
44029
+
44030
+ if (jspb.Message.GENERATE_TO_OBJECT) {
44031
+ /**
44032
+ * Creates an object representation of this proto.
44033
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
44034
+ * Optional fields that are not set will be set to undefined.
44035
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
44036
+ * For the list of reserved names please see:
44037
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
44038
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
44039
+ * JSPB instance for transitional soy proto support:
44040
+ * http://goto/soy-param-migration
44041
+ * @return {!Object}
44042
+ */
44043
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.prototype.toObject = function(opt_includeInstance) {
44044
+ return proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.toObject(opt_includeInstance, this);
44045
+ };
44046
+
44047
+
44048
+ /**
44049
+ * Static version of the {@see toObject} method.
44050
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
44051
+ * the JSPB instance for transitional soy proto support:
44052
+ * http://goto/soy-param-migration
44053
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings} msg The msg instance to transform.
44054
+ * @return {!Object}
44055
+ * @suppress {unusedLocalVariables} f is only used for nested messages
44056
+ */
44057
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.toObject = function(includeInstance, msg) {
44058
+ var f, obj = {
44059
+ bootKeyboardCode: (f = msg.getBootKeyboardCode()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
44060
+ bootLocale: (f = msg.getBootLocale()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
44061
+ };
44062
+
44063
+ if (includeInstance) {
44064
+ obj.$jspbMessageInstance = msg;
44065
+ }
44066
+ return obj;
44067
+ };
44068
+ }
44069
+
44070
+
44071
+ /**
44072
+ * Deserializes binary data (in protobuf wire format).
44073
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
44074
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings}
44075
+ */
44076
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.deserializeBinary = function(bytes) {
44077
+ var reader = new jspb.BinaryReader(bytes);
44078
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings;
44079
+ return proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.deserializeBinaryFromReader(msg, reader);
44080
+ };
44081
+
44082
+
44083
+ /**
44084
+ * Deserializes binary data (in protobuf wire format) from the
44085
+ * given reader into the given message object.
44086
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings} msg The message object to deserialize into.
44087
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
44088
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings}
44089
+ */
44090
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.deserializeBinaryFromReader = function(msg, reader) {
44091
+ while (reader.nextField()) {
44092
+ if (reader.isEndGroup()) {
44093
+ break;
44094
+ }
44095
+ var field = reader.getFieldNumber();
44096
+ switch (field) {
44097
+ case 1:
44098
+ var value = new google_protobuf_wrappers_pb.StringValue;
44099
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
44100
+ msg.setBootKeyboardCode(value);
44101
+ break;
44102
+ case 2:
44103
+ var value = new google_protobuf_wrappers_pb.StringValue;
44104
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
44105
+ msg.setBootLocale(value);
44106
+ break;
44107
+ default:
44108
+ reader.skipField();
44109
+ break;
44110
+ }
44111
+ }
44112
+ return msg;
44113
+ };
44114
+
44115
+
44116
+ /**
44117
+ * Serializes the message to binary data (in protobuf wire format).
44118
+ * @return {!Uint8Array}
44119
+ */
44120
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.prototype.serializeBinary = function() {
44121
+ var writer = new jspb.BinaryWriter();
44122
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.serializeBinaryToWriter(this, writer);
44123
+ return writer.getResultBuffer();
44124
+ };
44125
+
44126
+
44127
+ /**
44128
+ * Serializes the given message to binary data (in protobuf wire
44129
+ * format), writing to the given BinaryWriter.
44130
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings} message
44131
+ * @param {!jspb.BinaryWriter} writer
44132
+ * @suppress {unusedLocalVariables} f is only used for nested messages
44133
+ */
44134
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.serializeBinaryToWriter = function(message, writer) {
44135
+ var f = undefined;
44136
+ f = message.getBootKeyboardCode();
44137
+ if (f != null) {
44138
+ writer.writeMessage(
44139
+ 1,
44140
+ f,
44141
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
44142
+ );
44143
+ }
44144
+ f = message.getBootLocale();
44145
+ if (f != null) {
44146
+ writer.writeMessage(
44147
+ 2,
44148
+ f,
44149
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
44150
+ );
44151
+ }
44152
+ };
44153
+
44154
+
44155
+ /**
44156
+ * optional google.protobuf.StringValue boot_keyboard_code = 1;
44157
+ * @return {?proto.google.protobuf.StringValue}
44158
+ */
44159
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.prototype.getBootKeyboardCode = function() {
44160
+ return /** @type{?proto.google.protobuf.StringValue} */ (
44161
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
44162
+ };
44163
+
44164
+
44165
+ /**
44166
+ * @param {?proto.google.protobuf.StringValue|undefined} value
44167
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings} returns this
44168
+ */
44169
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.prototype.setBootKeyboardCode = function(value) {
44170
+ return jspb.Message.setWrapperField(this, 1, value);
44171
+ };
44172
+
44173
+
44174
+ /**
44175
+ * Clears the message field making it undefined.
44176
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings} returns this
44177
+ */
44178
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.prototype.clearBootKeyboardCode = function() {
44179
+ return this.setBootKeyboardCode(undefined);
44180
+ };
44181
+
44182
+
44183
+ /**
44184
+ * Returns whether this field is set.
44185
+ * @return {boolean}
44186
+ */
44187
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.prototype.hasBootKeyboardCode = function() {
44188
+ return jspb.Message.getField(this, 1) != null;
44189
+ };
44190
+
44191
+
44192
+ /**
44193
+ * optional google.protobuf.StringValue boot_locale = 2;
44194
+ * @return {?proto.google.protobuf.StringValue}
44195
+ */
44196
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.prototype.getBootLocale = function() {
44197
+ return /** @type{?proto.google.protobuf.StringValue} */ (
44198
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
44199
+ };
44200
+
44201
+
44202
+ /**
44203
+ * @param {?proto.google.protobuf.StringValue|undefined} value
44204
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings} returns this
44205
+ */
44206
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.prototype.setBootLocale = function(value) {
44207
+ return jspb.Message.setWrapperField(this, 2, value);
44208
+ };
44209
+
44210
+
44211
+ /**
44212
+ * Clears the message field making it undefined.
44213
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings} returns this
44214
+ */
44215
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.prototype.clearBootLocale = function() {
44216
+ return this.setBootLocale(undefined);
44217
+ };
44218
+
44219
+
44220
+ /**
44221
+ * Returns whether this field is set.
44222
+ * @return {boolean}
44223
+ */
44224
+ proto.com.lansweeper.discovery.sensor.mac.v1.RegionalRecoveryOsSettings.prototype.hasBootLocale = function() {
44225
+ return jspb.Message.getField(this, 2) != null;
44226
+ };
44227
+
44228
+
41952
44229
  goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.mac.v1);