@lansweeper/discovery-sensor-proto 2.82.0 → 2.84.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.
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1,71 @@
1
+ // package: com.lansweeper.discovery.sensor.ai.v1
2
+ // file: discovery_sections_ai.proto
3
+
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+
7
+ import * as jspb from "google-protobuf";
8
+ import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
9
+ import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
10
+
11
+ export class AiScanResult extends jspb.Message {
12
+ clearEntriesList(): void;
13
+ getEntriesList(): Array<AiDetection>;
14
+ setEntriesList(value: Array<AiDetection>): AiScanResult;
15
+ addEntries(value?: AiDetection, index?: number): AiDetection;
16
+
17
+ serializeBinary(): Uint8Array;
18
+ toObject(includeInstance?: boolean): AiScanResult.AsObject;
19
+ static toObject(includeInstance: boolean, msg: AiScanResult): AiScanResult.AsObject;
20
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
21
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
22
+ static serializeBinaryToWriter(message: AiScanResult, writer: jspb.BinaryWriter): void;
23
+ static deserializeBinary(bytes: Uint8Array): AiScanResult;
24
+ static deserializeBinaryFromReader(message: AiScanResult, reader: jspb.BinaryReader): AiScanResult;
25
+ }
26
+
27
+ export namespace AiScanResult {
28
+ export type AsObject = {
29
+ entriesList: Array<AiDetection.AsObject>,
30
+ }
31
+ }
32
+
33
+ export class AiDetection extends jspb.Message {
34
+ getCategory(): string;
35
+ setCategory(value: string): AiDetection;
36
+
37
+ hasSource(): boolean;
38
+ clearSource(): void;
39
+ getSource(): google_protobuf_wrappers_pb.StringValue | undefined;
40
+ setSource(value?: google_protobuf_wrappers_pb.StringValue): AiDetection;
41
+ getTrigger(): string;
42
+ setTrigger(value: string): AiDetection;
43
+
44
+ hasTimestamp(): boolean;
45
+ clearTimestamp(): void;
46
+ getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
47
+ setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): AiDetection;
48
+
49
+ getMetaDataMap(): jspb.Map<string, string>;
50
+ clearMetaDataMap(): void;
51
+
52
+ serializeBinary(): Uint8Array;
53
+ toObject(includeInstance?: boolean): AiDetection.AsObject;
54
+ static toObject(includeInstance: boolean, msg: AiDetection): AiDetection.AsObject;
55
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
56
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
57
+ static serializeBinaryToWriter(message: AiDetection, writer: jspb.BinaryWriter): void;
58
+ static deserializeBinary(bytes: Uint8Array): AiDetection;
59
+ static deserializeBinaryFromReader(message: AiDetection, reader: jspb.BinaryReader): AiDetection;
60
+ }
61
+
62
+ export namespace AiDetection {
63
+ export type AsObject = {
64
+ category: string,
65
+ source?: google_protobuf_wrappers_pb.StringValue.AsObject,
66
+ trigger: string,
67
+ timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
68
+
69
+ metaDataMap: Array<[string, string]>,
70
+ }
71
+ }
@@ -0,0 +1,527 @@
1
+ // source: discovery_sections_ai.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
23
+
24
+ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
25
+ goog.object.extend(proto, google_protobuf_timestamp_pb);
26
+ var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
27
+ goog.object.extend(proto, google_protobuf_wrappers_pb);
28
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection', null, global);
29
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult', null, global);
30
+ /**
31
+ * Generated by JsPbCodeGenerator.
32
+ * @param {Array=} opt_data Optional initial data array, typically from a
33
+ * server response, or constructed directly in Javascript. The array is used
34
+ * in place and becomes part of the constructed object. It is not cloned.
35
+ * If no data is provided, the constructed object will be empty, but still
36
+ * valid.
37
+ * @extends {jspb.Message}
38
+ * @constructor
39
+ */
40
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult = function(opt_data) {
41
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.repeatedFields_, null);
42
+ };
43
+ goog.inherits(proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult, jspb.Message);
44
+ if (goog.DEBUG && !COMPILED) {
45
+ /**
46
+ * @public
47
+ * @override
48
+ */
49
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.displayName = 'proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult';
50
+ }
51
+ /**
52
+ * Generated by JsPbCodeGenerator.
53
+ * @param {Array=} opt_data Optional initial data array, typically from a
54
+ * server response, or constructed directly in Javascript. The array is used
55
+ * in place and becomes part of the constructed object. It is not cloned.
56
+ * If no data is provided, the constructed object will be empty, but still
57
+ * valid.
58
+ * @extends {jspb.Message}
59
+ * @constructor
60
+ */
61
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection = function(opt_data) {
62
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
63
+ };
64
+ goog.inherits(proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection, jspb.Message);
65
+ if (goog.DEBUG && !COMPILED) {
66
+ /**
67
+ * @public
68
+ * @override
69
+ */
70
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.displayName = 'proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection';
71
+ }
72
+
73
+ /**
74
+ * List of repeated fields within this message type.
75
+ * @private {!Array<number>}
76
+ * @const
77
+ */
78
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.repeatedFields_ = [1];
79
+
80
+
81
+
82
+ if (jspb.Message.GENERATE_TO_OBJECT) {
83
+ /**
84
+ * Creates an object representation of this proto.
85
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
86
+ * Optional fields that are not set will be set to undefined.
87
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
88
+ * For the list of reserved names please see:
89
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
90
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
91
+ * JSPB instance for transitional soy proto support:
92
+ * http://goto/soy-param-migration
93
+ * @return {!Object}
94
+ */
95
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.prototype.toObject = function(opt_includeInstance) {
96
+ return proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.toObject(opt_includeInstance, this);
97
+ };
98
+
99
+
100
+ /**
101
+ * Static version of the {@see toObject} method.
102
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
103
+ * the JSPB instance for transitional soy proto support:
104
+ * http://goto/soy-param-migration
105
+ * @param {!proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult} msg The msg instance to transform.
106
+ * @return {!Object}
107
+ * @suppress {unusedLocalVariables} f is only used for nested messages
108
+ */
109
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.toObject = function(includeInstance, msg) {
110
+ var f, obj = {
111
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
112
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.toObject, includeInstance)
113
+ };
114
+
115
+ if (includeInstance) {
116
+ obj.$jspbMessageInstance = msg;
117
+ }
118
+ return obj;
119
+ };
120
+ }
121
+
122
+
123
+ /**
124
+ * Deserializes binary data (in protobuf wire format).
125
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
126
+ * @return {!proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult}
127
+ */
128
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.deserializeBinary = function(bytes) {
129
+ var reader = new jspb.BinaryReader(bytes);
130
+ var msg = new proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult;
131
+ return proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.deserializeBinaryFromReader(msg, reader);
132
+ };
133
+
134
+
135
+ /**
136
+ * Deserializes binary data (in protobuf wire format) from the
137
+ * given reader into the given message object.
138
+ * @param {!proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult} msg The message object to deserialize into.
139
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
140
+ * @return {!proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult}
141
+ */
142
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.deserializeBinaryFromReader = function(msg, reader) {
143
+ while (reader.nextField()) {
144
+ if (reader.isEndGroup()) {
145
+ break;
146
+ }
147
+ var field = reader.getFieldNumber();
148
+ switch (field) {
149
+ case 1:
150
+ var value = new proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection;
151
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.deserializeBinaryFromReader);
152
+ msg.addEntries(value);
153
+ break;
154
+ default:
155
+ reader.skipField();
156
+ break;
157
+ }
158
+ }
159
+ return msg;
160
+ };
161
+
162
+
163
+ /**
164
+ * Serializes the message to binary data (in protobuf wire format).
165
+ * @return {!Uint8Array}
166
+ */
167
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.prototype.serializeBinary = function() {
168
+ var writer = new jspb.BinaryWriter();
169
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.serializeBinaryToWriter(this, writer);
170
+ return writer.getResultBuffer();
171
+ };
172
+
173
+
174
+ /**
175
+ * Serializes the given message to binary data (in protobuf wire
176
+ * format), writing to the given BinaryWriter.
177
+ * @param {!proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult} message
178
+ * @param {!jspb.BinaryWriter} writer
179
+ * @suppress {unusedLocalVariables} f is only used for nested messages
180
+ */
181
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.serializeBinaryToWriter = function(message, writer) {
182
+ var f = undefined;
183
+ f = message.getEntriesList();
184
+ if (f.length > 0) {
185
+ writer.writeRepeatedMessage(
186
+ 1,
187
+ f,
188
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.serializeBinaryToWriter
189
+ );
190
+ }
191
+ };
192
+
193
+
194
+ /**
195
+ * repeated AiDetection entries = 1;
196
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection>}
197
+ */
198
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.prototype.getEntriesList = function() {
199
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection>} */ (
200
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection, 1));
201
+ };
202
+
203
+
204
+ /**
205
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection>} value
206
+ * @return {!proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult} returns this
207
+ */
208
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.prototype.setEntriesList = function(value) {
209
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
210
+ };
211
+
212
+
213
+ /**
214
+ * @param {!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection=} opt_value
215
+ * @param {number=} opt_index
216
+ * @return {!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection}
217
+ */
218
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.prototype.addEntries = function(opt_value, opt_index) {
219
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection, opt_index);
220
+ };
221
+
222
+
223
+ /**
224
+ * Clears the list making it empty but non-null.
225
+ * @return {!proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult} returns this
226
+ */
227
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiScanResult.prototype.clearEntriesList = function() {
228
+ return this.setEntriesList([]);
229
+ };
230
+
231
+
232
+
233
+
234
+
235
+ if (jspb.Message.GENERATE_TO_OBJECT) {
236
+ /**
237
+ * Creates an object representation of this proto.
238
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
239
+ * Optional fields that are not set will be set to undefined.
240
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
241
+ * For the list of reserved names please see:
242
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
243
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
244
+ * JSPB instance for transitional soy proto support:
245
+ * http://goto/soy-param-migration
246
+ * @return {!Object}
247
+ */
248
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.toObject = function(opt_includeInstance) {
249
+ return proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.toObject(opt_includeInstance, this);
250
+ };
251
+
252
+
253
+ /**
254
+ * Static version of the {@see toObject} method.
255
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
256
+ * the JSPB instance for transitional soy proto support:
257
+ * http://goto/soy-param-migration
258
+ * @param {!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection} msg The msg instance to transform.
259
+ * @return {!Object}
260
+ * @suppress {unusedLocalVariables} f is only used for nested messages
261
+ */
262
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.toObject = function(includeInstance, msg) {
263
+ var f, obj = {
264
+ category: jspb.Message.getFieldWithDefault(msg, 1, ""),
265
+ source: (f = msg.getSource()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
266
+ trigger: jspb.Message.getFieldWithDefault(msg, 3, ""),
267
+ timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
268
+ metaDataMap: (f = msg.getMetaDataMap()) ? f.toObject(includeInstance, undefined) : []
269
+ };
270
+
271
+ if (includeInstance) {
272
+ obj.$jspbMessageInstance = msg;
273
+ }
274
+ return obj;
275
+ };
276
+ }
277
+
278
+
279
+ /**
280
+ * Deserializes binary data (in protobuf wire format).
281
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
282
+ * @return {!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection}
283
+ */
284
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.deserializeBinary = function(bytes) {
285
+ var reader = new jspb.BinaryReader(bytes);
286
+ var msg = new proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection;
287
+ return proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.deserializeBinaryFromReader(msg, reader);
288
+ };
289
+
290
+
291
+ /**
292
+ * Deserializes binary data (in protobuf wire format) from the
293
+ * given reader into the given message object.
294
+ * @param {!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection} msg The message object to deserialize into.
295
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
296
+ * @return {!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection}
297
+ */
298
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.deserializeBinaryFromReader = function(msg, reader) {
299
+ while (reader.nextField()) {
300
+ if (reader.isEndGroup()) {
301
+ break;
302
+ }
303
+ var field = reader.getFieldNumber();
304
+ switch (field) {
305
+ case 1:
306
+ var value = /** @type {string} */ (reader.readString());
307
+ msg.setCategory(value);
308
+ break;
309
+ case 2:
310
+ var value = new google_protobuf_wrappers_pb.StringValue;
311
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
312
+ msg.setSource(value);
313
+ break;
314
+ case 3:
315
+ var value = /** @type {string} */ (reader.readString());
316
+ msg.setTrigger(value);
317
+ break;
318
+ case 4:
319
+ var value = new google_protobuf_timestamp_pb.Timestamp;
320
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
321
+ msg.setTimestamp(value);
322
+ break;
323
+ case 5:
324
+ var value = msg.getMetaDataMap();
325
+ reader.readMessage(value, function(message, reader) {
326
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
327
+ });
328
+ break;
329
+ default:
330
+ reader.skipField();
331
+ break;
332
+ }
333
+ }
334
+ return msg;
335
+ };
336
+
337
+
338
+ /**
339
+ * Serializes the message to binary data (in protobuf wire format).
340
+ * @return {!Uint8Array}
341
+ */
342
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.serializeBinary = function() {
343
+ var writer = new jspb.BinaryWriter();
344
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.serializeBinaryToWriter(this, writer);
345
+ return writer.getResultBuffer();
346
+ };
347
+
348
+
349
+ /**
350
+ * Serializes the given message to binary data (in protobuf wire
351
+ * format), writing to the given BinaryWriter.
352
+ * @param {!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection} message
353
+ * @param {!jspb.BinaryWriter} writer
354
+ * @suppress {unusedLocalVariables} f is only used for nested messages
355
+ */
356
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.serializeBinaryToWriter = function(message, writer) {
357
+ var f = undefined;
358
+ f = message.getCategory();
359
+ if (f.length > 0) {
360
+ writer.writeString(
361
+ 1,
362
+ f
363
+ );
364
+ }
365
+ f = message.getSource();
366
+ if (f != null) {
367
+ writer.writeMessage(
368
+ 2,
369
+ f,
370
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
371
+ );
372
+ }
373
+ f = message.getTrigger();
374
+ if (f.length > 0) {
375
+ writer.writeString(
376
+ 3,
377
+ f
378
+ );
379
+ }
380
+ f = message.getTimestamp();
381
+ if (f != null) {
382
+ writer.writeMessage(
383
+ 4,
384
+ f,
385
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
386
+ );
387
+ }
388
+ f = message.getMetaDataMap(true);
389
+ if (f && f.getLength() > 0) {
390
+ f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
391
+ }
392
+ };
393
+
394
+
395
+ /**
396
+ * optional string category = 1;
397
+ * @return {string}
398
+ */
399
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.getCategory = function() {
400
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
401
+ };
402
+
403
+
404
+ /**
405
+ * @param {string} value
406
+ * @return {!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection} returns this
407
+ */
408
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.setCategory = function(value) {
409
+ return jspb.Message.setProto3StringField(this, 1, value);
410
+ };
411
+
412
+
413
+ /**
414
+ * optional google.protobuf.StringValue source = 2;
415
+ * @return {?proto.google.protobuf.StringValue}
416
+ */
417
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.getSource = function() {
418
+ return /** @type{?proto.google.protobuf.StringValue} */ (
419
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
420
+ };
421
+
422
+
423
+ /**
424
+ * @param {?proto.google.protobuf.StringValue|undefined} value
425
+ * @return {!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection} returns this
426
+ */
427
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.setSource = function(value) {
428
+ return jspb.Message.setWrapperField(this, 2, value);
429
+ };
430
+
431
+
432
+ /**
433
+ * Clears the message field making it undefined.
434
+ * @return {!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection} returns this
435
+ */
436
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.clearSource = function() {
437
+ return this.setSource(undefined);
438
+ };
439
+
440
+
441
+ /**
442
+ * Returns whether this field is set.
443
+ * @return {boolean}
444
+ */
445
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.hasSource = function() {
446
+ return jspb.Message.getField(this, 2) != null;
447
+ };
448
+
449
+
450
+ /**
451
+ * optional string trigger = 3;
452
+ * @return {string}
453
+ */
454
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.getTrigger = function() {
455
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
456
+ };
457
+
458
+
459
+ /**
460
+ * @param {string} value
461
+ * @return {!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection} returns this
462
+ */
463
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.setTrigger = function(value) {
464
+ return jspb.Message.setProto3StringField(this, 3, value);
465
+ };
466
+
467
+
468
+ /**
469
+ * optional google.protobuf.Timestamp timestamp = 4;
470
+ * @return {?proto.google.protobuf.Timestamp}
471
+ */
472
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.getTimestamp = function() {
473
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
474
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
475
+ };
476
+
477
+
478
+ /**
479
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
480
+ * @return {!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection} returns this
481
+ */
482
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.setTimestamp = function(value) {
483
+ return jspb.Message.setWrapperField(this, 4, value);
484
+ };
485
+
486
+
487
+ /**
488
+ * Clears the message field making it undefined.
489
+ * @return {!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection} returns this
490
+ */
491
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.clearTimestamp = function() {
492
+ return this.setTimestamp(undefined);
493
+ };
494
+
495
+
496
+ /**
497
+ * Returns whether this field is set.
498
+ * @return {boolean}
499
+ */
500
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.hasTimestamp = function() {
501
+ return jspb.Message.getField(this, 4) != null;
502
+ };
503
+
504
+
505
+ /**
506
+ * map<string, string> meta_data = 5;
507
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
508
+ * empty, instead returning `undefined`
509
+ * @return {!jspb.Map<string,string>}
510
+ */
511
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.getMetaDataMap = function(opt_noLazyCreate) {
512
+ return /** @type {!jspb.Map<string,string>} */ (
513
+ jspb.Message.getMapField(this, 5, opt_noLazyCreate,
514
+ null));
515
+ };
516
+
517
+
518
+ /**
519
+ * Clears values from the map. The map will be non-null.
520
+ * @return {!proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection} returns this
521
+ */
522
+ proto.com.lansweeper.discovery.sensor.ai.v1.AiDetection.prototype.clearMetaDataMap = function() {
523
+ this.getMetaDataMap().clear();
524
+ return this;};
525
+
526
+
527
+ goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.ai.v1);
@@ -332,6 +332,11 @@ export class ComputerSystem extends jspb.Message {
332
332
  getFirmware(): google_protobuf_wrappers_pb.StringValue | undefined;
333
333
  setFirmware(value?: google_protobuf_wrappers_pb.StringValue): ComputerSystem;
334
334
 
335
+ hasDomain(): boolean;
336
+ clearDomain(): void;
337
+ getDomain(): google_protobuf_wrappers_pb.StringValue | undefined;
338
+ setDomain(value?: google_protobuf_wrappers_pb.StringValue): ComputerSystem;
339
+
335
340
  serializeBinary(): Uint8Array;
336
341
  toObject(includeInstance?: boolean): ComputerSystem.AsObject;
337
342
  static toObject(includeInstance: boolean, msg: ComputerSystem): ComputerSystem.AsObject;
@@ -362,6 +367,7 @@ export namespace ComputerSystem {
362
367
  systemSku?: google_protobuf_wrappers_pb.StringValue.AsObject,
363
368
  totalMemory?: google_protobuf_wrappers_pb.StringValue.AsObject,
364
369
  firmware?: google_protobuf_wrappers_pb.StringValue.AsObject,
370
+ domain?: google_protobuf_wrappers_pb.StringValue.AsObject,
365
371
  }
366
372
  }
367
373
 
@@ -2931,7 +2931,8 @@ proto.com.lansweeper.discovery.sensor.unix.v1.ComputerSystem.toObject = function
2931
2931
  hardwarePlatform: (f = msg.getHardwarePlatform()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
2932
2932
  systemSku: (f = msg.getSystemSku()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
2933
2933
  totalMemory: (f = msg.getTotalMemory()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
2934
- firmware: (f = msg.getFirmware()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
2934
+ firmware: (f = msg.getFirmware()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
2935
+ domain: (f = msg.getDomain()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
2935
2936
  };
2936
2937
 
2937
2938
  if (includeInstance) {
@@ -3057,6 +3058,11 @@ proto.com.lansweeper.discovery.sensor.unix.v1.ComputerSystem.deserializeBinaryFr
3057
3058
  reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
3058
3059
  msg.setFirmware(value);
3059
3060
  break;
3061
+ case 19:
3062
+ var value = new google_protobuf_wrappers_pb.StringValue;
3063
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
3064
+ msg.setDomain(value);
3065
+ break;
3060
3066
  default:
3061
3067
  reader.skipField();
3062
3068
  break;
@@ -3229,6 +3235,14 @@ proto.com.lansweeper.discovery.sensor.unix.v1.ComputerSystem.serializeBinaryToWr
3229
3235
  google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
3230
3236
  );
3231
3237
  }
3238
+ f = message.getDomain();
3239
+ if (f != null) {
3240
+ writer.writeMessage(
3241
+ 19,
3242
+ f,
3243
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
3244
+ );
3245
+ }
3232
3246
  };
3233
3247
 
3234
3248
 
@@ -3879,6 +3893,43 @@ proto.com.lansweeper.discovery.sensor.unix.v1.ComputerSystem.prototype.hasFirmwa
3879
3893
  };
3880
3894
 
3881
3895
 
3896
+ /**
3897
+ * optional google.protobuf.StringValue domain = 19;
3898
+ * @return {?proto.google.protobuf.StringValue}
3899
+ */
3900
+ proto.com.lansweeper.discovery.sensor.unix.v1.ComputerSystem.prototype.getDomain = function() {
3901
+ return /** @type{?proto.google.protobuf.StringValue} */ (
3902
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 19));
3903
+ };
3904
+
3905
+
3906
+ /**
3907
+ * @param {?proto.google.protobuf.StringValue|undefined} value
3908
+ * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.ComputerSystem} returns this
3909
+ */
3910
+ proto.com.lansweeper.discovery.sensor.unix.v1.ComputerSystem.prototype.setDomain = function(value) {
3911
+ return jspb.Message.setWrapperField(this, 19, value);
3912
+ };
3913
+
3914
+
3915
+ /**
3916
+ * Clears the message field making it undefined.
3917
+ * @return {!proto.com.lansweeper.discovery.sensor.unix.v1.ComputerSystem} returns this
3918
+ */
3919
+ proto.com.lansweeper.discovery.sensor.unix.v1.ComputerSystem.prototype.clearDomain = function() {
3920
+ return this.setDomain(undefined);
3921
+ };
3922
+
3923
+
3924
+ /**
3925
+ * Returns whether this field is set.
3926
+ * @return {boolean}
3927
+ */
3928
+ proto.com.lansweeper.discovery.sensor.unix.v1.ComputerSystem.prototype.hasDomain = function() {
3929
+ return jspb.Message.getField(this, 19) != null;
3930
+ };
3931
+
3932
+
3882
3933
 
3883
3934
  /**
3884
3935
  * List of repeated fields within this message type.