@lansweeper/data-platform-outbound-grpc 0.1.42 → 0.1.43
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 +46 -0
- package/gen-proto/outbound_pb.js +383 -1
- package/generated-go/outbound.pb.go +2624 -2500
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +13 -0
|
@@ -315,6 +315,10 @@ export class Asset extends jspb.Message {
|
|
|
315
315
|
clearUniqueKey(): void;
|
|
316
316
|
getUniqueKey(): string | undefined;
|
|
317
317
|
setUniqueKey(value: string): Asset;
|
|
318
|
+
clearScanErrorList(): void;
|
|
319
|
+
getScanErrorList(): Array<ScanError>;
|
|
320
|
+
setScanErrorList(value: Array<ScanError>): Asset;
|
|
321
|
+
addScanError(value?: ScanError, index?: number): ScanError;
|
|
318
322
|
clearTagList(): void;
|
|
319
323
|
getTagList(): Array<Tag>;
|
|
320
324
|
setTagList(value: Array<Tag>): Asset;
|
|
@@ -443,6 +447,7 @@ export namespace Asset {
|
|
|
443
447
|
lastUpdated?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
444
448
|
lastEnriched?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
445
449
|
uniqueKey?: string,
|
|
450
|
+
scanErrorList: Array<ScanError.AsObject>,
|
|
446
451
|
tagList: Array<Tag.AsObject>,
|
|
447
452
|
relationList: Array<Relation.AsObject>,
|
|
448
453
|
core?: CoreFields.AsObject,
|
|
@@ -678,6 +683,47 @@ export namespace AssetType {
|
|
|
678
683
|
}
|
|
679
684
|
}
|
|
680
685
|
|
|
686
|
+
export class ScanError extends jspb.Message {
|
|
687
|
+
getSection(): string;
|
|
688
|
+
setSection(value: string): ScanError;
|
|
689
|
+
getError(): string;
|
|
690
|
+
setError(value: string): ScanError;
|
|
691
|
+
|
|
692
|
+
hasSource(): boolean;
|
|
693
|
+
clearSource(): void;
|
|
694
|
+
getSource(): string | undefined;
|
|
695
|
+
setSource(value: string): ScanError;
|
|
696
|
+
|
|
697
|
+
hasTimestamp(): boolean;
|
|
698
|
+
clearTimestamp(): void;
|
|
699
|
+
getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
700
|
+
setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): ScanError;
|
|
701
|
+
|
|
702
|
+
hasDuration(): boolean;
|
|
703
|
+
clearDuration(): void;
|
|
704
|
+
getDuration(): number | undefined;
|
|
705
|
+
setDuration(value: number): ScanError;
|
|
706
|
+
|
|
707
|
+
serializeBinary(): Uint8Array;
|
|
708
|
+
toObject(includeInstance?: boolean): ScanError.AsObject;
|
|
709
|
+
static toObject(includeInstance: boolean, msg: ScanError): ScanError.AsObject;
|
|
710
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
711
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
712
|
+
static serializeBinaryToWriter(message: ScanError, writer: jspb.BinaryWriter): void;
|
|
713
|
+
static deserializeBinary(bytes: Uint8Array): ScanError;
|
|
714
|
+
static deserializeBinaryFromReader(message: ScanError, reader: jspb.BinaryReader): ScanError;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
export namespace ScanError {
|
|
718
|
+
export type AsObject = {
|
|
719
|
+
section: string,
|
|
720
|
+
error: string,
|
|
721
|
+
source?: string,
|
|
722
|
+
timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
723
|
+
duration?: number,
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
|
|
681
727
|
export class CoreFields extends jspb.Message {
|
|
682
728
|
|
|
683
729
|
hasType(): boolean;
|
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -69,6 +69,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.PointingDevice', null, gl
|
|
|
69
69
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Processor', null, global);
|
|
70
70
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.RawSoftware', null, global);
|
|
71
71
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Relation', null, global);
|
|
72
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScanError', null, global);
|
|
72
73
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Software', null, global);
|
|
73
74
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareInventory', null, global);
|
|
74
75
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoundCard', null, global);
|
|
@@ -391,6 +392,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
391
392
|
*/
|
|
392
393
|
proto.com.lansweeper.dp.outbound.v1.AssetType.displayName = 'proto.com.lansweeper.dp.outbound.v1.AssetType';
|
|
393
394
|
}
|
|
395
|
+
/**
|
|
396
|
+
* Generated by JsPbCodeGenerator.
|
|
397
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
398
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
399
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
400
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
401
|
+
* valid.
|
|
402
|
+
* @extends {jspb.Message}
|
|
403
|
+
* @constructor
|
|
404
|
+
*/
|
|
405
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError = function(opt_data) {
|
|
406
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
407
|
+
};
|
|
408
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.ScanError, jspb.Message);
|
|
409
|
+
if (goog.DEBUG && !COMPILED) {
|
|
410
|
+
/**
|
|
411
|
+
* @public
|
|
412
|
+
* @override
|
|
413
|
+
*/
|
|
414
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.displayName = 'proto.com.lansweeper.dp.outbound.v1.ScanError';
|
|
415
|
+
}
|
|
394
416
|
/**
|
|
395
417
|
* Generated by JsPbCodeGenerator.
|
|
396
418
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3298,7 +3320,7 @@ proto.com.lansweeper.dp.outbound.v1.Entity.prototype.hasAsset = function() {
|
|
|
3298
3320
|
* @private {!Array<number>}
|
|
3299
3321
|
* @const
|
|
3300
3322
|
*/
|
|
3301
|
-
proto.com.lansweeper.dp.outbound.v1.Asset.repeatedFields_ = [14,20,26,13,15,24,25,27,30,28,29];
|
|
3323
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.repeatedFields_ = [33,14,20,26,13,15,24,25,27,30,28,29];
|
|
3302
3324
|
|
|
3303
3325
|
|
|
3304
3326
|
|
|
@@ -3337,6 +3359,8 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
|
|
|
3337
3359
|
lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
3338
3360
|
lastEnriched: (f = msg.getLastEnriched()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
3339
3361
|
uniqueKey: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
3362
|
+
scanErrorList: jspb.Message.toObjectList(msg.getScanErrorList(),
|
|
3363
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.toObject, includeInstance),
|
|
3340
3364
|
tagList: jspb.Message.toObjectList(msg.getTagList(),
|
|
3341
3365
|
proto.com.lansweeper.dp.outbound.v1.Tag.toObject, includeInstance),
|
|
3342
3366
|
relationList: jspb.Message.toObjectList(msg.getRelationList(),
|
|
@@ -3437,6 +3461,11 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
|
|
|
3437
3461
|
var value = /** @type {string} */ (reader.readString());
|
|
3438
3462
|
msg.setUniqueKey(value);
|
|
3439
3463
|
break;
|
|
3464
|
+
case 33:
|
|
3465
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.ScanError;
|
|
3466
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ScanError.deserializeBinaryFromReader);
|
|
3467
|
+
msg.addScanError(value);
|
|
3468
|
+
break;
|
|
3440
3469
|
case 14:
|
|
3441
3470
|
var value = new proto.com.lansweeper.dp.outbound.v1.Tag;
|
|
3442
3471
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Tag.deserializeBinaryFromReader);
|
|
@@ -3633,6 +3662,14 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
|
|
|
3633
3662
|
f
|
|
3634
3663
|
);
|
|
3635
3664
|
}
|
|
3665
|
+
f = message.getScanErrorList();
|
|
3666
|
+
if (f.length > 0) {
|
|
3667
|
+
writer.writeRepeatedMessage(
|
|
3668
|
+
33,
|
|
3669
|
+
f,
|
|
3670
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.serializeBinaryToWriter
|
|
3671
|
+
);
|
|
3672
|
+
}
|
|
3636
3673
|
f = message.getTagList();
|
|
3637
3674
|
if (f.length > 0) {
|
|
3638
3675
|
writer.writeRepeatedMessage(
|
|
@@ -4049,6 +4086,44 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasUniqueKey = function() {
|
|
|
4049
4086
|
};
|
|
4050
4087
|
|
|
4051
4088
|
|
|
4089
|
+
/**
|
|
4090
|
+
* repeated ScanError scan_error = 33;
|
|
4091
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.ScanError>}
|
|
4092
|
+
*/
|
|
4093
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getScanErrorList = function() {
|
|
4094
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.ScanError>} */ (
|
|
4095
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.ScanError, 33));
|
|
4096
|
+
};
|
|
4097
|
+
|
|
4098
|
+
|
|
4099
|
+
/**
|
|
4100
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.ScanError>} value
|
|
4101
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
4102
|
+
*/
|
|
4103
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setScanErrorList = function(value) {
|
|
4104
|
+
return jspb.Message.setRepeatedWrapperField(this, 33, value);
|
|
4105
|
+
};
|
|
4106
|
+
|
|
4107
|
+
|
|
4108
|
+
/**
|
|
4109
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ScanError=} opt_value
|
|
4110
|
+
* @param {number=} opt_index
|
|
4111
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanError}
|
|
4112
|
+
*/
|
|
4113
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.addScanError = function(opt_value, opt_index) {
|
|
4114
|
+
return jspb.Message.addToRepeatedWrapperField(this, 33, opt_value, proto.com.lansweeper.dp.outbound.v1.ScanError, opt_index);
|
|
4115
|
+
};
|
|
4116
|
+
|
|
4117
|
+
|
|
4118
|
+
/**
|
|
4119
|
+
* Clears the list making it empty but non-null.
|
|
4120
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
4121
|
+
*/
|
|
4122
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearScanErrorList = function() {
|
|
4123
|
+
return this.setScanErrorList([]);
|
|
4124
|
+
};
|
|
4125
|
+
|
|
4126
|
+
|
|
4052
4127
|
/**
|
|
4053
4128
|
* repeated Tag tag = 14;
|
|
4054
4129
|
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.Tag>}
|
|
@@ -6526,6 +6601,313 @@ proto.com.lansweeper.dp.outbound.v1.AssetType.prototype.hasSubType = function()
|
|
|
6526
6601
|
|
|
6527
6602
|
|
|
6528
6603
|
|
|
6604
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6605
|
+
/**
|
|
6606
|
+
* Creates an object representation of this proto.
|
|
6607
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6608
|
+
* Optional fields that are not set will be set to undefined.
|
|
6609
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6610
|
+
* For the list of reserved names please see:
|
|
6611
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6612
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6613
|
+
* JSPB instance for transitional soy proto support:
|
|
6614
|
+
* http://goto/soy-param-migration
|
|
6615
|
+
* @return {!Object}
|
|
6616
|
+
*/
|
|
6617
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.toObject = function(opt_includeInstance) {
|
|
6618
|
+
return proto.com.lansweeper.dp.outbound.v1.ScanError.toObject(opt_includeInstance, this);
|
|
6619
|
+
};
|
|
6620
|
+
|
|
6621
|
+
|
|
6622
|
+
/**
|
|
6623
|
+
* Static version of the {@see toObject} method.
|
|
6624
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6625
|
+
* the JSPB instance for transitional soy proto support:
|
|
6626
|
+
* http://goto/soy-param-migration
|
|
6627
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ScanError} msg The msg instance to transform.
|
|
6628
|
+
* @return {!Object}
|
|
6629
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6630
|
+
*/
|
|
6631
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.toObject = function(includeInstance, msg) {
|
|
6632
|
+
var f, obj = {
|
|
6633
|
+
section: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6634
|
+
error: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6635
|
+
source: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6636
|
+
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6637
|
+
duration: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
6638
|
+
};
|
|
6639
|
+
|
|
6640
|
+
if (includeInstance) {
|
|
6641
|
+
obj.$jspbMessageInstance = msg;
|
|
6642
|
+
}
|
|
6643
|
+
return obj;
|
|
6644
|
+
};
|
|
6645
|
+
}
|
|
6646
|
+
|
|
6647
|
+
|
|
6648
|
+
/**
|
|
6649
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6650
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6651
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanError}
|
|
6652
|
+
*/
|
|
6653
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.deserializeBinary = function(bytes) {
|
|
6654
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6655
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.ScanError;
|
|
6656
|
+
return proto.com.lansweeper.dp.outbound.v1.ScanError.deserializeBinaryFromReader(msg, reader);
|
|
6657
|
+
};
|
|
6658
|
+
|
|
6659
|
+
|
|
6660
|
+
/**
|
|
6661
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6662
|
+
* given reader into the given message object.
|
|
6663
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ScanError} msg The message object to deserialize into.
|
|
6664
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6665
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanError}
|
|
6666
|
+
*/
|
|
6667
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.deserializeBinaryFromReader = function(msg, reader) {
|
|
6668
|
+
while (reader.nextField()) {
|
|
6669
|
+
if (reader.isEndGroup()) {
|
|
6670
|
+
break;
|
|
6671
|
+
}
|
|
6672
|
+
var field = reader.getFieldNumber();
|
|
6673
|
+
switch (field) {
|
|
6674
|
+
case 1:
|
|
6675
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6676
|
+
msg.setSection(value);
|
|
6677
|
+
break;
|
|
6678
|
+
case 2:
|
|
6679
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6680
|
+
msg.setError(value);
|
|
6681
|
+
break;
|
|
6682
|
+
case 3:
|
|
6683
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6684
|
+
msg.setSource(value);
|
|
6685
|
+
break;
|
|
6686
|
+
case 4:
|
|
6687
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
6688
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
6689
|
+
msg.setTimestamp(value);
|
|
6690
|
+
break;
|
|
6691
|
+
case 5:
|
|
6692
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6693
|
+
msg.setDuration(value);
|
|
6694
|
+
break;
|
|
6695
|
+
default:
|
|
6696
|
+
reader.skipField();
|
|
6697
|
+
break;
|
|
6698
|
+
}
|
|
6699
|
+
}
|
|
6700
|
+
return msg;
|
|
6701
|
+
};
|
|
6702
|
+
|
|
6703
|
+
|
|
6704
|
+
/**
|
|
6705
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6706
|
+
* @return {!Uint8Array}
|
|
6707
|
+
*/
|
|
6708
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.serializeBinary = function() {
|
|
6709
|
+
var writer = new jspb.BinaryWriter();
|
|
6710
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.serializeBinaryToWriter(this, writer);
|
|
6711
|
+
return writer.getResultBuffer();
|
|
6712
|
+
};
|
|
6713
|
+
|
|
6714
|
+
|
|
6715
|
+
/**
|
|
6716
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6717
|
+
* format), writing to the given BinaryWriter.
|
|
6718
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ScanError} message
|
|
6719
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6720
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6721
|
+
*/
|
|
6722
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.serializeBinaryToWriter = function(message, writer) {
|
|
6723
|
+
var f = undefined;
|
|
6724
|
+
f = message.getSection();
|
|
6725
|
+
if (f.length > 0) {
|
|
6726
|
+
writer.writeString(
|
|
6727
|
+
1,
|
|
6728
|
+
f
|
|
6729
|
+
);
|
|
6730
|
+
}
|
|
6731
|
+
f = message.getError();
|
|
6732
|
+
if (f.length > 0) {
|
|
6733
|
+
writer.writeString(
|
|
6734
|
+
2,
|
|
6735
|
+
f
|
|
6736
|
+
);
|
|
6737
|
+
}
|
|
6738
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
6739
|
+
if (f != null) {
|
|
6740
|
+
writer.writeString(
|
|
6741
|
+
3,
|
|
6742
|
+
f
|
|
6743
|
+
);
|
|
6744
|
+
}
|
|
6745
|
+
f = message.getTimestamp();
|
|
6746
|
+
if (f != null) {
|
|
6747
|
+
writer.writeMessage(
|
|
6748
|
+
4,
|
|
6749
|
+
f,
|
|
6750
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
6751
|
+
);
|
|
6752
|
+
}
|
|
6753
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
6754
|
+
if (f != null) {
|
|
6755
|
+
writer.writeInt64(
|
|
6756
|
+
5,
|
|
6757
|
+
f
|
|
6758
|
+
);
|
|
6759
|
+
}
|
|
6760
|
+
};
|
|
6761
|
+
|
|
6762
|
+
|
|
6763
|
+
/**
|
|
6764
|
+
* optional string section = 1;
|
|
6765
|
+
* @return {string}
|
|
6766
|
+
*/
|
|
6767
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.getSection = function() {
|
|
6768
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6769
|
+
};
|
|
6770
|
+
|
|
6771
|
+
|
|
6772
|
+
/**
|
|
6773
|
+
* @param {string} value
|
|
6774
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanError} returns this
|
|
6775
|
+
*/
|
|
6776
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.setSection = function(value) {
|
|
6777
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6778
|
+
};
|
|
6779
|
+
|
|
6780
|
+
|
|
6781
|
+
/**
|
|
6782
|
+
* optional string error = 2;
|
|
6783
|
+
* @return {string}
|
|
6784
|
+
*/
|
|
6785
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.getError = function() {
|
|
6786
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6787
|
+
};
|
|
6788
|
+
|
|
6789
|
+
|
|
6790
|
+
/**
|
|
6791
|
+
* @param {string} value
|
|
6792
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanError} returns this
|
|
6793
|
+
*/
|
|
6794
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.setError = function(value) {
|
|
6795
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
6796
|
+
};
|
|
6797
|
+
|
|
6798
|
+
|
|
6799
|
+
/**
|
|
6800
|
+
* optional string source = 3;
|
|
6801
|
+
* @return {string}
|
|
6802
|
+
*/
|
|
6803
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.getSource = function() {
|
|
6804
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6805
|
+
};
|
|
6806
|
+
|
|
6807
|
+
|
|
6808
|
+
/**
|
|
6809
|
+
* @param {string} value
|
|
6810
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanError} returns this
|
|
6811
|
+
*/
|
|
6812
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.setSource = function(value) {
|
|
6813
|
+
return jspb.Message.setField(this, 3, value);
|
|
6814
|
+
};
|
|
6815
|
+
|
|
6816
|
+
|
|
6817
|
+
/**
|
|
6818
|
+
* Clears the field making it undefined.
|
|
6819
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanError} returns this
|
|
6820
|
+
*/
|
|
6821
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.clearSource = function() {
|
|
6822
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
6823
|
+
};
|
|
6824
|
+
|
|
6825
|
+
|
|
6826
|
+
/**
|
|
6827
|
+
* Returns whether this field is set.
|
|
6828
|
+
* @return {boolean}
|
|
6829
|
+
*/
|
|
6830
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.hasSource = function() {
|
|
6831
|
+
return jspb.Message.getField(this, 3) != null;
|
|
6832
|
+
};
|
|
6833
|
+
|
|
6834
|
+
|
|
6835
|
+
/**
|
|
6836
|
+
* optional google.protobuf.Timestamp timestamp = 4;
|
|
6837
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
6838
|
+
*/
|
|
6839
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.getTimestamp = function() {
|
|
6840
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
6841
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
6842
|
+
};
|
|
6843
|
+
|
|
6844
|
+
|
|
6845
|
+
/**
|
|
6846
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
6847
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanError} returns this
|
|
6848
|
+
*/
|
|
6849
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.setTimestamp = function(value) {
|
|
6850
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
6851
|
+
};
|
|
6852
|
+
|
|
6853
|
+
|
|
6854
|
+
/**
|
|
6855
|
+
* Clears the message field making it undefined.
|
|
6856
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanError} returns this
|
|
6857
|
+
*/
|
|
6858
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.clearTimestamp = function() {
|
|
6859
|
+
return this.setTimestamp(undefined);
|
|
6860
|
+
};
|
|
6861
|
+
|
|
6862
|
+
|
|
6863
|
+
/**
|
|
6864
|
+
* Returns whether this field is set.
|
|
6865
|
+
* @return {boolean}
|
|
6866
|
+
*/
|
|
6867
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.hasTimestamp = function() {
|
|
6868
|
+
return jspb.Message.getField(this, 4) != null;
|
|
6869
|
+
};
|
|
6870
|
+
|
|
6871
|
+
|
|
6872
|
+
/**
|
|
6873
|
+
* optional int64 duration = 5;
|
|
6874
|
+
* @return {number}
|
|
6875
|
+
*/
|
|
6876
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.getDuration = function() {
|
|
6877
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
6878
|
+
};
|
|
6879
|
+
|
|
6880
|
+
|
|
6881
|
+
/**
|
|
6882
|
+
* @param {number} value
|
|
6883
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanError} returns this
|
|
6884
|
+
*/
|
|
6885
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.setDuration = function(value) {
|
|
6886
|
+
return jspb.Message.setField(this, 5, value);
|
|
6887
|
+
};
|
|
6888
|
+
|
|
6889
|
+
|
|
6890
|
+
/**
|
|
6891
|
+
* Clears the field making it undefined.
|
|
6892
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ScanError} returns this
|
|
6893
|
+
*/
|
|
6894
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.clearDuration = function() {
|
|
6895
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
6896
|
+
};
|
|
6897
|
+
|
|
6898
|
+
|
|
6899
|
+
/**
|
|
6900
|
+
* Returns whether this field is set.
|
|
6901
|
+
* @return {boolean}
|
|
6902
|
+
*/
|
|
6903
|
+
proto.com.lansweeper.dp.outbound.v1.ScanError.prototype.hasDuration = function() {
|
|
6904
|
+
return jspb.Message.getField(this, 5) != null;
|
|
6905
|
+
};
|
|
6906
|
+
|
|
6907
|
+
|
|
6908
|
+
|
|
6909
|
+
|
|
6910
|
+
|
|
6529
6911
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6530
6912
|
/**
|
|
6531
6913
|
* Creates an object representation of this proto.
|