@lansweeper/multitenant-api-grpc 0.4.1 → 0.4.3

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.
@@ -15,6 +15,8 @@ var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
16
  var global = Function('return this')();
17
17
 
18
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.AuthorizedSitesRequest', null, global);
19
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.AuthorizedSitesResponse', null, global);
18
20
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckAccessToSiteByAccountIdRequest', null, global);
19
21
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckAccessToSiteByAccountIdRequest.UserInfo', null, global);
20
22
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckAccessToSiteByAccountIdResponse', null, global);
@@ -58,6 +60,7 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResp
58
60
  goog.exportSymbol('proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result', null, global);
59
61
  goog.exportSymbol('proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest', null, global);
60
62
  goog.exportSymbol('proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse', null, global);
63
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.Site', null, global);
61
64
  goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteMode', null, global);
62
65
  goog.exportSymbol('proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest', null, global);
63
66
  goog.exportSymbol('proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse', null, global);
@@ -1074,6 +1077,69 @@ if (goog.DEBUG && !COMPILED) {
1074
1077
  */
1075
1078
  proto.lansweeper.multitenant.v1.DisableWebhookEmailResponse.displayName = 'proto.lansweeper.multitenant.v1.DisableWebhookEmailResponse';
1076
1079
  }
1080
+ /**
1081
+ * Generated by JsPbCodeGenerator.
1082
+ * @param {Array=} opt_data Optional initial data array, typically from a
1083
+ * server response, or constructed directly in Javascript. The array is used
1084
+ * in place and becomes part of the constructed object. It is not cloned.
1085
+ * If no data is provided, the constructed object will be empty, but still
1086
+ * valid.
1087
+ * @extends {jspb.Message}
1088
+ * @constructor
1089
+ */
1090
+ proto.lansweeper.multitenant.v1.Site = function(opt_data) {
1091
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1092
+ };
1093
+ goog.inherits(proto.lansweeper.multitenant.v1.Site, jspb.Message);
1094
+ if (goog.DEBUG && !COMPILED) {
1095
+ /**
1096
+ * @public
1097
+ * @override
1098
+ */
1099
+ proto.lansweeper.multitenant.v1.Site.displayName = 'proto.lansweeper.multitenant.v1.Site';
1100
+ }
1101
+ /**
1102
+ * Generated by JsPbCodeGenerator.
1103
+ * @param {Array=} opt_data Optional initial data array, typically from a
1104
+ * server response, or constructed directly in Javascript. The array is used
1105
+ * in place and becomes part of the constructed object. It is not cloned.
1106
+ * If no data is provided, the constructed object will be empty, but still
1107
+ * valid.
1108
+ * @extends {jspb.Message}
1109
+ * @constructor
1110
+ */
1111
+ proto.lansweeper.multitenant.v1.AuthorizedSitesRequest = function(opt_data) {
1112
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1113
+ };
1114
+ goog.inherits(proto.lansweeper.multitenant.v1.AuthorizedSitesRequest, jspb.Message);
1115
+ if (goog.DEBUG && !COMPILED) {
1116
+ /**
1117
+ * @public
1118
+ * @override
1119
+ */
1120
+ proto.lansweeper.multitenant.v1.AuthorizedSitesRequest.displayName = 'proto.lansweeper.multitenant.v1.AuthorizedSitesRequest';
1121
+ }
1122
+ /**
1123
+ * Generated by JsPbCodeGenerator.
1124
+ * @param {Array=} opt_data Optional initial data array, typically from a
1125
+ * server response, or constructed directly in Javascript. The array is used
1126
+ * in place and becomes part of the constructed object. It is not cloned.
1127
+ * If no data is provided, the constructed object will be empty, but still
1128
+ * valid.
1129
+ * @extends {jspb.Message}
1130
+ * @constructor
1131
+ */
1132
+ proto.lansweeper.multitenant.v1.AuthorizedSitesResponse = function(opt_data) {
1133
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.repeatedFields_, null);
1134
+ };
1135
+ goog.inherits(proto.lansweeper.multitenant.v1.AuthorizedSitesResponse, jspb.Message);
1136
+ if (goog.DEBUG && !COMPILED) {
1137
+ /**
1138
+ * @public
1139
+ * @override
1140
+ */
1141
+ proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.displayName = 'proto.lansweeper.multitenant.v1.AuthorizedSitesResponse';
1142
+ }
1077
1143
 
1078
1144
 
1079
1145
 
@@ -10080,6 +10146,456 @@ proto.lansweeper.multitenant.v1.DisableWebhookEmailResponse.prototype.setMailSen
10080
10146
  };
10081
10147
 
10082
10148
 
10149
+
10150
+
10151
+
10152
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10153
+ /**
10154
+ * Creates an object representation of this proto.
10155
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10156
+ * Optional fields that are not set will be set to undefined.
10157
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10158
+ * For the list of reserved names please see:
10159
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10160
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10161
+ * JSPB instance for transitional soy proto support:
10162
+ * http://goto/soy-param-migration
10163
+ * @return {!Object}
10164
+ */
10165
+ proto.lansweeper.multitenant.v1.Site.prototype.toObject = function(opt_includeInstance) {
10166
+ return proto.lansweeper.multitenant.v1.Site.toObject(opt_includeInstance, this);
10167
+ };
10168
+
10169
+
10170
+ /**
10171
+ * Static version of the {@see toObject} method.
10172
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10173
+ * the JSPB instance for transitional soy proto support:
10174
+ * http://goto/soy-param-migration
10175
+ * @param {!proto.lansweeper.multitenant.v1.Site} msg The msg instance to transform.
10176
+ * @return {!Object}
10177
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10178
+ */
10179
+ proto.lansweeper.multitenant.v1.Site.toObject = function(includeInstance, msg) {
10180
+ var f, obj = {
10181
+ id: jspb.Message.getFieldWithDefault(msg, 1, "")
10182
+ };
10183
+
10184
+ if (includeInstance) {
10185
+ obj.$jspbMessageInstance = msg;
10186
+ }
10187
+ return obj;
10188
+ };
10189
+ }
10190
+
10191
+
10192
+ /**
10193
+ * Deserializes binary data (in protobuf wire format).
10194
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10195
+ * @return {!proto.lansweeper.multitenant.v1.Site}
10196
+ */
10197
+ proto.lansweeper.multitenant.v1.Site.deserializeBinary = function(bytes) {
10198
+ var reader = new jspb.BinaryReader(bytes);
10199
+ var msg = new proto.lansweeper.multitenant.v1.Site;
10200
+ return proto.lansweeper.multitenant.v1.Site.deserializeBinaryFromReader(msg, reader);
10201
+ };
10202
+
10203
+
10204
+ /**
10205
+ * Deserializes binary data (in protobuf wire format) from the
10206
+ * given reader into the given message object.
10207
+ * @param {!proto.lansweeper.multitenant.v1.Site} msg The message object to deserialize into.
10208
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10209
+ * @return {!proto.lansweeper.multitenant.v1.Site}
10210
+ */
10211
+ proto.lansweeper.multitenant.v1.Site.deserializeBinaryFromReader = function(msg, reader) {
10212
+ while (reader.nextField()) {
10213
+ if (reader.isEndGroup()) {
10214
+ break;
10215
+ }
10216
+ var field = reader.getFieldNumber();
10217
+ switch (field) {
10218
+ case 1:
10219
+ var value = /** @type {string} */ (reader.readString());
10220
+ msg.setId(value);
10221
+ break;
10222
+ default:
10223
+ reader.skipField();
10224
+ break;
10225
+ }
10226
+ }
10227
+ return msg;
10228
+ };
10229
+
10230
+
10231
+ /**
10232
+ * Serializes the message to binary data (in protobuf wire format).
10233
+ * @return {!Uint8Array}
10234
+ */
10235
+ proto.lansweeper.multitenant.v1.Site.prototype.serializeBinary = function() {
10236
+ var writer = new jspb.BinaryWriter();
10237
+ proto.lansweeper.multitenant.v1.Site.serializeBinaryToWriter(this, writer);
10238
+ return writer.getResultBuffer();
10239
+ };
10240
+
10241
+
10242
+ /**
10243
+ * Serializes the given message to binary data (in protobuf wire
10244
+ * format), writing to the given BinaryWriter.
10245
+ * @param {!proto.lansweeper.multitenant.v1.Site} message
10246
+ * @param {!jspb.BinaryWriter} writer
10247
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10248
+ */
10249
+ proto.lansweeper.multitenant.v1.Site.serializeBinaryToWriter = function(message, writer) {
10250
+ var f = undefined;
10251
+ f = message.getId();
10252
+ if (f.length > 0) {
10253
+ writer.writeString(
10254
+ 1,
10255
+ f
10256
+ );
10257
+ }
10258
+ };
10259
+
10260
+
10261
+ /**
10262
+ * optional string id = 1;
10263
+ * @return {string}
10264
+ */
10265
+ proto.lansweeper.multitenant.v1.Site.prototype.getId = function() {
10266
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
10267
+ };
10268
+
10269
+
10270
+ /**
10271
+ * @param {string} value
10272
+ * @return {!proto.lansweeper.multitenant.v1.Site} returns this
10273
+ */
10274
+ proto.lansweeper.multitenant.v1.Site.prototype.setId = function(value) {
10275
+ return jspb.Message.setProto3StringField(this, 1, value);
10276
+ };
10277
+
10278
+
10279
+
10280
+
10281
+
10282
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10283
+ /**
10284
+ * Creates an object representation of this proto.
10285
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10286
+ * Optional fields that are not set will be set to undefined.
10287
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10288
+ * For the list of reserved names please see:
10289
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10290
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10291
+ * JSPB instance for transitional soy proto support:
10292
+ * http://goto/soy-param-migration
10293
+ * @return {!Object}
10294
+ */
10295
+ proto.lansweeper.multitenant.v1.AuthorizedSitesRequest.prototype.toObject = function(opt_includeInstance) {
10296
+ return proto.lansweeper.multitenant.v1.AuthorizedSitesRequest.toObject(opt_includeInstance, this);
10297
+ };
10298
+
10299
+
10300
+ /**
10301
+ * Static version of the {@see toObject} method.
10302
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10303
+ * the JSPB instance for transitional soy proto support:
10304
+ * http://goto/soy-param-migration
10305
+ * @param {!proto.lansweeper.multitenant.v1.AuthorizedSitesRequest} msg The msg instance to transform.
10306
+ * @return {!Object}
10307
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10308
+ */
10309
+ proto.lansweeper.multitenant.v1.AuthorizedSitesRequest.toObject = function(includeInstance, msg) {
10310
+ var f, obj = {
10311
+ applicationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
10312
+ traceId: jspb.Message.getFieldWithDefault(msg, 2, "")
10313
+ };
10314
+
10315
+ if (includeInstance) {
10316
+ obj.$jspbMessageInstance = msg;
10317
+ }
10318
+ return obj;
10319
+ };
10320
+ }
10321
+
10322
+
10323
+ /**
10324
+ * Deserializes binary data (in protobuf wire format).
10325
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10326
+ * @return {!proto.lansweeper.multitenant.v1.AuthorizedSitesRequest}
10327
+ */
10328
+ proto.lansweeper.multitenant.v1.AuthorizedSitesRequest.deserializeBinary = function(bytes) {
10329
+ var reader = new jspb.BinaryReader(bytes);
10330
+ var msg = new proto.lansweeper.multitenant.v1.AuthorizedSitesRequest;
10331
+ return proto.lansweeper.multitenant.v1.AuthorizedSitesRequest.deserializeBinaryFromReader(msg, reader);
10332
+ };
10333
+
10334
+
10335
+ /**
10336
+ * Deserializes binary data (in protobuf wire format) from the
10337
+ * given reader into the given message object.
10338
+ * @param {!proto.lansweeper.multitenant.v1.AuthorizedSitesRequest} msg The message object to deserialize into.
10339
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10340
+ * @return {!proto.lansweeper.multitenant.v1.AuthorizedSitesRequest}
10341
+ */
10342
+ proto.lansweeper.multitenant.v1.AuthorizedSitesRequest.deserializeBinaryFromReader = function(msg, reader) {
10343
+ while (reader.nextField()) {
10344
+ if (reader.isEndGroup()) {
10345
+ break;
10346
+ }
10347
+ var field = reader.getFieldNumber();
10348
+ switch (field) {
10349
+ case 1:
10350
+ var value = /** @type {string} */ (reader.readString());
10351
+ msg.setApplicationId(value);
10352
+ break;
10353
+ case 2:
10354
+ var value = /** @type {string} */ (reader.readString());
10355
+ msg.setTraceId(value);
10356
+ break;
10357
+ default:
10358
+ reader.skipField();
10359
+ break;
10360
+ }
10361
+ }
10362
+ return msg;
10363
+ };
10364
+
10365
+
10366
+ /**
10367
+ * Serializes the message to binary data (in protobuf wire format).
10368
+ * @return {!Uint8Array}
10369
+ */
10370
+ proto.lansweeper.multitenant.v1.AuthorizedSitesRequest.prototype.serializeBinary = function() {
10371
+ var writer = new jspb.BinaryWriter();
10372
+ proto.lansweeper.multitenant.v1.AuthorizedSitesRequest.serializeBinaryToWriter(this, writer);
10373
+ return writer.getResultBuffer();
10374
+ };
10375
+
10376
+
10377
+ /**
10378
+ * Serializes the given message to binary data (in protobuf wire
10379
+ * format), writing to the given BinaryWriter.
10380
+ * @param {!proto.lansweeper.multitenant.v1.AuthorizedSitesRequest} message
10381
+ * @param {!jspb.BinaryWriter} writer
10382
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10383
+ */
10384
+ proto.lansweeper.multitenant.v1.AuthorizedSitesRequest.serializeBinaryToWriter = function(message, writer) {
10385
+ var f = undefined;
10386
+ f = message.getApplicationId();
10387
+ if (f.length > 0) {
10388
+ writer.writeString(
10389
+ 1,
10390
+ f
10391
+ );
10392
+ }
10393
+ f = message.getTraceId();
10394
+ if (f.length > 0) {
10395
+ writer.writeString(
10396
+ 2,
10397
+ f
10398
+ );
10399
+ }
10400
+ };
10401
+
10402
+
10403
+ /**
10404
+ * optional string application_id = 1;
10405
+ * @return {string}
10406
+ */
10407
+ proto.lansweeper.multitenant.v1.AuthorizedSitesRequest.prototype.getApplicationId = function() {
10408
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
10409
+ };
10410
+
10411
+
10412
+ /**
10413
+ * @param {string} value
10414
+ * @return {!proto.lansweeper.multitenant.v1.AuthorizedSitesRequest} returns this
10415
+ */
10416
+ proto.lansweeper.multitenant.v1.AuthorizedSitesRequest.prototype.setApplicationId = function(value) {
10417
+ return jspb.Message.setProto3StringField(this, 1, value);
10418
+ };
10419
+
10420
+
10421
+ /**
10422
+ * optional string trace_id = 2;
10423
+ * @return {string}
10424
+ */
10425
+ proto.lansweeper.multitenant.v1.AuthorizedSitesRequest.prototype.getTraceId = function() {
10426
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
10427
+ };
10428
+
10429
+
10430
+ /**
10431
+ * @param {string} value
10432
+ * @return {!proto.lansweeper.multitenant.v1.AuthorizedSitesRequest} returns this
10433
+ */
10434
+ proto.lansweeper.multitenant.v1.AuthorizedSitesRequest.prototype.setTraceId = function(value) {
10435
+ return jspb.Message.setProto3StringField(this, 2, value);
10436
+ };
10437
+
10438
+
10439
+
10440
+ /**
10441
+ * List of repeated fields within this message type.
10442
+ * @private {!Array<number>}
10443
+ * @const
10444
+ */
10445
+ proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.repeatedFields_ = [1];
10446
+
10447
+
10448
+
10449
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10450
+ /**
10451
+ * Creates an object representation of this proto.
10452
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10453
+ * Optional fields that are not set will be set to undefined.
10454
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10455
+ * For the list of reserved names please see:
10456
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10457
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10458
+ * JSPB instance for transitional soy proto support:
10459
+ * http://goto/soy-param-migration
10460
+ * @return {!Object}
10461
+ */
10462
+ proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.prototype.toObject = function(opt_includeInstance) {
10463
+ return proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.toObject(opt_includeInstance, this);
10464
+ };
10465
+
10466
+
10467
+ /**
10468
+ * Static version of the {@see toObject} method.
10469
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10470
+ * the JSPB instance for transitional soy proto support:
10471
+ * http://goto/soy-param-migration
10472
+ * @param {!proto.lansweeper.multitenant.v1.AuthorizedSitesResponse} msg The msg instance to transform.
10473
+ * @return {!Object}
10474
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10475
+ */
10476
+ proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.toObject = function(includeInstance, msg) {
10477
+ var f, obj = {
10478
+ siteList: jspb.Message.toObjectList(msg.getSiteList(),
10479
+ proto.lansweeper.multitenant.v1.Site.toObject, includeInstance)
10480
+ };
10481
+
10482
+ if (includeInstance) {
10483
+ obj.$jspbMessageInstance = msg;
10484
+ }
10485
+ return obj;
10486
+ };
10487
+ }
10488
+
10489
+
10490
+ /**
10491
+ * Deserializes binary data (in protobuf wire format).
10492
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10493
+ * @return {!proto.lansweeper.multitenant.v1.AuthorizedSitesResponse}
10494
+ */
10495
+ proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.deserializeBinary = function(bytes) {
10496
+ var reader = new jspb.BinaryReader(bytes);
10497
+ var msg = new proto.lansweeper.multitenant.v1.AuthorizedSitesResponse;
10498
+ return proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.deserializeBinaryFromReader(msg, reader);
10499
+ };
10500
+
10501
+
10502
+ /**
10503
+ * Deserializes binary data (in protobuf wire format) from the
10504
+ * given reader into the given message object.
10505
+ * @param {!proto.lansweeper.multitenant.v1.AuthorizedSitesResponse} msg The message object to deserialize into.
10506
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10507
+ * @return {!proto.lansweeper.multitenant.v1.AuthorizedSitesResponse}
10508
+ */
10509
+ proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.deserializeBinaryFromReader = function(msg, reader) {
10510
+ while (reader.nextField()) {
10511
+ if (reader.isEndGroup()) {
10512
+ break;
10513
+ }
10514
+ var field = reader.getFieldNumber();
10515
+ switch (field) {
10516
+ case 1:
10517
+ var value = new proto.lansweeper.multitenant.v1.Site;
10518
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.Site.deserializeBinaryFromReader);
10519
+ msg.addSite(value);
10520
+ break;
10521
+ default:
10522
+ reader.skipField();
10523
+ break;
10524
+ }
10525
+ }
10526
+ return msg;
10527
+ };
10528
+
10529
+
10530
+ /**
10531
+ * Serializes the message to binary data (in protobuf wire format).
10532
+ * @return {!Uint8Array}
10533
+ */
10534
+ proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.prototype.serializeBinary = function() {
10535
+ var writer = new jspb.BinaryWriter();
10536
+ proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.serializeBinaryToWriter(this, writer);
10537
+ return writer.getResultBuffer();
10538
+ };
10539
+
10540
+
10541
+ /**
10542
+ * Serializes the given message to binary data (in protobuf wire
10543
+ * format), writing to the given BinaryWriter.
10544
+ * @param {!proto.lansweeper.multitenant.v1.AuthorizedSitesResponse} message
10545
+ * @param {!jspb.BinaryWriter} writer
10546
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10547
+ */
10548
+ proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.serializeBinaryToWriter = function(message, writer) {
10549
+ var f = undefined;
10550
+ f = message.getSiteList();
10551
+ if (f.length > 0) {
10552
+ writer.writeRepeatedMessage(
10553
+ 1,
10554
+ f,
10555
+ proto.lansweeper.multitenant.v1.Site.serializeBinaryToWriter
10556
+ );
10557
+ }
10558
+ };
10559
+
10560
+
10561
+ /**
10562
+ * repeated Site site = 1;
10563
+ * @return {!Array<!proto.lansweeper.multitenant.v1.Site>}
10564
+ */
10565
+ proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.prototype.getSiteList = function() {
10566
+ return /** @type{!Array<!proto.lansweeper.multitenant.v1.Site>} */ (
10567
+ jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.multitenant.v1.Site, 1));
10568
+ };
10569
+
10570
+
10571
+ /**
10572
+ * @param {!Array<!proto.lansweeper.multitenant.v1.Site>} value
10573
+ * @return {!proto.lansweeper.multitenant.v1.AuthorizedSitesResponse} returns this
10574
+ */
10575
+ proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.prototype.setSiteList = function(value) {
10576
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
10577
+ };
10578
+
10579
+
10580
+ /**
10581
+ * @param {!proto.lansweeper.multitenant.v1.Site=} opt_value
10582
+ * @param {number=} opt_index
10583
+ * @return {!proto.lansweeper.multitenant.v1.Site}
10584
+ */
10585
+ proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.prototype.addSite = function(opt_value, opt_index) {
10586
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.multitenant.v1.Site, opt_index);
10587
+ };
10588
+
10589
+
10590
+ /**
10591
+ * Clears the list making it empty but non-null.
10592
+ * @return {!proto.lansweeper.multitenant.v1.AuthorizedSitesResponse} returns this
10593
+ */
10594
+ proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.prototype.clearSiteList = function() {
10595
+ return this.setSiteList([]);
10596
+ };
10597
+
10598
+
10083
10599
  /**
10084
10600
  * @enum {number}
10085
10601
  */