@lansweeper/discovery-sensor-proto 2.28.0 → 2.29.1
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.
|
@@ -8478,9 +8478,12 @@ export namespace WindowsFirewallRules {
|
|
|
8478
8478
|
export class FirewallRule extends jspb.Message {
|
|
8479
8479
|
getVersion(): string;
|
|
8480
8480
|
setVersion(value: string): FirewallRule;
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
|
|
8481
|
+
getName(): string;
|
|
8482
|
+
setName(value: string): FirewallRule;
|
|
8483
|
+
clearPropertiesList(): void;
|
|
8484
|
+
getPropertiesList(): Array<FirewallRuleProperty>;
|
|
8485
|
+
setPropertiesList(value: Array<FirewallRuleProperty>): FirewallRule;
|
|
8486
|
+
addProperties(value?: FirewallRuleProperty, index?: number): FirewallRuleProperty;
|
|
8484
8487
|
|
|
8485
8488
|
serializeBinary(): Uint8Array;
|
|
8486
8489
|
toObject(includeInstance?: boolean): FirewallRule.AsObject;
|
|
@@ -8495,8 +8498,34 @@ export class FirewallRule extends jspb.Message {
|
|
|
8495
8498
|
export namespace FirewallRule {
|
|
8496
8499
|
export type AsObject = {
|
|
8497
8500
|
version: string,
|
|
8501
|
+
name: string,
|
|
8502
|
+
propertiesList: Array<FirewallRuleProperty.AsObject>,
|
|
8503
|
+
}
|
|
8504
|
+
}
|
|
8498
8505
|
|
|
8499
|
-
|
|
8506
|
+
export class FirewallRuleProperty extends jspb.Message {
|
|
8507
|
+
getKey(): string;
|
|
8508
|
+
setKey(value: string): FirewallRuleProperty;
|
|
8509
|
+
|
|
8510
|
+
hasValue(): boolean;
|
|
8511
|
+
clearValue(): void;
|
|
8512
|
+
getValue(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
8513
|
+
setValue(value?: google_protobuf_wrappers_pb.StringValue): FirewallRuleProperty;
|
|
8514
|
+
|
|
8515
|
+
serializeBinary(): Uint8Array;
|
|
8516
|
+
toObject(includeInstance?: boolean): FirewallRuleProperty.AsObject;
|
|
8517
|
+
static toObject(includeInstance: boolean, msg: FirewallRuleProperty): FirewallRuleProperty.AsObject;
|
|
8518
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
8519
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
8520
|
+
static serializeBinaryToWriter(message: FirewallRuleProperty, writer: jspb.BinaryWriter): void;
|
|
8521
|
+
static deserializeBinary(bytes: Uint8Array): FirewallRuleProperty;
|
|
8522
|
+
static deserializeBinaryFromReader(message: FirewallRuleProperty, reader: jspb.BinaryReader): FirewallRuleProperty;
|
|
8523
|
+
}
|
|
8524
|
+
|
|
8525
|
+
export namespace FirewallRuleProperty {
|
|
8526
|
+
export type AsObject = {
|
|
8527
|
+
key: string,
|
|
8528
|
+
value?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
8500
8529
|
}
|
|
8501
8530
|
}
|
|
8502
8531
|
|
|
@@ -50,6 +50,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DisplayContr
|
|
|
50
50
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.EncryptableVolume', null, global);
|
|
51
51
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Feature', null, global);
|
|
52
52
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule', null, global);
|
|
53
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty', null, global);
|
|
53
54
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Floppy', null, global);
|
|
54
55
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Group', null, global);
|
|
55
56
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.HardDisk', null, global);
|
|
@@ -4027,7 +4028,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4027
4028
|
* @constructor
|
|
4028
4029
|
*/
|
|
4029
4030
|
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule = function(opt_data) {
|
|
4030
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
4031
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.repeatedFields_, null);
|
|
4031
4032
|
};
|
|
4032
4033
|
goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule, jspb.Message);
|
|
4033
4034
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -4037,6 +4038,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4037
4038
|
*/
|
|
4038
4039
|
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule';
|
|
4039
4040
|
}
|
|
4041
|
+
/**
|
|
4042
|
+
* Generated by JsPbCodeGenerator.
|
|
4043
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4044
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4045
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4046
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4047
|
+
* valid.
|
|
4048
|
+
* @extends {jspb.Message}
|
|
4049
|
+
* @constructor
|
|
4050
|
+
*/
|
|
4051
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty = function(opt_data) {
|
|
4052
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4053
|
+
};
|
|
4054
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty, jspb.Message);
|
|
4055
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4056
|
+
/**
|
|
4057
|
+
* @public
|
|
4058
|
+
* @override
|
|
4059
|
+
*/
|
|
4060
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty';
|
|
4061
|
+
}
|
|
4040
4062
|
|
|
4041
4063
|
|
|
4042
4064
|
|
|
@@ -70083,6 +70105,13 @@ proto.com.lansweeper.discovery.sensor.windows.v1.WindowsFirewallRules.prototype.
|
|
|
70083
70105
|
|
|
70084
70106
|
|
|
70085
70107
|
|
|
70108
|
+
/**
|
|
70109
|
+
* List of repeated fields within this message type.
|
|
70110
|
+
* @private {!Array<number>}
|
|
70111
|
+
* @const
|
|
70112
|
+
*/
|
|
70113
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.repeatedFields_ = [3];
|
|
70114
|
+
|
|
70086
70115
|
|
|
70087
70116
|
|
|
70088
70117
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -70115,7 +70144,9 @@ proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.prototype.toObject
|
|
|
70115
70144
|
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.toObject = function(includeInstance, msg) {
|
|
70116
70145
|
var f, obj = {
|
|
70117
70146
|
version: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
70118
|
-
|
|
70147
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
70148
|
+
propertiesList: jspb.Message.toObjectList(msg.getPropertiesList(),
|
|
70149
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.toObject, includeInstance)
|
|
70119
70150
|
};
|
|
70120
70151
|
|
|
70121
70152
|
if (includeInstance) {
|
|
@@ -70157,10 +70188,13 @@ proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.deserializeBinaryF
|
|
|
70157
70188
|
msg.setVersion(value);
|
|
70158
70189
|
break;
|
|
70159
70190
|
case 2:
|
|
70160
|
-
var value =
|
|
70161
|
-
|
|
70162
|
-
|
|
70163
|
-
|
|
70191
|
+
var value = /** @type {string} */ (reader.readString());
|
|
70192
|
+
msg.setName(value);
|
|
70193
|
+
break;
|
|
70194
|
+
case 3:
|
|
70195
|
+
var value = new proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty;
|
|
70196
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.deserializeBinaryFromReader);
|
|
70197
|
+
msg.addProperties(value);
|
|
70164
70198
|
break;
|
|
70165
70199
|
default:
|
|
70166
70200
|
reader.skipField();
|
|
@@ -70198,9 +70232,20 @@ proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.serializeBinaryToW
|
|
|
70198
70232
|
f
|
|
70199
70233
|
);
|
|
70200
70234
|
}
|
|
70201
|
-
f = message.
|
|
70202
|
-
if (f
|
|
70203
|
-
|
|
70235
|
+
f = message.getName();
|
|
70236
|
+
if (f.length > 0) {
|
|
70237
|
+
writer.writeString(
|
|
70238
|
+
2,
|
|
70239
|
+
f
|
|
70240
|
+
);
|
|
70241
|
+
}
|
|
70242
|
+
f = message.getPropertiesList();
|
|
70243
|
+
if (f.length > 0) {
|
|
70244
|
+
writer.writeRepeatedMessage(
|
|
70245
|
+
3,
|
|
70246
|
+
f,
|
|
70247
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.serializeBinaryToWriter
|
|
70248
|
+
);
|
|
70204
70249
|
}
|
|
70205
70250
|
};
|
|
70206
70251
|
|
|
@@ -70224,25 +70269,240 @@ proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.prototype.setVersi
|
|
|
70224
70269
|
|
|
70225
70270
|
|
|
70226
70271
|
/**
|
|
70227
|
-
*
|
|
70228
|
-
* @
|
|
70229
|
-
* empty, instead returning `undefined`
|
|
70230
|
-
* @return {!jspb.Map<string,string>}
|
|
70272
|
+
* optional string name = 2;
|
|
70273
|
+
* @return {string}
|
|
70231
70274
|
*/
|
|
70232
|
-
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.prototype.
|
|
70233
|
-
return /** @type {
|
|
70234
|
-
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
70235
|
-
null));
|
|
70275
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.prototype.getName = function() {
|
|
70276
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
70236
70277
|
};
|
|
70237
70278
|
|
|
70238
70279
|
|
|
70239
70280
|
/**
|
|
70240
|
-
*
|
|
70281
|
+
* @param {string} value
|
|
70241
70282
|
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule} returns this
|
|
70242
70283
|
*/
|
|
70243
|
-
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.prototype.
|
|
70244
|
-
|
|
70245
|
-
|
|
70284
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.prototype.setName = function(value) {
|
|
70285
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
70286
|
+
};
|
|
70287
|
+
|
|
70288
|
+
|
|
70289
|
+
/**
|
|
70290
|
+
* repeated FirewallRuleProperty properties = 3;
|
|
70291
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty>}
|
|
70292
|
+
*/
|
|
70293
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.prototype.getPropertiesList = function() {
|
|
70294
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty>} */ (
|
|
70295
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty, 3));
|
|
70296
|
+
};
|
|
70297
|
+
|
|
70298
|
+
|
|
70299
|
+
/**
|
|
70300
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty>} value
|
|
70301
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule} returns this
|
|
70302
|
+
*/
|
|
70303
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.prototype.setPropertiesList = function(value) {
|
|
70304
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
70305
|
+
};
|
|
70306
|
+
|
|
70307
|
+
|
|
70308
|
+
/**
|
|
70309
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty=} opt_value
|
|
70310
|
+
* @param {number=} opt_index
|
|
70311
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty}
|
|
70312
|
+
*/
|
|
70313
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.prototype.addProperties = function(opt_value, opt_index) {
|
|
70314
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty, opt_index);
|
|
70315
|
+
};
|
|
70316
|
+
|
|
70317
|
+
|
|
70318
|
+
/**
|
|
70319
|
+
* Clears the list making it empty but non-null.
|
|
70320
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule} returns this
|
|
70321
|
+
*/
|
|
70322
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule.prototype.clearPropertiesList = function() {
|
|
70323
|
+
return this.setPropertiesList([]);
|
|
70324
|
+
};
|
|
70325
|
+
|
|
70326
|
+
|
|
70327
|
+
|
|
70328
|
+
|
|
70329
|
+
|
|
70330
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
70331
|
+
/**
|
|
70332
|
+
* Creates an object representation of this proto.
|
|
70333
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
70334
|
+
* Optional fields that are not set will be set to undefined.
|
|
70335
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
70336
|
+
* For the list of reserved names please see:
|
|
70337
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
70338
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
70339
|
+
* JSPB instance for transitional soy proto support:
|
|
70340
|
+
* http://goto/soy-param-migration
|
|
70341
|
+
* @return {!Object}
|
|
70342
|
+
*/
|
|
70343
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.prototype.toObject = function(opt_includeInstance) {
|
|
70344
|
+
return proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.toObject(opt_includeInstance, this);
|
|
70345
|
+
};
|
|
70346
|
+
|
|
70347
|
+
|
|
70348
|
+
/**
|
|
70349
|
+
* Static version of the {@see toObject} method.
|
|
70350
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
70351
|
+
* the JSPB instance for transitional soy proto support:
|
|
70352
|
+
* http://goto/soy-param-migration
|
|
70353
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty} msg The msg instance to transform.
|
|
70354
|
+
* @return {!Object}
|
|
70355
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70356
|
+
*/
|
|
70357
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.toObject = function(includeInstance, msg) {
|
|
70358
|
+
var f, obj = {
|
|
70359
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
70360
|
+
value: (f = msg.getValue()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
70361
|
+
};
|
|
70362
|
+
|
|
70363
|
+
if (includeInstance) {
|
|
70364
|
+
obj.$jspbMessageInstance = msg;
|
|
70365
|
+
}
|
|
70366
|
+
return obj;
|
|
70367
|
+
};
|
|
70368
|
+
}
|
|
70369
|
+
|
|
70370
|
+
|
|
70371
|
+
/**
|
|
70372
|
+
* Deserializes binary data (in protobuf wire format).
|
|
70373
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
70374
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty}
|
|
70375
|
+
*/
|
|
70376
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.deserializeBinary = function(bytes) {
|
|
70377
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
70378
|
+
var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty;
|
|
70379
|
+
return proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.deserializeBinaryFromReader(msg, reader);
|
|
70380
|
+
};
|
|
70381
|
+
|
|
70382
|
+
|
|
70383
|
+
/**
|
|
70384
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
70385
|
+
* given reader into the given message object.
|
|
70386
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty} msg The message object to deserialize into.
|
|
70387
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
70388
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty}
|
|
70389
|
+
*/
|
|
70390
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.deserializeBinaryFromReader = function(msg, reader) {
|
|
70391
|
+
while (reader.nextField()) {
|
|
70392
|
+
if (reader.isEndGroup()) {
|
|
70393
|
+
break;
|
|
70394
|
+
}
|
|
70395
|
+
var field = reader.getFieldNumber();
|
|
70396
|
+
switch (field) {
|
|
70397
|
+
case 1:
|
|
70398
|
+
var value = /** @type {string} */ (reader.readString());
|
|
70399
|
+
msg.setKey(value);
|
|
70400
|
+
break;
|
|
70401
|
+
case 2:
|
|
70402
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
70403
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
70404
|
+
msg.setValue(value);
|
|
70405
|
+
break;
|
|
70406
|
+
default:
|
|
70407
|
+
reader.skipField();
|
|
70408
|
+
break;
|
|
70409
|
+
}
|
|
70410
|
+
}
|
|
70411
|
+
return msg;
|
|
70412
|
+
};
|
|
70413
|
+
|
|
70414
|
+
|
|
70415
|
+
/**
|
|
70416
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
70417
|
+
* @return {!Uint8Array}
|
|
70418
|
+
*/
|
|
70419
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.prototype.serializeBinary = function() {
|
|
70420
|
+
var writer = new jspb.BinaryWriter();
|
|
70421
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.serializeBinaryToWriter(this, writer);
|
|
70422
|
+
return writer.getResultBuffer();
|
|
70423
|
+
};
|
|
70424
|
+
|
|
70425
|
+
|
|
70426
|
+
/**
|
|
70427
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
70428
|
+
* format), writing to the given BinaryWriter.
|
|
70429
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty} message
|
|
70430
|
+
* @param {!jspb.BinaryWriter} writer
|
|
70431
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70432
|
+
*/
|
|
70433
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.serializeBinaryToWriter = function(message, writer) {
|
|
70434
|
+
var f = undefined;
|
|
70435
|
+
f = message.getKey();
|
|
70436
|
+
if (f.length > 0) {
|
|
70437
|
+
writer.writeString(
|
|
70438
|
+
1,
|
|
70439
|
+
f
|
|
70440
|
+
);
|
|
70441
|
+
}
|
|
70442
|
+
f = message.getValue();
|
|
70443
|
+
if (f != null) {
|
|
70444
|
+
writer.writeMessage(
|
|
70445
|
+
2,
|
|
70446
|
+
f,
|
|
70447
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
70448
|
+
);
|
|
70449
|
+
}
|
|
70450
|
+
};
|
|
70451
|
+
|
|
70452
|
+
|
|
70453
|
+
/**
|
|
70454
|
+
* optional string key = 1;
|
|
70455
|
+
* @return {string}
|
|
70456
|
+
*/
|
|
70457
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.prototype.getKey = function() {
|
|
70458
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
70459
|
+
};
|
|
70460
|
+
|
|
70461
|
+
|
|
70462
|
+
/**
|
|
70463
|
+
* @param {string} value
|
|
70464
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty} returns this
|
|
70465
|
+
*/
|
|
70466
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.prototype.setKey = function(value) {
|
|
70467
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
70468
|
+
};
|
|
70469
|
+
|
|
70470
|
+
|
|
70471
|
+
/**
|
|
70472
|
+
* optional google.protobuf.StringValue value = 2;
|
|
70473
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
70474
|
+
*/
|
|
70475
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.prototype.getValue = function() {
|
|
70476
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
70477
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
|
|
70478
|
+
};
|
|
70479
|
+
|
|
70480
|
+
|
|
70481
|
+
/**
|
|
70482
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
70483
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty} returns this
|
|
70484
|
+
*/
|
|
70485
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.prototype.setValue = function(value) {
|
|
70486
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
70487
|
+
};
|
|
70488
|
+
|
|
70489
|
+
|
|
70490
|
+
/**
|
|
70491
|
+
* Clears the message field making it undefined.
|
|
70492
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty} returns this
|
|
70493
|
+
*/
|
|
70494
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.prototype.clearValue = function() {
|
|
70495
|
+
return this.setValue(undefined);
|
|
70496
|
+
};
|
|
70497
|
+
|
|
70498
|
+
|
|
70499
|
+
/**
|
|
70500
|
+
* Returns whether this field is set.
|
|
70501
|
+
* @return {boolean}
|
|
70502
|
+
*/
|
|
70503
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty.prototype.hasValue = function() {
|
|
70504
|
+
return jspb.Message.getField(this, 2) != null;
|
|
70505
|
+
};
|
|
70246
70506
|
|
|
70247
70507
|
|
|
70248
70508
|
/**
|