@lansweeper/discovery-sensor-proto 2.57.0 → 2.59.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/gen-proto/discovery_sections_api_pb.d.ts +0 -72
- package/gen-proto/discovery_sections_api_pb.js +0 -589
- package/gen-proto/discovery_sections_other_pb.d.ts +621 -6
- package/gen-proto/discovery_sections_other_pb.js +5192 -42
- package/gen-proto/image.json +1 -1
- package/package.json +2 -2
- package/proto/discovery_sections_api.proto +0 -14
- package/proto/discovery_sections_other.proto +117 -3
- package/proto/import/discovery_common.proto +0 -103
|
@@ -1623,78 +1623,6 @@ export namespace ChromeOsVolume {
|
|
|
1623
1623
|
}
|
|
1624
1624
|
}
|
|
1625
1625
|
|
|
1626
|
-
export class Warranties extends jspb.Message {
|
|
1627
|
-
clearEntriesList(): void;
|
|
1628
|
-
getEntriesList(): Array<Warranty>;
|
|
1629
|
-
setEntriesList(value: Array<Warranty>): Warranties;
|
|
1630
|
-
addEntries(value?: Warranty, index?: number): Warranty;
|
|
1631
|
-
|
|
1632
|
-
serializeBinary(): Uint8Array;
|
|
1633
|
-
toObject(includeInstance?: boolean): Warranties.AsObject;
|
|
1634
|
-
static toObject(includeInstance: boolean, msg: Warranties): Warranties.AsObject;
|
|
1635
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1636
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1637
|
-
static serializeBinaryToWriter(message: Warranties, writer: jspb.BinaryWriter): void;
|
|
1638
|
-
static deserializeBinary(bytes: Uint8Array): Warranties;
|
|
1639
|
-
static deserializeBinaryFromReader(message: Warranties, reader: jspb.BinaryReader): Warranties;
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
|
-
export namespace Warranties {
|
|
1643
|
-
export type AsObject = {
|
|
1644
|
-
entriesList: Array<Warranty.AsObject>,
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
1647
|
-
|
|
1648
|
-
export class Warranty extends jspb.Message {
|
|
1649
|
-
|
|
1650
|
-
hasWarrantyStartDate(): boolean;
|
|
1651
|
-
clearWarrantyStartDate(): void;
|
|
1652
|
-
getWarrantyStartDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
1653
|
-
setWarrantyStartDate(value?: google_protobuf_timestamp_pb.Timestamp): Warranty;
|
|
1654
|
-
|
|
1655
|
-
hasWarrantyEndDate(): boolean;
|
|
1656
|
-
clearWarrantyEndDate(): void;
|
|
1657
|
-
getWarrantyEndDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
1658
|
-
setWarrantyEndDate(value?: google_protobuf_timestamp_pb.Timestamp): Warranty;
|
|
1659
|
-
|
|
1660
|
-
hasServiceType(): boolean;
|
|
1661
|
-
clearServiceType(): void;
|
|
1662
|
-
getServiceType(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
1663
|
-
setServiceType(value?: google_protobuf_wrappers_pb.StringValue): Warranty;
|
|
1664
|
-
|
|
1665
|
-
hasPurchaseCountry(): boolean;
|
|
1666
|
-
clearPurchaseCountry(): void;
|
|
1667
|
-
getPurchaseCountry(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
1668
|
-
setPurchaseCountry(value?: google_protobuf_wrappers_pb.StringValue): Warranty;
|
|
1669
|
-
|
|
1670
|
-
hasShipDate(): boolean;
|
|
1671
|
-
clearShipDate(): void;
|
|
1672
|
-
getShipDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
1673
|
-
setShipDate(value?: google_protobuf_timestamp_pb.Timestamp): Warranty;
|
|
1674
|
-
getIsSilly(): boolean;
|
|
1675
|
-
setIsSilly(value: boolean): Warranty;
|
|
1676
|
-
|
|
1677
|
-
serializeBinary(): Uint8Array;
|
|
1678
|
-
toObject(includeInstance?: boolean): Warranty.AsObject;
|
|
1679
|
-
static toObject(includeInstance: boolean, msg: Warranty): Warranty.AsObject;
|
|
1680
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1681
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1682
|
-
static serializeBinaryToWriter(message: Warranty, writer: jspb.BinaryWriter): void;
|
|
1683
|
-
static deserializeBinary(bytes: Uint8Array): Warranty;
|
|
1684
|
-
static deserializeBinaryFromReader(message: Warranty, reader: jspb.BinaryReader): Warranty;
|
|
1685
|
-
}
|
|
1686
|
-
|
|
1687
|
-
export namespace Warranty {
|
|
1688
|
-
export type AsObject = {
|
|
1689
|
-
warrantyStartDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
1690
|
-
warrantyEndDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
1691
|
-
serviceType?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
1692
|
-
purchaseCountry?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
1693
|
-
shipDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
1694
|
-
isSilly: boolean,
|
|
1695
|
-
}
|
|
1696
|
-
}
|
|
1697
|
-
|
|
1698
1626
|
export class IntuneScanResult extends jspb.Message {
|
|
1699
1627
|
clearContainersList(): void;
|
|
1700
1628
|
getContainersList(): Array<IntuneContainer>;
|
|
@@ -106,8 +106,6 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.VmwareDisk', nul
|
|
|
106
106
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.VmwareGuestNetwork', null, global);
|
|
107
107
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.VmwareNetwork', null, global);
|
|
108
108
|
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.VmwareProductInfo', null, global);
|
|
109
|
-
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.Warranties', null, global);
|
|
110
|
-
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.Warranty', null, global);
|
|
111
109
|
/**
|
|
112
110
|
* Generated by JsPbCodeGenerator.
|
|
113
111
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -486,48 +484,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
486
484
|
*/
|
|
487
485
|
proto.com.lansweeper.discovery.sensor.api.v1.ChromeOsVolume.displayName = 'proto.com.lansweeper.discovery.sensor.api.v1.ChromeOsVolume';
|
|
488
486
|
}
|
|
489
|
-
/**
|
|
490
|
-
* Generated by JsPbCodeGenerator.
|
|
491
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
492
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
493
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
494
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
495
|
-
* valid.
|
|
496
|
-
* @extends {jspb.Message}
|
|
497
|
-
* @constructor
|
|
498
|
-
*/
|
|
499
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranties = function(opt_data) {
|
|
500
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.api.v1.Warranties.repeatedFields_, null);
|
|
501
|
-
};
|
|
502
|
-
goog.inherits(proto.com.lansweeper.discovery.sensor.api.v1.Warranties, jspb.Message);
|
|
503
|
-
if (goog.DEBUG && !COMPILED) {
|
|
504
|
-
/**
|
|
505
|
-
* @public
|
|
506
|
-
* @override
|
|
507
|
-
*/
|
|
508
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranties.displayName = 'proto.com.lansweeper.discovery.sensor.api.v1.Warranties';
|
|
509
|
-
}
|
|
510
|
-
/**
|
|
511
|
-
* Generated by JsPbCodeGenerator.
|
|
512
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
513
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
514
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
515
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
516
|
-
* valid.
|
|
517
|
-
* @extends {jspb.Message}
|
|
518
|
-
* @constructor
|
|
519
|
-
*/
|
|
520
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty = function(opt_data) {
|
|
521
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
522
|
-
};
|
|
523
|
-
goog.inherits(proto.com.lansweeper.discovery.sensor.api.v1.Warranty, jspb.Message);
|
|
524
|
-
if (goog.DEBUG && !COMPILED) {
|
|
525
|
-
/**
|
|
526
|
-
* @public
|
|
527
|
-
* @override
|
|
528
|
-
*/
|
|
529
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.displayName = 'proto.com.lansweeper.discovery.sensor.api.v1.Warranty';
|
|
530
|
-
}
|
|
531
487
|
/**
|
|
532
488
|
* Generated by JsPbCodeGenerator.
|
|
533
489
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -14858,551 +14814,6 @@ proto.com.lansweeper.discovery.sensor.api.v1.ChromeOsVolume.prototype.hasStorage
|
|
|
14858
14814
|
|
|
14859
14815
|
|
|
14860
14816
|
|
|
14861
|
-
/**
|
|
14862
|
-
* List of repeated fields within this message type.
|
|
14863
|
-
* @private {!Array<number>}
|
|
14864
|
-
* @const
|
|
14865
|
-
*/
|
|
14866
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranties.repeatedFields_ = [1];
|
|
14867
|
-
|
|
14868
|
-
|
|
14869
|
-
|
|
14870
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14871
|
-
/**
|
|
14872
|
-
* Creates an object representation of this proto.
|
|
14873
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14874
|
-
* Optional fields that are not set will be set to undefined.
|
|
14875
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14876
|
-
* For the list of reserved names please see:
|
|
14877
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14878
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14879
|
-
* JSPB instance for transitional soy proto support:
|
|
14880
|
-
* http://goto/soy-param-migration
|
|
14881
|
-
* @return {!Object}
|
|
14882
|
-
*/
|
|
14883
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranties.prototype.toObject = function(opt_includeInstance) {
|
|
14884
|
-
return proto.com.lansweeper.discovery.sensor.api.v1.Warranties.toObject(opt_includeInstance, this);
|
|
14885
|
-
};
|
|
14886
|
-
|
|
14887
|
-
|
|
14888
|
-
/**
|
|
14889
|
-
* Static version of the {@see toObject} method.
|
|
14890
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14891
|
-
* the JSPB instance for transitional soy proto support:
|
|
14892
|
-
* http://goto/soy-param-migration
|
|
14893
|
-
* @param {!proto.com.lansweeper.discovery.sensor.api.v1.Warranties} msg The msg instance to transform.
|
|
14894
|
-
* @return {!Object}
|
|
14895
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14896
|
-
*/
|
|
14897
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranties.toObject = function(includeInstance, msg) {
|
|
14898
|
-
var f, obj = {
|
|
14899
|
-
entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
|
|
14900
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.toObject, includeInstance)
|
|
14901
|
-
};
|
|
14902
|
-
|
|
14903
|
-
if (includeInstance) {
|
|
14904
|
-
obj.$jspbMessageInstance = msg;
|
|
14905
|
-
}
|
|
14906
|
-
return obj;
|
|
14907
|
-
};
|
|
14908
|
-
}
|
|
14909
|
-
|
|
14910
|
-
|
|
14911
|
-
/**
|
|
14912
|
-
* Deserializes binary data (in protobuf wire format).
|
|
14913
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14914
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranties}
|
|
14915
|
-
*/
|
|
14916
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranties.deserializeBinary = function(bytes) {
|
|
14917
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
14918
|
-
var msg = new proto.com.lansweeper.discovery.sensor.api.v1.Warranties;
|
|
14919
|
-
return proto.com.lansweeper.discovery.sensor.api.v1.Warranties.deserializeBinaryFromReader(msg, reader);
|
|
14920
|
-
};
|
|
14921
|
-
|
|
14922
|
-
|
|
14923
|
-
/**
|
|
14924
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
14925
|
-
* given reader into the given message object.
|
|
14926
|
-
* @param {!proto.com.lansweeper.discovery.sensor.api.v1.Warranties} msg The message object to deserialize into.
|
|
14927
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14928
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranties}
|
|
14929
|
-
*/
|
|
14930
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranties.deserializeBinaryFromReader = function(msg, reader) {
|
|
14931
|
-
while (reader.nextField()) {
|
|
14932
|
-
if (reader.isEndGroup()) {
|
|
14933
|
-
break;
|
|
14934
|
-
}
|
|
14935
|
-
var field = reader.getFieldNumber();
|
|
14936
|
-
switch (field) {
|
|
14937
|
-
case 1:
|
|
14938
|
-
var value = new proto.com.lansweeper.discovery.sensor.api.v1.Warranty;
|
|
14939
|
-
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.api.v1.Warranty.deserializeBinaryFromReader);
|
|
14940
|
-
msg.addEntries(value);
|
|
14941
|
-
break;
|
|
14942
|
-
default:
|
|
14943
|
-
reader.skipField();
|
|
14944
|
-
break;
|
|
14945
|
-
}
|
|
14946
|
-
}
|
|
14947
|
-
return msg;
|
|
14948
|
-
};
|
|
14949
|
-
|
|
14950
|
-
|
|
14951
|
-
/**
|
|
14952
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
14953
|
-
* @return {!Uint8Array}
|
|
14954
|
-
*/
|
|
14955
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranties.prototype.serializeBinary = function() {
|
|
14956
|
-
var writer = new jspb.BinaryWriter();
|
|
14957
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranties.serializeBinaryToWriter(this, writer);
|
|
14958
|
-
return writer.getResultBuffer();
|
|
14959
|
-
};
|
|
14960
|
-
|
|
14961
|
-
|
|
14962
|
-
/**
|
|
14963
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
14964
|
-
* format), writing to the given BinaryWriter.
|
|
14965
|
-
* @param {!proto.com.lansweeper.discovery.sensor.api.v1.Warranties} message
|
|
14966
|
-
* @param {!jspb.BinaryWriter} writer
|
|
14967
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14968
|
-
*/
|
|
14969
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranties.serializeBinaryToWriter = function(message, writer) {
|
|
14970
|
-
var f = undefined;
|
|
14971
|
-
f = message.getEntriesList();
|
|
14972
|
-
if (f.length > 0) {
|
|
14973
|
-
writer.writeRepeatedMessage(
|
|
14974
|
-
1,
|
|
14975
|
-
f,
|
|
14976
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.serializeBinaryToWriter
|
|
14977
|
-
);
|
|
14978
|
-
}
|
|
14979
|
-
};
|
|
14980
|
-
|
|
14981
|
-
|
|
14982
|
-
/**
|
|
14983
|
-
* repeated Warranty entries = 1;
|
|
14984
|
-
* @return {!Array<!proto.com.lansweeper.discovery.sensor.api.v1.Warranty>}
|
|
14985
|
-
*/
|
|
14986
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranties.prototype.getEntriesList = function() {
|
|
14987
|
-
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.api.v1.Warranty>} */ (
|
|
14988
|
-
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.api.v1.Warranty, 1));
|
|
14989
|
-
};
|
|
14990
|
-
|
|
14991
|
-
|
|
14992
|
-
/**
|
|
14993
|
-
* @param {!Array<!proto.com.lansweeper.discovery.sensor.api.v1.Warranty>} value
|
|
14994
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranties} returns this
|
|
14995
|
-
*/
|
|
14996
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranties.prototype.setEntriesList = function(value) {
|
|
14997
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
14998
|
-
};
|
|
14999
|
-
|
|
15000
|
-
|
|
15001
|
-
/**
|
|
15002
|
-
* @param {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty=} opt_value
|
|
15003
|
-
* @param {number=} opt_index
|
|
15004
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty}
|
|
15005
|
-
*/
|
|
15006
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranties.prototype.addEntries = function(opt_value, opt_index) {
|
|
15007
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.api.v1.Warranty, opt_index);
|
|
15008
|
-
};
|
|
15009
|
-
|
|
15010
|
-
|
|
15011
|
-
/**
|
|
15012
|
-
* Clears the list making it empty but non-null.
|
|
15013
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranties} returns this
|
|
15014
|
-
*/
|
|
15015
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranties.prototype.clearEntriesList = function() {
|
|
15016
|
-
return this.setEntriesList([]);
|
|
15017
|
-
};
|
|
15018
|
-
|
|
15019
|
-
|
|
15020
|
-
|
|
15021
|
-
|
|
15022
|
-
|
|
15023
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15024
|
-
/**
|
|
15025
|
-
* Creates an object representation of this proto.
|
|
15026
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15027
|
-
* Optional fields that are not set will be set to undefined.
|
|
15028
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15029
|
-
* For the list of reserved names please see:
|
|
15030
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15031
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15032
|
-
* JSPB instance for transitional soy proto support:
|
|
15033
|
-
* http://goto/soy-param-migration
|
|
15034
|
-
* @return {!Object}
|
|
15035
|
-
*/
|
|
15036
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.toObject = function(opt_includeInstance) {
|
|
15037
|
-
return proto.com.lansweeper.discovery.sensor.api.v1.Warranty.toObject(opt_includeInstance, this);
|
|
15038
|
-
};
|
|
15039
|
-
|
|
15040
|
-
|
|
15041
|
-
/**
|
|
15042
|
-
* Static version of the {@see toObject} method.
|
|
15043
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15044
|
-
* the JSPB instance for transitional soy proto support:
|
|
15045
|
-
* http://goto/soy-param-migration
|
|
15046
|
-
* @param {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty} msg The msg instance to transform.
|
|
15047
|
-
* @return {!Object}
|
|
15048
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15049
|
-
*/
|
|
15050
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.toObject = function(includeInstance, msg) {
|
|
15051
|
-
var f, obj = {
|
|
15052
|
-
warrantyStartDate: (f = msg.getWarrantyStartDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
15053
|
-
warrantyEndDate: (f = msg.getWarrantyEndDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
15054
|
-
serviceType: (f = msg.getServiceType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
15055
|
-
purchaseCountry: (f = msg.getPurchaseCountry()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
15056
|
-
shipDate: (f = msg.getShipDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
15057
|
-
isSilly: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
15058
|
-
};
|
|
15059
|
-
|
|
15060
|
-
if (includeInstance) {
|
|
15061
|
-
obj.$jspbMessageInstance = msg;
|
|
15062
|
-
}
|
|
15063
|
-
return obj;
|
|
15064
|
-
};
|
|
15065
|
-
}
|
|
15066
|
-
|
|
15067
|
-
|
|
15068
|
-
/**
|
|
15069
|
-
* Deserializes binary data (in protobuf wire format).
|
|
15070
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15071
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty}
|
|
15072
|
-
*/
|
|
15073
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.deserializeBinary = function(bytes) {
|
|
15074
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
15075
|
-
var msg = new proto.com.lansweeper.discovery.sensor.api.v1.Warranty;
|
|
15076
|
-
return proto.com.lansweeper.discovery.sensor.api.v1.Warranty.deserializeBinaryFromReader(msg, reader);
|
|
15077
|
-
};
|
|
15078
|
-
|
|
15079
|
-
|
|
15080
|
-
/**
|
|
15081
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
15082
|
-
* given reader into the given message object.
|
|
15083
|
-
* @param {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty} msg The message object to deserialize into.
|
|
15084
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15085
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty}
|
|
15086
|
-
*/
|
|
15087
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.deserializeBinaryFromReader = function(msg, reader) {
|
|
15088
|
-
while (reader.nextField()) {
|
|
15089
|
-
if (reader.isEndGroup()) {
|
|
15090
|
-
break;
|
|
15091
|
-
}
|
|
15092
|
-
var field = reader.getFieldNumber();
|
|
15093
|
-
switch (field) {
|
|
15094
|
-
case 1:
|
|
15095
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
15096
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
15097
|
-
msg.setWarrantyStartDate(value);
|
|
15098
|
-
break;
|
|
15099
|
-
case 2:
|
|
15100
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
15101
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
15102
|
-
msg.setWarrantyEndDate(value);
|
|
15103
|
-
break;
|
|
15104
|
-
case 3:
|
|
15105
|
-
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
15106
|
-
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
15107
|
-
msg.setServiceType(value);
|
|
15108
|
-
break;
|
|
15109
|
-
case 4:
|
|
15110
|
-
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
15111
|
-
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
15112
|
-
msg.setPurchaseCountry(value);
|
|
15113
|
-
break;
|
|
15114
|
-
case 5:
|
|
15115
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
15116
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
15117
|
-
msg.setShipDate(value);
|
|
15118
|
-
break;
|
|
15119
|
-
case 6:
|
|
15120
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
15121
|
-
msg.setIsSilly(value);
|
|
15122
|
-
break;
|
|
15123
|
-
default:
|
|
15124
|
-
reader.skipField();
|
|
15125
|
-
break;
|
|
15126
|
-
}
|
|
15127
|
-
}
|
|
15128
|
-
return msg;
|
|
15129
|
-
};
|
|
15130
|
-
|
|
15131
|
-
|
|
15132
|
-
/**
|
|
15133
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
15134
|
-
* @return {!Uint8Array}
|
|
15135
|
-
*/
|
|
15136
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.serializeBinary = function() {
|
|
15137
|
-
var writer = new jspb.BinaryWriter();
|
|
15138
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.serializeBinaryToWriter(this, writer);
|
|
15139
|
-
return writer.getResultBuffer();
|
|
15140
|
-
};
|
|
15141
|
-
|
|
15142
|
-
|
|
15143
|
-
/**
|
|
15144
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
15145
|
-
* format), writing to the given BinaryWriter.
|
|
15146
|
-
* @param {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty} message
|
|
15147
|
-
* @param {!jspb.BinaryWriter} writer
|
|
15148
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15149
|
-
*/
|
|
15150
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.serializeBinaryToWriter = function(message, writer) {
|
|
15151
|
-
var f = undefined;
|
|
15152
|
-
f = message.getWarrantyStartDate();
|
|
15153
|
-
if (f != null) {
|
|
15154
|
-
writer.writeMessage(
|
|
15155
|
-
1,
|
|
15156
|
-
f,
|
|
15157
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
15158
|
-
);
|
|
15159
|
-
}
|
|
15160
|
-
f = message.getWarrantyEndDate();
|
|
15161
|
-
if (f != null) {
|
|
15162
|
-
writer.writeMessage(
|
|
15163
|
-
2,
|
|
15164
|
-
f,
|
|
15165
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
15166
|
-
);
|
|
15167
|
-
}
|
|
15168
|
-
f = message.getServiceType();
|
|
15169
|
-
if (f != null) {
|
|
15170
|
-
writer.writeMessage(
|
|
15171
|
-
3,
|
|
15172
|
-
f,
|
|
15173
|
-
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
15174
|
-
);
|
|
15175
|
-
}
|
|
15176
|
-
f = message.getPurchaseCountry();
|
|
15177
|
-
if (f != null) {
|
|
15178
|
-
writer.writeMessage(
|
|
15179
|
-
4,
|
|
15180
|
-
f,
|
|
15181
|
-
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
15182
|
-
);
|
|
15183
|
-
}
|
|
15184
|
-
f = message.getShipDate();
|
|
15185
|
-
if (f != null) {
|
|
15186
|
-
writer.writeMessage(
|
|
15187
|
-
5,
|
|
15188
|
-
f,
|
|
15189
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
15190
|
-
);
|
|
15191
|
-
}
|
|
15192
|
-
f = message.getIsSilly();
|
|
15193
|
-
if (f) {
|
|
15194
|
-
writer.writeBool(
|
|
15195
|
-
6,
|
|
15196
|
-
f
|
|
15197
|
-
);
|
|
15198
|
-
}
|
|
15199
|
-
};
|
|
15200
|
-
|
|
15201
|
-
|
|
15202
|
-
/**
|
|
15203
|
-
* optional google.protobuf.Timestamp warranty_start_date = 1;
|
|
15204
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
15205
|
-
*/
|
|
15206
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.getWarrantyStartDate = function() {
|
|
15207
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
15208
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
|
|
15209
|
-
};
|
|
15210
|
-
|
|
15211
|
-
|
|
15212
|
-
/**
|
|
15213
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
15214
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty} returns this
|
|
15215
|
-
*/
|
|
15216
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.setWarrantyStartDate = function(value) {
|
|
15217
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
15218
|
-
};
|
|
15219
|
-
|
|
15220
|
-
|
|
15221
|
-
/**
|
|
15222
|
-
* Clears the message field making it undefined.
|
|
15223
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty} returns this
|
|
15224
|
-
*/
|
|
15225
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.clearWarrantyStartDate = function() {
|
|
15226
|
-
return this.setWarrantyStartDate(undefined);
|
|
15227
|
-
};
|
|
15228
|
-
|
|
15229
|
-
|
|
15230
|
-
/**
|
|
15231
|
-
* Returns whether this field is set.
|
|
15232
|
-
* @return {boolean}
|
|
15233
|
-
*/
|
|
15234
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.hasWarrantyStartDate = function() {
|
|
15235
|
-
return jspb.Message.getField(this, 1) != null;
|
|
15236
|
-
};
|
|
15237
|
-
|
|
15238
|
-
|
|
15239
|
-
/**
|
|
15240
|
-
* optional google.protobuf.Timestamp warranty_end_date = 2;
|
|
15241
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
15242
|
-
*/
|
|
15243
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.getWarrantyEndDate = function() {
|
|
15244
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
15245
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
|
|
15246
|
-
};
|
|
15247
|
-
|
|
15248
|
-
|
|
15249
|
-
/**
|
|
15250
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
15251
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty} returns this
|
|
15252
|
-
*/
|
|
15253
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.setWarrantyEndDate = function(value) {
|
|
15254
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
15255
|
-
};
|
|
15256
|
-
|
|
15257
|
-
|
|
15258
|
-
/**
|
|
15259
|
-
* Clears the message field making it undefined.
|
|
15260
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty} returns this
|
|
15261
|
-
*/
|
|
15262
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.clearWarrantyEndDate = function() {
|
|
15263
|
-
return this.setWarrantyEndDate(undefined);
|
|
15264
|
-
};
|
|
15265
|
-
|
|
15266
|
-
|
|
15267
|
-
/**
|
|
15268
|
-
* Returns whether this field is set.
|
|
15269
|
-
* @return {boolean}
|
|
15270
|
-
*/
|
|
15271
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.hasWarrantyEndDate = function() {
|
|
15272
|
-
return jspb.Message.getField(this, 2) != null;
|
|
15273
|
-
};
|
|
15274
|
-
|
|
15275
|
-
|
|
15276
|
-
/**
|
|
15277
|
-
* optional google.protobuf.StringValue service_type = 3;
|
|
15278
|
-
* @return {?proto.google.protobuf.StringValue}
|
|
15279
|
-
*/
|
|
15280
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.getServiceType = function() {
|
|
15281
|
-
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
15282
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
|
|
15283
|
-
};
|
|
15284
|
-
|
|
15285
|
-
|
|
15286
|
-
/**
|
|
15287
|
-
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
15288
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty} returns this
|
|
15289
|
-
*/
|
|
15290
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.setServiceType = function(value) {
|
|
15291
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
15292
|
-
};
|
|
15293
|
-
|
|
15294
|
-
|
|
15295
|
-
/**
|
|
15296
|
-
* Clears the message field making it undefined.
|
|
15297
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty} returns this
|
|
15298
|
-
*/
|
|
15299
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.clearServiceType = function() {
|
|
15300
|
-
return this.setServiceType(undefined);
|
|
15301
|
-
};
|
|
15302
|
-
|
|
15303
|
-
|
|
15304
|
-
/**
|
|
15305
|
-
* Returns whether this field is set.
|
|
15306
|
-
* @return {boolean}
|
|
15307
|
-
*/
|
|
15308
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.hasServiceType = function() {
|
|
15309
|
-
return jspb.Message.getField(this, 3) != null;
|
|
15310
|
-
};
|
|
15311
|
-
|
|
15312
|
-
|
|
15313
|
-
/**
|
|
15314
|
-
* optional google.protobuf.StringValue purchase_country = 4;
|
|
15315
|
-
* @return {?proto.google.protobuf.StringValue}
|
|
15316
|
-
*/
|
|
15317
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.getPurchaseCountry = function() {
|
|
15318
|
-
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
15319
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
|
|
15320
|
-
};
|
|
15321
|
-
|
|
15322
|
-
|
|
15323
|
-
/**
|
|
15324
|
-
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
15325
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty} returns this
|
|
15326
|
-
*/
|
|
15327
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.setPurchaseCountry = function(value) {
|
|
15328
|
-
return jspb.Message.setWrapperField(this, 4, value);
|
|
15329
|
-
};
|
|
15330
|
-
|
|
15331
|
-
|
|
15332
|
-
/**
|
|
15333
|
-
* Clears the message field making it undefined.
|
|
15334
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty} returns this
|
|
15335
|
-
*/
|
|
15336
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.clearPurchaseCountry = function() {
|
|
15337
|
-
return this.setPurchaseCountry(undefined);
|
|
15338
|
-
};
|
|
15339
|
-
|
|
15340
|
-
|
|
15341
|
-
/**
|
|
15342
|
-
* Returns whether this field is set.
|
|
15343
|
-
* @return {boolean}
|
|
15344
|
-
*/
|
|
15345
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.hasPurchaseCountry = function() {
|
|
15346
|
-
return jspb.Message.getField(this, 4) != null;
|
|
15347
|
-
};
|
|
15348
|
-
|
|
15349
|
-
|
|
15350
|
-
/**
|
|
15351
|
-
* optional google.protobuf.Timestamp ship_date = 5;
|
|
15352
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
15353
|
-
*/
|
|
15354
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.getShipDate = function() {
|
|
15355
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
15356
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
15357
|
-
};
|
|
15358
|
-
|
|
15359
|
-
|
|
15360
|
-
/**
|
|
15361
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
15362
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty} returns this
|
|
15363
|
-
*/
|
|
15364
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.setShipDate = function(value) {
|
|
15365
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
15366
|
-
};
|
|
15367
|
-
|
|
15368
|
-
|
|
15369
|
-
/**
|
|
15370
|
-
* Clears the message field making it undefined.
|
|
15371
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty} returns this
|
|
15372
|
-
*/
|
|
15373
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.clearShipDate = function() {
|
|
15374
|
-
return this.setShipDate(undefined);
|
|
15375
|
-
};
|
|
15376
|
-
|
|
15377
|
-
|
|
15378
|
-
/**
|
|
15379
|
-
* Returns whether this field is set.
|
|
15380
|
-
* @return {boolean}
|
|
15381
|
-
*/
|
|
15382
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.hasShipDate = function() {
|
|
15383
|
-
return jspb.Message.getField(this, 5) != null;
|
|
15384
|
-
};
|
|
15385
|
-
|
|
15386
|
-
|
|
15387
|
-
/**
|
|
15388
|
-
* optional bool is_silly = 6;
|
|
15389
|
-
* @return {boolean}
|
|
15390
|
-
*/
|
|
15391
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.getIsSilly = function() {
|
|
15392
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
15393
|
-
};
|
|
15394
|
-
|
|
15395
|
-
|
|
15396
|
-
/**
|
|
15397
|
-
* @param {boolean} value
|
|
15398
|
-
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.Warranty} returns this
|
|
15399
|
-
*/
|
|
15400
|
-
proto.com.lansweeper.discovery.sensor.api.v1.Warranty.prototype.setIsSilly = function(value) {
|
|
15401
|
-
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
15402
|
-
};
|
|
15403
|
-
|
|
15404
|
-
|
|
15405
|
-
|
|
15406
14817
|
/**
|
|
15407
14818
|
* List of repeated fields within this message type.
|
|
15408
14819
|
* @private {!Array<number>}
|