@lansweeper/discovery-sensor-proto 2.24.0 → 2.25.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.
@@ -1906,8 +1906,8 @@ export class DiscBurning extends jspb.Message {
1906
1906
 
1907
1907
  hasDeviceMedia(): boolean;
1908
1908
  clearDeviceMedia(): void;
1909
- getDeviceMedia(): google_protobuf_wrappers_pb.StringValue | undefined;
1910
- setDeviceMedia(value?: google_protobuf_wrappers_pb.StringValue): DiscBurning;
1909
+ getDeviceMedia(): DeviceMedia | undefined;
1910
+ setDeviceMedia(value?: DeviceMedia): DiscBurning;
1911
1911
 
1912
1912
  hasDeviceReadDvd(): boolean;
1913
1913
  clearDeviceReadDvd(): void;
@@ -1947,10 +1947,63 @@ export namespace DiscBurning {
1947
1947
  deviceCache?: google_protobuf_wrappers_pb.StringValue.AsObject,
1948
1948
  deviceCdWrite?: google_protobuf_wrappers_pb.StringValue.AsObject,
1949
1949
  deviceDvdWrite?: google_protobuf_wrappers_pb.StringValue.AsObject,
1950
- deviceMedia?: google_protobuf_wrappers_pb.StringValue.AsObject,
1950
+ deviceMedia?: DeviceMedia.AsObject,
1951
1951
  deviceReadDvd?: google_protobuf_wrappers_pb.StringValue.AsObject,
1952
1952
  deviceStrategies?: google_protobuf_wrappers_pb.StringValue.AsObject,
1953
1953
  firmware?: google_protobuf_wrappers_pb.StringValue.AsObject,
1954
1954
  interconnect?: google_protobuf_wrappers_pb.StringValue.AsObject,
1955
1955
  }
1956
1956
  }
1957
+
1958
+ export class DeviceMedia extends jspb.Message {
1959
+
1960
+ hasMediaAppendable(): boolean;
1961
+ clearMediaAppendable(): void;
1962
+ getMediaAppendable(): google_protobuf_wrappers_pb.StringValue | undefined;
1963
+ setMediaAppendable(value?: google_protobuf_wrappers_pb.StringValue): DeviceMedia;
1964
+
1965
+ hasMediaBlank(): boolean;
1966
+ clearMediaBlank(): void;
1967
+ getMediaBlank(): google_protobuf_wrappers_pb.StringValue | undefined;
1968
+ setMediaBlank(value?: google_protobuf_wrappers_pb.StringValue): DeviceMedia;
1969
+
1970
+ hasMediaErasable(): boolean;
1971
+ clearMediaErasable(): void;
1972
+ getMediaErasable(): google_protobuf_wrappers_pb.StringValue | undefined;
1973
+ setMediaErasable(value?: google_protobuf_wrappers_pb.StringValue): DeviceMedia;
1974
+
1975
+ hasMediaOverwritable(): boolean;
1976
+ clearMediaOverwritable(): void;
1977
+ getMediaOverwritable(): google_protobuf_wrappers_pb.StringValue | undefined;
1978
+ setMediaOverwritable(value?: google_protobuf_wrappers_pb.StringValue): DeviceMedia;
1979
+
1980
+ hasMediaType(): boolean;
1981
+ clearMediaType(): void;
1982
+ getMediaType(): google_protobuf_wrappers_pb.StringValue | undefined;
1983
+ setMediaType(value?: google_protobuf_wrappers_pb.StringValue): DeviceMedia;
1984
+
1985
+ hasMediaWritespeeds(): boolean;
1986
+ clearMediaWritespeeds(): void;
1987
+ getMediaWritespeeds(): google_protobuf_wrappers_pb.StringValue | undefined;
1988
+ setMediaWritespeeds(value?: google_protobuf_wrappers_pb.StringValue): DeviceMedia;
1989
+
1990
+ serializeBinary(): Uint8Array;
1991
+ toObject(includeInstance?: boolean): DeviceMedia.AsObject;
1992
+ static toObject(includeInstance: boolean, msg: DeviceMedia): DeviceMedia.AsObject;
1993
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
1994
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
1995
+ static serializeBinaryToWriter(message: DeviceMedia, writer: jspb.BinaryWriter): void;
1996
+ static deserializeBinary(bytes: Uint8Array): DeviceMedia;
1997
+ static deserializeBinaryFromReader(message: DeviceMedia, reader: jspb.BinaryReader): DeviceMedia;
1998
+ }
1999
+
2000
+ export namespace DeviceMedia {
2001
+ export type AsObject = {
2002
+ mediaAppendable?: google_protobuf_wrappers_pb.StringValue.AsObject,
2003
+ mediaBlank?: google_protobuf_wrappers_pb.StringValue.AsObject,
2004
+ mediaErasable?: google_protobuf_wrappers_pb.StringValue.AsObject,
2005
+ mediaOverwritable?: google_protobuf_wrappers_pb.StringValue.AsObject,
2006
+ mediaType?: google_protobuf_wrappers_pb.StringValue.AsObject,
2007
+ mediaWritespeeds?: google_protobuf_wrappers_pb.StringValue.AsObject,
2008
+ }
2009
+ }
@@ -23,6 +23,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryHealthInf
23
23
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryModelInfo', null, global);
24
24
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryPower', null, global);
25
25
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth', null, global);
26
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia', null, global);
26
27
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning', null, global);
27
28
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Display', null, global);
28
29
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Firewire', null, global);
@@ -853,6 +854,27 @@ if (goog.DEBUG && !COMPILED) {
853
854
  */
854
855
  proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning';
855
856
  }
857
+ /**
858
+ * Generated by JsPbCodeGenerator.
859
+ * @param {Array=} opt_data Optional initial data array, typically from a
860
+ * server response, or constructed directly in Javascript. The array is used
861
+ * in place and becomes part of the constructed object. It is not cloned.
862
+ * If no data is provided, the constructed object will be empty, but still
863
+ * valid.
864
+ * @extends {jspb.Message}
865
+ * @constructor
866
+ */
867
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia = function(opt_data) {
868
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
869
+ };
870
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia, jspb.Message);
871
+ if (goog.DEBUG && !COMPILED) {
872
+ /**
873
+ * @public
874
+ * @override
875
+ */
876
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia';
877
+ }
856
878
 
857
879
  /**
858
880
  * List of repeated fields within this message type.
@@ -15412,7 +15434,7 @@ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.toObject = function(inc
15412
15434
  deviceCache: (f = msg.getDeviceCache()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15413
15435
  deviceCdWrite: (f = msg.getDeviceCdWrite()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15414
15436
  deviceDvdWrite: (f = msg.getDeviceDvdWrite()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15415
- deviceMedia: (f = msg.getDeviceMedia()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15437
+ deviceMedia: (f = msg.getDeviceMedia()) && proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.toObject(includeInstance, f),
15416
15438
  deviceReadDvd: (f = msg.getDeviceReadDvd()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15417
15439
  deviceStrategies: (f = msg.getDeviceStrategies()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15418
15440
  firmware: (f = msg.getFirmware()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
@@ -15484,8 +15506,8 @@ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.deserializeBinaryFromRe
15484
15506
  msg.setDeviceDvdWrite(value);
15485
15507
  break;
15486
15508
  case 7:
15487
- var value = new google_protobuf_wrappers_pb.StringValue;
15488
- reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
15509
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia;
15510
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.deserializeBinaryFromReader);
15489
15511
  msg.setDeviceMedia(value);
15490
15512
  break;
15491
15513
  case 8:
@@ -15590,7 +15612,7 @@ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.serializeBinaryToWriter
15590
15612
  writer.writeMessage(
15591
15613
  7,
15592
15614
  f,
15593
- google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
15615
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.serializeBinaryToWriter
15594
15616
  );
15595
15617
  }
15596
15618
  f = message.getDeviceReadDvd();
@@ -15851,17 +15873,17 @@ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.hasDeviceDvdW
15851
15873
 
15852
15874
 
15853
15875
  /**
15854
- * optional google.protobuf.StringValue device_media = 7;
15855
- * @return {?proto.google.protobuf.StringValue}
15876
+ * optional DeviceMedia device_media = 7;
15877
+ * @return {?proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia}
15856
15878
  */
15857
15879
  proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.getDeviceMedia = function() {
15858
- return /** @type{?proto.google.protobuf.StringValue} */ (
15859
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
15880
+ return /** @type{?proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} */ (
15881
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia, 7));
15860
15882
  };
15861
15883
 
15862
15884
 
15863
15885
  /**
15864
- * @param {?proto.google.protobuf.StringValue|undefined} value
15886
+ * @param {?proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia|undefined} value
15865
15887
  * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15866
15888
  */
15867
15889
  proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.setDeviceMedia = function(value) {
@@ -16035,4 +16057,410 @@ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.hasInterconne
16035
16057
  };
16036
16058
 
16037
16059
 
16060
+
16061
+
16062
+
16063
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16064
+ /**
16065
+ * Creates an object representation of this proto.
16066
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16067
+ * Optional fields that are not set will be set to undefined.
16068
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16069
+ * For the list of reserved names please see:
16070
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16071
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16072
+ * JSPB instance for transitional soy proto support:
16073
+ * http://goto/soy-param-migration
16074
+ * @return {!Object}
16075
+ */
16076
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.toObject = function(opt_includeInstance) {
16077
+ return proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.toObject(opt_includeInstance, this);
16078
+ };
16079
+
16080
+
16081
+ /**
16082
+ * Static version of the {@see toObject} method.
16083
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16084
+ * the JSPB instance for transitional soy proto support:
16085
+ * http://goto/soy-param-migration
16086
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} msg The msg instance to transform.
16087
+ * @return {!Object}
16088
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16089
+ */
16090
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.toObject = function(includeInstance, msg) {
16091
+ var f, obj = {
16092
+ mediaAppendable: (f = msg.getMediaAppendable()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
16093
+ mediaBlank: (f = msg.getMediaBlank()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
16094
+ mediaErasable: (f = msg.getMediaErasable()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
16095
+ mediaOverwritable: (f = msg.getMediaOverwritable()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
16096
+ mediaType: (f = msg.getMediaType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
16097
+ mediaWritespeeds: (f = msg.getMediaWritespeeds()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
16098
+ };
16099
+
16100
+ if (includeInstance) {
16101
+ obj.$jspbMessageInstance = msg;
16102
+ }
16103
+ return obj;
16104
+ };
16105
+ }
16106
+
16107
+
16108
+ /**
16109
+ * Deserializes binary data (in protobuf wire format).
16110
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16111
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia}
16112
+ */
16113
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.deserializeBinary = function(bytes) {
16114
+ var reader = new jspb.BinaryReader(bytes);
16115
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia;
16116
+ return proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.deserializeBinaryFromReader(msg, reader);
16117
+ };
16118
+
16119
+
16120
+ /**
16121
+ * Deserializes binary data (in protobuf wire format) from the
16122
+ * given reader into the given message object.
16123
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} msg The message object to deserialize into.
16124
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16125
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia}
16126
+ */
16127
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.deserializeBinaryFromReader = function(msg, reader) {
16128
+ while (reader.nextField()) {
16129
+ if (reader.isEndGroup()) {
16130
+ break;
16131
+ }
16132
+ var field = reader.getFieldNumber();
16133
+ switch (field) {
16134
+ case 1:
16135
+ var value = new google_protobuf_wrappers_pb.StringValue;
16136
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
16137
+ msg.setMediaAppendable(value);
16138
+ break;
16139
+ case 2:
16140
+ var value = new google_protobuf_wrappers_pb.StringValue;
16141
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
16142
+ msg.setMediaBlank(value);
16143
+ break;
16144
+ case 3:
16145
+ var value = new google_protobuf_wrappers_pb.StringValue;
16146
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
16147
+ msg.setMediaErasable(value);
16148
+ break;
16149
+ case 4:
16150
+ var value = new google_protobuf_wrappers_pb.StringValue;
16151
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
16152
+ msg.setMediaOverwritable(value);
16153
+ break;
16154
+ case 5:
16155
+ var value = new google_protobuf_wrappers_pb.StringValue;
16156
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
16157
+ msg.setMediaType(value);
16158
+ break;
16159
+ case 6:
16160
+ var value = new google_protobuf_wrappers_pb.StringValue;
16161
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
16162
+ msg.setMediaWritespeeds(value);
16163
+ break;
16164
+ default:
16165
+ reader.skipField();
16166
+ break;
16167
+ }
16168
+ }
16169
+ return msg;
16170
+ };
16171
+
16172
+
16173
+ /**
16174
+ * Serializes the message to binary data (in protobuf wire format).
16175
+ * @return {!Uint8Array}
16176
+ */
16177
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.serializeBinary = function() {
16178
+ var writer = new jspb.BinaryWriter();
16179
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.serializeBinaryToWriter(this, writer);
16180
+ return writer.getResultBuffer();
16181
+ };
16182
+
16183
+
16184
+ /**
16185
+ * Serializes the given message to binary data (in protobuf wire
16186
+ * format), writing to the given BinaryWriter.
16187
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} message
16188
+ * @param {!jspb.BinaryWriter} writer
16189
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16190
+ */
16191
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.serializeBinaryToWriter = function(message, writer) {
16192
+ var f = undefined;
16193
+ f = message.getMediaAppendable();
16194
+ if (f != null) {
16195
+ writer.writeMessage(
16196
+ 1,
16197
+ f,
16198
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
16199
+ );
16200
+ }
16201
+ f = message.getMediaBlank();
16202
+ if (f != null) {
16203
+ writer.writeMessage(
16204
+ 2,
16205
+ f,
16206
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
16207
+ );
16208
+ }
16209
+ f = message.getMediaErasable();
16210
+ if (f != null) {
16211
+ writer.writeMessage(
16212
+ 3,
16213
+ f,
16214
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
16215
+ );
16216
+ }
16217
+ f = message.getMediaOverwritable();
16218
+ if (f != null) {
16219
+ writer.writeMessage(
16220
+ 4,
16221
+ f,
16222
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
16223
+ );
16224
+ }
16225
+ f = message.getMediaType();
16226
+ if (f != null) {
16227
+ writer.writeMessage(
16228
+ 5,
16229
+ f,
16230
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
16231
+ );
16232
+ }
16233
+ f = message.getMediaWritespeeds();
16234
+ if (f != null) {
16235
+ writer.writeMessage(
16236
+ 6,
16237
+ f,
16238
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
16239
+ );
16240
+ }
16241
+ };
16242
+
16243
+
16244
+ /**
16245
+ * optional google.protobuf.StringValue media_appendable = 1;
16246
+ * @return {?proto.google.protobuf.StringValue}
16247
+ */
16248
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.getMediaAppendable = function() {
16249
+ return /** @type{?proto.google.protobuf.StringValue} */ (
16250
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
16251
+ };
16252
+
16253
+
16254
+ /**
16255
+ * @param {?proto.google.protobuf.StringValue|undefined} value
16256
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} returns this
16257
+ */
16258
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.setMediaAppendable = function(value) {
16259
+ return jspb.Message.setWrapperField(this, 1, value);
16260
+ };
16261
+
16262
+
16263
+ /**
16264
+ * Clears the message field making it undefined.
16265
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} returns this
16266
+ */
16267
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.clearMediaAppendable = function() {
16268
+ return this.setMediaAppendable(undefined);
16269
+ };
16270
+
16271
+
16272
+ /**
16273
+ * Returns whether this field is set.
16274
+ * @return {boolean}
16275
+ */
16276
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.hasMediaAppendable = function() {
16277
+ return jspb.Message.getField(this, 1) != null;
16278
+ };
16279
+
16280
+
16281
+ /**
16282
+ * optional google.protobuf.StringValue media_blank = 2;
16283
+ * @return {?proto.google.protobuf.StringValue}
16284
+ */
16285
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.getMediaBlank = function() {
16286
+ return /** @type{?proto.google.protobuf.StringValue} */ (
16287
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
16288
+ };
16289
+
16290
+
16291
+ /**
16292
+ * @param {?proto.google.protobuf.StringValue|undefined} value
16293
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} returns this
16294
+ */
16295
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.setMediaBlank = function(value) {
16296
+ return jspb.Message.setWrapperField(this, 2, value);
16297
+ };
16298
+
16299
+
16300
+ /**
16301
+ * Clears the message field making it undefined.
16302
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} returns this
16303
+ */
16304
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.clearMediaBlank = function() {
16305
+ return this.setMediaBlank(undefined);
16306
+ };
16307
+
16308
+
16309
+ /**
16310
+ * Returns whether this field is set.
16311
+ * @return {boolean}
16312
+ */
16313
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.hasMediaBlank = function() {
16314
+ return jspb.Message.getField(this, 2) != null;
16315
+ };
16316
+
16317
+
16318
+ /**
16319
+ * optional google.protobuf.StringValue media_erasable = 3;
16320
+ * @return {?proto.google.protobuf.StringValue}
16321
+ */
16322
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.getMediaErasable = function() {
16323
+ return /** @type{?proto.google.protobuf.StringValue} */ (
16324
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
16325
+ };
16326
+
16327
+
16328
+ /**
16329
+ * @param {?proto.google.protobuf.StringValue|undefined} value
16330
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} returns this
16331
+ */
16332
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.setMediaErasable = function(value) {
16333
+ return jspb.Message.setWrapperField(this, 3, value);
16334
+ };
16335
+
16336
+
16337
+ /**
16338
+ * Clears the message field making it undefined.
16339
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} returns this
16340
+ */
16341
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.clearMediaErasable = function() {
16342
+ return this.setMediaErasable(undefined);
16343
+ };
16344
+
16345
+
16346
+ /**
16347
+ * Returns whether this field is set.
16348
+ * @return {boolean}
16349
+ */
16350
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.hasMediaErasable = function() {
16351
+ return jspb.Message.getField(this, 3) != null;
16352
+ };
16353
+
16354
+
16355
+ /**
16356
+ * optional google.protobuf.StringValue media_overwritable = 4;
16357
+ * @return {?proto.google.protobuf.StringValue}
16358
+ */
16359
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.getMediaOverwritable = function() {
16360
+ return /** @type{?proto.google.protobuf.StringValue} */ (
16361
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
16362
+ };
16363
+
16364
+
16365
+ /**
16366
+ * @param {?proto.google.protobuf.StringValue|undefined} value
16367
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} returns this
16368
+ */
16369
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.setMediaOverwritable = function(value) {
16370
+ return jspb.Message.setWrapperField(this, 4, value);
16371
+ };
16372
+
16373
+
16374
+ /**
16375
+ * Clears the message field making it undefined.
16376
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} returns this
16377
+ */
16378
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.clearMediaOverwritable = function() {
16379
+ return this.setMediaOverwritable(undefined);
16380
+ };
16381
+
16382
+
16383
+ /**
16384
+ * Returns whether this field is set.
16385
+ * @return {boolean}
16386
+ */
16387
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.hasMediaOverwritable = function() {
16388
+ return jspb.Message.getField(this, 4) != null;
16389
+ };
16390
+
16391
+
16392
+ /**
16393
+ * optional google.protobuf.StringValue media_type = 5;
16394
+ * @return {?proto.google.protobuf.StringValue}
16395
+ */
16396
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.getMediaType = function() {
16397
+ return /** @type{?proto.google.protobuf.StringValue} */ (
16398
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
16399
+ };
16400
+
16401
+
16402
+ /**
16403
+ * @param {?proto.google.protobuf.StringValue|undefined} value
16404
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} returns this
16405
+ */
16406
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.setMediaType = function(value) {
16407
+ return jspb.Message.setWrapperField(this, 5, value);
16408
+ };
16409
+
16410
+
16411
+ /**
16412
+ * Clears the message field making it undefined.
16413
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} returns this
16414
+ */
16415
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.clearMediaType = function() {
16416
+ return this.setMediaType(undefined);
16417
+ };
16418
+
16419
+
16420
+ /**
16421
+ * Returns whether this field is set.
16422
+ * @return {boolean}
16423
+ */
16424
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.hasMediaType = function() {
16425
+ return jspb.Message.getField(this, 5) != null;
16426
+ };
16427
+
16428
+
16429
+ /**
16430
+ * optional google.protobuf.StringValue media_writespeeds = 6;
16431
+ * @return {?proto.google.protobuf.StringValue}
16432
+ */
16433
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.getMediaWritespeeds = function() {
16434
+ return /** @type{?proto.google.protobuf.StringValue} */ (
16435
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
16436
+ };
16437
+
16438
+
16439
+ /**
16440
+ * @param {?proto.google.protobuf.StringValue|undefined} value
16441
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} returns this
16442
+ */
16443
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.setMediaWritespeeds = function(value) {
16444
+ return jspb.Message.setWrapperField(this, 6, value);
16445
+ };
16446
+
16447
+
16448
+ /**
16449
+ * Clears the message field making it undefined.
16450
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia} returns this
16451
+ */
16452
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.clearMediaWritespeeds = function() {
16453
+ return this.setMediaWritespeeds(undefined);
16454
+ };
16455
+
16456
+
16457
+ /**
16458
+ * Returns whether this field is set.
16459
+ * @return {boolean}
16460
+ */
16461
+ proto.com.lansweeper.discovery.sensor.mac.v1.DeviceMedia.prototype.hasMediaWritespeeds = function() {
16462
+ return jspb.Message.getField(this, 6) != null;
16463
+ };
16464
+
16465
+
16038
16466
  goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.mac.v1);