@lansweeper/discovery-sensor-proto 2.79.0 → 2.79.1

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.
@@ -405,6 +405,10 @@ export class ActiveDirectoryUser extends jspb.Message {
405
405
  getMemberOfObjectGuidsList(): Array<google_protobuf_wrappers_pb.StringValue>;
406
406
  setMemberOfObjectGuidsList(value: Array<google_protobuf_wrappers_pb.StringValue>): ActiveDirectoryUser;
407
407
  addMemberOfObjectGuids(value?: google_protobuf_wrappers_pb.StringValue, index?: number): google_protobuf_wrappers_pb.StringValue;
408
+ clearDirectReportsList(): void;
409
+ getDirectReportsList(): Array<DirectReport>;
410
+ setDirectReportsList(value: Array<DirectReport>): ActiveDirectoryUser;
411
+ addDirectReports(value?: DirectReport, index?: number): DirectReport;
408
412
 
409
413
  serializeBinary(): Uint8Array;
410
414
  toObject(includeInstance?: boolean): ActiveDirectoryUser.AsObject;
@@ -474,6 +478,36 @@ export namespace ActiveDirectoryUser {
474
478
  primaryGroupObjectGuid?: google_protobuf_wrappers_pb.StringValue.AsObject,
475
479
  managerObjectGuid?: google_protobuf_wrappers_pb.StringValue.AsObject,
476
480
  memberOfObjectGuidsList: Array<google_protobuf_wrappers_pb.StringValue.AsObject>,
481
+ directReportsList: Array<DirectReport.AsObject>,
482
+ }
483
+ }
484
+
485
+ export class DirectReport extends jspb.Message {
486
+
487
+ hasAdUserKey(): boolean;
488
+ clearAdUserKey(): void;
489
+ getAdUserKey(): google_protobuf_wrappers_pb.StringValue | undefined;
490
+ setAdUserKey(value?: google_protobuf_wrappers_pb.StringValue): DirectReport;
491
+
492
+ hasDisplayName(): boolean;
493
+ clearDisplayName(): void;
494
+ getDisplayName(): google_protobuf_wrappers_pb.StringValue | undefined;
495
+ setDisplayName(value?: google_protobuf_wrappers_pb.StringValue): DirectReport;
496
+
497
+ serializeBinary(): Uint8Array;
498
+ toObject(includeInstance?: boolean): DirectReport.AsObject;
499
+ static toObject(includeInstance: boolean, msg: DirectReport): DirectReport.AsObject;
500
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
501
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
502
+ static serializeBinaryToWriter(message: DirectReport, writer: jspb.BinaryWriter): void;
503
+ static deserializeBinary(bytes: Uint8Array): DirectReport;
504
+ static deserializeBinaryFromReader(message: DirectReport, reader: jspb.BinaryReader): DirectReport;
505
+ }
506
+
507
+ export namespace DirectReport {
508
+ export type AsObject = {
509
+ adUserKey?: google_protobuf_wrappers_pb.StringValue.AsObject,
510
+ displayName?: google_protobuf_wrappers_pb.StringValue.AsObject,
477
511
  }
478
512
  }
479
513
 
@@ -56,6 +56,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.ChromeOsVolume',
56
56
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.ChromeOses', null, global);
57
57
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.ClientEdition', null, global);
58
58
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.DeviceActionResult', null, global);
59
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.DirectReport', null, global);
59
60
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.IntuneApplication', null, global);
60
61
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.IntuneContainer', null, global);
61
62
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.IntuneDevice', null, global);
@@ -138,6 +139,27 @@ if (goog.DEBUG && !COMPILED) {
138
139
  */
139
140
  proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryUser.displayName = 'proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryUser';
140
141
  }
142
+ /**
143
+ * Generated by JsPbCodeGenerator.
144
+ * @param {Array=} opt_data Optional initial data array, typically from a
145
+ * server response, or constructed directly in Javascript. The array is used
146
+ * in place and becomes part of the constructed object. It is not cloned.
147
+ * If no data is provided, the constructed object will be empty, but still
148
+ * valid.
149
+ * @extends {jspb.Message}
150
+ * @constructor
151
+ */
152
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport = function(opt_data) {
153
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
154
+ };
155
+ goog.inherits(proto.com.lansweeper.discovery.sensor.api.v1.DirectReport, jspb.Message);
156
+ if (goog.DEBUG && !COMPILED) {
157
+ /**
158
+ * @public
159
+ * @override
160
+ */
161
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.displayName = 'proto.com.lansweeper.discovery.sensor.api.v1.DirectReport';
162
+ }
141
163
  /**
142
164
  * Generated by JsPbCodeGenerator.
143
165
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1894,7 +1916,7 @@ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryObject.prototype.has
1894
1916
  * @private {!Array<number>}
1895
1917
  * @const
1896
1918
  */
1897
- proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryUser.repeatedFields_ = [56];
1919
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryUser.repeatedFields_ = [56,57];
1898
1920
 
1899
1921
 
1900
1922
 
@@ -1983,7 +2005,9 @@ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryUser.toObject = func
1983
2005
  primaryGroupObjectGuid: (f = msg.getPrimaryGroupObjectGuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
1984
2006
  managerObjectGuid: (f = msg.getManagerObjectGuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
1985
2007
  memberOfObjectGuidsList: jspb.Message.toObjectList(msg.getMemberOfObjectGuidsList(),
1986
- google_protobuf_wrappers_pb.StringValue.toObject, includeInstance)
2008
+ google_protobuf_wrappers_pb.StringValue.toObject, includeInstance),
2009
+ directReportsList: jspb.Message.toObjectList(msg.getDirectReportsList(),
2010
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.toObject, includeInstance)
1987
2011
  };
1988
2012
 
1989
2013
  if (includeInstance) {
@@ -2300,6 +2324,11 @@ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryUser.deserializeBina
2300
2324
  reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
2301
2325
  msg.addMemberOfObjectGuids(value);
2302
2326
  break;
2327
+ case 57:
2328
+ var value = new proto.com.lansweeper.discovery.sensor.api.v1.DirectReport;
2329
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.deserializeBinaryFromReader);
2330
+ msg.addDirectReports(value);
2331
+ break;
2303
2332
  default:
2304
2333
  reader.skipField();
2305
2334
  break;
@@ -2777,6 +2806,14 @@ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryUser.serializeBinary
2777
2806
  google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
2778
2807
  );
2779
2808
  }
2809
+ f = message.getDirectReportsList();
2810
+ if (f.length > 0) {
2811
+ writer.writeRepeatedMessage(
2812
+ 57,
2813
+ f,
2814
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.serializeBinaryToWriter
2815
+ );
2816
+ }
2780
2817
  };
2781
2818
 
2782
2819
 
@@ -4853,6 +4890,246 @@ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryUser.prototype.clear
4853
4890
  };
4854
4891
 
4855
4892
 
4893
+ /**
4894
+ * repeated DirectReport direct_reports = 57;
4895
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport>}
4896
+ */
4897
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryUser.prototype.getDirectReportsList = function() {
4898
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport>} */ (
4899
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.api.v1.DirectReport, 57));
4900
+ };
4901
+
4902
+
4903
+ /**
4904
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport>} value
4905
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryUser} returns this
4906
+ */
4907
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryUser.prototype.setDirectReportsList = function(value) {
4908
+ return jspb.Message.setRepeatedWrapperField(this, 57, value);
4909
+ };
4910
+
4911
+
4912
+ /**
4913
+ * @param {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport=} opt_value
4914
+ * @param {number=} opt_index
4915
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport}
4916
+ */
4917
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryUser.prototype.addDirectReports = function(opt_value, opt_index) {
4918
+ return jspb.Message.addToRepeatedWrapperField(this, 57, opt_value, proto.com.lansweeper.discovery.sensor.api.v1.DirectReport, opt_index);
4919
+ };
4920
+
4921
+
4922
+ /**
4923
+ * Clears the list making it empty but non-null.
4924
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryUser} returns this
4925
+ */
4926
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryUser.prototype.clearDirectReportsList = function() {
4927
+ return this.setDirectReportsList([]);
4928
+ };
4929
+
4930
+
4931
+
4932
+
4933
+
4934
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4935
+ /**
4936
+ * Creates an object representation of this proto.
4937
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4938
+ * Optional fields that are not set will be set to undefined.
4939
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4940
+ * For the list of reserved names please see:
4941
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4942
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4943
+ * JSPB instance for transitional soy proto support:
4944
+ * http://goto/soy-param-migration
4945
+ * @return {!Object}
4946
+ */
4947
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.toObject = function(opt_includeInstance) {
4948
+ return proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.toObject(opt_includeInstance, this);
4949
+ };
4950
+
4951
+
4952
+ /**
4953
+ * Static version of the {@see toObject} method.
4954
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4955
+ * the JSPB instance for transitional soy proto support:
4956
+ * http://goto/soy-param-migration
4957
+ * @param {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport} msg The msg instance to transform.
4958
+ * @return {!Object}
4959
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4960
+ */
4961
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.toObject = function(includeInstance, msg) {
4962
+ var f, obj = {
4963
+ adUserKey: (f = msg.getAdUserKey()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
4964
+ displayName: (f = msg.getDisplayName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
4965
+ };
4966
+
4967
+ if (includeInstance) {
4968
+ obj.$jspbMessageInstance = msg;
4969
+ }
4970
+ return obj;
4971
+ };
4972
+ }
4973
+
4974
+
4975
+ /**
4976
+ * Deserializes binary data (in protobuf wire format).
4977
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4978
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport}
4979
+ */
4980
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.deserializeBinary = function(bytes) {
4981
+ var reader = new jspb.BinaryReader(bytes);
4982
+ var msg = new proto.com.lansweeper.discovery.sensor.api.v1.DirectReport;
4983
+ return proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.deserializeBinaryFromReader(msg, reader);
4984
+ };
4985
+
4986
+
4987
+ /**
4988
+ * Deserializes binary data (in protobuf wire format) from the
4989
+ * given reader into the given message object.
4990
+ * @param {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport} msg The message object to deserialize into.
4991
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4992
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport}
4993
+ */
4994
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.deserializeBinaryFromReader = function(msg, reader) {
4995
+ while (reader.nextField()) {
4996
+ if (reader.isEndGroup()) {
4997
+ break;
4998
+ }
4999
+ var field = reader.getFieldNumber();
5000
+ switch (field) {
5001
+ case 1:
5002
+ var value = new google_protobuf_wrappers_pb.StringValue;
5003
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
5004
+ msg.setAdUserKey(value);
5005
+ break;
5006
+ case 2:
5007
+ var value = new google_protobuf_wrappers_pb.StringValue;
5008
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
5009
+ msg.setDisplayName(value);
5010
+ break;
5011
+ default:
5012
+ reader.skipField();
5013
+ break;
5014
+ }
5015
+ }
5016
+ return msg;
5017
+ };
5018
+
5019
+
5020
+ /**
5021
+ * Serializes the message to binary data (in protobuf wire format).
5022
+ * @return {!Uint8Array}
5023
+ */
5024
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.serializeBinary = function() {
5025
+ var writer = new jspb.BinaryWriter();
5026
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.serializeBinaryToWriter(this, writer);
5027
+ return writer.getResultBuffer();
5028
+ };
5029
+
5030
+
5031
+ /**
5032
+ * Serializes the given message to binary data (in protobuf wire
5033
+ * format), writing to the given BinaryWriter.
5034
+ * @param {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport} message
5035
+ * @param {!jspb.BinaryWriter} writer
5036
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5037
+ */
5038
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.serializeBinaryToWriter = function(message, writer) {
5039
+ var f = undefined;
5040
+ f = message.getAdUserKey();
5041
+ if (f != null) {
5042
+ writer.writeMessage(
5043
+ 1,
5044
+ f,
5045
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
5046
+ );
5047
+ }
5048
+ f = message.getDisplayName();
5049
+ if (f != null) {
5050
+ writer.writeMessage(
5051
+ 2,
5052
+ f,
5053
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
5054
+ );
5055
+ }
5056
+ };
5057
+
5058
+
5059
+ /**
5060
+ * optional google.protobuf.StringValue ad_user_key = 1;
5061
+ * @return {?proto.google.protobuf.StringValue}
5062
+ */
5063
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.getAdUserKey = function() {
5064
+ return /** @type{?proto.google.protobuf.StringValue} */ (
5065
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
5066
+ };
5067
+
5068
+
5069
+ /**
5070
+ * @param {?proto.google.protobuf.StringValue|undefined} value
5071
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport} returns this
5072
+ */
5073
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.setAdUserKey = function(value) {
5074
+ return jspb.Message.setWrapperField(this, 1, value);
5075
+ };
5076
+
5077
+
5078
+ /**
5079
+ * Clears the message field making it undefined.
5080
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport} returns this
5081
+ */
5082
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.clearAdUserKey = function() {
5083
+ return this.setAdUserKey(undefined);
5084
+ };
5085
+
5086
+
5087
+ /**
5088
+ * Returns whether this field is set.
5089
+ * @return {boolean}
5090
+ */
5091
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.hasAdUserKey = function() {
5092
+ return jspb.Message.getField(this, 1) != null;
5093
+ };
5094
+
5095
+
5096
+ /**
5097
+ * optional google.protobuf.StringValue display_name = 2;
5098
+ * @return {?proto.google.protobuf.StringValue}
5099
+ */
5100
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.getDisplayName = function() {
5101
+ return /** @type{?proto.google.protobuf.StringValue} */ (
5102
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
5103
+ };
5104
+
5105
+
5106
+ /**
5107
+ * @param {?proto.google.protobuf.StringValue|undefined} value
5108
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport} returns this
5109
+ */
5110
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.setDisplayName = function(value) {
5111
+ return jspb.Message.setWrapperField(this, 2, value);
5112
+ };
5113
+
5114
+
5115
+ /**
5116
+ * Clears the message field making it undefined.
5117
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport} returns this
5118
+ */
5119
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.clearDisplayName = function() {
5120
+ return this.setDisplayName(undefined);
5121
+ };
5122
+
5123
+
5124
+ /**
5125
+ * Returns whether this field is set.
5126
+ * @return {boolean}
5127
+ */
5128
+ proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.hasDisplayName = function() {
5129
+ return jspb.Message.getField(this, 2) != null;
5130
+ };
5131
+
5132
+
4856
5133
 
4857
5134
  /**
4858
5135
  * List of repeated fields within this message type.