@lansweeper/multitenant-api-grpc 0.4.26 → 0.4.28

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.
@@ -39,6 +39,7 @@ interface IMultitenantService extends grpc.ServiceDefinition<grpc.UntypedService
39
39
  allProfileExists: IMultitenantService_IAllProfileExists;
40
40
  getSiteSubscription: IMultitenantService_IGetSiteSubscription;
41
41
  createLinkingCode: IMultitenantService_ICreateLinkingCode;
42
+ getSiteIdsWithIntegrationBySiteId: IMultitenantService_IGetSiteIdsWithIntegrationBySiteId;
42
43
  }
43
44
 
44
45
  interface IMultitenantService_ICheckAccessToSiteByAccountId extends grpc.MethodDefinition<multitenant_pb.CheckAccessToSiteByAccountIdRequest, multitenant_pb.CheckAccessToSiteByAccountIdResponse> {
@@ -320,6 +321,15 @@ interface IMultitenantService_ICreateLinkingCode extends grpc.MethodDefinition<m
320
321
  responseSerialize: grpc.serialize<multitenant_pb.CreateLinkingCodeResponse>;
321
322
  responseDeserialize: grpc.deserialize<multitenant_pb.CreateLinkingCodeResponse>;
322
323
  }
324
+ interface IMultitenantService_IGetSiteIdsWithIntegrationBySiteId extends grpc.MethodDefinition<multitenant_pb.GetSiteIdsWithIntegrationData, multitenant_pb.GetSiteIdsWithIntegrationData> {
325
+ path: "/lansweeper.multitenant.v1.Multitenant/GetSiteIdsWithIntegrationBySiteId";
326
+ requestStream: false;
327
+ responseStream: false;
328
+ requestSerialize: grpc.serialize<multitenant_pb.GetSiteIdsWithIntegrationData>;
329
+ requestDeserialize: grpc.deserialize<multitenant_pb.GetSiteIdsWithIntegrationData>;
330
+ responseSerialize: grpc.serialize<multitenant_pb.GetSiteIdsWithIntegrationData>;
331
+ responseDeserialize: grpc.deserialize<multitenant_pb.GetSiteIdsWithIntegrationData>;
332
+ }
323
333
 
324
334
  export const MultitenantService: IMultitenantService;
325
335
 
@@ -355,6 +365,7 @@ export interface IMultitenantServer extends grpc.UntypedServiceImplementation {
355
365
  allProfileExists: grpc.handleUnaryCall<multitenant_pb.AllProfileExistsRequest, multitenant_pb.AllProfileExistsResponse>;
356
366
  getSiteSubscription: grpc.handleUnaryCall<multitenant_pb.GetSiteSubscriptionRequest, multitenant_pb.GetSiteSubscriptionResponse>;
357
367
  createLinkingCode: grpc.handleUnaryCall<multitenant_pb.CreateLinkingCodeRequest, multitenant_pb.CreateLinkingCodeResponse>;
368
+ getSiteIdsWithIntegrationBySiteId: grpc.handleUnaryCall<multitenant_pb.GetSiteIdsWithIntegrationData, multitenant_pb.GetSiteIdsWithIntegrationData>;
358
369
  }
359
370
 
360
371
  export interface IMultitenantClient {
@@ -451,6 +462,9 @@ export interface IMultitenantClient {
451
462
  createLinkingCode(request: multitenant_pb.CreateLinkingCodeRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateLinkingCodeResponse) => void): grpc.ClientUnaryCall;
452
463
  createLinkingCode(request: multitenant_pb.CreateLinkingCodeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateLinkingCodeResponse) => void): grpc.ClientUnaryCall;
453
464
  createLinkingCode(request: multitenant_pb.CreateLinkingCodeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateLinkingCodeResponse) => void): grpc.ClientUnaryCall;
465
+ getSiteIdsWithIntegrationBySiteId(request: multitenant_pb.GetSiteIdsWithIntegrationData, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteIdsWithIntegrationData) => void): grpc.ClientUnaryCall;
466
+ getSiteIdsWithIntegrationBySiteId(request: multitenant_pb.GetSiteIdsWithIntegrationData, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteIdsWithIntegrationData) => void): grpc.ClientUnaryCall;
467
+ getSiteIdsWithIntegrationBySiteId(request: multitenant_pb.GetSiteIdsWithIntegrationData, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteIdsWithIntegrationData) => void): grpc.ClientUnaryCall;
454
468
  }
455
469
 
456
470
  export class MultitenantClient extends grpc.Client implements IMultitenantClient {
@@ -548,4 +562,7 @@ export class MultitenantClient extends grpc.Client implements IMultitenantClient
548
562
  public createLinkingCode(request: multitenant_pb.CreateLinkingCodeRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateLinkingCodeResponse) => void): grpc.ClientUnaryCall;
549
563
  public createLinkingCode(request: multitenant_pb.CreateLinkingCodeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateLinkingCodeResponse) => void): grpc.ClientUnaryCall;
550
564
  public createLinkingCode(request: multitenant_pb.CreateLinkingCodeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateLinkingCodeResponse) => void): grpc.ClientUnaryCall;
565
+ public getSiteIdsWithIntegrationBySiteId(request: multitenant_pb.GetSiteIdsWithIntegrationData, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteIdsWithIntegrationData) => void): grpc.ClientUnaryCall;
566
+ public getSiteIdsWithIntegrationBySiteId(request: multitenant_pb.GetSiteIdsWithIntegrationData, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteIdsWithIntegrationData) => void): grpc.ClientUnaryCall;
567
+ public getSiteIdsWithIntegrationBySiteId(request: multitenant_pb.GetSiteIdsWithIntegrationData, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteIdsWithIntegrationData) => void): grpc.ClientUnaryCall;
551
568
  }
@@ -400,6 +400,17 @@ function deserialize_lansweeper_multitenant_v1_GetPreviewAccountByIdResponse(buf
400
400
  return multitenant_pb.GetPreviewAccountByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
401
401
  }
402
402
 
403
+ function serialize_lansweeper_multitenant_v1_GetSiteIdsWithIntegrationData(arg) {
404
+ if (!(arg instanceof multitenant_pb.GetSiteIdsWithIntegrationData)) {
405
+ throw new Error('Expected argument of type lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData');
406
+ }
407
+ return Buffer.from(arg.serializeBinary());
408
+ }
409
+
410
+ function deserialize_lansweeper_multitenant_v1_GetSiteIdsWithIntegrationData(buffer_arg) {
411
+ return multitenant_pb.GetSiteIdsWithIntegrationData.deserializeBinary(new Uint8Array(buffer_arg));
412
+ }
413
+
403
414
  function serialize_lansweeper_multitenant_v1_GetSiteSubscriptionRequest(arg) {
404
415
  if (!(arg instanceof multitenant_pb.GetSiteSubscriptionRequest)) {
405
416
  throw new Error('Expected argument of type lansweeper.multitenant.v1.GetSiteSubscriptionRequest');
@@ -1029,6 +1040,17 @@ var MultitenantService = exports.MultitenantService = {
1029
1040
  responseSerialize: serialize_lansweeper_multitenant_v1_CreateLinkingCodeResponse,
1030
1041
  responseDeserialize: deserialize_lansweeper_multitenant_v1_CreateLinkingCodeResponse,
1031
1042
  },
1043
+ getSiteIdsWithIntegrationBySiteId: {
1044
+ path: '/lansweeper.multitenant.v1.Multitenant/GetSiteIdsWithIntegrationBySiteId',
1045
+ requestStream: false,
1046
+ responseStream: false,
1047
+ requestType: multitenant_pb.GetSiteIdsWithIntegrationData,
1048
+ responseType: multitenant_pb.GetSiteIdsWithIntegrationData,
1049
+ requestSerialize: serialize_lansweeper_multitenant_v1_GetSiteIdsWithIntegrationData,
1050
+ requestDeserialize: deserialize_lansweeper_multitenant_v1_GetSiteIdsWithIntegrationData,
1051
+ responseSerialize: serialize_lansweeper_multitenant_v1_GetSiteIdsWithIntegrationData,
1052
+ responseDeserialize: deserialize_lansweeper_multitenant_v1_GetSiteIdsWithIntegrationData,
1053
+ },
1032
1054
  };
1033
1055
 
1034
1056
  exports.MultitenantClient = grpc.makeGenericClientConstructor(MultitenantService);
@@ -715,6 +715,8 @@ export class CreateInstallRequest extends jspb.Message {
715
715
  setGlobalId(value: string): CreateInstallRequest;
716
716
  getType(): InstallType;
717
717
  setType(value: InstallType): CreateInstallRequest;
718
+ getClientId(): string;
719
+ setClientId(value: string): CreateInstallRequest;
718
720
 
719
721
  serializeBinary(): Uint8Array;
720
722
  toObject(includeInstance?: boolean): CreateInstallRequest.AsObject;
@@ -737,6 +739,7 @@ export namespace CreateInstallRequest {
737
739
  createSqsQueue: boolean,
738
740
  globalId: string,
739
741
  type: InstallType,
742
+ clientId: string,
740
743
  }
741
744
  }
742
745
 
@@ -782,6 +785,8 @@ export class CreateAndLinkInstallRequest extends jspb.Message {
782
785
  setType(value: InstallType): CreateAndLinkInstallRequest;
783
786
  getCreatedById(): string;
784
787
  setCreatedById(value: string): CreateAndLinkInstallRequest;
788
+ getClientId(): string;
789
+ setClientId(value: string): CreateAndLinkInstallRequest;
785
790
 
786
791
  serializeBinary(): Uint8Array;
787
792
  toObject(includeInstance?: boolean): CreateAndLinkInstallRequest.AsObject;
@@ -801,6 +806,7 @@ export namespace CreateAndLinkInstallRequest {
801
806
  globalId: string,
802
807
  type: InstallType,
803
808
  createdById: string,
809
+ clientId: string,
804
810
  }
805
811
  }
806
812
 
@@ -2019,6 +2025,28 @@ export namespace CreateLinkingCodeResponse {
2019
2025
  }
2020
2026
  }
2021
2027
 
2028
+ export class GetSiteIdsWithIntegrationData extends jspb.Message {
2029
+ clearSiteIdsList(): void;
2030
+ getSiteIdsList(): Array<string>;
2031
+ setSiteIdsList(value: Array<string>): GetSiteIdsWithIntegrationData;
2032
+ addSiteIds(value: string, index?: number): string;
2033
+
2034
+ serializeBinary(): Uint8Array;
2035
+ toObject(includeInstance?: boolean): GetSiteIdsWithIntegrationData.AsObject;
2036
+ static toObject(includeInstance: boolean, msg: GetSiteIdsWithIntegrationData): GetSiteIdsWithIntegrationData.AsObject;
2037
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
2038
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
2039
+ static serializeBinaryToWriter(message: GetSiteIdsWithIntegrationData, writer: jspb.BinaryWriter): void;
2040
+ static deserializeBinary(bytes: Uint8Array): GetSiteIdsWithIntegrationData;
2041
+ static deserializeBinaryFromReader(message: GetSiteIdsWithIntegrationData, reader: jspb.BinaryReader): GetSiteIdsWithIntegrationData;
2042
+ }
2043
+
2044
+ export namespace GetSiteIdsWithIntegrationData {
2045
+ export type AsObject = {
2046
+ siteIdsList: Array<string>,
2047
+ }
2048
+ }
2049
+
2022
2050
  export enum SiteMode {
2023
2051
  UNESPECIFIED = 0,
2024
2052
  CLOUD_NATIVE = 1,
@@ -54,6 +54,7 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest
54
54
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountResponse', null, global);
55
55
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountByIdRequest', null, global);
56
56
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountByIdResponse', null, global);
57
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData', null, global);
57
58
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest', null, global);
58
59
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse', null, global);
59
60
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetUserPermissionsRequest', null, global);
@@ -1758,6 +1759,27 @@ if (goog.DEBUG && !COMPILED) {
1758
1759
  */
1759
1760
  proto.lansweeper.multitenant.v1.CreateLinkingCodeResponse.displayName = 'proto.lansweeper.multitenant.v1.CreateLinkingCodeResponse';
1760
1761
  }
1762
+ /**
1763
+ * Generated by JsPbCodeGenerator.
1764
+ * @param {Array=} opt_data Optional initial data array, typically from a
1765
+ * server response, or constructed directly in Javascript. The array is used
1766
+ * in place and becomes part of the constructed object. It is not cloned.
1767
+ * If no data is provided, the constructed object will be empty, but still
1768
+ * valid.
1769
+ * @extends {jspb.Message}
1770
+ * @constructor
1771
+ */
1772
+ proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData = function(opt_data) {
1773
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.repeatedFields_, null);
1774
+ };
1775
+ goog.inherits(proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData, jspb.Message);
1776
+ if (goog.DEBUG && !COMPILED) {
1777
+ /**
1778
+ * @public
1779
+ * @override
1780
+ */
1781
+ proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.displayName = 'proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData';
1782
+ }
1761
1783
 
1762
1784
 
1763
1785
 
@@ -6664,7 +6686,8 @@ proto.lansweeper.multitenant.v1.CreateInstallRequest.toObject = function(include
6664
6686
  createdById: jspb.Message.getFieldWithDefault(msg, 7, ""),
6665
6687
  createSqsQueue: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
6666
6688
  globalId: jspb.Message.getFieldWithDefault(msg, 9, ""),
6667
- type: jspb.Message.getFieldWithDefault(msg, 10, 0)
6689
+ type: jspb.Message.getFieldWithDefault(msg, 10, 0),
6690
+ clientId: jspb.Message.getFieldWithDefault(msg, 11, "")
6668
6691
  };
6669
6692
 
6670
6693
  if (includeInstance) {
@@ -6737,6 +6760,10 @@ proto.lansweeper.multitenant.v1.CreateInstallRequest.deserializeBinaryFromReader
6737
6760
  var value = /** @type {!proto.lansweeper.multitenant.v1.InstallType} */ (reader.readEnum());
6738
6761
  msg.setType(value);
6739
6762
  break;
6763
+ case 11:
6764
+ var value = /** @type {string} */ (reader.readString());
6765
+ msg.setClientId(value);
6766
+ break;
6740
6767
  default:
6741
6768
  reader.skipField();
6742
6769
  break;
@@ -6829,6 +6856,13 @@ proto.lansweeper.multitenant.v1.CreateInstallRequest.serializeBinaryToWriter = f
6829
6856
  f
6830
6857
  );
6831
6858
  }
6859
+ f = message.getClientId();
6860
+ if (f.length > 0) {
6861
+ writer.writeString(
6862
+ 11,
6863
+ f
6864
+ );
6865
+ }
6832
6866
  };
6833
6867
 
6834
6868
 
@@ -6994,6 +7028,24 @@ proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.setType = functio
6994
7028
  };
6995
7029
 
6996
7030
 
7031
+ /**
7032
+ * optional string client_id = 11;
7033
+ * @return {string}
7034
+ */
7035
+ proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.getClientId = function() {
7036
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
7037
+ };
7038
+
7039
+
7040
+ /**
7041
+ * @param {string} value
7042
+ * @return {!proto.lansweeper.multitenant.v1.CreateInstallRequest} returns this
7043
+ */
7044
+ proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.setClientId = function(value) {
7045
+ return jspb.Message.setProto3StringField(this, 11, value);
7046
+ };
7047
+
7048
+
6997
7049
 
6998
7050
 
6999
7051
 
@@ -7233,7 +7285,8 @@ proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest.toObject = function(
7233
7285
  description: jspb.Message.getFieldWithDefault(msg, 3, ""),
7234
7286
  globalId: jspb.Message.getFieldWithDefault(msg, 4, ""),
7235
7287
  type: jspb.Message.getFieldWithDefault(msg, 5, 0),
7236
- createdById: jspb.Message.getFieldWithDefault(msg, 6, "")
7288
+ createdById: jspb.Message.getFieldWithDefault(msg, 6, ""),
7289
+ clientId: jspb.Message.getFieldWithDefault(msg, 7, "")
7237
7290
  };
7238
7291
 
7239
7292
  if (includeInstance) {
@@ -7294,6 +7347,10 @@ proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest.deserializeBinaryFro
7294
7347
  var value = /** @type {string} */ (reader.readString());
7295
7348
  msg.setCreatedById(value);
7296
7349
  break;
7350
+ case 7:
7351
+ var value = /** @type {string} */ (reader.readString());
7352
+ msg.setClientId(value);
7353
+ break;
7297
7354
  default:
7298
7355
  reader.skipField();
7299
7356
  break;
@@ -7365,6 +7422,13 @@ proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest.serializeBinaryToWri
7365
7422
  f
7366
7423
  );
7367
7424
  }
7425
+ f = message.getClientId();
7426
+ if (f.length > 0) {
7427
+ writer.writeString(
7428
+ 7,
7429
+ f
7430
+ );
7431
+ }
7368
7432
  };
7369
7433
 
7370
7434
 
@@ -7476,6 +7540,24 @@ proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest.prototype.setCreated
7476
7540
  };
7477
7541
 
7478
7542
 
7543
+ /**
7544
+ * optional string client_id = 7;
7545
+ * @return {string}
7546
+ */
7547
+ proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest.prototype.getClientId = function() {
7548
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
7549
+ };
7550
+
7551
+
7552
+ /**
7553
+ * @param {string} value
7554
+ * @return {!proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest} returns this
7555
+ */
7556
+ proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest.prototype.setClientId = function(value) {
7557
+ return jspb.Message.setProto3StringField(this, 7, value);
7558
+ };
7559
+
7560
+
7479
7561
 
7480
7562
 
7481
7563
 
@@ -16138,6 +16220,162 @@ proto.lansweeper.multitenant.v1.CreateLinkingCodeResponse.prototype.setCode = fu
16138
16220
  };
16139
16221
 
16140
16222
 
16223
+
16224
+ /**
16225
+ * List of repeated fields within this message type.
16226
+ * @private {!Array<number>}
16227
+ * @const
16228
+ */
16229
+ proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.repeatedFields_ = [1];
16230
+
16231
+
16232
+
16233
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16234
+ /**
16235
+ * Creates an object representation of this proto.
16236
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16237
+ * Optional fields that are not set will be set to undefined.
16238
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16239
+ * For the list of reserved names please see:
16240
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16241
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16242
+ * JSPB instance for transitional soy proto support:
16243
+ * http://goto/soy-param-migration
16244
+ * @return {!Object}
16245
+ */
16246
+ proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.prototype.toObject = function(opt_includeInstance) {
16247
+ return proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.toObject(opt_includeInstance, this);
16248
+ };
16249
+
16250
+
16251
+ /**
16252
+ * Static version of the {@see toObject} method.
16253
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16254
+ * the JSPB instance for transitional soy proto support:
16255
+ * http://goto/soy-param-migration
16256
+ * @param {!proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData} msg The msg instance to transform.
16257
+ * @return {!Object}
16258
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16259
+ */
16260
+ proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.toObject = function(includeInstance, msg) {
16261
+ var f, obj = {
16262
+ siteIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
16263
+ };
16264
+
16265
+ if (includeInstance) {
16266
+ obj.$jspbMessageInstance = msg;
16267
+ }
16268
+ return obj;
16269
+ };
16270
+ }
16271
+
16272
+
16273
+ /**
16274
+ * Deserializes binary data (in protobuf wire format).
16275
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16276
+ * @return {!proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData}
16277
+ */
16278
+ proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.deserializeBinary = function(bytes) {
16279
+ var reader = new jspb.BinaryReader(bytes);
16280
+ var msg = new proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData;
16281
+ return proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.deserializeBinaryFromReader(msg, reader);
16282
+ };
16283
+
16284
+
16285
+ /**
16286
+ * Deserializes binary data (in protobuf wire format) from the
16287
+ * given reader into the given message object.
16288
+ * @param {!proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData} msg The message object to deserialize into.
16289
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16290
+ * @return {!proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData}
16291
+ */
16292
+ proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.deserializeBinaryFromReader = function(msg, reader) {
16293
+ while (reader.nextField()) {
16294
+ if (reader.isEndGroup()) {
16295
+ break;
16296
+ }
16297
+ var field = reader.getFieldNumber();
16298
+ switch (field) {
16299
+ case 1:
16300
+ var value = /** @type {string} */ (reader.readString());
16301
+ msg.addSiteIds(value);
16302
+ break;
16303
+ default:
16304
+ reader.skipField();
16305
+ break;
16306
+ }
16307
+ }
16308
+ return msg;
16309
+ };
16310
+
16311
+
16312
+ /**
16313
+ * Serializes the message to binary data (in protobuf wire format).
16314
+ * @return {!Uint8Array}
16315
+ */
16316
+ proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.prototype.serializeBinary = function() {
16317
+ var writer = new jspb.BinaryWriter();
16318
+ proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.serializeBinaryToWriter(this, writer);
16319
+ return writer.getResultBuffer();
16320
+ };
16321
+
16322
+
16323
+ /**
16324
+ * Serializes the given message to binary data (in protobuf wire
16325
+ * format), writing to the given BinaryWriter.
16326
+ * @param {!proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData} message
16327
+ * @param {!jspb.BinaryWriter} writer
16328
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16329
+ */
16330
+ proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.serializeBinaryToWriter = function(message, writer) {
16331
+ var f = undefined;
16332
+ f = message.getSiteIdsList();
16333
+ if (f.length > 0) {
16334
+ writer.writeRepeatedString(
16335
+ 1,
16336
+ f
16337
+ );
16338
+ }
16339
+ };
16340
+
16341
+
16342
+ /**
16343
+ * repeated string site_ids = 1;
16344
+ * @return {!Array<string>}
16345
+ */
16346
+ proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.prototype.getSiteIdsList = function() {
16347
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
16348
+ };
16349
+
16350
+
16351
+ /**
16352
+ * @param {!Array<string>} value
16353
+ * @return {!proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData} returns this
16354
+ */
16355
+ proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.prototype.setSiteIdsList = function(value) {
16356
+ return jspb.Message.setField(this, 1, value || []);
16357
+ };
16358
+
16359
+
16360
+ /**
16361
+ * @param {string} value
16362
+ * @param {number=} opt_index
16363
+ * @return {!proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData} returns this
16364
+ */
16365
+ proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.prototype.addSiteIds = function(value, opt_index) {
16366
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
16367
+ };
16368
+
16369
+
16370
+ /**
16371
+ * Clears the list making it empty but non-null.
16372
+ * @return {!proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData} returns this
16373
+ */
16374
+ proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.prototype.clearSiteIdsList = function() {
16375
+ return this.setSiteIdsList([]);
16376
+ };
16377
+
16378
+
16141
16379
  /**
16142
16380
  * @enum {number}
16143
16381
  */