@lansweeper/discovery-sensor-proto 2.35.1 → 2.35.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6797,6 +6797,75 @@ export namespace Codec {
|
|
|
6797
6797
|
}
|
|
6798
6798
|
}
|
|
6799
6799
|
|
|
6800
|
+
export class WindowsEnvironment extends jspb.Message {
|
|
6801
|
+
clearEntriesList(): void;
|
|
6802
|
+
getEntriesList(): Array<Environment>;
|
|
6803
|
+
setEntriesList(value: Array<Environment>): WindowsEnvironment;
|
|
6804
|
+
addEntries(value?: Environment, index?: number): Environment;
|
|
6805
|
+
|
|
6806
|
+
serializeBinary(): Uint8Array;
|
|
6807
|
+
toObject(includeInstance?: boolean): WindowsEnvironment.AsObject;
|
|
6808
|
+
static toObject(includeInstance: boolean, msg: WindowsEnvironment): WindowsEnvironment.AsObject;
|
|
6809
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
6810
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
6811
|
+
static serializeBinaryToWriter(message: WindowsEnvironment, writer: jspb.BinaryWriter): void;
|
|
6812
|
+
static deserializeBinary(bytes: Uint8Array): WindowsEnvironment;
|
|
6813
|
+
static deserializeBinaryFromReader(message: WindowsEnvironment, reader: jspb.BinaryReader): WindowsEnvironment;
|
|
6814
|
+
}
|
|
6815
|
+
|
|
6816
|
+
export namespace WindowsEnvironment {
|
|
6817
|
+
export type AsObject = {
|
|
6818
|
+
entriesList: Array<Environment.AsObject>,
|
|
6819
|
+
}
|
|
6820
|
+
}
|
|
6821
|
+
|
|
6822
|
+
export class Environment extends jspb.Message {
|
|
6823
|
+
|
|
6824
|
+
hasCaption(): boolean;
|
|
6825
|
+
clearCaption(): void;
|
|
6826
|
+
getCaption(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
6827
|
+
setCaption(value?: google_protobuf_wrappers_pb.StringValue): Environment;
|
|
6828
|
+
|
|
6829
|
+
hasName(): boolean;
|
|
6830
|
+
clearName(): void;
|
|
6831
|
+
getName(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
6832
|
+
setName(value?: google_protobuf_wrappers_pb.StringValue): Environment;
|
|
6833
|
+
|
|
6834
|
+
hasSystemVariable(): boolean;
|
|
6835
|
+
clearSystemVariable(): void;
|
|
6836
|
+
getSystemVariable(): google_protobuf_wrappers_pb.BoolValue | undefined;
|
|
6837
|
+
setSystemVariable(value?: google_protobuf_wrappers_pb.BoolValue): Environment;
|
|
6838
|
+
|
|
6839
|
+
hasUserName(): boolean;
|
|
6840
|
+
clearUserName(): void;
|
|
6841
|
+
getUserName(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
6842
|
+
setUserName(value?: google_protobuf_wrappers_pb.StringValue): Environment;
|
|
6843
|
+
|
|
6844
|
+
hasVariableValue(): boolean;
|
|
6845
|
+
clearVariableValue(): void;
|
|
6846
|
+
getVariableValue(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
6847
|
+
setVariableValue(value?: google_protobuf_wrappers_pb.StringValue): Environment;
|
|
6848
|
+
|
|
6849
|
+
serializeBinary(): Uint8Array;
|
|
6850
|
+
toObject(includeInstance?: boolean): Environment.AsObject;
|
|
6851
|
+
static toObject(includeInstance: boolean, msg: Environment): Environment.AsObject;
|
|
6852
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
6853
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
6854
|
+
static serializeBinaryToWriter(message: Environment, writer: jspb.BinaryWriter): void;
|
|
6855
|
+
static deserializeBinary(bytes: Uint8Array): Environment;
|
|
6856
|
+
static deserializeBinaryFromReader(message: Environment, reader: jspb.BinaryReader): Environment;
|
|
6857
|
+
}
|
|
6858
|
+
|
|
6859
|
+
export namespace Environment {
|
|
6860
|
+
export type AsObject = {
|
|
6861
|
+
caption?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
6862
|
+
name?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
6863
|
+
systemVariable?: google_protobuf_wrappers_pb.BoolValue.AsObject,
|
|
6864
|
+
userName?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
6865
|
+
variableValue?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
6866
|
+
}
|
|
6867
|
+
}
|
|
6868
|
+
|
|
6800
6869
|
export class WindowsBus extends jspb.Message {
|
|
6801
6870
|
clearEntriesList(): void;
|
|
6802
6871
|
getEntriesList(): Array<Bus>;
|
|
@@ -49,6 +49,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DiskPartitio
|
|
|
49
49
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DisplayConfig', null, global);
|
|
50
50
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.DisplayControllerConfig', null, global);
|
|
51
51
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.EncryptableVolume', null, global);
|
|
52
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Environment', null, global);
|
|
52
53
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.Feature', null, global);
|
|
53
54
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRule', null, global);
|
|
54
55
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.FirewallRuleProperty', null, global);
|
|
@@ -150,6 +151,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDiskP
|
|
|
150
151
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDisplayConfig', null, global);
|
|
151
152
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsDisplayControllerConfig', null, global);
|
|
152
153
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEncryptableVolume', null, global);
|
|
154
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment', null, global);
|
|
153
155
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsFeature', null, global);
|
|
154
156
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsFirewallRules', null, global);
|
|
155
157
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.windows.v1.WindowsFloppy', null, global);
|
|
@@ -3011,6 +3013,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3011
3013
|
*/
|
|
3012
3014
|
proto.com.lansweeper.discovery.sensor.windows.v1.Codec.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.Codec';
|
|
3013
3015
|
}
|
|
3016
|
+
/**
|
|
3017
|
+
* Generated by JsPbCodeGenerator.
|
|
3018
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3019
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3020
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3021
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3022
|
+
* valid.
|
|
3023
|
+
* @extends {jspb.Message}
|
|
3024
|
+
* @constructor
|
|
3025
|
+
*/
|
|
3026
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment = function(opt_data) {
|
|
3027
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.repeatedFields_, null);
|
|
3028
|
+
};
|
|
3029
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment, jspb.Message);
|
|
3030
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3031
|
+
/**
|
|
3032
|
+
* @public
|
|
3033
|
+
* @override
|
|
3034
|
+
*/
|
|
3035
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment';
|
|
3036
|
+
}
|
|
3037
|
+
/**
|
|
3038
|
+
* Generated by JsPbCodeGenerator.
|
|
3039
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3040
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3041
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3042
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3043
|
+
* valid.
|
|
3044
|
+
* @extends {jspb.Message}
|
|
3045
|
+
* @constructor
|
|
3046
|
+
*/
|
|
3047
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment = function(opt_data) {
|
|
3048
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3049
|
+
};
|
|
3050
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.windows.v1.Environment, jspb.Message);
|
|
3051
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3052
|
+
/**
|
|
3053
|
+
* @public
|
|
3054
|
+
* @override
|
|
3055
|
+
*/
|
|
3056
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.displayName = 'proto.com.lansweeper.discovery.sensor.windows.v1.Environment';
|
|
3057
|
+
}
|
|
3014
3058
|
/**
|
|
3015
3059
|
* Generated by JsPbCodeGenerator.
|
|
3016
3060
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -57265,6 +57309,521 @@ proto.com.lansweeper.discovery.sensor.windows.v1.Codec.prototype.hasVersion = fu
|
|
|
57265
57309
|
|
|
57266
57310
|
|
|
57267
57311
|
|
|
57312
|
+
/**
|
|
57313
|
+
* List of repeated fields within this message type.
|
|
57314
|
+
* @private {!Array<number>}
|
|
57315
|
+
* @const
|
|
57316
|
+
*/
|
|
57317
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.repeatedFields_ = [1];
|
|
57318
|
+
|
|
57319
|
+
|
|
57320
|
+
|
|
57321
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
57322
|
+
/**
|
|
57323
|
+
* Creates an object representation of this proto.
|
|
57324
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
57325
|
+
* Optional fields that are not set will be set to undefined.
|
|
57326
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
57327
|
+
* For the list of reserved names please see:
|
|
57328
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
57329
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
57330
|
+
* JSPB instance for transitional soy proto support:
|
|
57331
|
+
* http://goto/soy-param-migration
|
|
57332
|
+
* @return {!Object}
|
|
57333
|
+
*/
|
|
57334
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.prototype.toObject = function(opt_includeInstance) {
|
|
57335
|
+
return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.toObject(opt_includeInstance, this);
|
|
57336
|
+
};
|
|
57337
|
+
|
|
57338
|
+
|
|
57339
|
+
/**
|
|
57340
|
+
* Static version of the {@see toObject} method.
|
|
57341
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
57342
|
+
* the JSPB instance for transitional soy proto support:
|
|
57343
|
+
* http://goto/soy-param-migration
|
|
57344
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment} msg The msg instance to transform.
|
|
57345
|
+
* @return {!Object}
|
|
57346
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57347
|
+
*/
|
|
57348
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.toObject = function(includeInstance, msg) {
|
|
57349
|
+
var f, obj = {
|
|
57350
|
+
entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
|
|
57351
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.toObject, includeInstance)
|
|
57352
|
+
};
|
|
57353
|
+
|
|
57354
|
+
if (includeInstance) {
|
|
57355
|
+
obj.$jspbMessageInstance = msg;
|
|
57356
|
+
}
|
|
57357
|
+
return obj;
|
|
57358
|
+
};
|
|
57359
|
+
}
|
|
57360
|
+
|
|
57361
|
+
|
|
57362
|
+
/**
|
|
57363
|
+
* Deserializes binary data (in protobuf wire format).
|
|
57364
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
57365
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment}
|
|
57366
|
+
*/
|
|
57367
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.deserializeBinary = function(bytes) {
|
|
57368
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
57369
|
+
var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment;
|
|
57370
|
+
return proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.deserializeBinaryFromReader(msg, reader);
|
|
57371
|
+
};
|
|
57372
|
+
|
|
57373
|
+
|
|
57374
|
+
/**
|
|
57375
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
57376
|
+
* given reader into the given message object.
|
|
57377
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment} msg The message object to deserialize into.
|
|
57378
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
57379
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment}
|
|
57380
|
+
*/
|
|
57381
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.deserializeBinaryFromReader = function(msg, reader) {
|
|
57382
|
+
while (reader.nextField()) {
|
|
57383
|
+
if (reader.isEndGroup()) {
|
|
57384
|
+
break;
|
|
57385
|
+
}
|
|
57386
|
+
var field = reader.getFieldNumber();
|
|
57387
|
+
switch (field) {
|
|
57388
|
+
case 1:
|
|
57389
|
+
var value = new proto.com.lansweeper.discovery.sensor.windows.v1.Environment;
|
|
57390
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.windows.v1.Environment.deserializeBinaryFromReader);
|
|
57391
|
+
msg.addEntries(value);
|
|
57392
|
+
break;
|
|
57393
|
+
default:
|
|
57394
|
+
reader.skipField();
|
|
57395
|
+
break;
|
|
57396
|
+
}
|
|
57397
|
+
}
|
|
57398
|
+
return msg;
|
|
57399
|
+
};
|
|
57400
|
+
|
|
57401
|
+
|
|
57402
|
+
/**
|
|
57403
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
57404
|
+
* @return {!Uint8Array}
|
|
57405
|
+
*/
|
|
57406
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.prototype.serializeBinary = function() {
|
|
57407
|
+
var writer = new jspb.BinaryWriter();
|
|
57408
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.serializeBinaryToWriter(this, writer);
|
|
57409
|
+
return writer.getResultBuffer();
|
|
57410
|
+
};
|
|
57411
|
+
|
|
57412
|
+
|
|
57413
|
+
/**
|
|
57414
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
57415
|
+
* format), writing to the given BinaryWriter.
|
|
57416
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment} message
|
|
57417
|
+
* @param {!jspb.BinaryWriter} writer
|
|
57418
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57419
|
+
*/
|
|
57420
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.serializeBinaryToWriter = function(message, writer) {
|
|
57421
|
+
var f = undefined;
|
|
57422
|
+
f = message.getEntriesList();
|
|
57423
|
+
if (f.length > 0) {
|
|
57424
|
+
writer.writeRepeatedMessage(
|
|
57425
|
+
1,
|
|
57426
|
+
f,
|
|
57427
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.serializeBinaryToWriter
|
|
57428
|
+
);
|
|
57429
|
+
}
|
|
57430
|
+
};
|
|
57431
|
+
|
|
57432
|
+
|
|
57433
|
+
/**
|
|
57434
|
+
* repeated Environment entries = 1;
|
|
57435
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.Environment>}
|
|
57436
|
+
*/
|
|
57437
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.prototype.getEntriesList = function() {
|
|
57438
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.Environment>} */ (
|
|
57439
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.windows.v1.Environment, 1));
|
|
57440
|
+
};
|
|
57441
|
+
|
|
57442
|
+
|
|
57443
|
+
/**
|
|
57444
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.windows.v1.Environment>} value
|
|
57445
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment} returns this
|
|
57446
|
+
*/
|
|
57447
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.prototype.setEntriesList = function(value) {
|
|
57448
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
57449
|
+
};
|
|
57450
|
+
|
|
57451
|
+
|
|
57452
|
+
/**
|
|
57453
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment=} opt_value
|
|
57454
|
+
* @param {number=} opt_index
|
|
57455
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment}
|
|
57456
|
+
*/
|
|
57457
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.prototype.addEntries = function(opt_value, opt_index) {
|
|
57458
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.windows.v1.Environment, opt_index);
|
|
57459
|
+
};
|
|
57460
|
+
|
|
57461
|
+
|
|
57462
|
+
/**
|
|
57463
|
+
* Clears the list making it empty but non-null.
|
|
57464
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment} returns this
|
|
57465
|
+
*/
|
|
57466
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.WindowsEnvironment.prototype.clearEntriesList = function() {
|
|
57467
|
+
return this.setEntriesList([]);
|
|
57468
|
+
};
|
|
57469
|
+
|
|
57470
|
+
|
|
57471
|
+
|
|
57472
|
+
|
|
57473
|
+
|
|
57474
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
57475
|
+
/**
|
|
57476
|
+
* Creates an object representation of this proto.
|
|
57477
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
57478
|
+
* Optional fields that are not set will be set to undefined.
|
|
57479
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
57480
|
+
* For the list of reserved names please see:
|
|
57481
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
57482
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
57483
|
+
* JSPB instance for transitional soy proto support:
|
|
57484
|
+
* http://goto/soy-param-migration
|
|
57485
|
+
* @return {!Object}
|
|
57486
|
+
*/
|
|
57487
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.toObject = function(opt_includeInstance) {
|
|
57488
|
+
return proto.com.lansweeper.discovery.sensor.windows.v1.Environment.toObject(opt_includeInstance, this);
|
|
57489
|
+
};
|
|
57490
|
+
|
|
57491
|
+
|
|
57492
|
+
/**
|
|
57493
|
+
* Static version of the {@see toObject} method.
|
|
57494
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
57495
|
+
* the JSPB instance for transitional soy proto support:
|
|
57496
|
+
* http://goto/soy-param-migration
|
|
57497
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} msg The msg instance to transform.
|
|
57498
|
+
* @return {!Object}
|
|
57499
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57500
|
+
*/
|
|
57501
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.toObject = function(includeInstance, msg) {
|
|
57502
|
+
var f, obj = {
|
|
57503
|
+
caption: (f = msg.getCaption()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
57504
|
+
name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
57505
|
+
systemVariable: (f = msg.getSystemVariable()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
|
|
57506
|
+
userName: (f = msg.getUserName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
57507
|
+
variableValue: (f = msg.getVariableValue()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
57508
|
+
};
|
|
57509
|
+
|
|
57510
|
+
if (includeInstance) {
|
|
57511
|
+
obj.$jspbMessageInstance = msg;
|
|
57512
|
+
}
|
|
57513
|
+
return obj;
|
|
57514
|
+
};
|
|
57515
|
+
}
|
|
57516
|
+
|
|
57517
|
+
|
|
57518
|
+
/**
|
|
57519
|
+
* Deserializes binary data (in protobuf wire format).
|
|
57520
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
57521
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment}
|
|
57522
|
+
*/
|
|
57523
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.deserializeBinary = function(bytes) {
|
|
57524
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
57525
|
+
var msg = new proto.com.lansweeper.discovery.sensor.windows.v1.Environment;
|
|
57526
|
+
return proto.com.lansweeper.discovery.sensor.windows.v1.Environment.deserializeBinaryFromReader(msg, reader);
|
|
57527
|
+
};
|
|
57528
|
+
|
|
57529
|
+
|
|
57530
|
+
/**
|
|
57531
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
57532
|
+
* given reader into the given message object.
|
|
57533
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} msg The message object to deserialize into.
|
|
57534
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
57535
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment}
|
|
57536
|
+
*/
|
|
57537
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.deserializeBinaryFromReader = function(msg, reader) {
|
|
57538
|
+
while (reader.nextField()) {
|
|
57539
|
+
if (reader.isEndGroup()) {
|
|
57540
|
+
break;
|
|
57541
|
+
}
|
|
57542
|
+
var field = reader.getFieldNumber();
|
|
57543
|
+
switch (field) {
|
|
57544
|
+
case 1:
|
|
57545
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
57546
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
57547
|
+
msg.setCaption(value);
|
|
57548
|
+
break;
|
|
57549
|
+
case 2:
|
|
57550
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
57551
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
57552
|
+
msg.setName(value);
|
|
57553
|
+
break;
|
|
57554
|
+
case 3:
|
|
57555
|
+
var value = new google_protobuf_wrappers_pb.BoolValue;
|
|
57556
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
|
|
57557
|
+
msg.setSystemVariable(value);
|
|
57558
|
+
break;
|
|
57559
|
+
case 4:
|
|
57560
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
57561
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
57562
|
+
msg.setUserName(value);
|
|
57563
|
+
break;
|
|
57564
|
+
case 5:
|
|
57565
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
57566
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
57567
|
+
msg.setVariableValue(value);
|
|
57568
|
+
break;
|
|
57569
|
+
default:
|
|
57570
|
+
reader.skipField();
|
|
57571
|
+
break;
|
|
57572
|
+
}
|
|
57573
|
+
}
|
|
57574
|
+
return msg;
|
|
57575
|
+
};
|
|
57576
|
+
|
|
57577
|
+
|
|
57578
|
+
/**
|
|
57579
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
57580
|
+
* @return {!Uint8Array}
|
|
57581
|
+
*/
|
|
57582
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.serializeBinary = function() {
|
|
57583
|
+
var writer = new jspb.BinaryWriter();
|
|
57584
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.serializeBinaryToWriter(this, writer);
|
|
57585
|
+
return writer.getResultBuffer();
|
|
57586
|
+
};
|
|
57587
|
+
|
|
57588
|
+
|
|
57589
|
+
/**
|
|
57590
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
57591
|
+
* format), writing to the given BinaryWriter.
|
|
57592
|
+
* @param {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} message
|
|
57593
|
+
* @param {!jspb.BinaryWriter} writer
|
|
57594
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57595
|
+
*/
|
|
57596
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.serializeBinaryToWriter = function(message, writer) {
|
|
57597
|
+
var f = undefined;
|
|
57598
|
+
f = message.getCaption();
|
|
57599
|
+
if (f != null) {
|
|
57600
|
+
writer.writeMessage(
|
|
57601
|
+
1,
|
|
57602
|
+
f,
|
|
57603
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
57604
|
+
);
|
|
57605
|
+
}
|
|
57606
|
+
f = message.getName();
|
|
57607
|
+
if (f != null) {
|
|
57608
|
+
writer.writeMessage(
|
|
57609
|
+
2,
|
|
57610
|
+
f,
|
|
57611
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
57612
|
+
);
|
|
57613
|
+
}
|
|
57614
|
+
f = message.getSystemVariable();
|
|
57615
|
+
if (f != null) {
|
|
57616
|
+
writer.writeMessage(
|
|
57617
|
+
3,
|
|
57618
|
+
f,
|
|
57619
|
+
google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
|
|
57620
|
+
);
|
|
57621
|
+
}
|
|
57622
|
+
f = message.getUserName();
|
|
57623
|
+
if (f != null) {
|
|
57624
|
+
writer.writeMessage(
|
|
57625
|
+
4,
|
|
57626
|
+
f,
|
|
57627
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
57628
|
+
);
|
|
57629
|
+
}
|
|
57630
|
+
f = message.getVariableValue();
|
|
57631
|
+
if (f != null) {
|
|
57632
|
+
writer.writeMessage(
|
|
57633
|
+
5,
|
|
57634
|
+
f,
|
|
57635
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
57636
|
+
);
|
|
57637
|
+
}
|
|
57638
|
+
};
|
|
57639
|
+
|
|
57640
|
+
|
|
57641
|
+
/**
|
|
57642
|
+
* optional google.protobuf.StringValue caption = 1;
|
|
57643
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
57644
|
+
*/
|
|
57645
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.getCaption = function() {
|
|
57646
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
57647
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
|
|
57648
|
+
};
|
|
57649
|
+
|
|
57650
|
+
|
|
57651
|
+
/**
|
|
57652
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
57653
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
|
|
57654
|
+
*/
|
|
57655
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.setCaption = function(value) {
|
|
57656
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
57657
|
+
};
|
|
57658
|
+
|
|
57659
|
+
|
|
57660
|
+
/**
|
|
57661
|
+
* Clears the message field making it undefined.
|
|
57662
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
|
|
57663
|
+
*/
|
|
57664
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.clearCaption = function() {
|
|
57665
|
+
return this.setCaption(undefined);
|
|
57666
|
+
};
|
|
57667
|
+
|
|
57668
|
+
|
|
57669
|
+
/**
|
|
57670
|
+
* Returns whether this field is set.
|
|
57671
|
+
* @return {boolean}
|
|
57672
|
+
*/
|
|
57673
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.hasCaption = function() {
|
|
57674
|
+
return jspb.Message.getField(this, 1) != null;
|
|
57675
|
+
};
|
|
57676
|
+
|
|
57677
|
+
|
|
57678
|
+
/**
|
|
57679
|
+
* optional google.protobuf.StringValue name = 2;
|
|
57680
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
57681
|
+
*/
|
|
57682
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.getName = function() {
|
|
57683
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
57684
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
|
|
57685
|
+
};
|
|
57686
|
+
|
|
57687
|
+
|
|
57688
|
+
/**
|
|
57689
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
57690
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
|
|
57691
|
+
*/
|
|
57692
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.setName = function(value) {
|
|
57693
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
57694
|
+
};
|
|
57695
|
+
|
|
57696
|
+
|
|
57697
|
+
/**
|
|
57698
|
+
* Clears the message field making it undefined.
|
|
57699
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
|
|
57700
|
+
*/
|
|
57701
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.clearName = function() {
|
|
57702
|
+
return this.setName(undefined);
|
|
57703
|
+
};
|
|
57704
|
+
|
|
57705
|
+
|
|
57706
|
+
/**
|
|
57707
|
+
* Returns whether this field is set.
|
|
57708
|
+
* @return {boolean}
|
|
57709
|
+
*/
|
|
57710
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.hasName = function() {
|
|
57711
|
+
return jspb.Message.getField(this, 2) != null;
|
|
57712
|
+
};
|
|
57713
|
+
|
|
57714
|
+
|
|
57715
|
+
/**
|
|
57716
|
+
* optional google.protobuf.BoolValue system_variable = 3;
|
|
57717
|
+
* @return {?proto.google.protobuf.BoolValue}
|
|
57718
|
+
*/
|
|
57719
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.getSystemVariable = function() {
|
|
57720
|
+
return /** @type{?proto.google.protobuf.BoolValue} */ (
|
|
57721
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 3));
|
|
57722
|
+
};
|
|
57723
|
+
|
|
57724
|
+
|
|
57725
|
+
/**
|
|
57726
|
+
* @param {?proto.google.protobuf.BoolValue|undefined} value
|
|
57727
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
|
|
57728
|
+
*/
|
|
57729
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.setSystemVariable = function(value) {
|
|
57730
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
57731
|
+
};
|
|
57732
|
+
|
|
57733
|
+
|
|
57734
|
+
/**
|
|
57735
|
+
* Clears the message field making it undefined.
|
|
57736
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
|
|
57737
|
+
*/
|
|
57738
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.clearSystemVariable = function() {
|
|
57739
|
+
return this.setSystemVariable(undefined);
|
|
57740
|
+
};
|
|
57741
|
+
|
|
57742
|
+
|
|
57743
|
+
/**
|
|
57744
|
+
* Returns whether this field is set.
|
|
57745
|
+
* @return {boolean}
|
|
57746
|
+
*/
|
|
57747
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.hasSystemVariable = function() {
|
|
57748
|
+
return jspb.Message.getField(this, 3) != null;
|
|
57749
|
+
};
|
|
57750
|
+
|
|
57751
|
+
|
|
57752
|
+
/**
|
|
57753
|
+
* optional google.protobuf.StringValue user_name = 4;
|
|
57754
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
57755
|
+
*/
|
|
57756
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.getUserName = function() {
|
|
57757
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
57758
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
|
|
57759
|
+
};
|
|
57760
|
+
|
|
57761
|
+
|
|
57762
|
+
/**
|
|
57763
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
57764
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
|
|
57765
|
+
*/
|
|
57766
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.setUserName = function(value) {
|
|
57767
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
57768
|
+
};
|
|
57769
|
+
|
|
57770
|
+
|
|
57771
|
+
/**
|
|
57772
|
+
* Clears the message field making it undefined.
|
|
57773
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
|
|
57774
|
+
*/
|
|
57775
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.clearUserName = function() {
|
|
57776
|
+
return this.setUserName(undefined);
|
|
57777
|
+
};
|
|
57778
|
+
|
|
57779
|
+
|
|
57780
|
+
/**
|
|
57781
|
+
* Returns whether this field is set.
|
|
57782
|
+
* @return {boolean}
|
|
57783
|
+
*/
|
|
57784
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.hasUserName = function() {
|
|
57785
|
+
return jspb.Message.getField(this, 4) != null;
|
|
57786
|
+
};
|
|
57787
|
+
|
|
57788
|
+
|
|
57789
|
+
/**
|
|
57790
|
+
* optional google.protobuf.StringValue variable_value = 5;
|
|
57791
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
57792
|
+
*/
|
|
57793
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.getVariableValue = function() {
|
|
57794
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
57795
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
|
|
57796
|
+
};
|
|
57797
|
+
|
|
57798
|
+
|
|
57799
|
+
/**
|
|
57800
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
57801
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
|
|
57802
|
+
*/
|
|
57803
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.setVariableValue = function(value) {
|
|
57804
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
57805
|
+
};
|
|
57806
|
+
|
|
57807
|
+
|
|
57808
|
+
/**
|
|
57809
|
+
* Clears the message field making it undefined.
|
|
57810
|
+
* @return {!proto.com.lansweeper.discovery.sensor.windows.v1.Environment} returns this
|
|
57811
|
+
*/
|
|
57812
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.clearVariableValue = function() {
|
|
57813
|
+
return this.setVariableValue(undefined);
|
|
57814
|
+
};
|
|
57815
|
+
|
|
57816
|
+
|
|
57817
|
+
/**
|
|
57818
|
+
* Returns whether this field is set.
|
|
57819
|
+
* @return {boolean}
|
|
57820
|
+
*/
|
|
57821
|
+
proto.com.lansweeper.discovery.sensor.windows.v1.Environment.prototype.hasVariableValue = function() {
|
|
57822
|
+
return jspb.Message.getField(this, 5) != null;
|
|
57823
|
+
};
|
|
57824
|
+
|
|
57825
|
+
|
|
57826
|
+
|
|
57268
57827
|
/**
|
|
57269
57828
|
* List of repeated fields within this message type.
|
|
57270
57829
|
* @private {!Array<number>}
|