@lansweeper/data-platform-outbound-grpc 0.8.3 → 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 +4 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +72 -0
- package/gen-proto/outbound_pb.js +601 -1
- package/generated-go/outbound.pb.go +11786 -11621
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +15 -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/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 +15 -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/Outbound.java +3950 -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 +4 -0
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -0
- package/model/target/{outbound-model-0.8.2-sources.jar → outbound-model-0.8.3-sources.jar} +0 -0
- package/model/target/{outbound-model-0.8.2.jar → outbound-model-0.8.3.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +15 -0
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.8.2-sources.jar → outbound-service-0.8.3-sources.jar} +0 -0
- package/service/target/{outbound-service-0.8.2.jar → outbound-service-0.8.3.jar} +0 -0
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -263,6 +263,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Relation', null, global);
|
|
|
263
263
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.RunningProcess', null, global);
|
|
264
264
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScanCredential', null, global);
|
|
265
265
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScanError', null, global);
|
|
266
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScanSection', null, global);
|
|
266
267
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScannedPort', null, global);
|
|
267
268
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SccmClient', null, global);
|
|
268
269
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SccmInfo', null, global);
|
|
@@ -1434,6 +1435,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1434
1435
|
*/
|
|
1435
1436
|
proto.com.lansweeper.dp.outbound.v1.ScanError.displayName = 'proto.com.lansweeper.dp.outbound.v1.ScanError';
|
|
1436
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
|
+
}
|
|
1437
1459
|
/**
|
|
1438
1460
|
* Generated by JsPbCodeGenerator.
|
|
1439
1461
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -11784,7 +11806,7 @@ proto.com.lansweeper.dp.outbound.v1.Entity.prototype.hasGroup = function() {
|
|
|
11784
11806
|
* @private {!Array<number>}
|
|
11785
11807
|
* @const
|
|
11786
11808
|
*/
|
|
11787
|
-
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];
|
|
11788
11810
|
|
|
11789
11811
|
|
|
11790
11812
|
|
|
@@ -11831,6 +11853,8 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
|
|
|
11831
11853
|
dataProcessorList: jspb.Message.toObjectList(msg.getDataProcessorList(),
|
|
11832
11854
|
proto.com.lansweeper.dp.outbound.v1.DataProcessor.toObject, includeInstance),
|
|
11833
11855
|
uniqueKey: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
11856
|
+
scanSectionList: jspb.Message.toObjectList(msg.getScanSectionList(),
|
|
11857
|
+
proto.com.lansweeper.dp.outbound.v1.ScanSection.toObject, includeInstance),
|
|
11834
11858
|
scanErrorList: jspb.Message.toObjectList(msg.getScanErrorList(),
|
|
11835
11859
|
proto.com.lansweeper.dp.outbound.v1.ScanError.toObject, includeInstance),
|
|
11836
11860
|
internetIp: (f = msg.getInternetIp()) && proto.com.lansweeper.dp.outbound.v1.IpInfo.toObject(includeInstance, f),
|
|
@@ -11954,6 +11978,11 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
|
|
|
11954
11978
|
var value = /** @type {string} */ (reader.readString());
|
|
11955
11979
|
msg.setUniqueKey(value);
|
|
11956
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;
|
|
11957
11986
|
case 33:
|
|
11958
11987
|
var value = new proto.com.lansweeper.dp.outbound.v1.ScanError;
|
|
11959
11988
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ScanError.deserializeBinaryFromReader);
|
|
@@ -12218,6 +12247,14 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
|
|
|
12218
12247
|
f
|
|
12219
12248
|
);
|
|
12220
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
|
+
}
|
|
12221
12258
|
f = message.getScanErrorList();
|
|
12222
12259
|
if (f.length > 0) {
|
|
12223
12260
|
writer.writeRepeatedMessage(
|
|
@@ -12868,6 +12905,44 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasUniqueKey = function() {
|
|
|
12868
12905
|
};
|
|
12869
12906
|
|
|
12870
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
|
+
|
|
12871
12946
|
/**
|
|
12872
12947
|
* repeated ScanError scan_error = 33;
|
|
12873
12948
|
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.ScanError>}
|
|
@@ -31867,6 +31942,531 @@ proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.hasDuration = function()
|
|
|
31867
31942
|
|
|
31868
31943
|
|
|
31869
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
|
+
|
|
31870
32470
|
|
|
31871
32471
|
|
|
31872
32472
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|