@lansweeper/data-platform-outbound-grpc 0.8.2 → 0.8.4
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.
- package/CHANGELOG.md +8 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +100 -0
- package/gen-proto/outbound_pb.js +838 -3
- package/generated-go/outbound.pb.go +9581 -9328
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +22 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryUser$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryUser$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryUser.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryUserOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DirectReport$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DirectReport$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DirectReport.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DirectReportOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ScanSection$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ScanSection$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ScanSection.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ScanSectionOrBuilder.class +0 -0
- package/model/target/classes/outbound.proto +22 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryUser.java +355 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryUserOrBuilder.java +24 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Asset.java +766 -323
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +44 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DirectReport.java +678 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DirectReportOrBuilder.java +34 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3964 -3929
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ScanSection.java +1814 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ScanSectionOrBuilder.java +194 -0
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +8 -0
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +4 -0
- package/model/target/{outbound-model-0.8.1-sources.jar → outbound-model-0.8.3-sources.jar} +0 -0
- package/model/target/{outbound-model-0.8.1.jar → outbound-model-0.8.3.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +22 -0
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.8.1-sources.jar → outbound-service-0.8.3-sources.jar} +0 -0
- package/service/target/{outbound-service-0.8.1.jar → outbound-service-0.8.3.jar} +0 -0
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -141,6 +141,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.DatastoreClusterDrsVmOver
|
|
|
141
141
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.DatastoreClusterStorageDrs', null, global);
|
|
142
142
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.DeconcileRequest', null, global);
|
|
143
143
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.DeconcileResponse', null, global);
|
|
144
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.DirectReport', null, global);
|
|
144
145
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.DriveVolume', null, global);
|
|
145
146
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Driver', null, global);
|
|
146
147
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Driver.DriverCase', null, global);
|
|
@@ -262,6 +263,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Relation', null, global);
|
|
|
262
263
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.RunningProcess', null, global);
|
|
263
264
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScanCredential', null, global);
|
|
264
265
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScanError', null, global);
|
|
266
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScanSection', null, global);
|
|
265
267
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScannedPort', null, global);
|
|
266
268
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SccmClient', null, global);
|
|
267
269
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SccmInfo', null, global);
|
|
@@ -1433,6 +1435,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1433
1435
|
*/
|
|
1434
1436
|
proto.com.lansweeper.dp.outbound.v1.ScanError.displayName = 'proto.com.lansweeper.dp.outbound.v1.ScanError';
|
|
1435
1437
|
}
|
|
1438
|
+
/**
|
|
1439
|
+
* Generated by JsPbCodeGenerator.
|
|
1440
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1441
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1442
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1443
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1444
|
+
* valid.
|
|
1445
|
+
* @extends {jspb.Message}
|
|
1446
|
+
* @constructor
|
|
1447
|
+
*/
|
|
1448
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection = function(opt_data) {
|
|
1449
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.ScanSection.repeatedFields_, null);
|
|
1450
|
+
};
|
|
1451
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.ScanSection, jspb.Message);
|
|
1452
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1453
|
+
/**
|
|
1454
|
+
* @public
|
|
1455
|
+
* @override
|
|
1456
|
+
*/
|
|
1457
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.displayName = 'proto.com.lansweeper.dp.outbound.v1.ScanSection';
|
|
1458
|
+
}
|
|
1436
1459
|
/**
|
|
1437
1460
|
* Generated by JsPbCodeGenerator.
|
|
1438
1461
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5339,6 +5362,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5339
5362
|
*/
|
|
5340
5363
|
proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryUser.displayName = 'proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryUser';
|
|
5341
5364
|
}
|
|
5365
|
+
/**
|
|
5366
|
+
* Generated by JsPbCodeGenerator.
|
|
5367
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5368
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5369
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5370
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5371
|
+
* valid.
|
|
5372
|
+
* @extends {jspb.Message}
|
|
5373
|
+
* @constructor
|
|
5374
|
+
*/
|
|
5375
|
+
proto.com.lansweeper.dp.outbound.v1.DirectReport = function(opt_data) {
|
|
5376
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5377
|
+
};
|
|
5378
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.DirectReport, jspb.Message);
|
|
5379
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5380
|
+
/**
|
|
5381
|
+
* @public
|
|
5382
|
+
* @override
|
|
5383
|
+
*/
|
|
5384
|
+
proto.com.lansweeper.dp.outbound.v1.DirectReport.displayName = 'proto.com.lansweeper.dp.outbound.v1.DirectReport';
|
|
5385
|
+
}
|
|
5342
5386
|
/**
|
|
5343
5387
|
* Generated by JsPbCodeGenerator.
|
|
5344
5388
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -11762,7 +11806,7 @@ proto.com.lansweeper.dp.outbound.v1.Entity.prototype.hasGroup = function() {
|
|
|
11762
11806
|
* @private {!Array<number>}
|
|
11763
11807
|
* @const
|
|
11764
11808
|
*/
|
|
11765
|
-
proto.com.lansweeper.dp.outbound.v1.Asset.repeatedFields_ = [74,86,92,33,14,20,81,80];
|
|
11809
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.repeatedFields_ = [74,86,92,306,33,14,20,81,80];
|
|
11766
11810
|
|
|
11767
11811
|
|
|
11768
11812
|
|
|
@@ -11809,6 +11853,8 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
|
|
|
11809
11853
|
dataProcessorList: jspb.Message.toObjectList(msg.getDataProcessorList(),
|
|
11810
11854
|
proto.com.lansweeper.dp.outbound.v1.DataProcessor.toObject, includeInstance),
|
|
11811
11855
|
uniqueKey: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
11856
|
+
scanSectionList: jspb.Message.toObjectList(msg.getScanSectionList(),
|
|
11857
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.toObject, includeInstance),
|
|
11812
11858
|
scanErrorList: jspb.Message.toObjectList(msg.getScanErrorList(),
|
|
11813
11859
|
proto.com.lansweeper.dp.outbound.v1.ScanError.toObject, includeInstance),
|
|
11814
11860
|
internetIp: (f = msg.getInternetIp()) && proto.com.lansweeper.dp.outbound.v1.IpInfo.toObject(includeInstance, f),
|
|
@@ -11932,6 +11978,11 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
|
|
|
11932
11978
|
var value = /** @type {string} */ (reader.readString());
|
|
11933
11979
|
msg.setUniqueKey(value);
|
|
11934
11980
|
break;
|
|
11981
|
+
case 306:
|
|
11982
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.ScanSection;
|
|
11983
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ScanSection.deserializeBinaryFromReader);
|
|
11984
|
+
msg.addScanSection(value);
|
|
11985
|
+
break;
|
|
11935
11986
|
case 33:
|
|
11936
11987
|
var value = new proto.com.lansweeper.dp.outbound.v1.ScanError;
|
|
11937
11988
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ScanError.deserializeBinaryFromReader);
|
|
@@ -12196,6 +12247,14 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
|
|
|
12196
12247
|
f
|
|
12197
12248
|
);
|
|
12198
12249
|
}
|
|
12250
|
+
f = message.getScanSectionList();
|
|
12251
|
+
if (f.length > 0) {
|
|
12252
|
+
writer.writeRepeatedMessage(
|
|
12253
|
+
306,
|
|
12254
|
+
f,
|
|
12255
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.serializeBinaryToWriter
|
|
12256
|
+
);
|
|
12257
|
+
}
|
|
12199
12258
|
f = message.getScanErrorList();
|
|
12200
12259
|
if (f.length > 0) {
|
|
12201
12260
|
writer.writeRepeatedMessage(
|
|
@@ -12846,6 +12905,44 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasUniqueKey = function() {
|
|
|
12846
12905
|
};
|
|
12847
12906
|
|
|
12848
12907
|
|
|
12908
|
+
/**
|
|
12909
|
+
* repeated ScanSection scan_section = 306;
|
|
12910
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.ScanSection>}
|
|
12911
|
+
*/
|
|
12912
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getScanSectionList = function() {
|
|
12913
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.ScanSection>} */ (
|
|
12914
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.ScanSection, 306));
|
|
12915
|
+
};
|
|
12916
|
+
|
|
12917
|
+
|
|
12918
|
+
/**
|
|
12919
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.ScanSection>} value
|
|
12920
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
12921
|
+
*/
|
|
12922
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setScanSectionList = function(value) {
|
|
12923
|
+
return jspb.Message.setRepeatedWrapperField(this, 306, value);
|
|
12924
|
+
};
|
|
12925
|
+
|
|
12926
|
+
|
|
12927
|
+
/**
|
|
12928
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ScanSection=} opt_value
|
|
12929
|
+
* @param {number=} opt_index
|
|
12930
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection}
|
|
12931
|
+
*/
|
|
12932
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.addScanSection = function(opt_value, opt_index) {
|
|
12933
|
+
return jspb.Message.addToRepeatedWrapperField(this, 306, opt_value, proto.com.lansweeper.dp.outbound.v1.ScanSection, opt_index);
|
|
12934
|
+
};
|
|
12935
|
+
|
|
12936
|
+
|
|
12937
|
+
/**
|
|
12938
|
+
* Clears the list making it empty but non-null.
|
|
12939
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
12940
|
+
*/
|
|
12941
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearScanSectionList = function() {
|
|
12942
|
+
return this.setScanSectionList([]);
|
|
12943
|
+
};
|
|
12944
|
+
|
|
12945
|
+
|
|
12849
12946
|
/**
|
|
12850
12947
|
* repeated ScanError scan_error = 33;
|
|
12851
12948
|
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.ScanError>}
|
|
@@ -31845,6 +31942,531 @@ proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.hasDuration = function()
|
|
|
31845
31942
|
|
|
31846
31943
|
|
|
31847
31944
|
|
|
31945
|
+
/**
|
|
31946
|
+
* List of repeated fields within this message type.
|
|
31947
|
+
* @private {!Array<number>}
|
|
31948
|
+
* @const
|
|
31949
|
+
*/
|
|
31950
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.repeatedFields_ = [6];
|
|
31951
|
+
|
|
31952
|
+
|
|
31953
|
+
|
|
31954
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
31955
|
+
/**
|
|
31956
|
+
* Creates an object representation of this proto.
|
|
31957
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
31958
|
+
* Optional fields that are not set will be set to undefined.
|
|
31959
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
31960
|
+
* For the list of reserved names please see:
|
|
31961
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
31962
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
31963
|
+
* JSPB instance for transitional soy proto support:
|
|
31964
|
+
* http://goto/soy-param-migration
|
|
31965
|
+
* @return {!Object}
|
|
31966
|
+
*/
|
|
31967
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.toObject = function(opt_includeInstance) {
|
|
31968
|
+
return proto.com.lansweeper.dp.outbound.v1.ScanSection.toObject(opt_includeInstance, this);
|
|
31969
|
+
};
|
|
31970
|
+
|
|
31971
|
+
|
|
31972
|
+
/**
|
|
31973
|
+
* Static version of the {@see toObject} method.
|
|
31974
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
31975
|
+
* the JSPB instance for transitional soy proto support:
|
|
31976
|
+
* http://goto/soy-param-migration
|
|
31977
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ScanSection} msg The msg instance to transform.
|
|
31978
|
+
* @return {!Object}
|
|
31979
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31980
|
+
*/
|
|
31981
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.toObject = function(includeInstance, msg) {
|
|
31982
|
+
var f, obj = {
|
|
31983
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
31984
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
31985
|
+
source: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
31986
|
+
scanTime: (f = msg.getScanTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
31987
|
+
duration: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
31988
|
+
errorsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
31989
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
31990
|
+
hash: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
31991
|
+
timezone: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
31992
|
+
};
|
|
31993
|
+
|
|
31994
|
+
if (includeInstance) {
|
|
31995
|
+
obj.$jspbMessageInstance = msg;
|
|
31996
|
+
}
|
|
31997
|
+
return obj;
|
|
31998
|
+
};
|
|
31999
|
+
}
|
|
32000
|
+
|
|
32001
|
+
|
|
32002
|
+
/**
|
|
32003
|
+
* Deserializes binary data (in protobuf wire format).
|
|
32004
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
32005
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection}
|
|
32006
|
+
*/
|
|
32007
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.deserializeBinary = function(bytes) {
|
|
32008
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
32009
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.ScanSection;
|
|
32010
|
+
return proto.com.lansweeper.dp.outbound.v1.ScanSection.deserializeBinaryFromReader(msg, reader);
|
|
32011
|
+
};
|
|
32012
|
+
|
|
32013
|
+
|
|
32014
|
+
/**
|
|
32015
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
32016
|
+
* given reader into the given message object.
|
|
32017
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ScanSection} msg The message object to deserialize into.
|
|
32018
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
32019
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection}
|
|
32020
|
+
*/
|
|
32021
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.deserializeBinaryFromReader = function(msg, reader) {
|
|
32022
|
+
while (reader.nextField()) {
|
|
32023
|
+
if (reader.isEndGroup()) {
|
|
32024
|
+
break;
|
|
32025
|
+
}
|
|
32026
|
+
var field = reader.getFieldNumber();
|
|
32027
|
+
switch (field) {
|
|
32028
|
+
case 1:
|
|
32029
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
32030
|
+
msg.setKey(value);
|
|
32031
|
+
break;
|
|
32032
|
+
case 2:
|
|
32033
|
+
var value = /** @type {string} */ (reader.readString());
|
|
32034
|
+
msg.setName(value);
|
|
32035
|
+
break;
|
|
32036
|
+
case 3:
|
|
32037
|
+
var value = /** @type {string} */ (reader.readString());
|
|
32038
|
+
msg.setSource(value);
|
|
32039
|
+
break;
|
|
32040
|
+
case 4:
|
|
32041
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
32042
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
32043
|
+
msg.setScanTime(value);
|
|
32044
|
+
break;
|
|
32045
|
+
case 5:
|
|
32046
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
32047
|
+
msg.setDuration(value);
|
|
32048
|
+
break;
|
|
32049
|
+
case 6:
|
|
32050
|
+
var value = /** @type {string} */ (reader.readString());
|
|
32051
|
+
msg.addErrors(value);
|
|
32052
|
+
break;
|
|
32053
|
+
case 7:
|
|
32054
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
32055
|
+
msg.setSuccess(value);
|
|
32056
|
+
break;
|
|
32057
|
+
case 8:
|
|
32058
|
+
var value = /** @type {string} */ (reader.readString());
|
|
32059
|
+
msg.setHash(value);
|
|
32060
|
+
break;
|
|
32061
|
+
case 9:
|
|
32062
|
+
var value = /** @type {string} */ (reader.readString());
|
|
32063
|
+
msg.setTimezone(value);
|
|
32064
|
+
break;
|
|
32065
|
+
default:
|
|
32066
|
+
reader.skipField();
|
|
32067
|
+
break;
|
|
32068
|
+
}
|
|
32069
|
+
}
|
|
32070
|
+
return msg;
|
|
32071
|
+
};
|
|
32072
|
+
|
|
32073
|
+
|
|
32074
|
+
/**
|
|
32075
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
32076
|
+
* @return {!Uint8Array}
|
|
32077
|
+
*/
|
|
32078
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.serializeBinary = function() {
|
|
32079
|
+
var writer = new jspb.BinaryWriter();
|
|
32080
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.serializeBinaryToWriter(this, writer);
|
|
32081
|
+
return writer.getResultBuffer();
|
|
32082
|
+
};
|
|
32083
|
+
|
|
32084
|
+
|
|
32085
|
+
/**
|
|
32086
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
32087
|
+
* format), writing to the given BinaryWriter.
|
|
32088
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ScanSection} message
|
|
32089
|
+
* @param {!jspb.BinaryWriter} writer
|
|
32090
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
32091
|
+
*/
|
|
32092
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.serializeBinaryToWriter = function(message, writer) {
|
|
32093
|
+
var f = undefined;
|
|
32094
|
+
f = message.getKey();
|
|
32095
|
+
if (f !== 0) {
|
|
32096
|
+
writer.writeInt32(
|
|
32097
|
+
1,
|
|
32098
|
+
f
|
|
32099
|
+
);
|
|
32100
|
+
}
|
|
32101
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
32102
|
+
if (f != null) {
|
|
32103
|
+
writer.writeString(
|
|
32104
|
+
2,
|
|
32105
|
+
f
|
|
32106
|
+
);
|
|
32107
|
+
}
|
|
32108
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
32109
|
+
if (f != null) {
|
|
32110
|
+
writer.writeString(
|
|
32111
|
+
3,
|
|
32112
|
+
f
|
|
32113
|
+
);
|
|
32114
|
+
}
|
|
32115
|
+
f = message.getScanTime();
|
|
32116
|
+
if (f != null) {
|
|
32117
|
+
writer.writeMessage(
|
|
32118
|
+
4,
|
|
32119
|
+
f,
|
|
32120
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
32121
|
+
);
|
|
32122
|
+
}
|
|
32123
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
32124
|
+
if (f != null) {
|
|
32125
|
+
writer.writeInt64(
|
|
32126
|
+
5,
|
|
32127
|
+
f
|
|
32128
|
+
);
|
|
32129
|
+
}
|
|
32130
|
+
f = message.getErrorsList();
|
|
32131
|
+
if (f.length > 0) {
|
|
32132
|
+
writer.writeRepeatedString(
|
|
32133
|
+
6,
|
|
32134
|
+
f
|
|
32135
|
+
);
|
|
32136
|
+
}
|
|
32137
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 7));
|
|
32138
|
+
if (f != null) {
|
|
32139
|
+
writer.writeBool(
|
|
32140
|
+
7,
|
|
32141
|
+
f
|
|
32142
|
+
);
|
|
32143
|
+
}
|
|
32144
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
32145
|
+
if (f != null) {
|
|
32146
|
+
writer.writeString(
|
|
32147
|
+
8,
|
|
32148
|
+
f
|
|
32149
|
+
);
|
|
32150
|
+
}
|
|
32151
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
32152
|
+
if (f != null) {
|
|
32153
|
+
writer.writeString(
|
|
32154
|
+
9,
|
|
32155
|
+
f
|
|
32156
|
+
);
|
|
32157
|
+
}
|
|
32158
|
+
};
|
|
32159
|
+
|
|
32160
|
+
|
|
32161
|
+
/**
|
|
32162
|
+
* optional int32 key = 1;
|
|
32163
|
+
* @return {number}
|
|
32164
|
+
*/
|
|
32165
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.getKey = function() {
|
|
32166
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
32167
|
+
};
|
|
32168
|
+
|
|
32169
|
+
|
|
32170
|
+
/**
|
|
32171
|
+
* @param {number} value
|
|
32172
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32173
|
+
*/
|
|
32174
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.setKey = function(value) {
|
|
32175
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
32176
|
+
};
|
|
32177
|
+
|
|
32178
|
+
|
|
32179
|
+
/**
|
|
32180
|
+
* optional string name = 2;
|
|
32181
|
+
* @return {string}
|
|
32182
|
+
*/
|
|
32183
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.getName = function() {
|
|
32184
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
32185
|
+
};
|
|
32186
|
+
|
|
32187
|
+
|
|
32188
|
+
/**
|
|
32189
|
+
* @param {string} value
|
|
32190
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32191
|
+
*/
|
|
32192
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.setName = function(value) {
|
|
32193
|
+
return jspb.Message.setField(this, 2, value);
|
|
32194
|
+
};
|
|
32195
|
+
|
|
32196
|
+
|
|
32197
|
+
/**
|
|
32198
|
+
* Clears the field making it undefined.
|
|
32199
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32200
|
+
*/
|
|
32201
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.clearName = function() {
|
|
32202
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
32203
|
+
};
|
|
32204
|
+
|
|
32205
|
+
|
|
32206
|
+
/**
|
|
32207
|
+
* Returns whether this field is set.
|
|
32208
|
+
* @return {boolean}
|
|
32209
|
+
*/
|
|
32210
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.hasName = function() {
|
|
32211
|
+
return jspb.Message.getField(this, 2) != null;
|
|
32212
|
+
};
|
|
32213
|
+
|
|
32214
|
+
|
|
32215
|
+
/**
|
|
32216
|
+
* optional string source = 3;
|
|
32217
|
+
* @return {string}
|
|
32218
|
+
*/
|
|
32219
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.getSource = function() {
|
|
32220
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
32221
|
+
};
|
|
32222
|
+
|
|
32223
|
+
|
|
32224
|
+
/**
|
|
32225
|
+
* @param {string} value
|
|
32226
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32227
|
+
*/
|
|
32228
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.setSource = function(value) {
|
|
32229
|
+
return jspb.Message.setField(this, 3, value);
|
|
32230
|
+
};
|
|
32231
|
+
|
|
32232
|
+
|
|
32233
|
+
/**
|
|
32234
|
+
* Clears the field making it undefined.
|
|
32235
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32236
|
+
*/
|
|
32237
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.clearSource = function() {
|
|
32238
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
32239
|
+
};
|
|
32240
|
+
|
|
32241
|
+
|
|
32242
|
+
/**
|
|
32243
|
+
* Returns whether this field is set.
|
|
32244
|
+
* @return {boolean}
|
|
32245
|
+
*/
|
|
32246
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.hasSource = function() {
|
|
32247
|
+
return jspb.Message.getField(this, 3) != null;
|
|
32248
|
+
};
|
|
32249
|
+
|
|
32250
|
+
|
|
32251
|
+
/**
|
|
32252
|
+
* optional google.protobuf.Timestamp scan_time = 4;
|
|
32253
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
32254
|
+
*/
|
|
32255
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.getScanTime = function() {
|
|
32256
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
32257
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
32258
|
+
};
|
|
32259
|
+
|
|
32260
|
+
|
|
32261
|
+
/**
|
|
32262
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
32263
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32264
|
+
*/
|
|
32265
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.setScanTime = function(value) {
|
|
32266
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
32267
|
+
};
|
|
32268
|
+
|
|
32269
|
+
|
|
32270
|
+
/**
|
|
32271
|
+
* Clears the message field making it undefined.
|
|
32272
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32273
|
+
*/
|
|
32274
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.clearScanTime = function() {
|
|
32275
|
+
return this.setScanTime(undefined);
|
|
32276
|
+
};
|
|
32277
|
+
|
|
32278
|
+
|
|
32279
|
+
/**
|
|
32280
|
+
* Returns whether this field is set.
|
|
32281
|
+
* @return {boolean}
|
|
32282
|
+
*/
|
|
32283
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.hasScanTime = function() {
|
|
32284
|
+
return jspb.Message.getField(this, 4) != null;
|
|
32285
|
+
};
|
|
32286
|
+
|
|
32287
|
+
|
|
32288
|
+
/**
|
|
32289
|
+
* optional int64 duration = 5;
|
|
32290
|
+
* @return {number}
|
|
32291
|
+
*/
|
|
32292
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.getDuration = function() {
|
|
32293
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
32294
|
+
};
|
|
32295
|
+
|
|
32296
|
+
|
|
32297
|
+
/**
|
|
32298
|
+
* @param {number} value
|
|
32299
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32300
|
+
*/
|
|
32301
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.setDuration = function(value) {
|
|
32302
|
+
return jspb.Message.setField(this, 5, value);
|
|
32303
|
+
};
|
|
32304
|
+
|
|
32305
|
+
|
|
32306
|
+
/**
|
|
32307
|
+
* Clears the field making it undefined.
|
|
32308
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32309
|
+
*/
|
|
32310
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.clearDuration = function() {
|
|
32311
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
32312
|
+
};
|
|
32313
|
+
|
|
32314
|
+
|
|
32315
|
+
/**
|
|
32316
|
+
* Returns whether this field is set.
|
|
32317
|
+
* @return {boolean}
|
|
32318
|
+
*/
|
|
32319
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.hasDuration = function() {
|
|
32320
|
+
return jspb.Message.getField(this, 5) != null;
|
|
32321
|
+
};
|
|
32322
|
+
|
|
32323
|
+
|
|
32324
|
+
/**
|
|
32325
|
+
* repeated string errors = 6;
|
|
32326
|
+
* @return {!Array<string>}
|
|
32327
|
+
*/
|
|
32328
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.getErrorsList = function() {
|
|
32329
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
32330
|
+
};
|
|
32331
|
+
|
|
32332
|
+
|
|
32333
|
+
/**
|
|
32334
|
+
* @param {!Array<string>} value
|
|
32335
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32336
|
+
*/
|
|
32337
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.setErrorsList = function(value) {
|
|
32338
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
32339
|
+
};
|
|
32340
|
+
|
|
32341
|
+
|
|
32342
|
+
/**
|
|
32343
|
+
* @param {string} value
|
|
32344
|
+
* @param {number=} opt_index
|
|
32345
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32346
|
+
*/
|
|
32347
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.addErrors = function(value, opt_index) {
|
|
32348
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
32349
|
+
};
|
|
32350
|
+
|
|
32351
|
+
|
|
32352
|
+
/**
|
|
32353
|
+
* Clears the list making it empty but non-null.
|
|
32354
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32355
|
+
*/
|
|
32356
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.clearErrorsList = function() {
|
|
32357
|
+
return this.setErrorsList([]);
|
|
32358
|
+
};
|
|
32359
|
+
|
|
32360
|
+
|
|
32361
|
+
/**
|
|
32362
|
+
* optional bool success = 7;
|
|
32363
|
+
* @return {boolean}
|
|
32364
|
+
*/
|
|
32365
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.getSuccess = function() {
|
|
32366
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
32367
|
+
};
|
|
32368
|
+
|
|
32369
|
+
|
|
32370
|
+
/**
|
|
32371
|
+
* @param {boolean} value
|
|
32372
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32373
|
+
*/
|
|
32374
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.setSuccess = function(value) {
|
|
32375
|
+
return jspb.Message.setField(this, 7, value);
|
|
32376
|
+
};
|
|
32377
|
+
|
|
32378
|
+
|
|
32379
|
+
/**
|
|
32380
|
+
* Clears the field making it undefined.
|
|
32381
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32382
|
+
*/
|
|
32383
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.clearSuccess = function() {
|
|
32384
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
32385
|
+
};
|
|
32386
|
+
|
|
32387
|
+
|
|
32388
|
+
/**
|
|
32389
|
+
* Returns whether this field is set.
|
|
32390
|
+
* @return {boolean}
|
|
32391
|
+
*/
|
|
32392
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.hasSuccess = function() {
|
|
32393
|
+
return jspb.Message.getField(this, 7) != null;
|
|
32394
|
+
};
|
|
32395
|
+
|
|
32396
|
+
|
|
32397
|
+
/**
|
|
32398
|
+
* optional string hash = 8;
|
|
32399
|
+
* @return {string}
|
|
32400
|
+
*/
|
|
32401
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.getHash = function() {
|
|
32402
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
32403
|
+
};
|
|
32404
|
+
|
|
32405
|
+
|
|
32406
|
+
/**
|
|
32407
|
+
* @param {string} value
|
|
32408
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32409
|
+
*/
|
|
32410
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.setHash = function(value) {
|
|
32411
|
+
return jspb.Message.setField(this, 8, value);
|
|
32412
|
+
};
|
|
32413
|
+
|
|
32414
|
+
|
|
32415
|
+
/**
|
|
32416
|
+
* Clears the field making it undefined.
|
|
32417
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32418
|
+
*/
|
|
32419
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.clearHash = function() {
|
|
32420
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
32421
|
+
};
|
|
32422
|
+
|
|
32423
|
+
|
|
32424
|
+
/**
|
|
32425
|
+
* Returns whether this field is set.
|
|
32426
|
+
* @return {boolean}
|
|
32427
|
+
*/
|
|
32428
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.hasHash = function() {
|
|
32429
|
+
return jspb.Message.getField(this, 8) != null;
|
|
32430
|
+
};
|
|
32431
|
+
|
|
32432
|
+
|
|
32433
|
+
/**
|
|
32434
|
+
* optional string timezone = 9;
|
|
32435
|
+
* @return {string}
|
|
32436
|
+
*/
|
|
32437
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.getTimezone = function() {
|
|
32438
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
32439
|
+
};
|
|
32440
|
+
|
|
32441
|
+
|
|
32442
|
+
/**
|
|
32443
|
+
* @param {string} value
|
|
32444
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32445
|
+
*/
|
|
32446
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.setTimezone = function(value) {
|
|
32447
|
+
return jspb.Message.setField(this, 9, value);
|
|
32448
|
+
};
|
|
32449
|
+
|
|
32450
|
+
|
|
32451
|
+
/**
|
|
32452
|
+
* Clears the field making it undefined.
|
|
32453
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanSection} returns this
|
|
32454
|
+
*/
|
|
32455
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.clearTimezone = function() {
|
|
32456
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
32457
|
+
};
|
|
32458
|
+
|
|
32459
|
+
|
|
32460
|
+
/**
|
|
32461
|
+
* Returns whether this field is set.
|
|
32462
|
+
* @return {boolean}
|
|
32463
|
+
*/
|
|
32464
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.prototype.hasTimezone = function() {
|
|
32465
|
+
return jspb.Message.getField(this, 9) != null;
|
|
32466
|
+
};
|
|
32467
|
+
|
|
32468
|
+
|
|
32469
|
+
|
|
31848
32470
|
|
|
31849
32471
|
|
|
31850
32472
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -139321,7 +139943,7 @@ proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryDomain.prototype.hasMaximumPa
|
|
|
139321
139943
|
* @private {!Array<number>}
|
|
139322
139944
|
* @const
|
|
139323
139945
|
*/
|
|
139324
|
-
proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryUser.repeatedFields_ = [57];
|
|
139946
|
+
proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryUser.repeatedFields_ = [57,60];
|
|
139325
139947
|
|
|
139326
139948
|
|
|
139327
139949
|
|
|
@@ -139412,7 +140034,9 @@ proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryUser.toObject = function(incl
|
|
|
139412
140034
|
middleName: jspb.Message.getFieldWithDefault(msg, 54, ""),
|
|
139413
140035
|
primaryGroupOid: jspb.Message.getFieldWithDefault(msg, 55, ""),
|
|
139414
140036
|
managerOid: jspb.Message.getFieldWithDefault(msg, 56, ""),
|
|
139415
|
-
memberOfOidList: (f = jspb.Message.getRepeatedField(msg, 57)) == null ? undefined : f
|
|
140037
|
+
memberOfOidList: (f = jspb.Message.getRepeatedField(msg, 57)) == null ? undefined : f,
|
|
140038
|
+
directReportsList: jspb.Message.toObjectList(msg.getDirectReportsList(),
|
|
140039
|
+
proto.com.lansweeper.dp.outbound.v1.DirectReport.toObject, includeInstance)
|
|
139416
140040
|
};
|
|
139417
140041
|
|
|
139418
140042
|
if (includeInstance) {
|
|
@@ -139694,6 +140318,11 @@ proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryUser.deserializeBinaryFromRea
|
|
|
139694
140318
|
var value = /** @type {string} */ (reader.readString());
|
|
139695
140319
|
msg.addMemberOfOid(value);
|
|
139696
140320
|
break;
|
|
140321
|
+
case 60:
|
|
140322
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.DirectReport;
|
|
140323
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.DirectReport.deserializeBinaryFromReader);
|
|
140324
|
+
msg.addDirectReports(value);
|
|
140325
|
+
break;
|
|
139697
140326
|
default:
|
|
139698
140327
|
reader.skipField();
|
|
139699
140328
|
break;
|
|
@@ -140145,6 +140774,14 @@ proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryUser.serializeBinaryToWriter
|
|
|
140145
140774
|
f
|
|
140146
140775
|
);
|
|
140147
140776
|
}
|
|
140777
|
+
f = message.getDirectReportsList();
|
|
140778
|
+
if (f.length > 0) {
|
|
140779
|
+
writer.writeRepeatedMessage(
|
|
140780
|
+
60,
|
|
140781
|
+
f,
|
|
140782
|
+
proto.com.lansweeper.dp.outbound.v1.DirectReport.serializeBinaryToWriter
|
|
140783
|
+
);
|
|
140784
|
+
}
|
|
140148
140785
|
};
|
|
140149
140786
|
|
|
140150
140787
|
|
|
@@ -142306,6 +142943,204 @@ proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryUser.prototype.clearMemberOfO
|
|
|
142306
142943
|
};
|
|
142307
142944
|
|
|
142308
142945
|
|
|
142946
|
+
/**
|
|
142947
|
+
* repeated DirectReport direct_reports = 60;
|
|
142948
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.DirectReport>}
|
|
142949
|
+
*/
|
|
142950
|
+
proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryUser.prototype.getDirectReportsList = function() {
|
|
142951
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.DirectReport>} */ (
|
|
142952
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.DirectReport, 60));
|
|
142953
|
+
};
|
|
142954
|
+
|
|
142955
|
+
|
|
142956
|
+
/**
|
|
142957
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.DirectReport>} value
|
|
142958
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryUser} returns this
|
|
142959
|
+
*/
|
|
142960
|
+
proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryUser.prototype.setDirectReportsList = function(value) {
|
|
142961
|
+
return jspb.Message.setRepeatedWrapperField(this, 60, value);
|
|
142962
|
+
};
|
|
142963
|
+
|
|
142964
|
+
|
|
142965
|
+
/**
|
|
142966
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.DirectReport=} opt_value
|
|
142967
|
+
* @param {number=} opt_index
|
|
142968
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.DirectReport}
|
|
142969
|
+
*/
|
|
142970
|
+
proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryUser.prototype.addDirectReports = function(opt_value, opt_index) {
|
|
142971
|
+
return jspb.Message.addToRepeatedWrapperField(this, 60, opt_value, proto.com.lansweeper.dp.outbound.v1.DirectReport, opt_index);
|
|
142972
|
+
};
|
|
142973
|
+
|
|
142974
|
+
|
|
142975
|
+
/**
|
|
142976
|
+
* Clears the list making it empty but non-null.
|
|
142977
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryUser} returns this
|
|
142978
|
+
*/
|
|
142979
|
+
proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryUser.prototype.clearDirectReportsList = function() {
|
|
142980
|
+
return this.setDirectReportsList([]);
|
|
142981
|
+
};
|
|
142982
|
+
|
|
142983
|
+
|
|
142984
|
+
|
|
142985
|
+
|
|
142986
|
+
|
|
142987
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
142988
|
+
/**
|
|
142989
|
+
* Creates an object representation of this proto.
|
|
142990
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
142991
|
+
* Optional fields that are not set will be set to undefined.
|
|
142992
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
142993
|
+
* For the list of reserved names please see:
|
|
142994
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
142995
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
142996
|
+
* JSPB instance for transitional soy proto support:
|
|
142997
|
+
* http://goto/soy-param-migration
|
|
142998
|
+
* @return {!Object}
|
|
142999
|
+
*/
|
|
143000
|
+
proto.com.lansweeper.dp.outbound.v1.DirectReport.prototype.toObject = function(opt_includeInstance) {
|
|
143001
|
+
return proto.com.lansweeper.dp.outbound.v1.DirectReport.toObject(opt_includeInstance, this);
|
|
143002
|
+
};
|
|
143003
|
+
|
|
143004
|
+
|
|
143005
|
+
/**
|
|
143006
|
+
* Static version of the {@see toObject} method.
|
|
143007
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
143008
|
+
* the JSPB instance for transitional soy proto support:
|
|
143009
|
+
* http://goto/soy-param-migration
|
|
143010
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.DirectReport} msg The msg instance to transform.
|
|
143011
|
+
* @return {!Object}
|
|
143012
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
143013
|
+
*/
|
|
143014
|
+
proto.com.lansweeper.dp.outbound.v1.DirectReport.toObject = function(includeInstance, msg) {
|
|
143015
|
+
var f, obj = {
|
|
143016
|
+
adUserKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
143017
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
143018
|
+
};
|
|
143019
|
+
|
|
143020
|
+
if (includeInstance) {
|
|
143021
|
+
obj.$jspbMessageInstance = msg;
|
|
143022
|
+
}
|
|
143023
|
+
return obj;
|
|
143024
|
+
};
|
|
143025
|
+
}
|
|
143026
|
+
|
|
143027
|
+
|
|
143028
|
+
/**
|
|
143029
|
+
* Deserializes binary data (in protobuf wire format).
|
|
143030
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
143031
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.DirectReport}
|
|
143032
|
+
*/
|
|
143033
|
+
proto.com.lansweeper.dp.outbound.v1.DirectReport.deserializeBinary = function(bytes) {
|
|
143034
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
143035
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.DirectReport;
|
|
143036
|
+
return proto.com.lansweeper.dp.outbound.v1.DirectReport.deserializeBinaryFromReader(msg, reader);
|
|
143037
|
+
};
|
|
143038
|
+
|
|
143039
|
+
|
|
143040
|
+
/**
|
|
143041
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
143042
|
+
* given reader into the given message object.
|
|
143043
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.DirectReport} msg The message object to deserialize into.
|
|
143044
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
143045
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.DirectReport}
|
|
143046
|
+
*/
|
|
143047
|
+
proto.com.lansweeper.dp.outbound.v1.DirectReport.deserializeBinaryFromReader = function(msg, reader) {
|
|
143048
|
+
while (reader.nextField()) {
|
|
143049
|
+
if (reader.isEndGroup()) {
|
|
143050
|
+
break;
|
|
143051
|
+
}
|
|
143052
|
+
var field = reader.getFieldNumber();
|
|
143053
|
+
switch (field) {
|
|
143054
|
+
case 1:
|
|
143055
|
+
var value = /** @type {string} */ (reader.readString());
|
|
143056
|
+
msg.setAdUserKey(value);
|
|
143057
|
+
break;
|
|
143058
|
+
case 2:
|
|
143059
|
+
var value = /** @type {string} */ (reader.readString());
|
|
143060
|
+
msg.setDisplayName(value);
|
|
143061
|
+
break;
|
|
143062
|
+
default:
|
|
143063
|
+
reader.skipField();
|
|
143064
|
+
break;
|
|
143065
|
+
}
|
|
143066
|
+
}
|
|
143067
|
+
return msg;
|
|
143068
|
+
};
|
|
143069
|
+
|
|
143070
|
+
|
|
143071
|
+
/**
|
|
143072
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
143073
|
+
* @return {!Uint8Array}
|
|
143074
|
+
*/
|
|
143075
|
+
proto.com.lansweeper.dp.outbound.v1.DirectReport.prototype.serializeBinary = function() {
|
|
143076
|
+
var writer = new jspb.BinaryWriter();
|
|
143077
|
+
proto.com.lansweeper.dp.outbound.v1.DirectReport.serializeBinaryToWriter(this, writer);
|
|
143078
|
+
return writer.getResultBuffer();
|
|
143079
|
+
};
|
|
143080
|
+
|
|
143081
|
+
|
|
143082
|
+
/**
|
|
143083
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
143084
|
+
* format), writing to the given BinaryWriter.
|
|
143085
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.DirectReport} message
|
|
143086
|
+
* @param {!jspb.BinaryWriter} writer
|
|
143087
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
143088
|
+
*/
|
|
143089
|
+
proto.com.lansweeper.dp.outbound.v1.DirectReport.serializeBinaryToWriter = function(message, writer) {
|
|
143090
|
+
var f = undefined;
|
|
143091
|
+
f = message.getAdUserKey();
|
|
143092
|
+
if (f.length > 0) {
|
|
143093
|
+
writer.writeString(
|
|
143094
|
+
1,
|
|
143095
|
+
f
|
|
143096
|
+
);
|
|
143097
|
+
}
|
|
143098
|
+
f = message.getDisplayName();
|
|
143099
|
+
if (f.length > 0) {
|
|
143100
|
+
writer.writeString(
|
|
143101
|
+
2,
|
|
143102
|
+
f
|
|
143103
|
+
);
|
|
143104
|
+
}
|
|
143105
|
+
};
|
|
143106
|
+
|
|
143107
|
+
|
|
143108
|
+
/**
|
|
143109
|
+
* optional string ad_user_key = 1;
|
|
143110
|
+
* @return {string}
|
|
143111
|
+
*/
|
|
143112
|
+
proto.com.lansweeper.dp.outbound.v1.DirectReport.prototype.getAdUserKey = function() {
|
|
143113
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
143114
|
+
};
|
|
143115
|
+
|
|
143116
|
+
|
|
143117
|
+
/**
|
|
143118
|
+
* @param {string} value
|
|
143119
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.DirectReport} returns this
|
|
143120
|
+
*/
|
|
143121
|
+
proto.com.lansweeper.dp.outbound.v1.DirectReport.prototype.setAdUserKey = function(value) {
|
|
143122
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
143123
|
+
};
|
|
143124
|
+
|
|
143125
|
+
|
|
143126
|
+
/**
|
|
143127
|
+
* optional string display_name = 2;
|
|
143128
|
+
* @return {string}
|
|
143129
|
+
*/
|
|
143130
|
+
proto.com.lansweeper.dp.outbound.v1.DirectReport.prototype.getDisplayName = function() {
|
|
143131
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
143132
|
+
};
|
|
143133
|
+
|
|
143134
|
+
|
|
143135
|
+
/**
|
|
143136
|
+
* @param {string} value
|
|
143137
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.DirectReport} returns this
|
|
143138
|
+
*/
|
|
143139
|
+
proto.com.lansweeper.dp.outbound.v1.DirectReport.prototype.setDisplayName = function(value) {
|
|
143140
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
143141
|
+
};
|
|
143142
|
+
|
|
143143
|
+
|
|
142309
143144
|
|
|
142310
143145
|
/**
|
|
142311
143146
|
* List of repeated fields within this message type.
|