@lansweeper/discovery-sensor-proto 2.81.2 → 2.82.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.
@@ -669,6 +669,10 @@ export class ActiveDirectoryComputer extends jspb.Message {
669
669
  clearDnsHostname(): void;
670
670
  getDnsHostname(): google_protobuf_wrappers_pb.StringValue | undefined;
671
671
  setDnsHostname(value?: google_protobuf_wrappers_pb.StringValue): ActiveDirectoryComputer;
672
+ clearBitLockerRecoveryKeysList(): void;
673
+ getBitLockerRecoveryKeysList(): Array<BitLockerRecoveryKey>;
674
+ setBitLockerRecoveryKeysList(value: Array<BitLockerRecoveryKey>): ActiveDirectoryComputer;
675
+ addBitLockerRecoveryKeys(value?: BitLockerRecoveryKey, index?: number): BitLockerRecoveryKey;
672
676
 
673
677
  serializeBinary(): Uint8Array;
674
678
  toObject(includeInstance?: boolean): ActiveDirectoryComputer.AsObject;
@@ -697,6 +701,36 @@ export namespace ActiveDirectoryComputer {
697
701
  managedByUserObjectGuid?: google_protobuf_wrappers_pb.StringValue.AsObject,
698
702
  managedByGroupObjectGuid?: google_protobuf_wrappers_pb.StringValue.AsObject,
699
703
  dnsHostname?: google_protobuf_wrappers_pb.StringValue.AsObject,
704
+ bitLockerRecoveryKeysList: Array<BitLockerRecoveryKey.AsObject>,
705
+ }
706
+ }
707
+
708
+ export class BitLockerRecoveryKey extends jspb.Message {
709
+
710
+ hasRecoveryKey(): boolean;
711
+ clearRecoveryKey(): void;
712
+ getRecoveryKey(): google_protobuf_wrappers_pb.StringValue | undefined;
713
+ setRecoveryKey(value?: google_protobuf_wrappers_pb.StringValue): BitLockerRecoveryKey;
714
+
715
+ hasLastChanged(): boolean;
716
+ clearLastChanged(): void;
717
+ getLastChanged(): google_protobuf_timestamp_pb.Timestamp | undefined;
718
+ setLastChanged(value?: google_protobuf_timestamp_pb.Timestamp): BitLockerRecoveryKey;
719
+
720
+ serializeBinary(): Uint8Array;
721
+ toObject(includeInstance?: boolean): BitLockerRecoveryKey.AsObject;
722
+ static toObject(includeInstance: boolean, msg: BitLockerRecoveryKey): BitLockerRecoveryKey.AsObject;
723
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
724
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
725
+ static serializeBinaryToWriter(message: BitLockerRecoveryKey, writer: jspb.BinaryWriter): void;
726
+ static deserializeBinary(bytes: Uint8Array): BitLockerRecoveryKey;
727
+ static deserializeBinaryFromReader(message: BitLockerRecoveryKey, reader: jspb.BinaryReader): BitLockerRecoveryKey;
728
+ }
729
+
730
+ export namespace BitLockerRecoveryKey {
731
+ export type AsObject = {
732
+ recoveryKey?: google_protobuf_wrappers_pb.StringValue.AsObject,
733
+ lastChanged?: google_protobuf_timestamp_pb.Timestamp.AsObject,
700
734
  }
701
735
  }
702
736
 
@@ -47,6 +47,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.AzureAdObject.Ob
47
47
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.AzureAdObjectType', null, global);
48
48
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.AzureAdOrganization', null, global);
49
49
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser', null, global);
50
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey', null, global);
50
51
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.ChromeOs', null, global);
51
52
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.ChromeOsActiveTimeRange', null, global);
52
53
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.ChromeOsFilterType', null, global);
@@ -192,7 +193,7 @@ if (goog.DEBUG && !COMPILED) {
192
193
  * @constructor
193
194
  */
194
195
  proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer = function(opt_data) {
195
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
196
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer.repeatedFields_, null);
196
197
  };
197
198
  goog.inherits(proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer, jspb.Message);
198
199
  if (goog.DEBUG && !COMPILED) {
@@ -202,6 +203,27 @@ if (goog.DEBUG && !COMPILED) {
202
203
  */
203
204
  proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer.displayName = 'proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer';
204
205
  }
206
+ /**
207
+ * Generated by JsPbCodeGenerator.
208
+ * @param {Array=} opt_data Optional initial data array, typically from a
209
+ * server response, or constructed directly in Javascript. The array is used
210
+ * in place and becomes part of the constructed object. It is not cloned.
211
+ * If no data is provided, the constructed object will be empty, but still
212
+ * valid.
213
+ * @extends {jspb.Message}
214
+ * @constructor
215
+ */
216
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey = function(opt_data) {
217
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
218
+ };
219
+ goog.inherits(proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey, jspb.Message);
220
+ if (goog.DEBUG && !COMPILED) {
221
+ /**
222
+ * @public
223
+ * @override
224
+ */
225
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.displayName = 'proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey';
226
+ }
205
227
  /**
206
228
  * Generated by JsPbCodeGenerator.
207
229
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5801,6 +5823,13 @@ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryDomain.prototype.has
5801
5823
 
5802
5824
 
5803
5825
 
5826
+ /**
5827
+ * List of repeated fields within this message type.
5828
+ * @private {!Array<number>}
5829
+ * @const
5830
+ */
5831
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer.repeatedFields_ = [16];
5832
+
5804
5833
 
5805
5834
 
5806
5835
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -5846,7 +5875,9 @@ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer.toObject =
5846
5875
  operatingsystemversion: (f = msg.getOperatingsystemversion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
5847
5876
  managedByUserObjectGuid: (f = msg.getManagedByUserObjectGuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
5848
5877
  managedByGroupObjectGuid: (f = msg.getManagedByGroupObjectGuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
5849
- dnsHostname: (f = msg.getDnsHostname()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
5878
+ dnsHostname: (f = msg.getDnsHostname()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
5879
+ bitLockerRecoveryKeysList: jspb.Message.toObjectList(msg.getBitLockerRecoveryKeysList(),
5880
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.toObject, includeInstance)
5850
5881
  };
5851
5882
 
5852
5883
  if (includeInstance) {
@@ -5958,6 +5989,11 @@ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer.deserialize
5958
5989
  reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
5959
5990
  msg.setDnsHostname(value);
5960
5991
  break;
5992
+ case 16:
5993
+ var value = new proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey;
5994
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.deserializeBinaryFromReader);
5995
+ msg.addBitLockerRecoveryKeys(value);
5996
+ break;
5961
5997
  default:
5962
5998
  reader.skipField();
5963
5999
  break;
@@ -6107,6 +6143,14 @@ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer.serializeBi
6107
6143
  google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
6108
6144
  );
6109
6145
  }
6146
+ f = message.getBitLockerRecoveryKeysList();
6147
+ if (f.length > 0) {
6148
+ writer.writeRepeatedMessage(
6149
+ 16,
6150
+ f,
6151
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.serializeBinaryToWriter
6152
+ );
6153
+ }
6110
6154
  };
6111
6155
 
6112
6156
 
@@ -6665,6 +6709,246 @@ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer.prototype.h
6665
6709
  };
6666
6710
 
6667
6711
 
6712
+ /**
6713
+ * repeated BitLockerRecoveryKey bit_locker_recovery_keys = 16;
6714
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey>}
6715
+ */
6716
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer.prototype.getBitLockerRecoveryKeysList = function() {
6717
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey>} */ (
6718
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey, 16));
6719
+ };
6720
+
6721
+
6722
+ /**
6723
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey>} value
6724
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer} returns this
6725
+ */
6726
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer.prototype.setBitLockerRecoveryKeysList = function(value) {
6727
+ return jspb.Message.setRepeatedWrapperField(this, 16, value);
6728
+ };
6729
+
6730
+
6731
+ /**
6732
+ * @param {!proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey=} opt_value
6733
+ * @param {number=} opt_index
6734
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey}
6735
+ */
6736
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer.prototype.addBitLockerRecoveryKeys = function(opt_value, opt_index) {
6737
+ return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey, opt_index);
6738
+ };
6739
+
6740
+
6741
+ /**
6742
+ * Clears the list making it empty but non-null.
6743
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer} returns this
6744
+ */
6745
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryComputer.prototype.clearBitLockerRecoveryKeysList = function() {
6746
+ return this.setBitLockerRecoveryKeysList([]);
6747
+ };
6748
+
6749
+
6750
+
6751
+
6752
+
6753
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6754
+ /**
6755
+ * Creates an object representation of this proto.
6756
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6757
+ * Optional fields that are not set will be set to undefined.
6758
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6759
+ * For the list of reserved names please see:
6760
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6761
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6762
+ * JSPB instance for transitional soy proto support:
6763
+ * http://goto/soy-param-migration
6764
+ * @return {!Object}
6765
+ */
6766
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.prototype.toObject = function(opt_includeInstance) {
6767
+ return proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.toObject(opt_includeInstance, this);
6768
+ };
6769
+
6770
+
6771
+ /**
6772
+ * Static version of the {@see toObject} method.
6773
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6774
+ * the JSPB instance for transitional soy proto support:
6775
+ * http://goto/soy-param-migration
6776
+ * @param {!proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey} msg The msg instance to transform.
6777
+ * @return {!Object}
6778
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6779
+ */
6780
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.toObject = function(includeInstance, msg) {
6781
+ var f, obj = {
6782
+ recoveryKey: (f = msg.getRecoveryKey()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
6783
+ lastChanged: (f = msg.getLastChanged()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
6784
+ };
6785
+
6786
+ if (includeInstance) {
6787
+ obj.$jspbMessageInstance = msg;
6788
+ }
6789
+ return obj;
6790
+ };
6791
+ }
6792
+
6793
+
6794
+ /**
6795
+ * Deserializes binary data (in protobuf wire format).
6796
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6797
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey}
6798
+ */
6799
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.deserializeBinary = function(bytes) {
6800
+ var reader = new jspb.BinaryReader(bytes);
6801
+ var msg = new proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey;
6802
+ return proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.deserializeBinaryFromReader(msg, reader);
6803
+ };
6804
+
6805
+
6806
+ /**
6807
+ * Deserializes binary data (in protobuf wire format) from the
6808
+ * given reader into the given message object.
6809
+ * @param {!proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey} msg The message object to deserialize into.
6810
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6811
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey}
6812
+ */
6813
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.deserializeBinaryFromReader = function(msg, reader) {
6814
+ while (reader.nextField()) {
6815
+ if (reader.isEndGroup()) {
6816
+ break;
6817
+ }
6818
+ var field = reader.getFieldNumber();
6819
+ switch (field) {
6820
+ case 1:
6821
+ var value = new google_protobuf_wrappers_pb.StringValue;
6822
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
6823
+ msg.setRecoveryKey(value);
6824
+ break;
6825
+ case 2:
6826
+ var value = new google_protobuf_timestamp_pb.Timestamp;
6827
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
6828
+ msg.setLastChanged(value);
6829
+ break;
6830
+ default:
6831
+ reader.skipField();
6832
+ break;
6833
+ }
6834
+ }
6835
+ return msg;
6836
+ };
6837
+
6838
+
6839
+ /**
6840
+ * Serializes the message to binary data (in protobuf wire format).
6841
+ * @return {!Uint8Array}
6842
+ */
6843
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.prototype.serializeBinary = function() {
6844
+ var writer = new jspb.BinaryWriter();
6845
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.serializeBinaryToWriter(this, writer);
6846
+ return writer.getResultBuffer();
6847
+ };
6848
+
6849
+
6850
+ /**
6851
+ * Serializes the given message to binary data (in protobuf wire
6852
+ * format), writing to the given BinaryWriter.
6853
+ * @param {!proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey} message
6854
+ * @param {!jspb.BinaryWriter} writer
6855
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6856
+ */
6857
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.serializeBinaryToWriter = function(message, writer) {
6858
+ var f = undefined;
6859
+ f = message.getRecoveryKey();
6860
+ if (f != null) {
6861
+ writer.writeMessage(
6862
+ 1,
6863
+ f,
6864
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
6865
+ );
6866
+ }
6867
+ f = message.getLastChanged();
6868
+ if (f != null) {
6869
+ writer.writeMessage(
6870
+ 2,
6871
+ f,
6872
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
6873
+ );
6874
+ }
6875
+ };
6876
+
6877
+
6878
+ /**
6879
+ * optional google.protobuf.StringValue recovery_key = 1;
6880
+ * @return {?proto.google.protobuf.StringValue}
6881
+ */
6882
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.prototype.getRecoveryKey = function() {
6883
+ return /** @type{?proto.google.protobuf.StringValue} */ (
6884
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
6885
+ };
6886
+
6887
+
6888
+ /**
6889
+ * @param {?proto.google.protobuf.StringValue|undefined} value
6890
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey} returns this
6891
+ */
6892
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.prototype.setRecoveryKey = function(value) {
6893
+ return jspb.Message.setWrapperField(this, 1, value);
6894
+ };
6895
+
6896
+
6897
+ /**
6898
+ * Clears the message field making it undefined.
6899
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey} returns this
6900
+ */
6901
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.prototype.clearRecoveryKey = function() {
6902
+ return this.setRecoveryKey(undefined);
6903
+ };
6904
+
6905
+
6906
+ /**
6907
+ * Returns whether this field is set.
6908
+ * @return {boolean}
6909
+ */
6910
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.prototype.hasRecoveryKey = function() {
6911
+ return jspb.Message.getField(this, 1) != null;
6912
+ };
6913
+
6914
+
6915
+ /**
6916
+ * optional google.protobuf.Timestamp last_changed = 2;
6917
+ * @return {?proto.google.protobuf.Timestamp}
6918
+ */
6919
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.prototype.getLastChanged = function() {
6920
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
6921
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
6922
+ };
6923
+
6924
+
6925
+ /**
6926
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
6927
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey} returns this
6928
+ */
6929
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.prototype.setLastChanged = function(value) {
6930
+ return jspb.Message.setWrapperField(this, 2, value);
6931
+ };
6932
+
6933
+
6934
+ /**
6935
+ * Clears the message field making it undefined.
6936
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey} returns this
6937
+ */
6938
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.prototype.clearLastChanged = function() {
6939
+ return this.setLastChanged(undefined);
6940
+ };
6941
+
6942
+
6943
+ /**
6944
+ * Returns whether this field is set.
6945
+ * @return {boolean}
6946
+ */
6947
+ proto.com.lansweeper.discovery.sensor.api.v1.BitLockerRecoveryKey.prototype.hasLastChanged = function() {
6948
+ return jspb.Message.getField(this, 2) != null;
6949
+ };
6950
+
6951
+
6668
6952
 
6669
6953
 
6670
6954