@lansweeper/discovery-sensor-proto 2.43.0 → 2.44.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.
@@ -34,6 +34,8 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryModelInfo
34
34
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryPower', null, global);
35
35
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth', null, global);
36
36
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BluetoothDevice', null, global);
37
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Camera', null, global);
38
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.CardReader', null, global);
37
39
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia', null, global);
38
40
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning', null, global);
39
41
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Display', null, global);
@@ -43,6 +45,8 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacAccessibility
43
45
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacAudio', null, global);
44
46
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo', null, global);
45
47
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBluetooth', null, global);
48
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera', null, global);
49
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader', null, global);
46
50
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning', null, global);
47
51
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDisplay', null, global);
48
52
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewall', null, global);
@@ -1081,6 +1085,90 @@ if (goog.DEBUG && !COMPILED) {
1081
1085
  */
1082
1086
  proto.com.lansweeper.discovery.sensor.mac.v1.Audio.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Audio';
1083
1087
  }
1088
+ /**
1089
+ * Generated by JsPbCodeGenerator.
1090
+ * @param {Array=} opt_data Optional initial data array, typically from a
1091
+ * server response, or constructed directly in Javascript. The array is used
1092
+ * in place and becomes part of the constructed object. It is not cloned.
1093
+ * If no data is provided, the constructed object will be empty, but still
1094
+ * valid.
1095
+ * @extends {jspb.Message}
1096
+ * @constructor
1097
+ */
1098
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera = function(opt_data) {
1099
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.repeatedFields_, null);
1100
+ };
1101
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera, jspb.Message);
1102
+ if (goog.DEBUG && !COMPILED) {
1103
+ /**
1104
+ * @public
1105
+ * @override
1106
+ */
1107
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera';
1108
+ }
1109
+ /**
1110
+ * Generated by JsPbCodeGenerator.
1111
+ * @param {Array=} opt_data Optional initial data array, typically from a
1112
+ * server response, or constructed directly in Javascript. The array is used
1113
+ * in place and becomes part of the constructed object. It is not cloned.
1114
+ * If no data is provided, the constructed object will be empty, but still
1115
+ * valid.
1116
+ * @extends {jspb.Message}
1117
+ * @constructor
1118
+ */
1119
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera = function(opt_data) {
1120
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1121
+ };
1122
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.Camera, jspb.Message);
1123
+ if (goog.DEBUG && !COMPILED) {
1124
+ /**
1125
+ * @public
1126
+ * @override
1127
+ */
1128
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Camera';
1129
+ }
1130
+ /**
1131
+ * Generated by JsPbCodeGenerator.
1132
+ * @param {Array=} opt_data Optional initial data array, typically from a
1133
+ * server response, or constructed directly in Javascript. The array is used
1134
+ * in place and becomes part of the constructed object. It is not cloned.
1135
+ * If no data is provided, the constructed object will be empty, but still
1136
+ * valid.
1137
+ * @extends {jspb.Message}
1138
+ * @constructor
1139
+ */
1140
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader = function(opt_data) {
1141
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.repeatedFields_, null);
1142
+ };
1143
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader, jspb.Message);
1144
+ if (goog.DEBUG && !COMPILED) {
1145
+ /**
1146
+ * @public
1147
+ * @override
1148
+ */
1149
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader';
1150
+ }
1151
+ /**
1152
+ * Generated by JsPbCodeGenerator.
1153
+ * @param {Array=} opt_data Optional initial data array, typically from a
1154
+ * server response, or constructed directly in Javascript. The array is used
1155
+ * in place and becomes part of the constructed object. It is not cloned.
1156
+ * If no data is provided, the constructed object will be empty, but still
1157
+ * valid.
1158
+ * @extends {jspb.Message}
1159
+ * @constructor
1160
+ */
1161
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader = function(opt_data) {
1162
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1163
+ };
1164
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.CardReader, jspb.Message);
1165
+ if (goog.DEBUG && !COMPILED) {
1166
+ /**
1167
+ * @public
1168
+ * @override
1169
+ */
1170
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.CardReader';
1171
+ }
1084
1172
 
1085
1173
  /**
1086
1174
  * List of repeated fields within this message type.
@@ -21843,4 +21931,1034 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Audio.prototype.hasCoreaudioOutputS
21843
21931
  };
21844
21932
 
21845
21933
 
21934
+
21935
+ /**
21936
+ * List of repeated fields within this message type.
21937
+ * @private {!Array<number>}
21938
+ * @const
21939
+ */
21940
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.repeatedFields_ = [1];
21941
+
21942
+
21943
+
21944
+ if (jspb.Message.GENERATE_TO_OBJECT) {
21945
+ /**
21946
+ * Creates an object representation of this proto.
21947
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
21948
+ * Optional fields that are not set will be set to undefined.
21949
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
21950
+ * For the list of reserved names please see:
21951
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
21952
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
21953
+ * JSPB instance for transitional soy proto support:
21954
+ * http://goto/soy-param-migration
21955
+ * @return {!Object}
21956
+ */
21957
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.prototype.toObject = function(opt_includeInstance) {
21958
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.toObject(opt_includeInstance, this);
21959
+ };
21960
+
21961
+
21962
+ /**
21963
+ * Static version of the {@see toObject} method.
21964
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
21965
+ * the JSPB instance for transitional soy proto support:
21966
+ * http://goto/soy-param-migration
21967
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera} msg The msg instance to transform.
21968
+ * @return {!Object}
21969
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21970
+ */
21971
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.toObject = function(includeInstance, msg) {
21972
+ var f, obj = {
21973
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
21974
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.toObject, includeInstance)
21975
+ };
21976
+
21977
+ if (includeInstance) {
21978
+ obj.$jspbMessageInstance = msg;
21979
+ }
21980
+ return obj;
21981
+ };
21982
+ }
21983
+
21984
+
21985
+ /**
21986
+ * Deserializes binary data (in protobuf wire format).
21987
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
21988
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera}
21989
+ */
21990
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.deserializeBinary = function(bytes) {
21991
+ var reader = new jspb.BinaryReader(bytes);
21992
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera;
21993
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.deserializeBinaryFromReader(msg, reader);
21994
+ };
21995
+
21996
+
21997
+ /**
21998
+ * Deserializes binary data (in protobuf wire format) from the
21999
+ * given reader into the given message object.
22000
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera} msg The message object to deserialize into.
22001
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22002
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera}
22003
+ */
22004
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.deserializeBinaryFromReader = function(msg, reader) {
22005
+ while (reader.nextField()) {
22006
+ if (reader.isEndGroup()) {
22007
+ break;
22008
+ }
22009
+ var field = reader.getFieldNumber();
22010
+ switch (field) {
22011
+ case 1:
22012
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.Camera;
22013
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.Camera.deserializeBinaryFromReader);
22014
+ msg.addEntries(value);
22015
+ break;
22016
+ default:
22017
+ reader.skipField();
22018
+ break;
22019
+ }
22020
+ }
22021
+ return msg;
22022
+ };
22023
+
22024
+
22025
+ /**
22026
+ * Serializes the message to binary data (in protobuf wire format).
22027
+ * @return {!Uint8Array}
22028
+ */
22029
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.prototype.serializeBinary = function() {
22030
+ var writer = new jspb.BinaryWriter();
22031
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.serializeBinaryToWriter(this, writer);
22032
+ return writer.getResultBuffer();
22033
+ };
22034
+
22035
+
22036
+ /**
22037
+ * Serializes the given message to binary data (in protobuf wire
22038
+ * format), writing to the given BinaryWriter.
22039
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera} message
22040
+ * @param {!jspb.BinaryWriter} writer
22041
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22042
+ */
22043
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.serializeBinaryToWriter = function(message, writer) {
22044
+ var f = undefined;
22045
+ f = message.getEntriesList();
22046
+ if (f.length > 0) {
22047
+ writer.writeRepeatedMessage(
22048
+ 1,
22049
+ f,
22050
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.serializeBinaryToWriter
22051
+ );
22052
+ }
22053
+ };
22054
+
22055
+
22056
+ /**
22057
+ * repeated Camera entries = 1;
22058
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Camera>}
22059
+ */
22060
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.prototype.getEntriesList = function() {
22061
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Camera>} */ (
22062
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.Camera, 1));
22063
+ };
22064
+
22065
+
22066
+ /**
22067
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Camera>} value
22068
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera} returns this
22069
+ */
22070
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.prototype.setEntriesList = function(value) {
22071
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
22072
+ };
22073
+
22074
+
22075
+ /**
22076
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera=} opt_value
22077
+ * @param {number=} opt_index
22078
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera}
22079
+ */
22080
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.prototype.addEntries = function(opt_value, opt_index) {
22081
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.Camera, opt_index);
22082
+ };
22083
+
22084
+
22085
+ /**
22086
+ * Clears the list making it empty but non-null.
22087
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera} returns this
22088
+ */
22089
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCamera.prototype.clearEntriesList = function() {
22090
+ return this.setEntriesList([]);
22091
+ };
22092
+
22093
+
22094
+
22095
+
22096
+
22097
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22098
+ /**
22099
+ * Creates an object representation of this proto.
22100
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22101
+ * Optional fields that are not set will be set to undefined.
22102
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22103
+ * For the list of reserved names please see:
22104
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22105
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22106
+ * JSPB instance for transitional soy proto support:
22107
+ * http://goto/soy-param-migration
22108
+ * @return {!Object}
22109
+ */
22110
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.toObject = function(opt_includeInstance) {
22111
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Camera.toObject(opt_includeInstance, this);
22112
+ };
22113
+
22114
+
22115
+ /**
22116
+ * Static version of the {@see toObject} method.
22117
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22118
+ * the JSPB instance for transitional soy proto support:
22119
+ * http://goto/soy-param-migration
22120
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} msg The msg instance to transform.
22121
+ * @return {!Object}
22122
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22123
+ */
22124
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.toObject = function(includeInstance, msg) {
22125
+ var f, obj = {
22126
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22127
+ modelId: (f = msg.getModelId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22128
+ uniqueId: (f = msg.getUniqueId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
22129
+ };
22130
+
22131
+ if (includeInstance) {
22132
+ obj.$jspbMessageInstance = msg;
22133
+ }
22134
+ return obj;
22135
+ };
22136
+ }
22137
+
22138
+
22139
+ /**
22140
+ * Deserializes binary data (in protobuf wire format).
22141
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22142
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera}
22143
+ */
22144
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.deserializeBinary = function(bytes) {
22145
+ var reader = new jspb.BinaryReader(bytes);
22146
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.Camera;
22147
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Camera.deserializeBinaryFromReader(msg, reader);
22148
+ };
22149
+
22150
+
22151
+ /**
22152
+ * Deserializes binary data (in protobuf wire format) from the
22153
+ * given reader into the given message object.
22154
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} msg The message object to deserialize into.
22155
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22156
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera}
22157
+ */
22158
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.deserializeBinaryFromReader = function(msg, reader) {
22159
+ while (reader.nextField()) {
22160
+ if (reader.isEndGroup()) {
22161
+ break;
22162
+ }
22163
+ var field = reader.getFieldNumber();
22164
+ switch (field) {
22165
+ case 1:
22166
+ var value = new google_protobuf_wrappers_pb.StringValue;
22167
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22168
+ msg.setName(value);
22169
+ break;
22170
+ case 2:
22171
+ var value = new google_protobuf_wrappers_pb.StringValue;
22172
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22173
+ msg.setModelId(value);
22174
+ break;
22175
+ case 3:
22176
+ var value = new google_protobuf_wrappers_pb.StringValue;
22177
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22178
+ msg.setUniqueId(value);
22179
+ break;
22180
+ default:
22181
+ reader.skipField();
22182
+ break;
22183
+ }
22184
+ }
22185
+ return msg;
22186
+ };
22187
+
22188
+
22189
+ /**
22190
+ * Serializes the message to binary data (in protobuf wire format).
22191
+ * @return {!Uint8Array}
22192
+ */
22193
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.serializeBinary = function() {
22194
+ var writer = new jspb.BinaryWriter();
22195
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.serializeBinaryToWriter(this, writer);
22196
+ return writer.getResultBuffer();
22197
+ };
22198
+
22199
+
22200
+ /**
22201
+ * Serializes the given message to binary data (in protobuf wire
22202
+ * format), writing to the given BinaryWriter.
22203
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} message
22204
+ * @param {!jspb.BinaryWriter} writer
22205
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22206
+ */
22207
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.serializeBinaryToWriter = function(message, writer) {
22208
+ var f = undefined;
22209
+ f = message.getName();
22210
+ if (f != null) {
22211
+ writer.writeMessage(
22212
+ 1,
22213
+ f,
22214
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22215
+ );
22216
+ }
22217
+ f = message.getModelId();
22218
+ if (f != null) {
22219
+ writer.writeMessage(
22220
+ 2,
22221
+ f,
22222
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22223
+ );
22224
+ }
22225
+ f = message.getUniqueId();
22226
+ if (f != null) {
22227
+ writer.writeMessage(
22228
+ 3,
22229
+ f,
22230
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22231
+ );
22232
+ }
22233
+ };
22234
+
22235
+
22236
+ /**
22237
+ * optional google.protobuf.StringValue name = 1;
22238
+ * @return {?proto.google.protobuf.StringValue}
22239
+ */
22240
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.getName = function() {
22241
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22242
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
22243
+ };
22244
+
22245
+
22246
+ /**
22247
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22248
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} returns this
22249
+ */
22250
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.setName = function(value) {
22251
+ return jspb.Message.setWrapperField(this, 1, value);
22252
+ };
22253
+
22254
+
22255
+ /**
22256
+ * Clears the message field making it undefined.
22257
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} returns this
22258
+ */
22259
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.clearName = function() {
22260
+ return this.setName(undefined);
22261
+ };
22262
+
22263
+
22264
+ /**
22265
+ * Returns whether this field is set.
22266
+ * @return {boolean}
22267
+ */
22268
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.hasName = function() {
22269
+ return jspb.Message.getField(this, 1) != null;
22270
+ };
22271
+
22272
+
22273
+ /**
22274
+ * optional google.protobuf.StringValue model_id = 2;
22275
+ * @return {?proto.google.protobuf.StringValue}
22276
+ */
22277
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.getModelId = function() {
22278
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22279
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
22280
+ };
22281
+
22282
+
22283
+ /**
22284
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22285
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} returns this
22286
+ */
22287
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.setModelId = function(value) {
22288
+ return jspb.Message.setWrapperField(this, 2, value);
22289
+ };
22290
+
22291
+
22292
+ /**
22293
+ * Clears the message field making it undefined.
22294
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} returns this
22295
+ */
22296
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.clearModelId = function() {
22297
+ return this.setModelId(undefined);
22298
+ };
22299
+
22300
+
22301
+ /**
22302
+ * Returns whether this field is set.
22303
+ * @return {boolean}
22304
+ */
22305
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.hasModelId = function() {
22306
+ return jspb.Message.getField(this, 2) != null;
22307
+ };
22308
+
22309
+
22310
+ /**
22311
+ * optional google.protobuf.StringValue unique_id = 3;
22312
+ * @return {?proto.google.protobuf.StringValue}
22313
+ */
22314
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.getUniqueId = function() {
22315
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22316
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
22317
+ };
22318
+
22319
+
22320
+ /**
22321
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22322
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} returns this
22323
+ */
22324
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.setUniqueId = function(value) {
22325
+ return jspb.Message.setWrapperField(this, 3, value);
22326
+ };
22327
+
22328
+
22329
+ /**
22330
+ * Clears the message field making it undefined.
22331
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Camera} returns this
22332
+ */
22333
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.clearUniqueId = function() {
22334
+ return this.setUniqueId(undefined);
22335
+ };
22336
+
22337
+
22338
+ /**
22339
+ * Returns whether this field is set.
22340
+ * @return {boolean}
22341
+ */
22342
+ proto.com.lansweeper.discovery.sensor.mac.v1.Camera.prototype.hasUniqueId = function() {
22343
+ return jspb.Message.getField(this, 3) != null;
22344
+ };
22345
+
22346
+
22347
+
22348
+ /**
22349
+ * List of repeated fields within this message type.
22350
+ * @private {!Array<number>}
22351
+ * @const
22352
+ */
22353
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.repeatedFields_ = [1];
22354
+
22355
+
22356
+
22357
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22358
+ /**
22359
+ * Creates an object representation of this proto.
22360
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22361
+ * Optional fields that are not set will be set to undefined.
22362
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22363
+ * For the list of reserved names please see:
22364
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22365
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22366
+ * JSPB instance for transitional soy proto support:
22367
+ * http://goto/soy-param-migration
22368
+ * @return {!Object}
22369
+ */
22370
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.prototype.toObject = function(opt_includeInstance) {
22371
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.toObject(opt_includeInstance, this);
22372
+ };
22373
+
22374
+
22375
+ /**
22376
+ * Static version of the {@see toObject} method.
22377
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22378
+ * the JSPB instance for transitional soy proto support:
22379
+ * http://goto/soy-param-migration
22380
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader} msg The msg instance to transform.
22381
+ * @return {!Object}
22382
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22383
+ */
22384
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.toObject = function(includeInstance, msg) {
22385
+ var f, obj = {
22386
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
22387
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.toObject, includeInstance)
22388
+ };
22389
+
22390
+ if (includeInstance) {
22391
+ obj.$jspbMessageInstance = msg;
22392
+ }
22393
+ return obj;
22394
+ };
22395
+ }
22396
+
22397
+
22398
+ /**
22399
+ * Deserializes binary data (in protobuf wire format).
22400
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22401
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader}
22402
+ */
22403
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.deserializeBinary = function(bytes) {
22404
+ var reader = new jspb.BinaryReader(bytes);
22405
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader;
22406
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.deserializeBinaryFromReader(msg, reader);
22407
+ };
22408
+
22409
+
22410
+ /**
22411
+ * Deserializes binary data (in protobuf wire format) from the
22412
+ * given reader into the given message object.
22413
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader} msg The message object to deserialize into.
22414
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22415
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader}
22416
+ */
22417
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.deserializeBinaryFromReader = function(msg, reader) {
22418
+ while (reader.nextField()) {
22419
+ if (reader.isEndGroup()) {
22420
+ break;
22421
+ }
22422
+ var field = reader.getFieldNumber();
22423
+ switch (field) {
22424
+ case 1:
22425
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.CardReader;
22426
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.deserializeBinaryFromReader);
22427
+ msg.addEntries(value);
22428
+ break;
22429
+ default:
22430
+ reader.skipField();
22431
+ break;
22432
+ }
22433
+ }
22434
+ return msg;
22435
+ };
22436
+
22437
+
22438
+ /**
22439
+ * Serializes the message to binary data (in protobuf wire format).
22440
+ * @return {!Uint8Array}
22441
+ */
22442
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.prototype.serializeBinary = function() {
22443
+ var writer = new jspb.BinaryWriter();
22444
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.serializeBinaryToWriter(this, writer);
22445
+ return writer.getResultBuffer();
22446
+ };
22447
+
22448
+
22449
+ /**
22450
+ * Serializes the given message to binary data (in protobuf wire
22451
+ * format), writing to the given BinaryWriter.
22452
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader} message
22453
+ * @param {!jspb.BinaryWriter} writer
22454
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22455
+ */
22456
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.serializeBinaryToWriter = function(message, writer) {
22457
+ var f = undefined;
22458
+ f = message.getEntriesList();
22459
+ if (f.length > 0) {
22460
+ writer.writeRepeatedMessage(
22461
+ 1,
22462
+ f,
22463
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.serializeBinaryToWriter
22464
+ );
22465
+ }
22466
+ };
22467
+
22468
+
22469
+ /**
22470
+ * repeated CardReader entries = 1;
22471
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader>}
22472
+ */
22473
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.prototype.getEntriesList = function() {
22474
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader>} */ (
22475
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.CardReader, 1));
22476
+ };
22477
+
22478
+
22479
+ /**
22480
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader>} value
22481
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader} returns this
22482
+ */
22483
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.prototype.setEntriesList = function(value) {
22484
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
22485
+ };
22486
+
22487
+
22488
+ /**
22489
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader=} opt_value
22490
+ * @param {number=} opt_index
22491
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader}
22492
+ */
22493
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.prototype.addEntries = function(opt_value, opt_index) {
22494
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.CardReader, opt_index);
22495
+ };
22496
+
22497
+
22498
+ /**
22499
+ * Clears the list making it empty but non-null.
22500
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader} returns this
22501
+ */
22502
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacCardReader.prototype.clearEntriesList = function() {
22503
+ return this.setEntriesList([]);
22504
+ };
22505
+
22506
+
22507
+
22508
+
22509
+
22510
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22511
+ /**
22512
+ * Creates an object representation of this proto.
22513
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22514
+ * Optional fields that are not set will be set to undefined.
22515
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22516
+ * For the list of reserved names please see:
22517
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22518
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22519
+ * JSPB instance for transitional soy proto support:
22520
+ * http://goto/soy-param-migration
22521
+ * @return {!Object}
22522
+ */
22523
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.toObject = function(opt_includeInstance) {
22524
+ return proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.toObject(opt_includeInstance, this);
22525
+ };
22526
+
22527
+
22528
+ /**
22529
+ * Static version of the {@see toObject} method.
22530
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22531
+ * the JSPB instance for transitional soy proto support:
22532
+ * http://goto/soy-param-migration
22533
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} msg The msg instance to transform.
22534
+ * @return {!Object}
22535
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22536
+ */
22537
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.toObject = function(includeInstance, msg) {
22538
+ var f, obj = {
22539
+ deviceId: (f = msg.getDeviceId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22540
+ linkSpeed: (f = msg.getLinkSpeed()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22541
+ linkWidth: (f = msg.getLinkWidth()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22542
+ revisionId: (f = msg.getRevisionId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22543
+ subsystemId: (f = msg.getSubsystemId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22544
+ subsystemVendorId: (f = msg.getSubsystemVendorId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
22545
+ vendorId: (f = msg.getVendorId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
22546
+ };
22547
+
22548
+ if (includeInstance) {
22549
+ obj.$jspbMessageInstance = msg;
22550
+ }
22551
+ return obj;
22552
+ };
22553
+ }
22554
+
22555
+
22556
+ /**
22557
+ * Deserializes binary data (in protobuf wire format).
22558
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22559
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader}
22560
+ */
22561
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.deserializeBinary = function(bytes) {
22562
+ var reader = new jspb.BinaryReader(bytes);
22563
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.CardReader;
22564
+ return proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.deserializeBinaryFromReader(msg, reader);
22565
+ };
22566
+
22567
+
22568
+ /**
22569
+ * Deserializes binary data (in protobuf wire format) from the
22570
+ * given reader into the given message object.
22571
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} msg The message object to deserialize into.
22572
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22573
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader}
22574
+ */
22575
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.deserializeBinaryFromReader = function(msg, reader) {
22576
+ while (reader.nextField()) {
22577
+ if (reader.isEndGroup()) {
22578
+ break;
22579
+ }
22580
+ var field = reader.getFieldNumber();
22581
+ switch (field) {
22582
+ case 1:
22583
+ var value = new google_protobuf_wrappers_pb.StringValue;
22584
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22585
+ msg.setDeviceId(value);
22586
+ break;
22587
+ case 2:
22588
+ var value = new google_protobuf_wrappers_pb.StringValue;
22589
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22590
+ msg.setLinkSpeed(value);
22591
+ break;
22592
+ case 3:
22593
+ var value = new google_protobuf_wrappers_pb.StringValue;
22594
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22595
+ msg.setLinkWidth(value);
22596
+ break;
22597
+ case 4:
22598
+ var value = new google_protobuf_wrappers_pb.StringValue;
22599
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22600
+ msg.setRevisionId(value);
22601
+ break;
22602
+ case 5:
22603
+ var value = new google_protobuf_wrappers_pb.StringValue;
22604
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22605
+ msg.setSubsystemId(value);
22606
+ break;
22607
+ case 6:
22608
+ var value = new google_protobuf_wrappers_pb.StringValue;
22609
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22610
+ msg.setSubsystemVendorId(value);
22611
+ break;
22612
+ case 7:
22613
+ var value = new google_protobuf_wrappers_pb.StringValue;
22614
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
22615
+ msg.setVendorId(value);
22616
+ break;
22617
+ default:
22618
+ reader.skipField();
22619
+ break;
22620
+ }
22621
+ }
22622
+ return msg;
22623
+ };
22624
+
22625
+
22626
+ /**
22627
+ * Serializes the message to binary data (in protobuf wire format).
22628
+ * @return {!Uint8Array}
22629
+ */
22630
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.serializeBinary = function() {
22631
+ var writer = new jspb.BinaryWriter();
22632
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.serializeBinaryToWriter(this, writer);
22633
+ return writer.getResultBuffer();
22634
+ };
22635
+
22636
+
22637
+ /**
22638
+ * Serializes the given message to binary data (in protobuf wire
22639
+ * format), writing to the given BinaryWriter.
22640
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} message
22641
+ * @param {!jspb.BinaryWriter} writer
22642
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22643
+ */
22644
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.serializeBinaryToWriter = function(message, writer) {
22645
+ var f = undefined;
22646
+ f = message.getDeviceId();
22647
+ if (f != null) {
22648
+ writer.writeMessage(
22649
+ 1,
22650
+ f,
22651
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22652
+ );
22653
+ }
22654
+ f = message.getLinkSpeed();
22655
+ if (f != null) {
22656
+ writer.writeMessage(
22657
+ 2,
22658
+ f,
22659
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22660
+ );
22661
+ }
22662
+ f = message.getLinkWidth();
22663
+ if (f != null) {
22664
+ writer.writeMessage(
22665
+ 3,
22666
+ f,
22667
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22668
+ );
22669
+ }
22670
+ f = message.getRevisionId();
22671
+ if (f != null) {
22672
+ writer.writeMessage(
22673
+ 4,
22674
+ f,
22675
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22676
+ );
22677
+ }
22678
+ f = message.getSubsystemId();
22679
+ if (f != null) {
22680
+ writer.writeMessage(
22681
+ 5,
22682
+ f,
22683
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22684
+ );
22685
+ }
22686
+ f = message.getSubsystemVendorId();
22687
+ if (f != null) {
22688
+ writer.writeMessage(
22689
+ 6,
22690
+ f,
22691
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22692
+ );
22693
+ }
22694
+ f = message.getVendorId();
22695
+ if (f != null) {
22696
+ writer.writeMessage(
22697
+ 7,
22698
+ f,
22699
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
22700
+ );
22701
+ }
22702
+ };
22703
+
22704
+
22705
+ /**
22706
+ * optional google.protobuf.StringValue device_id = 1;
22707
+ * @return {?proto.google.protobuf.StringValue}
22708
+ */
22709
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.getDeviceId = function() {
22710
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22711
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
22712
+ };
22713
+
22714
+
22715
+ /**
22716
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22717
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22718
+ */
22719
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.setDeviceId = function(value) {
22720
+ return jspb.Message.setWrapperField(this, 1, value);
22721
+ };
22722
+
22723
+
22724
+ /**
22725
+ * Clears the message field making it undefined.
22726
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22727
+ */
22728
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.clearDeviceId = function() {
22729
+ return this.setDeviceId(undefined);
22730
+ };
22731
+
22732
+
22733
+ /**
22734
+ * Returns whether this field is set.
22735
+ * @return {boolean}
22736
+ */
22737
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasDeviceId = function() {
22738
+ return jspb.Message.getField(this, 1) != null;
22739
+ };
22740
+
22741
+
22742
+ /**
22743
+ * optional google.protobuf.StringValue link_speed = 2;
22744
+ * @return {?proto.google.protobuf.StringValue}
22745
+ */
22746
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.getLinkSpeed = function() {
22747
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22748
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
22749
+ };
22750
+
22751
+
22752
+ /**
22753
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22754
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22755
+ */
22756
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.setLinkSpeed = function(value) {
22757
+ return jspb.Message.setWrapperField(this, 2, value);
22758
+ };
22759
+
22760
+
22761
+ /**
22762
+ * Clears the message field making it undefined.
22763
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22764
+ */
22765
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.clearLinkSpeed = function() {
22766
+ return this.setLinkSpeed(undefined);
22767
+ };
22768
+
22769
+
22770
+ /**
22771
+ * Returns whether this field is set.
22772
+ * @return {boolean}
22773
+ */
22774
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasLinkSpeed = function() {
22775
+ return jspb.Message.getField(this, 2) != null;
22776
+ };
22777
+
22778
+
22779
+ /**
22780
+ * optional google.protobuf.StringValue link_width = 3;
22781
+ * @return {?proto.google.protobuf.StringValue}
22782
+ */
22783
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.getLinkWidth = function() {
22784
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22785
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
22786
+ };
22787
+
22788
+
22789
+ /**
22790
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22791
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22792
+ */
22793
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.setLinkWidth = function(value) {
22794
+ return jspb.Message.setWrapperField(this, 3, value);
22795
+ };
22796
+
22797
+
22798
+ /**
22799
+ * Clears the message field making it undefined.
22800
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22801
+ */
22802
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.clearLinkWidth = function() {
22803
+ return this.setLinkWidth(undefined);
22804
+ };
22805
+
22806
+
22807
+ /**
22808
+ * Returns whether this field is set.
22809
+ * @return {boolean}
22810
+ */
22811
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasLinkWidth = function() {
22812
+ return jspb.Message.getField(this, 3) != null;
22813
+ };
22814
+
22815
+
22816
+ /**
22817
+ * optional google.protobuf.StringValue revision_id = 4;
22818
+ * @return {?proto.google.protobuf.StringValue}
22819
+ */
22820
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.getRevisionId = function() {
22821
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22822
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
22823
+ };
22824
+
22825
+
22826
+ /**
22827
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22828
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22829
+ */
22830
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.setRevisionId = function(value) {
22831
+ return jspb.Message.setWrapperField(this, 4, value);
22832
+ };
22833
+
22834
+
22835
+ /**
22836
+ * Clears the message field making it undefined.
22837
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22838
+ */
22839
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.clearRevisionId = function() {
22840
+ return this.setRevisionId(undefined);
22841
+ };
22842
+
22843
+
22844
+ /**
22845
+ * Returns whether this field is set.
22846
+ * @return {boolean}
22847
+ */
22848
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasRevisionId = function() {
22849
+ return jspb.Message.getField(this, 4) != null;
22850
+ };
22851
+
22852
+
22853
+ /**
22854
+ * optional google.protobuf.StringValue subsystem_id = 5;
22855
+ * @return {?proto.google.protobuf.StringValue}
22856
+ */
22857
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.getSubsystemId = function() {
22858
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22859
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
22860
+ };
22861
+
22862
+
22863
+ /**
22864
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22865
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22866
+ */
22867
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.setSubsystemId = function(value) {
22868
+ return jspb.Message.setWrapperField(this, 5, value);
22869
+ };
22870
+
22871
+
22872
+ /**
22873
+ * Clears the message field making it undefined.
22874
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22875
+ */
22876
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.clearSubsystemId = function() {
22877
+ return this.setSubsystemId(undefined);
22878
+ };
22879
+
22880
+
22881
+ /**
22882
+ * Returns whether this field is set.
22883
+ * @return {boolean}
22884
+ */
22885
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasSubsystemId = function() {
22886
+ return jspb.Message.getField(this, 5) != null;
22887
+ };
22888
+
22889
+
22890
+ /**
22891
+ * optional google.protobuf.StringValue subsystem_vendor_id = 6;
22892
+ * @return {?proto.google.protobuf.StringValue}
22893
+ */
22894
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.getSubsystemVendorId = function() {
22895
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22896
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
22897
+ };
22898
+
22899
+
22900
+ /**
22901
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22902
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22903
+ */
22904
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.setSubsystemVendorId = function(value) {
22905
+ return jspb.Message.setWrapperField(this, 6, value);
22906
+ };
22907
+
22908
+
22909
+ /**
22910
+ * Clears the message field making it undefined.
22911
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22912
+ */
22913
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.clearSubsystemVendorId = function() {
22914
+ return this.setSubsystemVendorId(undefined);
22915
+ };
22916
+
22917
+
22918
+ /**
22919
+ * Returns whether this field is set.
22920
+ * @return {boolean}
22921
+ */
22922
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasSubsystemVendorId = function() {
22923
+ return jspb.Message.getField(this, 6) != null;
22924
+ };
22925
+
22926
+
22927
+ /**
22928
+ * optional google.protobuf.StringValue vendor_id = 7;
22929
+ * @return {?proto.google.protobuf.StringValue}
22930
+ */
22931
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.getVendorId = function() {
22932
+ return /** @type{?proto.google.protobuf.StringValue} */ (
22933
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
22934
+ };
22935
+
22936
+
22937
+ /**
22938
+ * @param {?proto.google.protobuf.StringValue|undefined} value
22939
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22940
+ */
22941
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.setVendorId = function(value) {
22942
+ return jspb.Message.setWrapperField(this, 7, value);
22943
+ };
22944
+
22945
+
22946
+ /**
22947
+ * Clears the message field making it undefined.
22948
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.CardReader} returns this
22949
+ */
22950
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.clearVendorId = function() {
22951
+ return this.setVendorId(undefined);
22952
+ };
22953
+
22954
+
22955
+ /**
22956
+ * Returns whether this field is set.
22957
+ * @return {boolean}
22958
+ */
22959
+ proto.com.lansweeper.discovery.sensor.mac.v1.CardReader.prototype.hasVendorId = function() {
22960
+ return jspb.Message.getField(this, 7) != null;
22961
+ };
22962
+
22963
+
21846
22964
  goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.mac.v1);