@lansweeper/discovery-sensor-proto 2.79.0 → 2.79.2
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,7 @@ 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>,
|
|
477
482
|
}
|
|
478
483
|
}
|
|
479
484
|
|
|
@@ -2167,6 +2172,10 @@ export class AzureAdUser extends jspb.Message {
|
|
|
2167
2172
|
clearUserPrincipalName(): void;
|
|
2168
2173
|
getUserPrincipalName(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
2169
2174
|
setUserPrincipalName(value?: google_protobuf_wrappers_pb.StringValue): AzureAdUser;
|
|
2175
|
+
clearDirectReportsList(): void;
|
|
2176
|
+
getDirectReportsList(): Array<DirectReport>;
|
|
2177
|
+
setDirectReportsList(value: Array<DirectReport>): AzureAdUser;
|
|
2178
|
+
addDirectReports(value?: DirectReport, index?: number): DirectReport;
|
|
2170
2179
|
|
|
2171
2180
|
serializeBinary(): Uint8Array;
|
|
2172
2181
|
toObject(includeInstance?: boolean): AzureAdUser.AsObject;
|
|
@@ -2221,6 +2230,36 @@ export namespace AzureAdUser {
|
|
|
2221
2230
|
surname?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
2222
2231
|
state?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
2223
2232
|
userPrincipalName?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
2233
|
+
directReportsList: Array<DirectReport.AsObject>,
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
|
|
2237
|
+
export class DirectReport extends jspb.Message {
|
|
2238
|
+
|
|
2239
|
+
hasAdUserKey(): boolean;
|
|
2240
|
+
clearAdUserKey(): void;
|
|
2241
|
+
getAdUserKey(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
2242
|
+
setAdUserKey(value?: google_protobuf_wrappers_pb.StringValue): DirectReport;
|
|
2243
|
+
|
|
2244
|
+
hasDisplayName(): boolean;
|
|
2245
|
+
clearDisplayName(): void;
|
|
2246
|
+
getDisplayName(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
2247
|
+
setDisplayName(value?: google_protobuf_wrappers_pb.StringValue): DirectReport;
|
|
2248
|
+
|
|
2249
|
+
serializeBinary(): Uint8Array;
|
|
2250
|
+
toObject(includeInstance?: boolean): DirectReport.AsObject;
|
|
2251
|
+
static toObject(includeInstance: boolean, msg: DirectReport): DirectReport.AsObject;
|
|
2252
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2253
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2254
|
+
static serializeBinaryToWriter(message: DirectReport, writer: jspb.BinaryWriter): void;
|
|
2255
|
+
static deserializeBinary(bytes: Uint8Array): DirectReport;
|
|
2256
|
+
static deserializeBinaryFromReader(message: DirectReport, reader: jspb.BinaryReader): DirectReport;
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
export namespace DirectReport {
|
|
2260
|
+
export type AsObject = {
|
|
2261
|
+
adUserKey?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
2262
|
+
displayName?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
2224
2263
|
}
|
|
2225
2264
|
}
|
|
2226
2265
|
|
|
@@ -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);
|
|
@@ -464,7 +465,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
464
465
|
* @constructor
|
|
465
466
|
*/
|
|
466
467
|
proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser = function(opt_data) {
|
|
467
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
468
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser.repeatedFields_, null);
|
|
468
469
|
};
|
|
469
470
|
goog.inherits(proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser, jspb.Message);
|
|
470
471
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -474,6 +475,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
474
475
|
*/
|
|
475
476
|
proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser.displayName = 'proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser';
|
|
476
477
|
}
|
|
478
|
+
/**
|
|
479
|
+
* Generated by JsPbCodeGenerator.
|
|
480
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
481
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
482
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
483
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
484
|
+
* valid.
|
|
485
|
+
* @extends {jspb.Message}
|
|
486
|
+
* @constructor
|
|
487
|
+
*/
|
|
488
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport = function(opt_data) {
|
|
489
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
490
|
+
};
|
|
491
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.api.v1.DirectReport, jspb.Message);
|
|
492
|
+
if (goog.DEBUG && !COMPILED) {
|
|
493
|
+
/**
|
|
494
|
+
* @public
|
|
495
|
+
* @override
|
|
496
|
+
*/
|
|
497
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.displayName = 'proto.com.lansweeper.discovery.sensor.api.v1.DirectReport';
|
|
498
|
+
}
|
|
477
499
|
/**
|
|
478
500
|
* Generated by JsPbCodeGenerator.
|
|
479
501
|
* @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,44 @@ 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
|
+
|
|
4856
4931
|
|
|
4857
4932
|
/**
|
|
4858
4933
|
* List of repeated fields within this message type.
|
|
@@ -16978,6 +17053,13 @@ proto.com.lansweeper.discovery.sensor.api.v1.AzureAdOrganization.prototype.hasSt
|
|
|
16978
17053
|
|
|
16979
17054
|
|
|
16980
17055
|
|
|
17056
|
+
/**
|
|
17057
|
+
* List of repeated fields within this message type.
|
|
17058
|
+
* @private {!Array<number>}
|
|
17059
|
+
* @const
|
|
17060
|
+
*/
|
|
17061
|
+
proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser.repeatedFields_ = [42];
|
|
17062
|
+
|
|
16981
17063
|
|
|
16982
17064
|
|
|
16983
17065
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -17049,7 +17131,9 @@ proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser.toObject = function(inc
|
|
|
17049
17131
|
streetAddress: (f = msg.getStreetAddress()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
17050
17132
|
surname: (f = msg.getSurname()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
17051
17133
|
state: (f = msg.getState()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
17052
|
-
userPrincipalName: (f = msg.getUserPrincipalName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
17134
|
+
userPrincipalName: (f = msg.getUserPrincipalName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
17135
|
+
directReportsList: jspb.Message.toObjectList(msg.getDirectReportsList(),
|
|
17136
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.toObject, includeInstance)
|
|
17053
17137
|
};
|
|
17054
17138
|
|
|
17055
17139
|
if (includeInstance) {
|
|
@@ -17289,6 +17373,11 @@ proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser.deserializeBinaryFromRe
|
|
|
17289
17373
|
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
17290
17374
|
msg.setUserPrincipalName(value);
|
|
17291
17375
|
break;
|
|
17376
|
+
case 42:
|
|
17377
|
+
var value = new proto.com.lansweeper.discovery.sensor.api.v1.DirectReport;
|
|
17378
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.deserializeBinaryFromReader);
|
|
17379
|
+
msg.addDirectReports(value);
|
|
17380
|
+
break;
|
|
17292
17381
|
default:
|
|
17293
17382
|
reader.skipField();
|
|
17294
17383
|
break;
|
|
@@ -17644,6 +17733,14 @@ proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser.serializeBinaryToWriter
|
|
|
17644
17733
|
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
17645
17734
|
);
|
|
17646
17735
|
}
|
|
17736
|
+
f = message.getDirectReportsList();
|
|
17737
|
+
if (f.length > 0) {
|
|
17738
|
+
writer.writeRepeatedMessage(
|
|
17739
|
+
42,
|
|
17740
|
+
f,
|
|
17741
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.serializeBinaryToWriter
|
|
17742
|
+
);
|
|
17743
|
+
}
|
|
17647
17744
|
};
|
|
17648
17745
|
|
|
17649
17746
|
|
|
@@ -19126,6 +19223,246 @@ proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser.prototype.hasUserPrinci
|
|
|
19126
19223
|
};
|
|
19127
19224
|
|
|
19128
19225
|
|
|
19226
|
+
/**
|
|
19227
|
+
* repeated DirectReport direct_reports = 42;
|
|
19228
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport>}
|
|
19229
|
+
*/
|
|
19230
|
+
proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser.prototype.getDirectReportsList = function() {
|
|
19231
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport>} */ (
|
|
19232
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.api.v1.DirectReport, 42));
|
|
19233
|
+
};
|
|
19234
|
+
|
|
19235
|
+
|
|
19236
|
+
/**
|
|
19237
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport>} value
|
|
19238
|
+
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser} returns this
|
|
19239
|
+
*/
|
|
19240
|
+
proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser.prototype.setDirectReportsList = function(value) {
|
|
19241
|
+
return jspb.Message.setRepeatedWrapperField(this, 42, value);
|
|
19242
|
+
};
|
|
19243
|
+
|
|
19244
|
+
|
|
19245
|
+
/**
|
|
19246
|
+
* @param {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport=} opt_value
|
|
19247
|
+
* @param {number=} opt_index
|
|
19248
|
+
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport}
|
|
19249
|
+
*/
|
|
19250
|
+
proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser.prototype.addDirectReports = function(opt_value, opt_index) {
|
|
19251
|
+
return jspb.Message.addToRepeatedWrapperField(this, 42, opt_value, proto.com.lansweeper.discovery.sensor.api.v1.DirectReport, opt_index);
|
|
19252
|
+
};
|
|
19253
|
+
|
|
19254
|
+
|
|
19255
|
+
/**
|
|
19256
|
+
* Clears the list making it empty but non-null.
|
|
19257
|
+
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser} returns this
|
|
19258
|
+
*/
|
|
19259
|
+
proto.com.lansweeper.discovery.sensor.api.v1.AzureAdUser.prototype.clearDirectReportsList = function() {
|
|
19260
|
+
return this.setDirectReportsList([]);
|
|
19261
|
+
};
|
|
19262
|
+
|
|
19263
|
+
|
|
19264
|
+
|
|
19265
|
+
|
|
19266
|
+
|
|
19267
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
19268
|
+
/**
|
|
19269
|
+
* Creates an object representation of this proto.
|
|
19270
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
19271
|
+
* Optional fields that are not set will be set to undefined.
|
|
19272
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
19273
|
+
* For the list of reserved names please see:
|
|
19274
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
19275
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
19276
|
+
* JSPB instance for transitional soy proto support:
|
|
19277
|
+
* http://goto/soy-param-migration
|
|
19278
|
+
* @return {!Object}
|
|
19279
|
+
*/
|
|
19280
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.toObject = function(opt_includeInstance) {
|
|
19281
|
+
return proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.toObject(opt_includeInstance, this);
|
|
19282
|
+
};
|
|
19283
|
+
|
|
19284
|
+
|
|
19285
|
+
/**
|
|
19286
|
+
* Static version of the {@see toObject} method.
|
|
19287
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
19288
|
+
* the JSPB instance for transitional soy proto support:
|
|
19289
|
+
* http://goto/soy-param-migration
|
|
19290
|
+
* @param {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport} msg The msg instance to transform.
|
|
19291
|
+
* @return {!Object}
|
|
19292
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19293
|
+
*/
|
|
19294
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.toObject = function(includeInstance, msg) {
|
|
19295
|
+
var f, obj = {
|
|
19296
|
+
adUserKey: (f = msg.getAdUserKey()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
19297
|
+
displayName: (f = msg.getDisplayName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
19298
|
+
};
|
|
19299
|
+
|
|
19300
|
+
if (includeInstance) {
|
|
19301
|
+
obj.$jspbMessageInstance = msg;
|
|
19302
|
+
}
|
|
19303
|
+
return obj;
|
|
19304
|
+
};
|
|
19305
|
+
}
|
|
19306
|
+
|
|
19307
|
+
|
|
19308
|
+
/**
|
|
19309
|
+
* Deserializes binary data (in protobuf wire format).
|
|
19310
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
19311
|
+
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport}
|
|
19312
|
+
*/
|
|
19313
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.deserializeBinary = function(bytes) {
|
|
19314
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
19315
|
+
var msg = new proto.com.lansweeper.discovery.sensor.api.v1.DirectReport;
|
|
19316
|
+
return proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.deserializeBinaryFromReader(msg, reader);
|
|
19317
|
+
};
|
|
19318
|
+
|
|
19319
|
+
|
|
19320
|
+
/**
|
|
19321
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
19322
|
+
* given reader into the given message object.
|
|
19323
|
+
* @param {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport} msg The message object to deserialize into.
|
|
19324
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
19325
|
+
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport}
|
|
19326
|
+
*/
|
|
19327
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.deserializeBinaryFromReader = function(msg, reader) {
|
|
19328
|
+
while (reader.nextField()) {
|
|
19329
|
+
if (reader.isEndGroup()) {
|
|
19330
|
+
break;
|
|
19331
|
+
}
|
|
19332
|
+
var field = reader.getFieldNumber();
|
|
19333
|
+
switch (field) {
|
|
19334
|
+
case 1:
|
|
19335
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
19336
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
19337
|
+
msg.setAdUserKey(value);
|
|
19338
|
+
break;
|
|
19339
|
+
case 2:
|
|
19340
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
19341
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
19342
|
+
msg.setDisplayName(value);
|
|
19343
|
+
break;
|
|
19344
|
+
default:
|
|
19345
|
+
reader.skipField();
|
|
19346
|
+
break;
|
|
19347
|
+
}
|
|
19348
|
+
}
|
|
19349
|
+
return msg;
|
|
19350
|
+
};
|
|
19351
|
+
|
|
19352
|
+
|
|
19353
|
+
/**
|
|
19354
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
19355
|
+
* @return {!Uint8Array}
|
|
19356
|
+
*/
|
|
19357
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.serializeBinary = function() {
|
|
19358
|
+
var writer = new jspb.BinaryWriter();
|
|
19359
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.serializeBinaryToWriter(this, writer);
|
|
19360
|
+
return writer.getResultBuffer();
|
|
19361
|
+
};
|
|
19362
|
+
|
|
19363
|
+
|
|
19364
|
+
/**
|
|
19365
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
19366
|
+
* format), writing to the given BinaryWriter.
|
|
19367
|
+
* @param {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport} message
|
|
19368
|
+
* @param {!jspb.BinaryWriter} writer
|
|
19369
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19370
|
+
*/
|
|
19371
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.serializeBinaryToWriter = function(message, writer) {
|
|
19372
|
+
var f = undefined;
|
|
19373
|
+
f = message.getAdUserKey();
|
|
19374
|
+
if (f != null) {
|
|
19375
|
+
writer.writeMessage(
|
|
19376
|
+
1,
|
|
19377
|
+
f,
|
|
19378
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
19379
|
+
);
|
|
19380
|
+
}
|
|
19381
|
+
f = message.getDisplayName();
|
|
19382
|
+
if (f != null) {
|
|
19383
|
+
writer.writeMessage(
|
|
19384
|
+
2,
|
|
19385
|
+
f,
|
|
19386
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
19387
|
+
);
|
|
19388
|
+
}
|
|
19389
|
+
};
|
|
19390
|
+
|
|
19391
|
+
|
|
19392
|
+
/**
|
|
19393
|
+
* optional google.protobuf.StringValue ad_user_key = 1;
|
|
19394
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
19395
|
+
*/
|
|
19396
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.getAdUserKey = function() {
|
|
19397
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
19398
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
|
|
19399
|
+
};
|
|
19400
|
+
|
|
19401
|
+
|
|
19402
|
+
/**
|
|
19403
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
19404
|
+
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport} returns this
|
|
19405
|
+
*/
|
|
19406
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.setAdUserKey = function(value) {
|
|
19407
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
19408
|
+
};
|
|
19409
|
+
|
|
19410
|
+
|
|
19411
|
+
/**
|
|
19412
|
+
* Clears the message field making it undefined.
|
|
19413
|
+
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport} returns this
|
|
19414
|
+
*/
|
|
19415
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.clearAdUserKey = function() {
|
|
19416
|
+
return this.setAdUserKey(undefined);
|
|
19417
|
+
};
|
|
19418
|
+
|
|
19419
|
+
|
|
19420
|
+
/**
|
|
19421
|
+
* Returns whether this field is set.
|
|
19422
|
+
* @return {boolean}
|
|
19423
|
+
*/
|
|
19424
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.hasAdUserKey = function() {
|
|
19425
|
+
return jspb.Message.getField(this, 1) != null;
|
|
19426
|
+
};
|
|
19427
|
+
|
|
19428
|
+
|
|
19429
|
+
/**
|
|
19430
|
+
* optional google.protobuf.StringValue display_name = 2;
|
|
19431
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
19432
|
+
*/
|
|
19433
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.getDisplayName = function() {
|
|
19434
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
19435
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
|
|
19436
|
+
};
|
|
19437
|
+
|
|
19438
|
+
|
|
19439
|
+
/**
|
|
19440
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
19441
|
+
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport} returns this
|
|
19442
|
+
*/
|
|
19443
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.setDisplayName = function(value) {
|
|
19444
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
19445
|
+
};
|
|
19446
|
+
|
|
19447
|
+
|
|
19448
|
+
/**
|
|
19449
|
+
* Clears the message field making it undefined.
|
|
19450
|
+
* @return {!proto.com.lansweeper.discovery.sensor.api.v1.DirectReport} returns this
|
|
19451
|
+
*/
|
|
19452
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.clearDisplayName = function() {
|
|
19453
|
+
return this.setDisplayName(undefined);
|
|
19454
|
+
};
|
|
19455
|
+
|
|
19456
|
+
|
|
19457
|
+
/**
|
|
19458
|
+
* Returns whether this field is set.
|
|
19459
|
+
* @return {boolean}
|
|
19460
|
+
*/
|
|
19461
|
+
proto.com.lansweeper.discovery.sensor.api.v1.DirectReport.prototype.hasDisplayName = function() {
|
|
19462
|
+
return jspb.Message.getField(this, 2) != null;
|
|
19463
|
+
};
|
|
19464
|
+
|
|
19465
|
+
|
|
19129
19466
|
|
|
19130
19467
|
/**
|
|
19131
19468
|
* List of repeated fields within this message type.
|