@lansweeper/data-platform-outbound-grpc 0.6.0 → 0.7.0
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 +23 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +107 -6
- package/gen-proto/outbound_pb.js +859 -53
- package/generated-go/outbound.pb.go +13354 -13126
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +22 -2
- 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/LockedFields$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/LockedFields$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/LockedFields.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/LockedFieldsOrBuilder.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/Printer$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Printer$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Printer.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/PrinterOrBuilder.class +0 -0
- package/model/target/classes/outbound.proto +22 -2
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Asset.java +532 -114
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +42 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/LockedFields.java +2549 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/LockedFieldsOrBuilder.java +225 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3911 -3882
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Printer.java +4 -243
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/PrinterOrBuilder.java +0 -27
- 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.5.0-sources.jar → outbound-model-0.6.1-sources.jar} +0 -0
- package/model/target/{outbound-model-0.5.0.jar → outbound-model-0.6.1.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +22 -2
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.5.0-sources.jar → outbound-service-0.6.1-sources.jar} +0 -0
- package/service/target/{outbound-service-0.5.0.jar → outbound-service-0.6.1.jar} +0 -0
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -184,6 +184,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.LinuxCommandInformation',
|
|
|
184
184
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.LinuxOperatingSystemInfo', null, global);
|
|
185
185
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ListEntityRequest', null, global);
|
|
186
186
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ListEntityResponse', null, global);
|
|
187
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.LockedFields', null, global);
|
|
187
188
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MacComputerBattery', null, global);
|
|
188
189
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MacDiskVolume', null, global);
|
|
189
190
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MacHardDiskDevice', null, global);
|
|
@@ -779,6 +780,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
779
780
|
*/
|
|
780
781
|
proto.com.lansweeper.dp.outbound.v1.Asset.displayName = 'proto.com.lansweeper.dp.outbound.v1.Asset';
|
|
781
782
|
}
|
|
783
|
+
/**
|
|
784
|
+
* Generated by JsPbCodeGenerator.
|
|
785
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
786
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
787
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
788
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
789
|
+
* valid.
|
|
790
|
+
* @extends {jspb.Message}
|
|
791
|
+
* @constructor
|
|
792
|
+
*/
|
|
793
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields = function(opt_data) {
|
|
794
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
795
|
+
};
|
|
796
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.LockedFields, jspb.Message);
|
|
797
|
+
if (goog.DEBUG && !COMPILED) {
|
|
798
|
+
/**
|
|
799
|
+
* @public
|
|
800
|
+
* @override
|
|
801
|
+
*/
|
|
802
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.displayName = 'proto.com.lansweeper.dp.outbound.v1.LockedFields';
|
|
803
|
+
}
|
|
782
804
|
/**
|
|
783
805
|
* Generated by JsPbCodeGenerator.
|
|
784
806
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -11765,6 +11787,7 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
|
|
|
11765
11787
|
serverGroup: (f = msg.getServerGroup()) && proto.com.lansweeper.dp.outbound.v1.ServerGroup.toObject(includeInstance, f),
|
|
11766
11788
|
adComputer: (f = msg.getAdComputer()) && proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryComputer.toObject(includeInstance, f),
|
|
11767
11789
|
hyperVComputer: (f = msg.getHyperVComputer()) && proto.com.lansweeper.dp.outbound.v1.HyperV.toObject(includeInstance, f),
|
|
11790
|
+
adPrinter: (f = msg.getAdPrinter()) && proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.toObject(includeInstance, f),
|
|
11768
11791
|
printer: (f = msg.getPrinter()) && proto.com.lansweeper.dp.outbound.v1.Printer.toObject(includeInstance, f),
|
|
11769
11792
|
ups: (f = msg.getUps()) && proto.com.lansweeper.dp.outbound.v1.Ups.toObject(includeInstance, f),
|
|
11770
11793
|
otModule: (f = msg.getOtModule()) && proto.com.lansweeper.dp.outbound.v1.OtModule.toObject(includeInstance, f),
|
|
@@ -11774,7 +11797,8 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
|
|
|
11774
11797
|
intuneDevice: (f = msg.getIntuneDevice()) && proto.com.lansweeper.dp.outbound.v1.IntuneDevice.toObject(includeInstance, f),
|
|
11775
11798
|
vmware: (f = msg.getVmware()) && proto.com.lansweeper.dp.outbound.v1.Vmware.toObject(includeInstance, f),
|
|
11776
11799
|
office365Organization: (f = msg.getOffice365Organization()) && proto.com.lansweeper.dp.outbound.v1.Office365Organization.toObject(includeInstance, f),
|
|
11777
|
-
citrix: (f = msg.getCitrix()) && proto.com.lansweeper.dp.outbound.v1.Citrix.toObject(includeInstance, f)
|
|
11800
|
+
citrix: (f = msg.getCitrix()) && proto.com.lansweeper.dp.outbound.v1.Citrix.toObject(includeInstance, f),
|
|
11801
|
+
manualAssetLockedFields: (f = msg.getManualAssetLockedFields()) && proto.com.lansweeper.dp.outbound.v1.LockedFields.toObject(includeInstance, f)
|
|
11778
11802
|
};
|
|
11779
11803
|
|
|
11780
11804
|
if (includeInstance) {
|
|
@@ -11953,6 +11977,11 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
|
|
|
11953
11977
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.HyperV.deserializeBinaryFromReader);
|
|
11954
11978
|
msg.setHyperVComputer(value);
|
|
11955
11979
|
break;
|
|
11980
|
+
case 96:
|
|
11981
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter;
|
|
11982
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.deserializeBinaryFromReader);
|
|
11983
|
+
msg.setAdPrinter(value);
|
|
11984
|
+
break;
|
|
11956
11985
|
case 84:
|
|
11957
11986
|
var value = new proto.com.lansweeper.dp.outbound.v1.Printer;
|
|
11958
11987
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Printer.deserializeBinaryFromReader);
|
|
@@ -11998,6 +12027,11 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
|
|
|
11998
12027
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Citrix.deserializeBinaryFromReader);
|
|
11999
12028
|
msg.setCitrix(value);
|
|
12000
12029
|
break;
|
|
12030
|
+
case 97:
|
|
12031
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.LockedFields;
|
|
12032
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.LockedFields.deserializeBinaryFromReader);
|
|
12033
|
+
msg.setManualAssetLockedFields(value);
|
|
12034
|
+
break;
|
|
12001
12035
|
default:
|
|
12002
12036
|
reader.skipField();
|
|
12003
12037
|
break;
|
|
@@ -12256,6 +12290,14 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
|
|
|
12256
12290
|
proto.com.lansweeper.dp.outbound.v1.HyperV.serializeBinaryToWriter
|
|
12257
12291
|
);
|
|
12258
12292
|
}
|
|
12293
|
+
f = message.getAdPrinter();
|
|
12294
|
+
if (f != null) {
|
|
12295
|
+
writer.writeMessage(
|
|
12296
|
+
96,
|
|
12297
|
+
f,
|
|
12298
|
+
proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.serializeBinaryToWriter
|
|
12299
|
+
);
|
|
12300
|
+
}
|
|
12259
12301
|
f = message.getPrinter();
|
|
12260
12302
|
if (f != null) {
|
|
12261
12303
|
writer.writeMessage(
|
|
@@ -12328,6 +12370,14 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
|
|
|
12328
12370
|
proto.com.lansweeper.dp.outbound.v1.Citrix.serializeBinaryToWriter
|
|
12329
12371
|
);
|
|
12330
12372
|
}
|
|
12373
|
+
f = message.getManualAssetLockedFields();
|
|
12374
|
+
if (f != null) {
|
|
12375
|
+
writer.writeMessage(
|
|
12376
|
+
97,
|
|
12377
|
+
f,
|
|
12378
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.serializeBinaryToWriter
|
|
12379
|
+
);
|
|
12380
|
+
}
|
|
12331
12381
|
};
|
|
12332
12382
|
|
|
12333
12383
|
|
|
@@ -13408,6 +13458,43 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasHyperVComputer = function
|
|
|
13408
13458
|
};
|
|
13409
13459
|
|
|
13410
13460
|
|
|
13461
|
+
/**
|
|
13462
|
+
* optional ActiveDirectoryPrinter ad_printer = 96;
|
|
13463
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter}
|
|
13464
|
+
*/
|
|
13465
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getAdPrinter = function() {
|
|
13466
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter} */ (
|
|
13467
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter, 96));
|
|
13468
|
+
};
|
|
13469
|
+
|
|
13470
|
+
|
|
13471
|
+
/**
|
|
13472
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter|undefined} value
|
|
13473
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
13474
|
+
*/
|
|
13475
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setAdPrinter = function(value) {
|
|
13476
|
+
return jspb.Message.setWrapperField(this, 96, value);
|
|
13477
|
+
};
|
|
13478
|
+
|
|
13479
|
+
|
|
13480
|
+
/**
|
|
13481
|
+
* Clears the message field making it undefined.
|
|
13482
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
13483
|
+
*/
|
|
13484
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearAdPrinter = function() {
|
|
13485
|
+
return this.setAdPrinter(undefined);
|
|
13486
|
+
};
|
|
13487
|
+
|
|
13488
|
+
|
|
13489
|
+
/**
|
|
13490
|
+
* Returns whether this field is set.
|
|
13491
|
+
* @return {boolean}
|
|
13492
|
+
*/
|
|
13493
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasAdPrinter = function() {
|
|
13494
|
+
return jspb.Message.getField(this, 96) != null;
|
|
13495
|
+
};
|
|
13496
|
+
|
|
13497
|
+
|
|
13411
13498
|
/**
|
|
13412
13499
|
* optional Printer printer = 84;
|
|
13413
13500
|
* @return {?proto.com.lansweeper.dp.outbound.v1.Printer}
|
|
@@ -13742,6 +13829,776 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasCitrix = function() {
|
|
|
13742
13829
|
};
|
|
13743
13830
|
|
|
13744
13831
|
|
|
13832
|
+
/**
|
|
13833
|
+
* optional LockedFields manual_asset_locked_fields = 97;
|
|
13834
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.LockedFields}
|
|
13835
|
+
*/
|
|
13836
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getManualAssetLockedFields = function() {
|
|
13837
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.LockedFields} */ (
|
|
13838
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.LockedFields, 97));
|
|
13839
|
+
};
|
|
13840
|
+
|
|
13841
|
+
|
|
13842
|
+
/**
|
|
13843
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.LockedFields|undefined} value
|
|
13844
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
13845
|
+
*/
|
|
13846
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setManualAssetLockedFields = function(value) {
|
|
13847
|
+
return jspb.Message.setWrapperField(this, 97, value);
|
|
13848
|
+
};
|
|
13849
|
+
|
|
13850
|
+
|
|
13851
|
+
/**
|
|
13852
|
+
* Clears the message field making it undefined.
|
|
13853
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
13854
|
+
*/
|
|
13855
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearManualAssetLockedFields = function() {
|
|
13856
|
+
return this.setManualAssetLockedFields(undefined);
|
|
13857
|
+
};
|
|
13858
|
+
|
|
13859
|
+
|
|
13860
|
+
/**
|
|
13861
|
+
* Returns whether this field is set.
|
|
13862
|
+
* @return {boolean}
|
|
13863
|
+
*/
|
|
13864
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasManualAssetLockedFields = function() {
|
|
13865
|
+
return jspb.Message.getField(this, 97) != null;
|
|
13866
|
+
};
|
|
13867
|
+
|
|
13868
|
+
|
|
13869
|
+
|
|
13870
|
+
|
|
13871
|
+
|
|
13872
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13873
|
+
/**
|
|
13874
|
+
* Creates an object representation of this proto.
|
|
13875
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13876
|
+
* Optional fields that are not set will be set to undefined.
|
|
13877
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13878
|
+
* For the list of reserved names please see:
|
|
13879
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13880
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13881
|
+
* JSPB instance for transitional soy proto support:
|
|
13882
|
+
* http://goto/soy-param-migration
|
|
13883
|
+
* @return {!Object}
|
|
13884
|
+
*/
|
|
13885
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.toObject = function(opt_includeInstance) {
|
|
13886
|
+
return proto.com.lansweeper.dp.outbound.v1.LockedFields.toObject(opt_includeInstance, this);
|
|
13887
|
+
};
|
|
13888
|
+
|
|
13889
|
+
|
|
13890
|
+
/**
|
|
13891
|
+
* Static version of the {@see toObject} method.
|
|
13892
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13893
|
+
* the JSPB instance for transitional soy proto support:
|
|
13894
|
+
* http://goto/soy-param-migration
|
|
13895
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.LockedFields} msg The msg instance to transform.
|
|
13896
|
+
* @return {!Object}
|
|
13897
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13898
|
+
*/
|
|
13899
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.toObject = function(includeInstance, msg) {
|
|
13900
|
+
var f, obj = {
|
|
13901
|
+
assetName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13902
|
+
assetType: (f = msg.getAssetType()) && proto.com.lansweeper.dp.outbound.v1.AssetType.toObject(includeInstance, f),
|
|
13903
|
+
macAddress: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
13904
|
+
state: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
13905
|
+
description: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
13906
|
+
manufacturer: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
13907
|
+
model: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
13908
|
+
serialNumber: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
13909
|
+
systemSku: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
13910
|
+
contact: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
13911
|
+
address: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
13912
|
+
purchaseDate: (f = msg.getPurchaseDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
13913
|
+
warrantyDate: (f = msg.getWarrantyDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
13914
|
+
};
|
|
13915
|
+
|
|
13916
|
+
if (includeInstance) {
|
|
13917
|
+
obj.$jspbMessageInstance = msg;
|
|
13918
|
+
}
|
|
13919
|
+
return obj;
|
|
13920
|
+
};
|
|
13921
|
+
}
|
|
13922
|
+
|
|
13923
|
+
|
|
13924
|
+
/**
|
|
13925
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13926
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13927
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields}
|
|
13928
|
+
*/
|
|
13929
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.deserializeBinary = function(bytes) {
|
|
13930
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13931
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.LockedFields;
|
|
13932
|
+
return proto.com.lansweeper.dp.outbound.v1.LockedFields.deserializeBinaryFromReader(msg, reader);
|
|
13933
|
+
};
|
|
13934
|
+
|
|
13935
|
+
|
|
13936
|
+
/**
|
|
13937
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13938
|
+
* given reader into the given message object.
|
|
13939
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.LockedFields} msg The message object to deserialize into.
|
|
13940
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13941
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields}
|
|
13942
|
+
*/
|
|
13943
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.deserializeBinaryFromReader = function(msg, reader) {
|
|
13944
|
+
while (reader.nextField()) {
|
|
13945
|
+
if (reader.isEndGroup()) {
|
|
13946
|
+
break;
|
|
13947
|
+
}
|
|
13948
|
+
var field = reader.getFieldNumber();
|
|
13949
|
+
switch (field) {
|
|
13950
|
+
case 1:
|
|
13951
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13952
|
+
msg.setAssetName(value);
|
|
13953
|
+
break;
|
|
13954
|
+
case 2:
|
|
13955
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.AssetType;
|
|
13956
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.AssetType.deserializeBinaryFromReader);
|
|
13957
|
+
msg.setAssetType(value);
|
|
13958
|
+
break;
|
|
13959
|
+
case 3:
|
|
13960
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13961
|
+
msg.setMacAddress(value);
|
|
13962
|
+
break;
|
|
13963
|
+
case 4:
|
|
13964
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13965
|
+
msg.setState(value);
|
|
13966
|
+
break;
|
|
13967
|
+
case 5:
|
|
13968
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13969
|
+
msg.setDescription(value);
|
|
13970
|
+
break;
|
|
13971
|
+
case 6:
|
|
13972
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13973
|
+
msg.setManufacturer(value);
|
|
13974
|
+
break;
|
|
13975
|
+
case 7:
|
|
13976
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13977
|
+
msg.setModel(value);
|
|
13978
|
+
break;
|
|
13979
|
+
case 8:
|
|
13980
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13981
|
+
msg.setSerialNumber(value);
|
|
13982
|
+
break;
|
|
13983
|
+
case 9:
|
|
13984
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13985
|
+
msg.setSystemSku(value);
|
|
13986
|
+
break;
|
|
13987
|
+
case 10:
|
|
13988
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13989
|
+
msg.setContact(value);
|
|
13990
|
+
break;
|
|
13991
|
+
case 11:
|
|
13992
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13993
|
+
msg.setAddress(value);
|
|
13994
|
+
break;
|
|
13995
|
+
case 12:
|
|
13996
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
13997
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
13998
|
+
msg.setPurchaseDate(value);
|
|
13999
|
+
break;
|
|
14000
|
+
case 13:
|
|
14001
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
14002
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
14003
|
+
msg.setWarrantyDate(value);
|
|
14004
|
+
break;
|
|
14005
|
+
default:
|
|
14006
|
+
reader.skipField();
|
|
14007
|
+
break;
|
|
14008
|
+
}
|
|
14009
|
+
}
|
|
14010
|
+
return msg;
|
|
14011
|
+
};
|
|
14012
|
+
|
|
14013
|
+
|
|
14014
|
+
/**
|
|
14015
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14016
|
+
* @return {!Uint8Array}
|
|
14017
|
+
*/
|
|
14018
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.serializeBinary = function() {
|
|
14019
|
+
var writer = new jspb.BinaryWriter();
|
|
14020
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.serializeBinaryToWriter(this, writer);
|
|
14021
|
+
return writer.getResultBuffer();
|
|
14022
|
+
};
|
|
14023
|
+
|
|
14024
|
+
|
|
14025
|
+
/**
|
|
14026
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14027
|
+
* format), writing to the given BinaryWriter.
|
|
14028
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.LockedFields} message
|
|
14029
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14030
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14031
|
+
*/
|
|
14032
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.serializeBinaryToWriter = function(message, writer) {
|
|
14033
|
+
var f = undefined;
|
|
14034
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
14035
|
+
if (f != null) {
|
|
14036
|
+
writer.writeString(
|
|
14037
|
+
1,
|
|
14038
|
+
f
|
|
14039
|
+
);
|
|
14040
|
+
}
|
|
14041
|
+
f = message.getAssetType();
|
|
14042
|
+
if (f != null) {
|
|
14043
|
+
writer.writeMessage(
|
|
14044
|
+
2,
|
|
14045
|
+
f,
|
|
14046
|
+
proto.com.lansweeper.dp.outbound.v1.AssetType.serializeBinaryToWriter
|
|
14047
|
+
);
|
|
14048
|
+
}
|
|
14049
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
14050
|
+
if (f != null) {
|
|
14051
|
+
writer.writeString(
|
|
14052
|
+
3,
|
|
14053
|
+
f
|
|
14054
|
+
);
|
|
14055
|
+
}
|
|
14056
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
14057
|
+
if (f != null) {
|
|
14058
|
+
writer.writeString(
|
|
14059
|
+
4,
|
|
14060
|
+
f
|
|
14061
|
+
);
|
|
14062
|
+
}
|
|
14063
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
14064
|
+
if (f != null) {
|
|
14065
|
+
writer.writeString(
|
|
14066
|
+
5,
|
|
14067
|
+
f
|
|
14068
|
+
);
|
|
14069
|
+
}
|
|
14070
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
14071
|
+
if (f != null) {
|
|
14072
|
+
writer.writeString(
|
|
14073
|
+
6,
|
|
14074
|
+
f
|
|
14075
|
+
);
|
|
14076
|
+
}
|
|
14077
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
14078
|
+
if (f != null) {
|
|
14079
|
+
writer.writeString(
|
|
14080
|
+
7,
|
|
14081
|
+
f
|
|
14082
|
+
);
|
|
14083
|
+
}
|
|
14084
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
14085
|
+
if (f != null) {
|
|
14086
|
+
writer.writeString(
|
|
14087
|
+
8,
|
|
14088
|
+
f
|
|
14089
|
+
);
|
|
14090
|
+
}
|
|
14091
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
14092
|
+
if (f != null) {
|
|
14093
|
+
writer.writeString(
|
|
14094
|
+
9,
|
|
14095
|
+
f
|
|
14096
|
+
);
|
|
14097
|
+
}
|
|
14098
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
14099
|
+
if (f != null) {
|
|
14100
|
+
writer.writeString(
|
|
14101
|
+
10,
|
|
14102
|
+
f
|
|
14103
|
+
);
|
|
14104
|
+
}
|
|
14105
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
14106
|
+
if (f != null) {
|
|
14107
|
+
writer.writeString(
|
|
14108
|
+
11,
|
|
14109
|
+
f
|
|
14110
|
+
);
|
|
14111
|
+
}
|
|
14112
|
+
f = message.getPurchaseDate();
|
|
14113
|
+
if (f != null) {
|
|
14114
|
+
writer.writeMessage(
|
|
14115
|
+
12,
|
|
14116
|
+
f,
|
|
14117
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
14118
|
+
);
|
|
14119
|
+
}
|
|
14120
|
+
f = message.getWarrantyDate();
|
|
14121
|
+
if (f != null) {
|
|
14122
|
+
writer.writeMessage(
|
|
14123
|
+
13,
|
|
14124
|
+
f,
|
|
14125
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
14126
|
+
);
|
|
14127
|
+
}
|
|
14128
|
+
};
|
|
14129
|
+
|
|
14130
|
+
|
|
14131
|
+
/**
|
|
14132
|
+
* optional string asset_name = 1;
|
|
14133
|
+
* @return {string}
|
|
14134
|
+
*/
|
|
14135
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.getAssetName = function() {
|
|
14136
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
14137
|
+
};
|
|
14138
|
+
|
|
14139
|
+
|
|
14140
|
+
/**
|
|
14141
|
+
* @param {string} value
|
|
14142
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14143
|
+
*/
|
|
14144
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.setAssetName = function(value) {
|
|
14145
|
+
return jspb.Message.setField(this, 1, value);
|
|
14146
|
+
};
|
|
14147
|
+
|
|
14148
|
+
|
|
14149
|
+
/**
|
|
14150
|
+
* Clears the field making it undefined.
|
|
14151
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14152
|
+
*/
|
|
14153
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.clearAssetName = function() {
|
|
14154
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
14155
|
+
};
|
|
14156
|
+
|
|
14157
|
+
|
|
14158
|
+
/**
|
|
14159
|
+
* Returns whether this field is set.
|
|
14160
|
+
* @return {boolean}
|
|
14161
|
+
*/
|
|
14162
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.hasAssetName = function() {
|
|
14163
|
+
return jspb.Message.getField(this, 1) != null;
|
|
14164
|
+
};
|
|
14165
|
+
|
|
14166
|
+
|
|
14167
|
+
/**
|
|
14168
|
+
* optional AssetType asset_type = 2;
|
|
14169
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.AssetType}
|
|
14170
|
+
*/
|
|
14171
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.getAssetType = function() {
|
|
14172
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.AssetType} */ (
|
|
14173
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.AssetType, 2));
|
|
14174
|
+
};
|
|
14175
|
+
|
|
14176
|
+
|
|
14177
|
+
/**
|
|
14178
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.AssetType|undefined} value
|
|
14179
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14180
|
+
*/
|
|
14181
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.setAssetType = function(value) {
|
|
14182
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
14183
|
+
};
|
|
14184
|
+
|
|
14185
|
+
|
|
14186
|
+
/**
|
|
14187
|
+
* Clears the message field making it undefined.
|
|
14188
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14189
|
+
*/
|
|
14190
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.clearAssetType = function() {
|
|
14191
|
+
return this.setAssetType(undefined);
|
|
14192
|
+
};
|
|
14193
|
+
|
|
14194
|
+
|
|
14195
|
+
/**
|
|
14196
|
+
* Returns whether this field is set.
|
|
14197
|
+
* @return {boolean}
|
|
14198
|
+
*/
|
|
14199
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.hasAssetType = function() {
|
|
14200
|
+
return jspb.Message.getField(this, 2) != null;
|
|
14201
|
+
};
|
|
14202
|
+
|
|
14203
|
+
|
|
14204
|
+
/**
|
|
14205
|
+
* optional string mac_address = 3;
|
|
14206
|
+
* @return {string}
|
|
14207
|
+
*/
|
|
14208
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.getMacAddress = function() {
|
|
14209
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
14210
|
+
};
|
|
14211
|
+
|
|
14212
|
+
|
|
14213
|
+
/**
|
|
14214
|
+
* @param {string} value
|
|
14215
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14216
|
+
*/
|
|
14217
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.setMacAddress = function(value) {
|
|
14218
|
+
return jspb.Message.setField(this, 3, value);
|
|
14219
|
+
};
|
|
14220
|
+
|
|
14221
|
+
|
|
14222
|
+
/**
|
|
14223
|
+
* Clears the field making it undefined.
|
|
14224
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14225
|
+
*/
|
|
14226
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.clearMacAddress = function() {
|
|
14227
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
14228
|
+
};
|
|
14229
|
+
|
|
14230
|
+
|
|
14231
|
+
/**
|
|
14232
|
+
* Returns whether this field is set.
|
|
14233
|
+
* @return {boolean}
|
|
14234
|
+
*/
|
|
14235
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.hasMacAddress = function() {
|
|
14236
|
+
return jspb.Message.getField(this, 3) != null;
|
|
14237
|
+
};
|
|
14238
|
+
|
|
14239
|
+
|
|
14240
|
+
/**
|
|
14241
|
+
* optional string state = 4;
|
|
14242
|
+
* @return {string}
|
|
14243
|
+
*/
|
|
14244
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.getState = function() {
|
|
14245
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
14246
|
+
};
|
|
14247
|
+
|
|
14248
|
+
|
|
14249
|
+
/**
|
|
14250
|
+
* @param {string} value
|
|
14251
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14252
|
+
*/
|
|
14253
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.setState = function(value) {
|
|
14254
|
+
return jspb.Message.setField(this, 4, value);
|
|
14255
|
+
};
|
|
14256
|
+
|
|
14257
|
+
|
|
14258
|
+
/**
|
|
14259
|
+
* Clears the field making it undefined.
|
|
14260
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14261
|
+
*/
|
|
14262
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.clearState = function() {
|
|
14263
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
14264
|
+
};
|
|
14265
|
+
|
|
14266
|
+
|
|
14267
|
+
/**
|
|
14268
|
+
* Returns whether this field is set.
|
|
14269
|
+
* @return {boolean}
|
|
14270
|
+
*/
|
|
14271
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.hasState = function() {
|
|
14272
|
+
return jspb.Message.getField(this, 4) != null;
|
|
14273
|
+
};
|
|
14274
|
+
|
|
14275
|
+
|
|
14276
|
+
/**
|
|
14277
|
+
* optional string description = 5;
|
|
14278
|
+
* @return {string}
|
|
14279
|
+
*/
|
|
14280
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.getDescription = function() {
|
|
14281
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
14282
|
+
};
|
|
14283
|
+
|
|
14284
|
+
|
|
14285
|
+
/**
|
|
14286
|
+
* @param {string} value
|
|
14287
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14288
|
+
*/
|
|
14289
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.setDescription = function(value) {
|
|
14290
|
+
return jspb.Message.setField(this, 5, value);
|
|
14291
|
+
};
|
|
14292
|
+
|
|
14293
|
+
|
|
14294
|
+
/**
|
|
14295
|
+
* Clears the field making it undefined.
|
|
14296
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14297
|
+
*/
|
|
14298
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.clearDescription = function() {
|
|
14299
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
14300
|
+
};
|
|
14301
|
+
|
|
14302
|
+
|
|
14303
|
+
/**
|
|
14304
|
+
* Returns whether this field is set.
|
|
14305
|
+
* @return {boolean}
|
|
14306
|
+
*/
|
|
14307
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.hasDescription = function() {
|
|
14308
|
+
return jspb.Message.getField(this, 5) != null;
|
|
14309
|
+
};
|
|
14310
|
+
|
|
14311
|
+
|
|
14312
|
+
/**
|
|
14313
|
+
* optional string manufacturer = 6;
|
|
14314
|
+
* @return {string}
|
|
14315
|
+
*/
|
|
14316
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.getManufacturer = function() {
|
|
14317
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
14318
|
+
};
|
|
14319
|
+
|
|
14320
|
+
|
|
14321
|
+
/**
|
|
14322
|
+
* @param {string} value
|
|
14323
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14324
|
+
*/
|
|
14325
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.setManufacturer = function(value) {
|
|
14326
|
+
return jspb.Message.setField(this, 6, value);
|
|
14327
|
+
};
|
|
14328
|
+
|
|
14329
|
+
|
|
14330
|
+
/**
|
|
14331
|
+
* Clears the field making it undefined.
|
|
14332
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14333
|
+
*/
|
|
14334
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.clearManufacturer = function() {
|
|
14335
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
14336
|
+
};
|
|
14337
|
+
|
|
14338
|
+
|
|
14339
|
+
/**
|
|
14340
|
+
* Returns whether this field is set.
|
|
14341
|
+
* @return {boolean}
|
|
14342
|
+
*/
|
|
14343
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.hasManufacturer = function() {
|
|
14344
|
+
return jspb.Message.getField(this, 6) != null;
|
|
14345
|
+
};
|
|
14346
|
+
|
|
14347
|
+
|
|
14348
|
+
/**
|
|
14349
|
+
* optional string model = 7;
|
|
14350
|
+
* @return {string}
|
|
14351
|
+
*/
|
|
14352
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.getModel = function() {
|
|
14353
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
14354
|
+
};
|
|
14355
|
+
|
|
14356
|
+
|
|
14357
|
+
/**
|
|
14358
|
+
* @param {string} value
|
|
14359
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14360
|
+
*/
|
|
14361
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.setModel = function(value) {
|
|
14362
|
+
return jspb.Message.setField(this, 7, value);
|
|
14363
|
+
};
|
|
14364
|
+
|
|
14365
|
+
|
|
14366
|
+
/**
|
|
14367
|
+
* Clears the field making it undefined.
|
|
14368
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14369
|
+
*/
|
|
14370
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.clearModel = function() {
|
|
14371
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
14372
|
+
};
|
|
14373
|
+
|
|
14374
|
+
|
|
14375
|
+
/**
|
|
14376
|
+
* Returns whether this field is set.
|
|
14377
|
+
* @return {boolean}
|
|
14378
|
+
*/
|
|
14379
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.hasModel = function() {
|
|
14380
|
+
return jspb.Message.getField(this, 7) != null;
|
|
14381
|
+
};
|
|
14382
|
+
|
|
14383
|
+
|
|
14384
|
+
/**
|
|
14385
|
+
* optional string serial_number = 8;
|
|
14386
|
+
* @return {string}
|
|
14387
|
+
*/
|
|
14388
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.getSerialNumber = function() {
|
|
14389
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
14390
|
+
};
|
|
14391
|
+
|
|
14392
|
+
|
|
14393
|
+
/**
|
|
14394
|
+
* @param {string} value
|
|
14395
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14396
|
+
*/
|
|
14397
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.setSerialNumber = function(value) {
|
|
14398
|
+
return jspb.Message.setField(this, 8, value);
|
|
14399
|
+
};
|
|
14400
|
+
|
|
14401
|
+
|
|
14402
|
+
/**
|
|
14403
|
+
* Clears the field making it undefined.
|
|
14404
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14405
|
+
*/
|
|
14406
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.clearSerialNumber = function() {
|
|
14407
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
14408
|
+
};
|
|
14409
|
+
|
|
14410
|
+
|
|
14411
|
+
/**
|
|
14412
|
+
* Returns whether this field is set.
|
|
14413
|
+
* @return {boolean}
|
|
14414
|
+
*/
|
|
14415
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.hasSerialNumber = function() {
|
|
14416
|
+
return jspb.Message.getField(this, 8) != null;
|
|
14417
|
+
};
|
|
14418
|
+
|
|
14419
|
+
|
|
14420
|
+
/**
|
|
14421
|
+
* optional string system_sku = 9;
|
|
14422
|
+
* @return {string}
|
|
14423
|
+
*/
|
|
14424
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.getSystemSku = function() {
|
|
14425
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
14426
|
+
};
|
|
14427
|
+
|
|
14428
|
+
|
|
14429
|
+
/**
|
|
14430
|
+
* @param {string} value
|
|
14431
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14432
|
+
*/
|
|
14433
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.setSystemSku = function(value) {
|
|
14434
|
+
return jspb.Message.setField(this, 9, value);
|
|
14435
|
+
};
|
|
14436
|
+
|
|
14437
|
+
|
|
14438
|
+
/**
|
|
14439
|
+
* Clears the field making it undefined.
|
|
14440
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14441
|
+
*/
|
|
14442
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.clearSystemSku = function() {
|
|
14443
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
14444
|
+
};
|
|
14445
|
+
|
|
14446
|
+
|
|
14447
|
+
/**
|
|
14448
|
+
* Returns whether this field is set.
|
|
14449
|
+
* @return {boolean}
|
|
14450
|
+
*/
|
|
14451
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.hasSystemSku = function() {
|
|
14452
|
+
return jspb.Message.getField(this, 9) != null;
|
|
14453
|
+
};
|
|
14454
|
+
|
|
14455
|
+
|
|
14456
|
+
/**
|
|
14457
|
+
* optional string contact = 10;
|
|
14458
|
+
* @return {string}
|
|
14459
|
+
*/
|
|
14460
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.getContact = function() {
|
|
14461
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
14462
|
+
};
|
|
14463
|
+
|
|
14464
|
+
|
|
14465
|
+
/**
|
|
14466
|
+
* @param {string} value
|
|
14467
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14468
|
+
*/
|
|
14469
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.setContact = function(value) {
|
|
14470
|
+
return jspb.Message.setField(this, 10, value);
|
|
14471
|
+
};
|
|
14472
|
+
|
|
14473
|
+
|
|
14474
|
+
/**
|
|
14475
|
+
* Clears the field making it undefined.
|
|
14476
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14477
|
+
*/
|
|
14478
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.clearContact = function() {
|
|
14479
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
14480
|
+
};
|
|
14481
|
+
|
|
14482
|
+
|
|
14483
|
+
/**
|
|
14484
|
+
* Returns whether this field is set.
|
|
14485
|
+
* @return {boolean}
|
|
14486
|
+
*/
|
|
14487
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.hasContact = function() {
|
|
14488
|
+
return jspb.Message.getField(this, 10) != null;
|
|
14489
|
+
};
|
|
14490
|
+
|
|
14491
|
+
|
|
14492
|
+
/**
|
|
14493
|
+
* optional string address = 11;
|
|
14494
|
+
* @return {string}
|
|
14495
|
+
*/
|
|
14496
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.getAddress = function() {
|
|
14497
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
14498
|
+
};
|
|
14499
|
+
|
|
14500
|
+
|
|
14501
|
+
/**
|
|
14502
|
+
* @param {string} value
|
|
14503
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14504
|
+
*/
|
|
14505
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.setAddress = function(value) {
|
|
14506
|
+
return jspb.Message.setField(this, 11, value);
|
|
14507
|
+
};
|
|
14508
|
+
|
|
14509
|
+
|
|
14510
|
+
/**
|
|
14511
|
+
* Clears the field making it undefined.
|
|
14512
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14513
|
+
*/
|
|
14514
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.clearAddress = function() {
|
|
14515
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
14516
|
+
};
|
|
14517
|
+
|
|
14518
|
+
|
|
14519
|
+
/**
|
|
14520
|
+
* Returns whether this field is set.
|
|
14521
|
+
* @return {boolean}
|
|
14522
|
+
*/
|
|
14523
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.hasAddress = function() {
|
|
14524
|
+
return jspb.Message.getField(this, 11) != null;
|
|
14525
|
+
};
|
|
14526
|
+
|
|
14527
|
+
|
|
14528
|
+
/**
|
|
14529
|
+
* optional google.protobuf.Timestamp purchase_date = 12;
|
|
14530
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
14531
|
+
*/
|
|
14532
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.getPurchaseDate = function() {
|
|
14533
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
14534
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 12));
|
|
14535
|
+
};
|
|
14536
|
+
|
|
14537
|
+
|
|
14538
|
+
/**
|
|
14539
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
14540
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14541
|
+
*/
|
|
14542
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.setPurchaseDate = function(value) {
|
|
14543
|
+
return jspb.Message.setWrapperField(this, 12, value);
|
|
14544
|
+
};
|
|
14545
|
+
|
|
14546
|
+
|
|
14547
|
+
/**
|
|
14548
|
+
* Clears the message field making it undefined.
|
|
14549
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14550
|
+
*/
|
|
14551
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.clearPurchaseDate = function() {
|
|
14552
|
+
return this.setPurchaseDate(undefined);
|
|
14553
|
+
};
|
|
14554
|
+
|
|
14555
|
+
|
|
14556
|
+
/**
|
|
14557
|
+
* Returns whether this field is set.
|
|
14558
|
+
* @return {boolean}
|
|
14559
|
+
*/
|
|
14560
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.hasPurchaseDate = function() {
|
|
14561
|
+
return jspb.Message.getField(this, 12) != null;
|
|
14562
|
+
};
|
|
14563
|
+
|
|
14564
|
+
|
|
14565
|
+
/**
|
|
14566
|
+
* optional google.protobuf.Timestamp warranty_date = 13;
|
|
14567
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
14568
|
+
*/
|
|
14569
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.getWarrantyDate = function() {
|
|
14570
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
14571
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 13));
|
|
14572
|
+
};
|
|
14573
|
+
|
|
14574
|
+
|
|
14575
|
+
/**
|
|
14576
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
14577
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14578
|
+
*/
|
|
14579
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.setWarrantyDate = function(value) {
|
|
14580
|
+
return jspb.Message.setWrapperField(this, 13, value);
|
|
14581
|
+
};
|
|
14582
|
+
|
|
14583
|
+
|
|
14584
|
+
/**
|
|
14585
|
+
* Clears the message field making it undefined.
|
|
14586
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LockedFields} returns this
|
|
14587
|
+
*/
|
|
14588
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.clearWarrantyDate = function() {
|
|
14589
|
+
return this.setWarrantyDate(undefined);
|
|
14590
|
+
};
|
|
14591
|
+
|
|
14592
|
+
|
|
14593
|
+
/**
|
|
14594
|
+
* Returns whether this field is set.
|
|
14595
|
+
* @return {boolean}
|
|
14596
|
+
*/
|
|
14597
|
+
proto.com.lansweeper.dp.outbound.v1.LockedFields.prototype.hasWarrantyDate = function() {
|
|
14598
|
+
return jspb.Message.getField(this, 13) != null;
|
|
14599
|
+
};
|
|
14600
|
+
|
|
14601
|
+
|
|
13745
14602
|
|
|
13746
14603
|
/**
|
|
13747
14604
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -129871,8 +130728,7 @@ proto.com.lansweeper.dp.outbound.v1.Printer.toObject = function(includeInstance,
|
|
|
129871
130728
|
printerStatus: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
129872
130729
|
serialNumber: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
129873
130730
|
tonerList: jspb.Message.toObjectList(msg.getTonerList(),
|
|
129874
|
-
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.toObject, includeInstance)
|
|
129875
|
-
adPrinter: (f = msg.getAdPrinter()) && proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.toObject(includeInstance, f)
|
|
130731
|
+
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.toObject, includeInstance)
|
|
129876
130732
|
};
|
|
129877
130733
|
|
|
129878
130734
|
if (includeInstance) {
|
|
@@ -129938,11 +130794,6 @@ proto.com.lansweeper.dp.outbound.v1.Printer.deserializeBinaryFromReader = functi
|
|
|
129938
130794
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.deserializeBinaryFromReader);
|
|
129939
130795
|
msg.addToner(value);
|
|
129940
130796
|
break;
|
|
129941
|
-
case 8:
|
|
129942
|
-
var value = new proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter;
|
|
129943
|
-
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.deserializeBinaryFromReader);
|
|
129944
|
-
msg.setAdPrinter(value);
|
|
129945
|
-
break;
|
|
129946
130797
|
default:
|
|
129947
130798
|
reader.skipField();
|
|
129948
130799
|
break;
|
|
@@ -130022,14 +130873,6 @@ proto.com.lansweeper.dp.outbound.v1.Printer.serializeBinaryToWriter = function(m
|
|
|
130022
130873
|
proto.com.lansweeper.dp.outbound.v1.PrinterTonerInfo.serializeBinaryToWriter
|
|
130023
130874
|
);
|
|
130024
130875
|
}
|
|
130025
|
-
f = message.getAdPrinter();
|
|
130026
|
-
if (f != null) {
|
|
130027
|
-
writer.writeMessage(
|
|
130028
|
-
8,
|
|
130029
|
-
f,
|
|
130030
|
-
proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter.serializeBinaryToWriter
|
|
130031
|
-
);
|
|
130032
|
-
}
|
|
130033
130876
|
};
|
|
130034
130877
|
|
|
130035
130878
|
|
|
@@ -130287,43 +131130,6 @@ proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearTonerList = function(
|
|
|
130287
131130
|
};
|
|
130288
131131
|
|
|
130289
131132
|
|
|
130290
|
-
/**
|
|
130291
|
-
* optional ActiveDirectoryPrinter ad_printer = 8;
|
|
130292
|
-
* @return {?proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter}
|
|
130293
|
-
*/
|
|
130294
|
-
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.getAdPrinter = function() {
|
|
130295
|
-
return /** @type{?proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter} */ (
|
|
130296
|
-
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter, 8));
|
|
130297
|
-
};
|
|
130298
|
-
|
|
130299
|
-
|
|
130300
|
-
/**
|
|
130301
|
-
* @param {?proto.com.lansweeper.dp.outbound.v1.ActiveDirectoryPrinter|undefined} value
|
|
130302
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
130303
|
-
*/
|
|
130304
|
-
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.setAdPrinter = function(value) {
|
|
130305
|
-
return jspb.Message.setWrapperField(this, 8, value);
|
|
130306
|
-
};
|
|
130307
|
-
|
|
130308
|
-
|
|
130309
|
-
/**
|
|
130310
|
-
* Clears the message field making it undefined.
|
|
130311
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.Printer} returns this
|
|
130312
|
-
*/
|
|
130313
|
-
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.clearAdPrinter = function() {
|
|
130314
|
-
return this.setAdPrinter(undefined);
|
|
130315
|
-
};
|
|
130316
|
-
|
|
130317
|
-
|
|
130318
|
-
/**
|
|
130319
|
-
* Returns whether this field is set.
|
|
130320
|
-
* @return {boolean}
|
|
130321
|
-
*/
|
|
130322
|
-
proto.com.lansweeper.dp.outbound.v1.Printer.prototype.hasAdPrinter = function() {
|
|
130323
|
-
return jspb.Message.getField(this, 8) != null;
|
|
130324
|
-
};
|
|
130325
|
-
|
|
130326
|
-
|
|
130327
131133
|
|
|
130328
131134
|
|
|
130329
131135
|
|