@lansweeper/multitenant-api-grpc 0.4.50 → 0.4.52

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.
@@ -66,6 +66,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest
66
66
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountResponse', null, global);
67
67
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest', null, global);
68
68
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse', null, global);
69
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest', null, global);
70
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse', null, global);
69
71
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest', null, global);
70
72
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest', null, global);
71
73
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse', null, global);
@@ -80,6 +82,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteLimitsRequest', null,
80
82
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteLimitsResponse', null, global);
81
83
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest', null, global);
82
84
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse', null, global);
85
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest', null, global);
86
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse', null, global);
83
87
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetUserPermissionsRequest', null, global);
84
88
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetUserPermissionsResponse', null, global);
85
89
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetUserPermissionsResponse.AuthorizationAction', null, global);
@@ -96,6 +100,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.ListAuthorizedLinkProfilesReq
96
100
  goog.exportSymbol('proto.lansweeper.multitenant.v1.ListAuthorizedLinkProfilesResponse', null, global);
97
101
  goog.exportSymbol('proto.lansweeper.multitenant.v1.ListProfilesByAccountIdRequest', null, global);
98
102
  goog.exportSymbol('proto.lansweeper.multitenant.v1.ListProfilesByAccountIdResponse', null, global);
103
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.MsmpPagination', null, global);
104
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.MsmpPaginationInfo', null, global);
99
105
  goog.exportSymbol('proto.lansweeper.multitenant.v1.NullableInstallType', null, global);
100
106
  goog.exportSymbol('proto.lansweeper.multitenant.v1.NullableInstallType.KindCase', null, global);
101
107
  goog.exportSymbol('proto.lansweeper.multitenant.v1.PatchSiteModeRequest', null, global);
@@ -2101,6 +2107,48 @@ if (goog.DEBUG && !COMPILED) {
2101
2107
  */
2102
2108
  proto.lansweeper.multitenant.v1.GetSiteLimitsResponse.displayName = 'proto.lansweeper.multitenant.v1.GetSiteLimitsResponse';
2103
2109
  }
2110
+ /**
2111
+ * Generated by JsPbCodeGenerator.
2112
+ * @param {Array=} opt_data Optional initial data array, typically from a
2113
+ * server response, or constructed directly in Javascript. The array is used
2114
+ * in place and becomes part of the constructed object. It is not cloned.
2115
+ * If no data is provided, the constructed object will be empty, but still
2116
+ * valid.
2117
+ * @extends {jspb.Message}
2118
+ * @constructor
2119
+ */
2120
+ proto.lansweeper.multitenant.v1.MsmpPagination = function(opt_data) {
2121
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2122
+ };
2123
+ goog.inherits(proto.lansweeper.multitenant.v1.MsmpPagination, jspb.Message);
2124
+ if (goog.DEBUG && !COMPILED) {
2125
+ /**
2126
+ * @public
2127
+ * @override
2128
+ */
2129
+ proto.lansweeper.multitenant.v1.MsmpPagination.displayName = 'proto.lansweeper.multitenant.v1.MsmpPagination';
2130
+ }
2131
+ /**
2132
+ * Generated by JsPbCodeGenerator.
2133
+ * @param {Array=} opt_data Optional initial data array, typically from a
2134
+ * server response, or constructed directly in Javascript. The array is used
2135
+ * in place and becomes part of the constructed object. It is not cloned.
2136
+ * If no data is provided, the constructed object will be empty, but still
2137
+ * valid.
2138
+ * @extends {jspb.Message}
2139
+ * @constructor
2140
+ */
2141
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo = function(opt_data) {
2142
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2143
+ };
2144
+ goog.inherits(proto.lansweeper.multitenant.v1.MsmpPaginationInfo, jspb.Message);
2145
+ if (goog.DEBUG && !COMPILED) {
2146
+ /**
2147
+ * @public
2148
+ * @override
2149
+ */
2150
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.displayName = 'proto.lansweeper.multitenant.v1.MsmpPaginationInfo';
2151
+ }
2104
2152
  /**
2105
2153
  * Generated by JsPbCodeGenerator.
2106
2154
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2206,6 +2254,90 @@ if (goog.DEBUG && !COMPILED) {
2206
2254
  */
2207
2255
  proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.displayName = 'proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo';
2208
2256
  }
2257
+ /**
2258
+ * Generated by JsPbCodeGenerator.
2259
+ * @param {Array=} opt_data Optional initial data array, typically from a
2260
+ * server response, or constructed directly in Javascript. The array is used
2261
+ * in place and becomes part of the constructed object. It is not cloned.
2262
+ * If no data is provided, the constructed object will be empty, but still
2263
+ * valid.
2264
+ * @extends {jspb.Message}
2265
+ * @constructor
2266
+ */
2267
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest = function(opt_data) {
2268
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2269
+ };
2270
+ goog.inherits(proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest, jspb.Message);
2271
+ if (goog.DEBUG && !COMPILED) {
2272
+ /**
2273
+ * @public
2274
+ * @override
2275
+ */
2276
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.displayName = 'proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest';
2277
+ }
2278
+ /**
2279
+ * Generated by JsPbCodeGenerator.
2280
+ * @param {Array=} opt_data Optional initial data array, typically from a
2281
+ * server response, or constructed directly in Javascript. The array is used
2282
+ * in place and becomes part of the constructed object. It is not cloned.
2283
+ * If no data is provided, the constructed object will be empty, but still
2284
+ * valid.
2285
+ * @extends {jspb.Message}
2286
+ * @constructor
2287
+ */
2288
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse = function(opt_data) {
2289
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2290
+ };
2291
+ goog.inherits(proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse, jspb.Message);
2292
+ if (goog.DEBUG && !COMPILED) {
2293
+ /**
2294
+ * @public
2295
+ * @override
2296
+ */
2297
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.displayName = 'proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse';
2298
+ }
2299
+ /**
2300
+ * Generated by JsPbCodeGenerator.
2301
+ * @param {Array=} opt_data Optional initial data array, typically from a
2302
+ * server response, or constructed directly in Javascript. The array is used
2303
+ * in place and becomes part of the constructed object. It is not cloned.
2304
+ * If no data is provided, the constructed object will be empty, but still
2305
+ * valid.
2306
+ * @extends {jspb.Message}
2307
+ * @constructor
2308
+ */
2309
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest = function(opt_data) {
2310
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2311
+ };
2312
+ goog.inherits(proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest, jspb.Message);
2313
+ if (goog.DEBUG && !COMPILED) {
2314
+ /**
2315
+ * @public
2316
+ * @override
2317
+ */
2318
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.displayName = 'proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest';
2319
+ }
2320
+ /**
2321
+ * Generated by JsPbCodeGenerator.
2322
+ * @param {Array=} opt_data Optional initial data array, typically from a
2323
+ * server response, or constructed directly in Javascript. The array is used
2324
+ * in place and becomes part of the constructed object. It is not cloned.
2325
+ * If no data is provided, the constructed object will be empty, but still
2326
+ * valid.
2327
+ * @extends {jspb.Message}
2328
+ * @constructor
2329
+ */
2330
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse = function(opt_data) {
2331
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.repeatedFields_, null);
2332
+ };
2333
+ goog.inherits(proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse, jspb.Message);
2334
+ if (goog.DEBUG && !COMPILED) {
2335
+ /**
2336
+ * @public
2337
+ * @override
2338
+ */
2339
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.displayName = 'proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse';
2340
+ }
2209
2341
 
2210
2342
 
2211
2343
 
@@ -19177,8 +19309,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
19177
19309
  * http://goto/soy-param-migration
19178
19310
  * @return {!Object}
19179
19311
  */
19180
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.toObject = function(opt_includeInstance) {
19181
- return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.toObject(opt_includeInstance, this);
19312
+ proto.lansweeper.multitenant.v1.MsmpPagination.prototype.toObject = function(opt_includeInstance) {
19313
+ return proto.lansweeper.multitenant.v1.MsmpPagination.toObject(opt_includeInstance, this);
19182
19314
  };
19183
19315
 
19184
19316
 
@@ -19187,14 +19319,14 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.toObjec
19187
19319
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19188
19320
  * the JSPB instance for transitional soy proto support:
19189
19321
  * http://goto/soy-param-migration
19190
- * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} msg The msg instance to transform.
19322
+ * @param {!proto.lansweeper.multitenant.v1.MsmpPagination} msg The msg instance to transform.
19191
19323
  * @return {!Object}
19192
19324
  * @suppress {unusedLocalVariables} f is only used for nested messages
19193
19325
  */
19194
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.toObject = function(includeInstance, msg) {
19326
+ proto.lansweeper.multitenant.v1.MsmpPagination.toObject = function(includeInstance, msg) {
19195
19327
  var f, obj = {
19196
- userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
19197
- msmpPagination: (f = msg.getMsmpPagination()) && proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.toObject(includeInstance, f)
19328
+ offset: jspb.Message.getFieldWithDefault(msg, 1, 0),
19329
+ limit: jspb.Message.getFieldWithDefault(msg, 2, 0)
19198
19330
  };
19199
19331
 
19200
19332
  if (includeInstance) {
@@ -19208,23 +19340,23 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.toObject = functi
19208
19340
  /**
19209
19341
  * Deserializes binary data (in protobuf wire format).
19210
19342
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
19211
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest}
19343
+ * @return {!proto.lansweeper.multitenant.v1.MsmpPagination}
19212
19344
  */
19213
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.deserializeBinary = function(bytes) {
19345
+ proto.lansweeper.multitenant.v1.MsmpPagination.deserializeBinary = function(bytes) {
19214
19346
  var reader = new jspb.BinaryReader(bytes);
19215
- var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest;
19216
- return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.deserializeBinaryFromReader(msg, reader);
19347
+ var msg = new proto.lansweeper.multitenant.v1.MsmpPagination;
19348
+ return proto.lansweeper.multitenant.v1.MsmpPagination.deserializeBinaryFromReader(msg, reader);
19217
19349
  };
19218
19350
 
19219
19351
 
19220
19352
  /**
19221
19353
  * Deserializes binary data (in protobuf wire format) from the
19222
19354
  * given reader into the given message object.
19223
- * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} msg The message object to deserialize into.
19355
+ * @param {!proto.lansweeper.multitenant.v1.MsmpPagination} msg The message object to deserialize into.
19224
19356
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19225
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest}
19357
+ * @return {!proto.lansweeper.multitenant.v1.MsmpPagination}
19226
19358
  */
19227
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.deserializeBinaryFromReader = function(msg, reader) {
19359
+ proto.lansweeper.multitenant.v1.MsmpPagination.deserializeBinaryFromReader = function(msg, reader) {
19228
19360
  while (reader.nextField()) {
19229
19361
  if (reader.isEndGroup()) {
19230
19362
  break;
@@ -19232,13 +19364,12 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.deserializeBinary
19232
19364
  var field = reader.getFieldNumber();
19233
19365
  switch (field) {
19234
19366
  case 1:
19235
- var value = /** @type {string} */ (reader.readString());
19236
- msg.setUserId(value);
19367
+ var value = /** @type {number} */ (reader.readInt32());
19368
+ msg.setOffset(value);
19237
19369
  break;
19238
19370
  case 2:
19239
- var value = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest;
19240
- reader.readMessage(value,proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.deserializeBinaryFromReader);
19241
- msg.setMsmpPagination(value);
19371
+ var value = /** @type {number} */ (reader.readInt32());
19372
+ msg.setLimit(value);
19242
19373
  break;
19243
19374
  default:
19244
19375
  reader.skipField();
@@ -19253,9 +19384,9 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.deserializeBinary
19253
19384
  * Serializes the message to binary data (in protobuf wire format).
19254
19385
  * @return {!Uint8Array}
19255
19386
  */
19256
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.serializeBinary = function() {
19387
+ proto.lansweeper.multitenant.v1.MsmpPagination.prototype.serializeBinary = function() {
19257
19388
  var writer = new jspb.BinaryWriter();
19258
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.serializeBinaryToWriter(this, writer);
19389
+ proto.lansweeper.multitenant.v1.MsmpPagination.serializeBinaryToWriter(this, writer);
19259
19390
  return writer.getResultBuffer();
19260
19391
  };
19261
19392
 
@@ -19263,30 +19394,65 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.seriali
19263
19394
  /**
19264
19395
  * Serializes the given message to binary data (in protobuf wire
19265
19396
  * format), writing to the given BinaryWriter.
19266
- * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} message
19397
+ * @param {!proto.lansweeper.multitenant.v1.MsmpPagination} message
19267
19398
  * @param {!jspb.BinaryWriter} writer
19268
19399
  * @suppress {unusedLocalVariables} f is only used for nested messages
19269
19400
  */
19270
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.serializeBinaryToWriter = function(message, writer) {
19401
+ proto.lansweeper.multitenant.v1.MsmpPagination.serializeBinaryToWriter = function(message, writer) {
19271
19402
  var f = undefined;
19272
- f = message.getUserId();
19273
- if (f.length > 0) {
19274
- writer.writeString(
19403
+ f = message.getOffset();
19404
+ if (f !== 0) {
19405
+ writer.writeInt32(
19275
19406
  1,
19276
19407
  f
19277
19408
  );
19278
19409
  }
19279
- f = message.getMsmpPagination();
19280
- if (f != null) {
19281
- writer.writeMessage(
19410
+ f = message.getLimit();
19411
+ if (f !== 0) {
19412
+ writer.writeInt32(
19282
19413
  2,
19283
- f,
19284
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.serializeBinaryToWriter
19414
+ f
19285
19415
  );
19286
19416
  }
19287
19417
  };
19288
19418
 
19289
19419
 
19420
+ /**
19421
+ * optional int32 offset = 1;
19422
+ * @return {number}
19423
+ */
19424
+ proto.lansweeper.multitenant.v1.MsmpPagination.prototype.getOffset = function() {
19425
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
19426
+ };
19427
+
19428
+
19429
+ /**
19430
+ * @param {number} value
19431
+ * @return {!proto.lansweeper.multitenant.v1.MsmpPagination} returns this
19432
+ */
19433
+ proto.lansweeper.multitenant.v1.MsmpPagination.prototype.setOffset = function(value) {
19434
+ return jspb.Message.setProto3IntField(this, 1, value);
19435
+ };
19436
+
19437
+
19438
+ /**
19439
+ * optional int32 limit = 2;
19440
+ * @return {number}
19441
+ */
19442
+ proto.lansweeper.multitenant.v1.MsmpPagination.prototype.getLimit = function() {
19443
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
19444
+ };
19445
+
19446
+
19447
+ /**
19448
+ * @param {number} value
19449
+ * @return {!proto.lansweeper.multitenant.v1.MsmpPagination} returns this
19450
+ */
19451
+ proto.lansweeper.multitenant.v1.MsmpPagination.prototype.setLimit = function(value) {
19452
+ return jspb.Message.setProto3IntField(this, 2, value);
19453
+ };
19454
+
19455
+
19290
19456
 
19291
19457
 
19292
19458
 
@@ -19303,8 +19469,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
19303
19469
  * http://goto/soy-param-migration
19304
19470
  * @return {!Object}
19305
19471
  */
19306
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.toObject = function(opt_includeInstance) {
19307
- return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.toObject(opt_includeInstance, this);
19472
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.toObject = function(opt_includeInstance) {
19473
+ return proto.lansweeper.multitenant.v1.MsmpPaginationInfo.toObject(opt_includeInstance, this);
19308
19474
  };
19309
19475
 
19310
19476
 
@@ -19313,14 +19479,16 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationReq
19313
19479
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19314
19480
  * the JSPB instance for transitional soy proto support:
19315
19481
  * http://goto/soy-param-migration
19316
- * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} msg The msg instance to transform.
19482
+ * @param {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} msg The msg instance to transform.
19317
19483
  * @return {!Object}
19318
19484
  * @suppress {unusedLocalVariables} f is only used for nested messages
19319
19485
  */
19320
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.toObject = function(includeInstance, msg) {
19486
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.toObject = function(includeInstance, msg) {
19321
19487
  var f, obj = {
19322
- offset: jspb.Message.getFieldWithDefault(msg, 1, 0),
19323
- limit: jspb.Message.getFieldWithDefault(msg, 2, 0)
19488
+ total: jspb.Message.getFieldWithDefault(msg, 1, 0),
19489
+ offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
19490
+ limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
19491
+ hasNextPage: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
19324
19492
  };
19325
19493
 
19326
19494
  if (includeInstance) {
@@ -19334,23 +19502,23 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationReq
19334
19502
  /**
19335
19503
  * Deserializes binary data (in protobuf wire format).
19336
19504
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
19337
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest}
19505
+ * @return {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo}
19338
19506
  */
19339
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.deserializeBinary = function(bytes) {
19507
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.deserializeBinary = function(bytes) {
19340
19508
  var reader = new jspb.BinaryReader(bytes);
19341
- var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest;
19342
- return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.deserializeBinaryFromReader(msg, reader);
19509
+ var msg = new proto.lansweeper.multitenant.v1.MsmpPaginationInfo;
19510
+ return proto.lansweeper.multitenant.v1.MsmpPaginationInfo.deserializeBinaryFromReader(msg, reader);
19343
19511
  };
19344
19512
 
19345
19513
 
19346
19514
  /**
19347
19515
  * Deserializes binary data (in protobuf wire format) from the
19348
19516
  * given reader into the given message object.
19349
- * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} msg The message object to deserialize into.
19517
+ * @param {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} msg The message object to deserialize into.
19350
19518
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19351
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest}
19519
+ * @return {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo}
19352
19520
  */
19353
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.deserializeBinaryFromReader = function(msg, reader) {
19521
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.deserializeBinaryFromReader = function(msg, reader) {
19354
19522
  while (reader.nextField()) {
19355
19523
  if (reader.isEndGroup()) {
19356
19524
  break;
@@ -19359,12 +19527,20 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationReq
19359
19527
  switch (field) {
19360
19528
  case 1:
19361
19529
  var value = /** @type {number} */ (reader.readInt32());
19362
- msg.setOffset(value);
19530
+ msg.setTotal(value);
19363
19531
  break;
19364
19532
  case 2:
19533
+ var value = /** @type {number} */ (reader.readInt32());
19534
+ msg.setOffset(value);
19535
+ break;
19536
+ case 3:
19365
19537
  var value = /** @type {number} */ (reader.readInt32());
19366
19538
  msg.setLimit(value);
19367
19539
  break;
19540
+ case 4:
19541
+ var value = /** @type {boolean} */ (reader.readBool());
19542
+ msg.setHasNextPage(value);
19543
+ break;
19368
19544
  default:
19369
19545
  reader.skipField();
19370
19546
  break;
@@ -19378,9 +19554,9 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationReq
19378
19554
  * Serializes the message to binary data (in protobuf wire format).
19379
19555
  * @return {!Uint8Array}
19380
19556
  */
19381
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.serializeBinary = function() {
19557
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.serializeBinary = function() {
19382
19558
  var writer = new jspb.BinaryWriter();
19383
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.serializeBinaryToWriter(this, writer);
19559
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.serializeBinaryToWriter(this, writer);
19384
19560
  return writer.getResultBuffer();
19385
19561
  };
19386
19562
 
@@ -19388,128 +19564,116 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationReq
19388
19564
  /**
19389
19565
  * Serializes the given message to binary data (in protobuf wire
19390
19566
  * format), writing to the given BinaryWriter.
19391
- * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} message
19567
+ * @param {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} message
19392
19568
  * @param {!jspb.BinaryWriter} writer
19393
19569
  * @suppress {unusedLocalVariables} f is only used for nested messages
19394
19570
  */
19395
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.serializeBinaryToWriter = function(message, writer) {
19571
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.serializeBinaryToWriter = function(message, writer) {
19396
19572
  var f = undefined;
19397
- f = message.getOffset();
19573
+ f = message.getTotal();
19398
19574
  if (f !== 0) {
19399
19575
  writer.writeInt32(
19400
19576
  1,
19401
19577
  f
19402
19578
  );
19403
19579
  }
19404
- f = message.getLimit();
19580
+ f = message.getOffset();
19405
19581
  if (f !== 0) {
19406
19582
  writer.writeInt32(
19407
19583
  2,
19408
19584
  f
19409
19585
  );
19410
19586
  }
19587
+ f = message.getLimit();
19588
+ if (f !== 0) {
19589
+ writer.writeInt32(
19590
+ 3,
19591
+ f
19592
+ );
19593
+ }
19594
+ f = message.getHasNextPage();
19595
+ if (f) {
19596
+ writer.writeBool(
19597
+ 4,
19598
+ f
19599
+ );
19600
+ }
19411
19601
  };
19412
19602
 
19413
19603
 
19414
19604
  /**
19415
- * optional int32 offset = 1;
19605
+ * optional int32 total = 1;
19416
19606
  * @return {number}
19417
19607
  */
19418
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.getOffset = function() {
19608
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.getTotal = function() {
19419
19609
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
19420
19610
  };
19421
19611
 
19422
19612
 
19423
19613
  /**
19424
19614
  * @param {number} value
19425
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} returns this
19615
+ * @return {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} returns this
19426
19616
  */
19427
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.setOffset = function(value) {
19617
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.setTotal = function(value) {
19428
19618
  return jspb.Message.setProto3IntField(this, 1, value);
19429
19619
  };
19430
19620
 
19431
19621
 
19432
19622
  /**
19433
- * optional int32 limit = 2;
19623
+ * optional int32 offset = 2;
19434
19624
  * @return {number}
19435
19625
  */
19436
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.getLimit = function() {
19626
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.getOffset = function() {
19437
19627
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
19438
19628
  };
19439
19629
 
19440
19630
 
19441
19631
  /**
19442
19632
  * @param {number} value
19443
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} returns this
19633
+ * @return {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} returns this
19444
19634
  */
19445
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.setLimit = function(value) {
19635
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.setOffset = function(value) {
19446
19636
  return jspb.Message.setProto3IntField(this, 2, value);
19447
19637
  };
19448
19638
 
19449
19639
 
19450
19640
  /**
19451
- * optional string user_id = 1;
19452
- * @return {string}
19641
+ * optional int32 limit = 3;
19642
+ * @return {number}
19453
19643
  */
19454
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.getUserId = function() {
19455
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
19644
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.getLimit = function() {
19645
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
19456
19646
  };
19457
19647
 
19458
19648
 
19459
19649
  /**
19460
- * @param {string} value
19461
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} returns this
19650
+ * @param {number} value
19651
+ * @return {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} returns this
19462
19652
  */
19463
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.setUserId = function(value) {
19464
- return jspb.Message.setProto3StringField(this, 1, value);
19653
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.setLimit = function(value) {
19654
+ return jspb.Message.setProto3IntField(this, 3, value);
19465
19655
  };
19466
19656
 
19467
19657
 
19468
19658
  /**
19469
- * optional MsmpPaginationRequest msmp_pagination = 2;
19470
- * @return {?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest}
19659
+ * optional bool has_next_page = 4;
19660
+ * @return {boolean}
19471
19661
  */
19472
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.getMsmpPagination = function() {
19473
- return /** @type{?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} */ (
19474
- jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest, 2));
19475
- };
19476
-
19477
-
19478
- /**
19479
- * @param {?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest|undefined} value
19480
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} returns this
19481
- */
19482
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.setMsmpPagination = function(value) {
19483
- return jspb.Message.setWrapperField(this, 2, value);
19484
- };
19485
-
19486
-
19487
- /**
19488
- * Clears the message field making it undefined.
19489
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} returns this
19490
- */
19491
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.clearMsmpPagination = function() {
19492
- return this.setMsmpPagination(undefined);
19662
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.getHasNextPage = function() {
19663
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
19493
19664
  };
19494
19665
 
19495
19666
 
19496
19667
  /**
19497
- * Returns whether this field is set.
19498
- * @return {boolean}
19668
+ * @param {boolean} value
19669
+ * @return {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} returns this
19499
19670
  */
19500
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.hasMsmpPagination = function() {
19501
- return jspb.Message.getField(this, 2) != null;
19671
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.setHasNextPage = function(value) {
19672
+ return jspb.Message.setProto3BooleanField(this, 4, value);
19502
19673
  };
19503
19674
 
19504
19675
 
19505
19676
 
19506
- /**
19507
- * List of repeated fields within this message type.
19508
- * @private {!Array<number>}
19509
- * @const
19510
- */
19511
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.repeatedFields_ = [1];
19512
-
19513
19677
 
19514
19678
 
19515
19679
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -19525,8 +19689,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
19525
19689
  * http://goto/soy-param-migration
19526
19690
  * @return {!Object}
19527
19691
  */
19528
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.toObject = function(opt_includeInstance) {
19529
- return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.toObject(opt_includeInstance, this);
19692
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.toObject = function(opt_includeInstance) {
19693
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.toObject(opt_includeInstance, this);
19530
19694
  };
19531
19695
 
19532
19696
 
@@ -19535,15 +19699,15 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.toObje
19535
19699
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19536
19700
  * the JSPB instance for transitional soy proto support:
19537
19701
  * http://goto/soy-param-migration
19538
- * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} msg The msg instance to transform.
19702
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} msg The msg instance to transform.
19539
19703
  * @return {!Object}
19540
19704
  * @suppress {unusedLocalVariables} f is only used for nested messages
19541
19705
  */
19542
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.toObject = function(includeInstance, msg) {
19706
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.toObject = function(includeInstance, msg) {
19543
19707
  var f, obj = {
19544
- organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(),
19545
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.toObject, includeInstance),
19546
- msmpPageInfo: (f = msg.getMsmpPageInfo()) && proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.toObject(includeInstance, f)
19708
+ userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
19709
+ msmpPagination: (f = msg.getMsmpPagination()) && proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.toObject(includeInstance, f),
19710
+ traceId: jspb.Message.getFieldWithDefault(msg, 3, "")
19547
19711
  };
19548
19712
 
19549
19713
  if (includeInstance) {
@@ -19557,23 +19721,23 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.toObject = funct
19557
19721
  /**
19558
19722
  * Deserializes binary data (in protobuf wire format).
19559
19723
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
19560
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse}
19724
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest}
19561
19725
  */
19562
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.deserializeBinary = function(bytes) {
19726
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.deserializeBinary = function(bytes) {
19563
19727
  var reader = new jspb.BinaryReader(bytes);
19564
- var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse;
19565
- return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.deserializeBinaryFromReader(msg, reader);
19728
+ var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest;
19729
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.deserializeBinaryFromReader(msg, reader);
19566
19730
  };
19567
19731
 
19568
19732
 
19569
19733
  /**
19570
19734
  * Deserializes binary data (in protobuf wire format) from the
19571
19735
  * given reader into the given message object.
19572
- * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} msg The message object to deserialize into.
19736
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} msg The message object to deserialize into.
19573
19737
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19574
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse}
19738
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest}
19575
19739
  */
19576
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.deserializeBinaryFromReader = function(msg, reader) {
19740
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.deserializeBinaryFromReader = function(msg, reader) {
19577
19741
  while (reader.nextField()) {
19578
19742
  if (reader.isEndGroup()) {
19579
19743
  break;
@@ -19581,14 +19745,17 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.deserializeBinar
19581
19745
  var field = reader.getFieldNumber();
19582
19746
  switch (field) {
19583
19747
  case 1:
19584
- var value = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization;
19585
- reader.readMessage(value,proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.deserializeBinaryFromReader);
19586
- msg.addOrganizations(value);
19748
+ var value = /** @type {string} */ (reader.readString());
19749
+ msg.setUserId(value);
19587
19750
  break;
19588
19751
  case 2:
19589
- var value = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo;
19590
- reader.readMessage(value,proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.deserializeBinaryFromReader);
19591
- msg.setMsmpPageInfo(value);
19752
+ var value = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest;
19753
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.deserializeBinaryFromReader);
19754
+ msg.setMsmpPagination(value);
19755
+ break;
19756
+ case 3:
19757
+ var value = /** @type {string} */ (reader.readString());
19758
+ msg.setTraceId(value);
19592
19759
  break;
19593
19760
  default:
19594
19761
  reader.skipField();
@@ -19603,9 +19770,9 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.deserializeBinar
19603
19770
  * Serializes the message to binary data (in protobuf wire format).
19604
19771
  * @return {!Uint8Array}
19605
19772
  */
19606
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.serializeBinary = function() {
19773
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.serializeBinary = function() {
19607
19774
  var writer = new jspb.BinaryWriter();
19608
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.serializeBinaryToWriter(this, writer);
19775
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.serializeBinaryToWriter(this, writer);
19609
19776
  return writer.getResultBuffer();
19610
19777
  };
19611
19778
 
@@ -19613,26 +19780,32 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.serial
19613
19780
  /**
19614
19781
  * Serializes the given message to binary data (in protobuf wire
19615
19782
  * format), writing to the given BinaryWriter.
19616
- * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} message
19783
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} message
19617
19784
  * @param {!jspb.BinaryWriter} writer
19618
19785
  * @suppress {unusedLocalVariables} f is only used for nested messages
19619
19786
  */
19620
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.serializeBinaryToWriter = function(message, writer) {
19787
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.serializeBinaryToWriter = function(message, writer) {
19621
19788
  var f = undefined;
19622
- f = message.getOrganizationsList();
19789
+ f = message.getUserId();
19623
19790
  if (f.length > 0) {
19624
- writer.writeRepeatedMessage(
19791
+ writer.writeString(
19625
19792
  1,
19626
- f,
19627
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.serializeBinaryToWriter
19793
+ f
19628
19794
  );
19629
19795
  }
19630
- f = message.getMsmpPageInfo();
19796
+ f = message.getMsmpPagination();
19631
19797
  if (f != null) {
19632
19798
  writer.writeMessage(
19633
19799
  2,
19634
19800
  f,
19635
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.serializeBinaryToWriter
19801
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.serializeBinaryToWriter
19802
+ );
19803
+ }
19804
+ f = message.getTraceId();
19805
+ if (f.length > 0) {
19806
+ writer.writeString(
19807
+ 3,
19808
+ f
19636
19809
  );
19637
19810
  }
19638
19811
  };
@@ -19654,8 +19827,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
19654
19827
  * http://goto/soy-param-migration
19655
19828
  * @return {!Object}
19656
19829
  */
19657
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.toObject = function(opt_includeInstance) {
19658
- return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.toObject(opt_includeInstance, this);
19830
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.toObject = function(opt_includeInstance) {
19831
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.toObject(opt_includeInstance, this);
19659
19832
  };
19660
19833
 
19661
19834
 
@@ -19664,14 +19837,14 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization
19664
19837
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19665
19838
  * the JSPB instance for transitional soy proto support:
19666
19839
  * http://goto/soy-param-migration
19667
- * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} msg The msg instance to transform.
19840
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} msg The msg instance to transform.
19668
19841
  * @return {!Object}
19669
19842
  * @suppress {unusedLocalVariables} f is only used for nested messages
19670
19843
  */
19671
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.toObject = function(includeInstance, msg) {
19844
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.toObject = function(includeInstance, msg) {
19672
19845
  var f, obj = {
19673
- id: jspb.Message.getFieldWithDefault(msg, 1, ""),
19674
- name: jspb.Message.getFieldWithDefault(msg, 2, "")
19846
+ offset: jspb.Message.getFieldWithDefault(msg, 1, 0),
19847
+ limit: jspb.Message.getFieldWithDefault(msg, 2, 0)
19675
19848
  };
19676
19849
 
19677
19850
  if (includeInstance) {
@@ -19685,23 +19858,23 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization
19685
19858
  /**
19686
19859
  * Deserializes binary data (in protobuf wire format).
19687
19860
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
19688
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization}
19861
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest}
19689
19862
  */
19690
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.deserializeBinary = function(bytes) {
19863
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.deserializeBinary = function(bytes) {
19691
19864
  var reader = new jspb.BinaryReader(bytes);
19692
- var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization;
19693
- return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.deserializeBinaryFromReader(msg, reader);
19865
+ var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest;
19866
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.deserializeBinaryFromReader(msg, reader);
19694
19867
  };
19695
19868
 
19696
19869
 
19697
19870
  /**
19698
19871
  * Deserializes binary data (in protobuf wire format) from the
19699
19872
  * given reader into the given message object.
19700
- * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} msg The message object to deserialize into.
19873
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} msg The message object to deserialize into.
19701
19874
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19702
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization}
19875
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest}
19703
19876
  */
19704
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.deserializeBinaryFromReader = function(msg, reader) {
19877
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.deserializeBinaryFromReader = function(msg, reader) {
19705
19878
  while (reader.nextField()) {
19706
19879
  if (reader.isEndGroup()) {
19707
19880
  break;
@@ -19709,12 +19882,12 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization
19709
19882
  var field = reader.getFieldNumber();
19710
19883
  switch (field) {
19711
19884
  case 1:
19712
- var value = /** @type {string} */ (reader.readString());
19713
- msg.setId(value);
19885
+ var value = /** @type {number} */ (reader.readInt32());
19886
+ msg.setOffset(value);
19714
19887
  break;
19715
19888
  case 2:
19716
- var value = /** @type {string} */ (reader.readString());
19717
- msg.setName(value);
19889
+ var value = /** @type {number} */ (reader.readInt32());
19890
+ msg.setLimit(value);
19718
19891
  break;
19719
19892
  default:
19720
19893
  reader.skipField();
@@ -19729,9 +19902,9 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization
19729
19902
  * Serializes the message to binary data (in protobuf wire format).
19730
19903
  * @return {!Uint8Array}
19731
19904
  */
19732
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.serializeBinary = function() {
19905
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.serializeBinary = function() {
19733
19906
  var writer = new jspb.BinaryWriter();
19734
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.serializeBinaryToWriter(this, writer);
19907
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.serializeBinaryToWriter(this, writer);
19735
19908
  return writer.getResultBuffer();
19736
19909
  };
19737
19910
 
@@ -19739,22 +19912,22 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization
19739
19912
  /**
19740
19913
  * Serializes the given message to binary data (in protobuf wire
19741
19914
  * format), writing to the given BinaryWriter.
19742
- * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} message
19915
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} message
19743
19916
  * @param {!jspb.BinaryWriter} writer
19744
19917
  * @suppress {unusedLocalVariables} f is only used for nested messages
19745
19918
  */
19746
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.serializeBinaryToWriter = function(message, writer) {
19919
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.serializeBinaryToWriter = function(message, writer) {
19747
19920
  var f = undefined;
19748
- f = message.getId();
19749
- if (f.length > 0) {
19750
- writer.writeString(
19921
+ f = message.getOffset();
19922
+ if (f !== 0) {
19923
+ writer.writeInt32(
19751
19924
  1,
19752
19925
  f
19753
19926
  );
19754
19927
  }
19755
- f = message.getName();
19756
- if (f.length > 0) {
19757
- writer.writeString(
19928
+ f = message.getLimit();
19929
+ if (f !== 0) {
19930
+ writer.writeInt32(
19758
19931
  2,
19759
19932
  f
19760
19933
  );
@@ -19763,42 +19936,122 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization
19763
19936
 
19764
19937
 
19765
19938
  /**
19766
- * optional string id = 1;
19939
+ * optional int32 offset = 1;
19940
+ * @return {number}
19941
+ */
19942
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.getOffset = function() {
19943
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
19944
+ };
19945
+
19946
+
19947
+ /**
19948
+ * @param {number} value
19949
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} returns this
19950
+ */
19951
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.setOffset = function(value) {
19952
+ return jspb.Message.setProto3IntField(this, 1, value);
19953
+ };
19954
+
19955
+
19956
+ /**
19957
+ * optional int32 limit = 2;
19958
+ * @return {number}
19959
+ */
19960
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.getLimit = function() {
19961
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
19962
+ };
19963
+
19964
+
19965
+ /**
19966
+ * @param {number} value
19967
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} returns this
19968
+ */
19969
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.setLimit = function(value) {
19970
+ return jspb.Message.setProto3IntField(this, 2, value);
19971
+ };
19972
+
19973
+
19974
+ /**
19975
+ * optional string user_id = 1;
19767
19976
  * @return {string}
19768
19977
  */
19769
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.getId = function() {
19978
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.getUserId = function() {
19770
19979
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
19771
19980
  };
19772
19981
 
19773
19982
 
19774
19983
  /**
19775
19984
  * @param {string} value
19776
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} returns this
19985
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} returns this
19777
19986
  */
19778
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.setId = function(value) {
19987
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.setUserId = function(value) {
19779
19988
  return jspb.Message.setProto3StringField(this, 1, value);
19780
19989
  };
19781
19990
 
19782
19991
 
19783
19992
  /**
19784
- * optional string name = 2;
19993
+ * optional MsmpPaginationRequest msmp_pagination = 2;
19994
+ * @return {?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest}
19995
+ */
19996
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.getMsmpPagination = function() {
19997
+ return /** @type{?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} */ (
19998
+ jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest, 2));
19999
+ };
20000
+
20001
+
20002
+ /**
20003
+ * @param {?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest|undefined} value
20004
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} returns this
20005
+ */
20006
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.setMsmpPagination = function(value) {
20007
+ return jspb.Message.setWrapperField(this, 2, value);
20008
+ };
20009
+
20010
+
20011
+ /**
20012
+ * Clears the message field making it undefined.
20013
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} returns this
20014
+ */
20015
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.clearMsmpPagination = function() {
20016
+ return this.setMsmpPagination(undefined);
20017
+ };
20018
+
20019
+
20020
+ /**
20021
+ * Returns whether this field is set.
20022
+ * @return {boolean}
20023
+ */
20024
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.hasMsmpPagination = function() {
20025
+ return jspb.Message.getField(this, 2) != null;
20026
+ };
20027
+
20028
+
20029
+ /**
20030
+ * optional string trace_id = 3;
19785
20031
  * @return {string}
19786
20032
  */
19787
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.getName = function() {
19788
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
20033
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.getTraceId = function() {
20034
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
19789
20035
  };
19790
20036
 
19791
20037
 
19792
20038
  /**
19793
20039
  * @param {string} value
19794
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} returns this
20040
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} returns this
19795
20041
  */
19796
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.setName = function(value) {
19797
- return jspb.Message.setProto3StringField(this, 2, value);
20042
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.setTraceId = function(value) {
20043
+ return jspb.Message.setProto3StringField(this, 3, value);
19798
20044
  };
19799
20045
 
19800
20046
 
19801
20047
 
20048
+ /**
20049
+ * List of repeated fields within this message type.
20050
+ * @private {!Array<number>}
20051
+ * @const
20052
+ */
20053
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.repeatedFields_ = [1];
20054
+
19802
20055
 
19803
20056
 
19804
20057
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -19814,8 +20067,297 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
19814
20067
  * http://goto/soy-param-migration
19815
20068
  * @return {!Object}
19816
20069
  */
19817
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.toObject = function(opt_includeInstance) {
19818
- return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.toObject(opt_includeInstance, this);
20070
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.toObject = function(opt_includeInstance) {
20071
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.toObject(opt_includeInstance, this);
20072
+ };
20073
+
20074
+
20075
+ /**
20076
+ * Static version of the {@see toObject} method.
20077
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
20078
+ * the JSPB instance for transitional soy proto support:
20079
+ * http://goto/soy-param-migration
20080
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} msg The msg instance to transform.
20081
+ * @return {!Object}
20082
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20083
+ */
20084
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.toObject = function(includeInstance, msg) {
20085
+ var f, obj = {
20086
+ organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(),
20087
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.toObject, includeInstance),
20088
+ msmpPageInfo: (f = msg.getMsmpPageInfo()) && proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.toObject(includeInstance, f)
20089
+ };
20090
+
20091
+ if (includeInstance) {
20092
+ obj.$jspbMessageInstance = msg;
20093
+ }
20094
+ return obj;
20095
+ };
20096
+ }
20097
+
20098
+
20099
+ /**
20100
+ * Deserializes binary data (in protobuf wire format).
20101
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
20102
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse}
20103
+ */
20104
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.deserializeBinary = function(bytes) {
20105
+ var reader = new jspb.BinaryReader(bytes);
20106
+ var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse;
20107
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.deserializeBinaryFromReader(msg, reader);
20108
+ };
20109
+
20110
+
20111
+ /**
20112
+ * Deserializes binary data (in protobuf wire format) from the
20113
+ * given reader into the given message object.
20114
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} msg The message object to deserialize into.
20115
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
20116
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse}
20117
+ */
20118
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.deserializeBinaryFromReader = function(msg, reader) {
20119
+ while (reader.nextField()) {
20120
+ if (reader.isEndGroup()) {
20121
+ break;
20122
+ }
20123
+ var field = reader.getFieldNumber();
20124
+ switch (field) {
20125
+ case 1:
20126
+ var value = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization;
20127
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.deserializeBinaryFromReader);
20128
+ msg.addOrganizations(value);
20129
+ break;
20130
+ case 2:
20131
+ var value = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo;
20132
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.deserializeBinaryFromReader);
20133
+ msg.setMsmpPageInfo(value);
20134
+ break;
20135
+ default:
20136
+ reader.skipField();
20137
+ break;
20138
+ }
20139
+ }
20140
+ return msg;
20141
+ };
20142
+
20143
+
20144
+ /**
20145
+ * Serializes the message to binary data (in protobuf wire format).
20146
+ * @return {!Uint8Array}
20147
+ */
20148
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.serializeBinary = function() {
20149
+ var writer = new jspb.BinaryWriter();
20150
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.serializeBinaryToWriter(this, writer);
20151
+ return writer.getResultBuffer();
20152
+ };
20153
+
20154
+
20155
+ /**
20156
+ * Serializes the given message to binary data (in protobuf wire
20157
+ * format), writing to the given BinaryWriter.
20158
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} message
20159
+ * @param {!jspb.BinaryWriter} writer
20160
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20161
+ */
20162
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.serializeBinaryToWriter = function(message, writer) {
20163
+ var f = undefined;
20164
+ f = message.getOrganizationsList();
20165
+ if (f.length > 0) {
20166
+ writer.writeRepeatedMessage(
20167
+ 1,
20168
+ f,
20169
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.serializeBinaryToWriter
20170
+ );
20171
+ }
20172
+ f = message.getMsmpPageInfo();
20173
+ if (f != null) {
20174
+ writer.writeMessage(
20175
+ 2,
20176
+ f,
20177
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.serializeBinaryToWriter
20178
+ );
20179
+ }
20180
+ };
20181
+
20182
+
20183
+
20184
+
20185
+
20186
+ if (jspb.Message.GENERATE_TO_OBJECT) {
20187
+ /**
20188
+ * Creates an object representation of this proto.
20189
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
20190
+ * Optional fields that are not set will be set to undefined.
20191
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
20192
+ * For the list of reserved names please see:
20193
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
20194
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
20195
+ * JSPB instance for transitional soy proto support:
20196
+ * http://goto/soy-param-migration
20197
+ * @return {!Object}
20198
+ */
20199
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.toObject = function(opt_includeInstance) {
20200
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.toObject(opt_includeInstance, this);
20201
+ };
20202
+
20203
+
20204
+ /**
20205
+ * Static version of the {@see toObject} method.
20206
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
20207
+ * the JSPB instance for transitional soy proto support:
20208
+ * http://goto/soy-param-migration
20209
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} msg The msg instance to transform.
20210
+ * @return {!Object}
20211
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20212
+ */
20213
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.toObject = function(includeInstance, msg) {
20214
+ var f, obj = {
20215
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
20216
+ name: jspb.Message.getFieldWithDefault(msg, 2, "")
20217
+ };
20218
+
20219
+ if (includeInstance) {
20220
+ obj.$jspbMessageInstance = msg;
20221
+ }
20222
+ return obj;
20223
+ };
20224
+ }
20225
+
20226
+
20227
+ /**
20228
+ * Deserializes binary data (in protobuf wire format).
20229
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
20230
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization}
20231
+ */
20232
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.deserializeBinary = function(bytes) {
20233
+ var reader = new jspb.BinaryReader(bytes);
20234
+ var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization;
20235
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.deserializeBinaryFromReader(msg, reader);
20236
+ };
20237
+
20238
+
20239
+ /**
20240
+ * Deserializes binary data (in protobuf wire format) from the
20241
+ * given reader into the given message object.
20242
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} msg The message object to deserialize into.
20243
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
20244
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization}
20245
+ */
20246
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.deserializeBinaryFromReader = function(msg, reader) {
20247
+ while (reader.nextField()) {
20248
+ if (reader.isEndGroup()) {
20249
+ break;
20250
+ }
20251
+ var field = reader.getFieldNumber();
20252
+ switch (field) {
20253
+ case 1:
20254
+ var value = /** @type {string} */ (reader.readString());
20255
+ msg.setId(value);
20256
+ break;
20257
+ case 2:
20258
+ var value = /** @type {string} */ (reader.readString());
20259
+ msg.setName(value);
20260
+ break;
20261
+ default:
20262
+ reader.skipField();
20263
+ break;
20264
+ }
20265
+ }
20266
+ return msg;
20267
+ };
20268
+
20269
+
20270
+ /**
20271
+ * Serializes the message to binary data (in protobuf wire format).
20272
+ * @return {!Uint8Array}
20273
+ */
20274
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.serializeBinary = function() {
20275
+ var writer = new jspb.BinaryWriter();
20276
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.serializeBinaryToWriter(this, writer);
20277
+ return writer.getResultBuffer();
20278
+ };
20279
+
20280
+
20281
+ /**
20282
+ * Serializes the given message to binary data (in protobuf wire
20283
+ * format), writing to the given BinaryWriter.
20284
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} message
20285
+ * @param {!jspb.BinaryWriter} writer
20286
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20287
+ */
20288
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.serializeBinaryToWriter = function(message, writer) {
20289
+ var f = undefined;
20290
+ f = message.getId();
20291
+ if (f.length > 0) {
20292
+ writer.writeString(
20293
+ 1,
20294
+ f
20295
+ );
20296
+ }
20297
+ f = message.getName();
20298
+ if (f.length > 0) {
20299
+ writer.writeString(
20300
+ 2,
20301
+ f
20302
+ );
20303
+ }
20304
+ };
20305
+
20306
+
20307
+ /**
20308
+ * optional string id = 1;
20309
+ * @return {string}
20310
+ */
20311
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.getId = function() {
20312
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
20313
+ };
20314
+
20315
+
20316
+ /**
20317
+ * @param {string} value
20318
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} returns this
20319
+ */
20320
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.setId = function(value) {
20321
+ return jspb.Message.setProto3StringField(this, 1, value);
20322
+ };
20323
+
20324
+
20325
+ /**
20326
+ * optional string name = 2;
20327
+ * @return {string}
20328
+ */
20329
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.getName = function() {
20330
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
20331
+ };
20332
+
20333
+
20334
+ /**
20335
+ * @param {string} value
20336
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} returns this
20337
+ */
20338
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.setName = function(value) {
20339
+ return jspb.Message.setProto3StringField(this, 2, value);
20340
+ };
20341
+
20342
+
20343
+
20344
+
20345
+
20346
+ if (jspb.Message.GENERATE_TO_OBJECT) {
20347
+ /**
20348
+ * Creates an object representation of this proto.
20349
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
20350
+ * Optional fields that are not set will be set to undefined.
20351
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
20352
+ * For the list of reserved names please see:
20353
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
20354
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
20355
+ * JSPB instance for transitional soy proto support:
20356
+ * http://goto/soy-param-migration
20357
+ * @return {!Object}
20358
+ */
20359
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.toObject = function(opt_includeInstance) {
20360
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.toObject(opt_includeInstance, this);
19819
20361
  };
19820
20362
 
19821
20363
 
@@ -19828,12 +20370,717 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.pro
19828
20370
  * @return {!Object}
19829
20371
  * @suppress {unusedLocalVariables} f is only used for nested messages
19830
20372
  */
19831
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.toObject = function(includeInstance, msg) {
20373
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.toObject = function(includeInstance, msg) {
20374
+ var f, obj = {
20375
+ total: jspb.Message.getFieldWithDefault(msg, 1, 0),
20376
+ offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
20377
+ limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
20378
+ hasNextPage: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
20379
+ };
20380
+
20381
+ if (includeInstance) {
20382
+ obj.$jspbMessageInstance = msg;
20383
+ }
20384
+ return obj;
20385
+ };
20386
+ }
20387
+
20388
+
20389
+ /**
20390
+ * Deserializes binary data (in protobuf wire format).
20391
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
20392
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo}
20393
+ */
20394
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.deserializeBinary = function(bytes) {
20395
+ var reader = new jspb.BinaryReader(bytes);
20396
+ var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo;
20397
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.deserializeBinaryFromReader(msg, reader);
20398
+ };
20399
+
20400
+
20401
+ /**
20402
+ * Deserializes binary data (in protobuf wire format) from the
20403
+ * given reader into the given message object.
20404
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} msg The message object to deserialize into.
20405
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
20406
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo}
20407
+ */
20408
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.deserializeBinaryFromReader = function(msg, reader) {
20409
+ while (reader.nextField()) {
20410
+ if (reader.isEndGroup()) {
20411
+ break;
20412
+ }
20413
+ var field = reader.getFieldNumber();
20414
+ switch (field) {
20415
+ case 1:
20416
+ var value = /** @type {number} */ (reader.readInt32());
20417
+ msg.setTotal(value);
20418
+ break;
20419
+ case 2:
20420
+ var value = /** @type {number} */ (reader.readInt32());
20421
+ msg.setOffset(value);
20422
+ break;
20423
+ case 3:
20424
+ var value = /** @type {number} */ (reader.readInt32());
20425
+ msg.setLimit(value);
20426
+ break;
20427
+ case 4:
20428
+ var value = /** @type {boolean} */ (reader.readBool());
20429
+ msg.setHasNextPage(value);
20430
+ break;
20431
+ default:
20432
+ reader.skipField();
20433
+ break;
20434
+ }
20435
+ }
20436
+ return msg;
20437
+ };
20438
+
20439
+
20440
+ /**
20441
+ * Serializes the message to binary data (in protobuf wire format).
20442
+ * @return {!Uint8Array}
20443
+ */
20444
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.serializeBinary = function() {
20445
+ var writer = new jspb.BinaryWriter();
20446
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.serializeBinaryToWriter(this, writer);
20447
+ return writer.getResultBuffer();
20448
+ };
20449
+
20450
+
20451
+ /**
20452
+ * Serializes the given message to binary data (in protobuf wire
20453
+ * format), writing to the given BinaryWriter.
20454
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} message
20455
+ * @param {!jspb.BinaryWriter} writer
20456
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20457
+ */
20458
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.serializeBinaryToWriter = function(message, writer) {
20459
+ var f = undefined;
20460
+ f = message.getTotal();
20461
+ if (f !== 0) {
20462
+ writer.writeInt32(
20463
+ 1,
20464
+ f
20465
+ );
20466
+ }
20467
+ f = message.getOffset();
20468
+ if (f !== 0) {
20469
+ writer.writeInt32(
20470
+ 2,
20471
+ f
20472
+ );
20473
+ }
20474
+ f = message.getLimit();
20475
+ if (f !== 0) {
20476
+ writer.writeInt32(
20477
+ 3,
20478
+ f
20479
+ );
20480
+ }
20481
+ f = message.getHasNextPage();
20482
+ if (f) {
20483
+ writer.writeBool(
20484
+ 4,
20485
+ f
20486
+ );
20487
+ }
20488
+ };
20489
+
20490
+
20491
+ /**
20492
+ * optional int32 total = 1;
20493
+ * @return {number}
20494
+ */
20495
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getTotal = function() {
20496
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
20497
+ };
20498
+
20499
+
20500
+ /**
20501
+ * @param {number} value
20502
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
20503
+ */
20504
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setTotal = function(value) {
20505
+ return jspb.Message.setProto3IntField(this, 1, value);
20506
+ };
20507
+
20508
+
20509
+ /**
20510
+ * optional int32 offset = 2;
20511
+ * @return {number}
20512
+ */
20513
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getOffset = function() {
20514
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
20515
+ };
20516
+
20517
+
20518
+ /**
20519
+ * @param {number} value
20520
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
20521
+ */
20522
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setOffset = function(value) {
20523
+ return jspb.Message.setProto3IntField(this, 2, value);
20524
+ };
20525
+
20526
+
20527
+ /**
20528
+ * optional int32 limit = 3;
20529
+ * @return {number}
20530
+ */
20531
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getLimit = function() {
20532
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
20533
+ };
20534
+
20535
+
20536
+ /**
20537
+ * @param {number} value
20538
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
20539
+ */
20540
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setLimit = function(value) {
20541
+ return jspb.Message.setProto3IntField(this, 3, value);
20542
+ };
20543
+
20544
+
20545
+ /**
20546
+ * optional bool has_next_page = 4;
20547
+ * @return {boolean}
20548
+ */
20549
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getHasNextPage = function() {
20550
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
20551
+ };
20552
+
20553
+
20554
+ /**
20555
+ * @param {boolean} value
20556
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
20557
+ */
20558
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setHasNextPage = function(value) {
20559
+ return jspb.Message.setProto3BooleanField(this, 4, value);
20560
+ };
20561
+
20562
+
20563
+ /**
20564
+ * repeated MsmpOrganization organizations = 1;
20565
+ * @return {!Array<!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization>}
20566
+ */
20567
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.getOrganizationsList = function() {
20568
+ return /** @type{!Array<!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization>} */ (
20569
+ jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization, 1));
20570
+ };
20571
+
20572
+
20573
+ /**
20574
+ * @param {!Array<!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization>} value
20575
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
20576
+ */
20577
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.setOrganizationsList = function(value) {
20578
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
20579
+ };
20580
+
20581
+
20582
+ /**
20583
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization=} opt_value
20584
+ * @param {number=} opt_index
20585
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization}
20586
+ */
20587
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.addOrganizations = function(opt_value, opt_index) {
20588
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization, opt_index);
20589
+ };
20590
+
20591
+
20592
+ /**
20593
+ * Clears the list making it empty but non-null.
20594
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
20595
+ */
20596
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.clearOrganizationsList = function() {
20597
+ return this.setOrganizationsList([]);
20598
+ };
20599
+
20600
+
20601
+ /**
20602
+ * optional MsmpPageInfo msmp_page_info = 2;
20603
+ * @return {?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo}
20604
+ */
20605
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.getMsmpPageInfo = function() {
20606
+ return /** @type{?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} */ (
20607
+ jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo, 2));
20608
+ };
20609
+
20610
+
20611
+ /**
20612
+ * @param {?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo|undefined} value
20613
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
20614
+ */
20615
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.setMsmpPageInfo = function(value) {
20616
+ return jspb.Message.setWrapperField(this, 2, value);
20617
+ };
20618
+
20619
+
20620
+ /**
20621
+ * Clears the message field making it undefined.
20622
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
20623
+ */
20624
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.clearMsmpPageInfo = function() {
20625
+ return this.setMsmpPageInfo(undefined);
20626
+ };
20627
+
20628
+
20629
+ /**
20630
+ * Returns whether this field is set.
20631
+ * @return {boolean}
20632
+ */
20633
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.hasMsmpPageInfo = function() {
20634
+ return jspb.Message.getField(this, 2) != null;
20635
+ };
20636
+
20637
+
20638
+
20639
+
20640
+
20641
+ if (jspb.Message.GENERATE_TO_OBJECT) {
20642
+ /**
20643
+ * Creates an object representation of this proto.
20644
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
20645
+ * Optional fields that are not set will be set to undefined.
20646
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
20647
+ * For the list of reserved names please see:
20648
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
20649
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
20650
+ * JSPB instance for transitional soy proto support:
20651
+ * http://goto/soy-param-migration
20652
+ * @return {!Object}
20653
+ */
20654
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.prototype.toObject = function(opt_includeInstance) {
20655
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.toObject(opt_includeInstance, this);
20656
+ };
20657
+
20658
+
20659
+ /**
20660
+ * Static version of the {@see toObject} method.
20661
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
20662
+ * the JSPB instance for transitional soy proto support:
20663
+ * http://goto/soy-param-migration
20664
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest} msg The msg instance to transform.
20665
+ * @return {!Object}
20666
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20667
+ */
20668
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.toObject = function(includeInstance, msg) {
20669
+ var f, obj = {
20670
+ userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
20671
+ msmpOrganizationId: jspb.Message.getFieldWithDefault(msg, 2, ""),
20672
+ traceId: jspb.Message.getFieldWithDefault(msg, 3, "")
20673
+ };
20674
+
20675
+ if (includeInstance) {
20676
+ obj.$jspbMessageInstance = msg;
20677
+ }
20678
+ return obj;
20679
+ };
20680
+ }
20681
+
20682
+
20683
+ /**
20684
+ * Deserializes binary data (in protobuf wire format).
20685
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
20686
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest}
20687
+ */
20688
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.deserializeBinary = function(bytes) {
20689
+ var reader = new jspb.BinaryReader(bytes);
20690
+ var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest;
20691
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.deserializeBinaryFromReader(msg, reader);
20692
+ };
20693
+
20694
+
20695
+ /**
20696
+ * Deserializes binary data (in protobuf wire format) from the
20697
+ * given reader into the given message object.
20698
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest} msg The message object to deserialize into.
20699
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
20700
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest}
20701
+ */
20702
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
20703
+ while (reader.nextField()) {
20704
+ if (reader.isEndGroup()) {
20705
+ break;
20706
+ }
20707
+ var field = reader.getFieldNumber();
20708
+ switch (field) {
20709
+ case 1:
20710
+ var value = /** @type {string} */ (reader.readString());
20711
+ msg.setUserId(value);
20712
+ break;
20713
+ case 2:
20714
+ var value = /** @type {string} */ (reader.readString());
20715
+ msg.setMsmpOrganizationId(value);
20716
+ break;
20717
+ case 3:
20718
+ var value = /** @type {string} */ (reader.readString());
20719
+ msg.setTraceId(value);
20720
+ break;
20721
+ default:
20722
+ reader.skipField();
20723
+ break;
20724
+ }
20725
+ }
20726
+ return msg;
20727
+ };
20728
+
20729
+
20730
+ /**
20731
+ * Serializes the message to binary data (in protobuf wire format).
20732
+ * @return {!Uint8Array}
20733
+ */
20734
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.prototype.serializeBinary = function() {
20735
+ var writer = new jspb.BinaryWriter();
20736
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.serializeBinaryToWriter(this, writer);
20737
+ return writer.getResultBuffer();
20738
+ };
20739
+
20740
+
20741
+ /**
20742
+ * Serializes the given message to binary data (in protobuf wire
20743
+ * format), writing to the given BinaryWriter.
20744
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest} message
20745
+ * @param {!jspb.BinaryWriter} writer
20746
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20747
+ */
20748
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.serializeBinaryToWriter = function(message, writer) {
20749
+ var f = undefined;
20750
+ f = message.getUserId();
20751
+ if (f.length > 0) {
20752
+ writer.writeString(
20753
+ 1,
20754
+ f
20755
+ );
20756
+ }
20757
+ f = message.getMsmpOrganizationId();
20758
+ if (f.length > 0) {
20759
+ writer.writeString(
20760
+ 2,
20761
+ f
20762
+ );
20763
+ }
20764
+ f = message.getTraceId();
20765
+ if (f.length > 0) {
20766
+ writer.writeString(
20767
+ 3,
20768
+ f
20769
+ );
20770
+ }
20771
+ };
20772
+
20773
+
20774
+ /**
20775
+ * optional string user_id = 1;
20776
+ * @return {string}
20777
+ */
20778
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.prototype.getUserId = function() {
20779
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
20780
+ };
20781
+
20782
+
20783
+ /**
20784
+ * @param {string} value
20785
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest} returns this
20786
+ */
20787
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.prototype.setUserId = function(value) {
20788
+ return jspb.Message.setProto3StringField(this, 1, value);
20789
+ };
20790
+
20791
+
20792
+ /**
20793
+ * optional string msmp_organization_id = 2;
20794
+ * @return {string}
20795
+ */
20796
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.prototype.getMsmpOrganizationId = function() {
20797
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
20798
+ };
20799
+
20800
+
20801
+ /**
20802
+ * @param {string} value
20803
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest} returns this
20804
+ */
20805
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.prototype.setMsmpOrganizationId = function(value) {
20806
+ return jspb.Message.setProto3StringField(this, 2, value);
20807
+ };
20808
+
20809
+
20810
+ /**
20811
+ * optional string trace_id = 3;
20812
+ * @return {string}
20813
+ */
20814
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.prototype.getTraceId = function() {
20815
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
20816
+ };
20817
+
20818
+
20819
+ /**
20820
+ * @param {string} value
20821
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest} returns this
20822
+ */
20823
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest.prototype.setTraceId = function(value) {
20824
+ return jspb.Message.setProto3StringField(this, 3, value);
20825
+ };
20826
+
20827
+
20828
+
20829
+
20830
+
20831
+ if (jspb.Message.GENERATE_TO_OBJECT) {
20832
+ /**
20833
+ * Creates an object representation of this proto.
20834
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
20835
+ * Optional fields that are not set will be set to undefined.
20836
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
20837
+ * For the list of reserved names please see:
20838
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
20839
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
20840
+ * JSPB instance for transitional soy proto support:
20841
+ * http://goto/soy-param-migration
20842
+ * @return {!Object}
20843
+ */
20844
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.prototype.toObject = function(opt_includeInstance) {
20845
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.toObject(opt_includeInstance, this);
20846
+ };
20847
+
20848
+
20849
+ /**
20850
+ * Static version of the {@see toObject} method.
20851
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
20852
+ * the JSPB instance for transitional soy proto support:
20853
+ * http://goto/soy-param-migration
20854
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse} msg The msg instance to transform.
20855
+ * @return {!Object}
20856
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20857
+ */
20858
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.toObject = function(includeInstance, msg) {
20859
+ var f, obj = {
20860
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
20861
+ role: jspb.Message.getFieldWithDefault(msg, 2, ""),
20862
+ isPending: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
20863
+ hasAccessedMultiSiteManagementPortal: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
20864
+ };
20865
+
20866
+ if (includeInstance) {
20867
+ obj.$jspbMessageInstance = msg;
20868
+ }
20869
+ return obj;
20870
+ };
20871
+ }
20872
+
20873
+
20874
+ /**
20875
+ * Deserializes binary data (in protobuf wire format).
20876
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
20877
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse}
20878
+ */
20879
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.deserializeBinary = function(bytes) {
20880
+ var reader = new jspb.BinaryReader(bytes);
20881
+ var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse;
20882
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.deserializeBinaryFromReader(msg, reader);
20883
+ };
20884
+
20885
+
20886
+ /**
20887
+ * Deserializes binary data (in protobuf wire format) from the
20888
+ * given reader into the given message object.
20889
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse} msg The message object to deserialize into.
20890
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
20891
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse}
20892
+ */
20893
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.deserializeBinaryFromReader = function(msg, reader) {
20894
+ while (reader.nextField()) {
20895
+ if (reader.isEndGroup()) {
20896
+ break;
20897
+ }
20898
+ var field = reader.getFieldNumber();
20899
+ switch (field) {
20900
+ case 1:
20901
+ var value = /** @type {string} */ (reader.readString());
20902
+ msg.setId(value);
20903
+ break;
20904
+ case 2:
20905
+ var value = /** @type {string} */ (reader.readString());
20906
+ msg.setRole(value);
20907
+ break;
20908
+ case 3:
20909
+ var value = /** @type {boolean} */ (reader.readBool());
20910
+ msg.setIsPending(value);
20911
+ break;
20912
+ case 4:
20913
+ var value = /** @type {boolean} */ (reader.readBool());
20914
+ msg.setHasAccessedMultiSiteManagementPortal(value);
20915
+ break;
20916
+ default:
20917
+ reader.skipField();
20918
+ break;
20919
+ }
20920
+ }
20921
+ return msg;
20922
+ };
20923
+
20924
+
20925
+ /**
20926
+ * Serializes the message to binary data (in protobuf wire format).
20927
+ * @return {!Uint8Array}
20928
+ */
20929
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.prototype.serializeBinary = function() {
20930
+ var writer = new jspb.BinaryWriter();
20931
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.serializeBinaryToWriter(this, writer);
20932
+ return writer.getResultBuffer();
20933
+ };
20934
+
20935
+
20936
+ /**
20937
+ * Serializes the given message to binary data (in protobuf wire
20938
+ * format), writing to the given BinaryWriter.
20939
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse} message
20940
+ * @param {!jspb.BinaryWriter} writer
20941
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20942
+ */
20943
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.serializeBinaryToWriter = function(message, writer) {
20944
+ var f = undefined;
20945
+ f = message.getId();
20946
+ if (f.length > 0) {
20947
+ writer.writeString(
20948
+ 1,
20949
+ f
20950
+ );
20951
+ }
20952
+ f = message.getRole();
20953
+ if (f.length > 0) {
20954
+ writer.writeString(
20955
+ 2,
20956
+ f
20957
+ );
20958
+ }
20959
+ f = message.getIsPending();
20960
+ if (f) {
20961
+ writer.writeBool(
20962
+ 3,
20963
+ f
20964
+ );
20965
+ }
20966
+ f = message.getHasAccessedMultiSiteManagementPortal();
20967
+ if (f) {
20968
+ writer.writeBool(
20969
+ 4,
20970
+ f
20971
+ );
20972
+ }
20973
+ };
20974
+
20975
+
20976
+ /**
20977
+ * optional string id = 1;
20978
+ * @return {string}
20979
+ */
20980
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.prototype.getId = function() {
20981
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
20982
+ };
20983
+
20984
+
20985
+ /**
20986
+ * @param {string} value
20987
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse} returns this
20988
+ */
20989
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.prototype.setId = function(value) {
20990
+ return jspb.Message.setProto3StringField(this, 1, value);
20991
+ };
20992
+
20993
+
20994
+ /**
20995
+ * optional string role = 2;
20996
+ * @return {string}
20997
+ */
20998
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.prototype.getRole = function() {
20999
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
21000
+ };
21001
+
21002
+
21003
+ /**
21004
+ * @param {string} value
21005
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse} returns this
21006
+ */
21007
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.prototype.setRole = function(value) {
21008
+ return jspb.Message.setProto3StringField(this, 2, value);
21009
+ };
21010
+
21011
+
21012
+ /**
21013
+ * optional bool is_pending = 3;
21014
+ * @return {boolean}
21015
+ */
21016
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.prototype.getIsPending = function() {
21017
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
21018
+ };
21019
+
21020
+
21021
+ /**
21022
+ * @param {boolean} value
21023
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse} returns this
21024
+ */
21025
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.prototype.setIsPending = function(value) {
21026
+ return jspb.Message.setProto3BooleanField(this, 3, value);
21027
+ };
21028
+
21029
+
21030
+ /**
21031
+ * optional bool has_accessed_multi_site_management_portal = 4;
21032
+ * @return {boolean}
21033
+ */
21034
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.prototype.getHasAccessedMultiSiteManagementPortal = function() {
21035
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
21036
+ };
21037
+
21038
+
21039
+ /**
21040
+ * @param {boolean} value
21041
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse} returns this
21042
+ */
21043
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse.prototype.setHasAccessedMultiSiteManagementPortal = function(value) {
21044
+ return jspb.Message.setProto3BooleanField(this, 4, value);
21045
+ };
21046
+
21047
+
21048
+
21049
+
21050
+
21051
+ if (jspb.Message.GENERATE_TO_OBJECT) {
21052
+ /**
21053
+ * Creates an object representation of this proto.
21054
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
21055
+ * Optional fields that are not set will be set to undefined.
21056
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
21057
+ * For the list of reserved names please see:
21058
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
21059
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
21060
+ * JSPB instance for transitional soy proto support:
21061
+ * http://goto/soy-param-migration
21062
+ * @return {!Object}
21063
+ */
21064
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.prototype.toObject = function(opt_includeInstance) {
21065
+ return proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.toObject(opt_includeInstance, this);
21066
+ };
21067
+
21068
+
21069
+ /**
21070
+ * Static version of the {@see toObject} method.
21071
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
21072
+ * the JSPB instance for transitional soy proto support:
21073
+ * http://goto/soy-param-migration
21074
+ * @param {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest} msg The msg instance to transform.
21075
+ * @return {!Object}
21076
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21077
+ */
21078
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.toObject = function(includeInstance, msg) {
19832
21079
  var f, obj = {
19833
- total: jspb.Message.getFieldWithDefault(msg, 1, 0),
19834
- offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
19835
- limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
19836
- hasNextPage: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
21080
+ userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
21081
+ msmpOrganizationId: jspb.Message.getFieldWithDefault(msg, 2, ""),
21082
+ msmpPagination: (f = msg.getMsmpPagination()) && proto.lansweeper.multitenant.v1.MsmpPagination.toObject(includeInstance, f),
21083
+ traceId: jspb.Message.getFieldWithDefault(msg, 4, "")
19837
21084
  };
19838
21085
 
19839
21086
  if (includeInstance) {
@@ -19847,23 +21094,23 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.toO
19847
21094
  /**
19848
21095
  * Deserializes binary data (in protobuf wire format).
19849
21096
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
19850
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo}
21097
+ * @return {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest}
19851
21098
  */
19852
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.deserializeBinary = function(bytes) {
21099
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.deserializeBinary = function(bytes) {
19853
21100
  var reader = new jspb.BinaryReader(bytes);
19854
- var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo;
19855
- return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.deserializeBinaryFromReader(msg, reader);
21101
+ var msg = new proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest;
21102
+ return proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.deserializeBinaryFromReader(msg, reader);
19856
21103
  };
19857
21104
 
19858
21105
 
19859
21106
  /**
19860
21107
  * Deserializes binary data (in protobuf wire format) from the
19861
21108
  * given reader into the given message object.
19862
- * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} msg The message object to deserialize into.
21109
+ * @param {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest} msg The message object to deserialize into.
19863
21110
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19864
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo}
21111
+ * @return {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest}
19865
21112
  */
19866
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.deserializeBinaryFromReader = function(msg, reader) {
21113
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.deserializeBinaryFromReader = function(msg, reader) {
19867
21114
  while (reader.nextField()) {
19868
21115
  if (reader.isEndGroup()) {
19869
21116
  break;
@@ -19871,20 +21118,21 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.des
19871
21118
  var field = reader.getFieldNumber();
19872
21119
  switch (field) {
19873
21120
  case 1:
19874
- var value = /** @type {number} */ (reader.readInt32());
19875
- msg.setTotal(value);
21121
+ var value = /** @type {string} */ (reader.readString());
21122
+ msg.setUserId(value);
19876
21123
  break;
19877
21124
  case 2:
19878
- var value = /** @type {number} */ (reader.readInt32());
19879
- msg.setOffset(value);
21125
+ var value = /** @type {string} */ (reader.readString());
21126
+ msg.setMsmpOrganizationId(value);
19880
21127
  break;
19881
21128
  case 3:
19882
- var value = /** @type {number} */ (reader.readInt32());
19883
- msg.setLimit(value);
21129
+ var value = new proto.lansweeper.multitenant.v1.MsmpPagination;
21130
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.MsmpPagination.deserializeBinaryFromReader);
21131
+ msg.setMsmpPagination(value);
19884
21132
  break;
19885
21133
  case 4:
19886
- var value = /** @type {boolean} */ (reader.readBool());
19887
- msg.setHasNextPage(value);
21134
+ var value = /** @type {string} */ (reader.readString());
21135
+ msg.setTraceId(value);
19888
21136
  break;
19889
21137
  default:
19890
21138
  reader.skipField();
@@ -19899,9 +21147,9 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.des
19899
21147
  * Serializes the message to binary data (in protobuf wire format).
19900
21148
  * @return {!Uint8Array}
19901
21149
  */
19902
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.serializeBinary = function() {
21150
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.prototype.serializeBinary = function() {
19903
21151
  var writer = new jspb.BinaryWriter();
19904
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.serializeBinaryToWriter(this, writer);
21152
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.serializeBinaryToWriter(this, writer);
19905
21153
  return writer.getResultBuffer();
19906
21154
  };
19907
21155
 
@@ -19909,36 +21157,37 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.pro
19909
21157
  /**
19910
21158
  * Serializes the given message to binary data (in protobuf wire
19911
21159
  * format), writing to the given BinaryWriter.
19912
- * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} message
21160
+ * @param {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest} message
19913
21161
  * @param {!jspb.BinaryWriter} writer
19914
21162
  * @suppress {unusedLocalVariables} f is only used for nested messages
19915
21163
  */
19916
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.serializeBinaryToWriter = function(message, writer) {
21164
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.serializeBinaryToWriter = function(message, writer) {
19917
21165
  var f = undefined;
19918
- f = message.getTotal();
19919
- if (f !== 0) {
19920
- writer.writeInt32(
21166
+ f = message.getUserId();
21167
+ if (f.length > 0) {
21168
+ writer.writeString(
19921
21169
  1,
19922
21170
  f
19923
21171
  );
19924
21172
  }
19925
- f = message.getOffset();
19926
- if (f !== 0) {
19927
- writer.writeInt32(
21173
+ f = message.getMsmpOrganizationId();
21174
+ if (f.length > 0) {
21175
+ writer.writeString(
19928
21176
  2,
19929
21177
  f
19930
21178
  );
19931
21179
  }
19932
- f = message.getLimit();
19933
- if (f !== 0) {
19934
- writer.writeInt32(
21180
+ f = message.getMsmpPagination();
21181
+ if (f != null) {
21182
+ writer.writeMessage(
19935
21183
  3,
19936
- f
21184
+ f,
21185
+ proto.lansweeper.multitenant.v1.MsmpPagination.serializeBinaryToWriter
19937
21186
  );
19938
21187
  }
19939
- f = message.getHasNextPage();
19940
- if (f) {
19941
- writer.writeBool(
21188
+ f = message.getTraceId();
21189
+ if (f.length > 0) {
21190
+ writer.writeString(
19942
21191
  4,
19943
21192
  f
19944
21193
  );
@@ -19947,140 +21196,295 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.ser
19947
21196
 
19948
21197
 
19949
21198
  /**
19950
- * optional int32 total = 1;
19951
- * @return {number}
21199
+ * optional string user_id = 1;
21200
+ * @return {string}
19952
21201
  */
19953
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getTotal = function() {
19954
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
21202
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.prototype.getUserId = function() {
21203
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
19955
21204
  };
19956
21205
 
19957
21206
 
19958
21207
  /**
19959
- * @param {number} value
19960
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
21208
+ * @param {string} value
21209
+ * @return {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest} returns this
19961
21210
  */
19962
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setTotal = function(value) {
19963
- return jspb.Message.setProto3IntField(this, 1, value);
21211
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.prototype.setUserId = function(value) {
21212
+ return jspb.Message.setProto3StringField(this, 1, value);
19964
21213
  };
19965
21214
 
19966
21215
 
19967
21216
  /**
19968
- * optional int32 offset = 2;
19969
- * @return {number}
21217
+ * optional string msmp_organization_id = 2;
21218
+ * @return {string}
19970
21219
  */
19971
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getOffset = function() {
19972
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
21220
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.prototype.getMsmpOrganizationId = function() {
21221
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
19973
21222
  };
19974
21223
 
19975
21224
 
19976
21225
  /**
19977
- * @param {number} value
19978
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
21226
+ * @param {string} value
21227
+ * @return {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest} returns this
19979
21228
  */
19980
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setOffset = function(value) {
19981
- return jspb.Message.setProto3IntField(this, 2, value);
21229
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.prototype.setMsmpOrganizationId = function(value) {
21230
+ return jspb.Message.setProto3StringField(this, 2, value);
19982
21231
  };
19983
21232
 
19984
21233
 
19985
21234
  /**
19986
- * optional int32 limit = 3;
19987
- * @return {number}
21235
+ * optional MsmpPagination msmp_pagination = 3;
21236
+ * @return {?proto.lansweeper.multitenant.v1.MsmpPagination}
19988
21237
  */
19989
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getLimit = function() {
19990
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
21238
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.prototype.getMsmpPagination = function() {
21239
+ return /** @type{?proto.lansweeper.multitenant.v1.MsmpPagination} */ (
21240
+ jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.MsmpPagination, 3));
19991
21241
  };
19992
21242
 
19993
21243
 
19994
21244
  /**
19995
- * @param {number} value
19996
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
21245
+ * @param {?proto.lansweeper.multitenant.v1.MsmpPagination|undefined} value
21246
+ * @return {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest} returns this
21247
+ */
21248
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.prototype.setMsmpPagination = function(value) {
21249
+ return jspb.Message.setWrapperField(this, 3, value);
21250
+ };
21251
+
21252
+
21253
+ /**
21254
+ * Clears the message field making it undefined.
21255
+ * @return {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest} returns this
19997
21256
  */
19998
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setLimit = function(value) {
19999
- return jspb.Message.setProto3IntField(this, 3, value);
21257
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.prototype.clearMsmpPagination = function() {
21258
+ return this.setMsmpPagination(undefined);
20000
21259
  };
20001
21260
 
20002
21261
 
20003
21262
  /**
20004
- * optional bool has_next_page = 4;
21263
+ * Returns whether this field is set.
20005
21264
  * @return {boolean}
20006
21265
  */
20007
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getHasNextPage = function() {
20008
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
21266
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.prototype.hasMsmpPagination = function() {
21267
+ return jspb.Message.getField(this, 3) != null;
20009
21268
  };
20010
21269
 
20011
21270
 
20012
21271
  /**
20013
- * @param {boolean} value
20014
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
21272
+ * optional string trace_id = 4;
21273
+ * @return {string}
20015
21274
  */
20016
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setHasNextPage = function(value) {
20017
- return jspb.Message.setProto3BooleanField(this, 4, value);
21275
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.prototype.getTraceId = function() {
21276
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
20018
21277
  };
20019
21278
 
20020
21279
 
20021
21280
  /**
20022
- * repeated MsmpOrganization organizations = 1;
20023
- * @return {!Array<!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization>}
21281
+ * @param {string} value
21282
+ * @return {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest} returns this
20024
21283
  */
20025
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.getOrganizationsList = function() {
20026
- return /** @type{!Array<!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization>} */ (
20027
- jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization, 1));
21284
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest.prototype.setTraceId = function(value) {
21285
+ return jspb.Message.setProto3StringField(this, 4, value);
20028
21286
  };
20029
21287
 
20030
21288
 
21289
+
20031
21290
  /**
20032
- * @param {!Array<!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization>} value
20033
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
21291
+ * List of repeated fields within this message type.
21292
+ * @private {!Array<number>}
21293
+ * @const
21294
+ */
21295
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.repeatedFields_ = [1];
21296
+
21297
+
21298
+
21299
+ if (jspb.Message.GENERATE_TO_OBJECT) {
21300
+ /**
21301
+ * Creates an object representation of this proto.
21302
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
21303
+ * Optional fields that are not set will be set to undefined.
21304
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
21305
+ * For the list of reserved names please see:
21306
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
21307
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
21308
+ * JSPB instance for transitional soy proto support:
21309
+ * http://goto/soy-param-migration
21310
+ * @return {!Object}
21311
+ */
21312
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.prototype.toObject = function(opt_includeInstance) {
21313
+ return proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.toObject(opt_includeInstance, this);
21314
+ };
21315
+
21316
+
21317
+ /**
21318
+ * Static version of the {@see toObject} method.
21319
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
21320
+ * the JSPB instance for transitional soy proto support:
21321
+ * http://goto/soy-param-migration
21322
+ * @param {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse} msg The msg instance to transform.
21323
+ * @return {!Object}
21324
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21325
+ */
21326
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.toObject = function(includeInstance, msg) {
21327
+ var f, obj = {
21328
+ sitesList: jspb.Message.toObjectList(msg.getSitesList(),
21329
+ proto.lansweeper.multitenant.v1.PreviewSite.toObject, includeInstance),
21330
+ msmpPaginationInfo: (f = msg.getMsmpPaginationInfo()) && proto.lansweeper.multitenant.v1.MsmpPaginationInfo.toObject(includeInstance, f)
21331
+ };
21332
+
21333
+ if (includeInstance) {
21334
+ obj.$jspbMessageInstance = msg;
21335
+ }
21336
+ return obj;
21337
+ };
21338
+ }
21339
+
21340
+
21341
+ /**
21342
+ * Deserializes binary data (in protobuf wire format).
21343
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
21344
+ * @return {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse}
21345
+ */
21346
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.deserializeBinary = function(bytes) {
21347
+ var reader = new jspb.BinaryReader(bytes);
21348
+ var msg = new proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse;
21349
+ return proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.deserializeBinaryFromReader(msg, reader);
21350
+ };
21351
+
21352
+
21353
+ /**
21354
+ * Deserializes binary data (in protobuf wire format) from the
21355
+ * given reader into the given message object.
21356
+ * @param {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse} msg The message object to deserialize into.
21357
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
21358
+ * @return {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse}
21359
+ */
21360
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.deserializeBinaryFromReader = function(msg, reader) {
21361
+ while (reader.nextField()) {
21362
+ if (reader.isEndGroup()) {
21363
+ break;
21364
+ }
21365
+ var field = reader.getFieldNumber();
21366
+ switch (field) {
21367
+ case 1:
21368
+ var value = new proto.lansweeper.multitenant.v1.PreviewSite;
21369
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.PreviewSite.deserializeBinaryFromReader);
21370
+ msg.addSites(value);
21371
+ break;
21372
+ case 2:
21373
+ var value = new proto.lansweeper.multitenant.v1.MsmpPaginationInfo;
21374
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.MsmpPaginationInfo.deserializeBinaryFromReader);
21375
+ msg.setMsmpPaginationInfo(value);
21376
+ break;
21377
+ default:
21378
+ reader.skipField();
21379
+ break;
21380
+ }
21381
+ }
21382
+ return msg;
21383
+ };
21384
+
21385
+
21386
+ /**
21387
+ * Serializes the message to binary data (in protobuf wire format).
21388
+ * @return {!Uint8Array}
21389
+ */
21390
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.prototype.serializeBinary = function() {
21391
+ var writer = new jspb.BinaryWriter();
21392
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.serializeBinaryToWriter(this, writer);
21393
+ return writer.getResultBuffer();
21394
+ };
21395
+
21396
+
21397
+ /**
21398
+ * Serializes the given message to binary data (in protobuf wire
21399
+ * format), writing to the given BinaryWriter.
21400
+ * @param {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse} message
21401
+ * @param {!jspb.BinaryWriter} writer
21402
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21403
+ */
21404
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.serializeBinaryToWriter = function(message, writer) {
21405
+ var f = undefined;
21406
+ f = message.getSitesList();
21407
+ if (f.length > 0) {
21408
+ writer.writeRepeatedMessage(
21409
+ 1,
21410
+ f,
21411
+ proto.lansweeper.multitenant.v1.PreviewSite.serializeBinaryToWriter
21412
+ );
21413
+ }
21414
+ f = message.getMsmpPaginationInfo();
21415
+ if (f != null) {
21416
+ writer.writeMessage(
21417
+ 2,
21418
+ f,
21419
+ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.serializeBinaryToWriter
21420
+ );
21421
+ }
21422
+ };
21423
+
21424
+
21425
+ /**
21426
+ * repeated PreviewSite sites = 1;
21427
+ * @return {!Array<!proto.lansweeper.multitenant.v1.PreviewSite>}
21428
+ */
21429
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.prototype.getSitesList = function() {
21430
+ return /** @type{!Array<!proto.lansweeper.multitenant.v1.PreviewSite>} */ (
21431
+ jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.multitenant.v1.PreviewSite, 1));
21432
+ };
21433
+
21434
+
21435
+ /**
21436
+ * @param {!Array<!proto.lansweeper.multitenant.v1.PreviewSite>} value
21437
+ * @return {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse} returns this
20034
21438
  */
20035
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.setOrganizationsList = function(value) {
21439
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.prototype.setSitesList = function(value) {
20036
21440
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
20037
21441
  };
20038
21442
 
20039
21443
 
20040
21444
  /**
20041
- * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization=} opt_value
21445
+ * @param {!proto.lansweeper.multitenant.v1.PreviewSite=} opt_value
20042
21446
  * @param {number=} opt_index
20043
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization}
21447
+ * @return {!proto.lansweeper.multitenant.v1.PreviewSite}
20044
21448
  */
20045
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.addOrganizations = function(opt_value, opt_index) {
20046
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization, opt_index);
21449
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.prototype.addSites = function(opt_value, opt_index) {
21450
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.multitenant.v1.PreviewSite, opt_index);
20047
21451
  };
20048
21452
 
20049
21453
 
20050
21454
  /**
20051
21455
  * Clears the list making it empty but non-null.
20052
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
21456
+ * @return {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse} returns this
20053
21457
  */
20054
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.clearOrganizationsList = function() {
20055
- return this.setOrganizationsList([]);
21458
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.prototype.clearSitesList = function() {
21459
+ return this.setSitesList([]);
20056
21460
  };
20057
21461
 
20058
21462
 
20059
21463
  /**
20060
- * optional MsmpPageInfo msmp_page_info = 2;
20061
- * @return {?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo}
21464
+ * optional MsmpPaginationInfo msmp_pagination_info = 2;
21465
+ * @return {?proto.lansweeper.multitenant.v1.MsmpPaginationInfo}
20062
21466
  */
20063
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.getMsmpPageInfo = function() {
20064
- return /** @type{?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} */ (
20065
- jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo, 2));
21467
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.prototype.getMsmpPaginationInfo = function() {
21468
+ return /** @type{?proto.lansweeper.multitenant.v1.MsmpPaginationInfo} */ (
21469
+ jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.MsmpPaginationInfo, 2));
20066
21470
  };
20067
21471
 
20068
21472
 
20069
21473
  /**
20070
- * @param {?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo|undefined} value
20071
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
21474
+ * @param {?proto.lansweeper.multitenant.v1.MsmpPaginationInfo|undefined} value
21475
+ * @return {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse} returns this
20072
21476
  */
20073
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.setMsmpPageInfo = function(value) {
21477
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.prototype.setMsmpPaginationInfo = function(value) {
20074
21478
  return jspb.Message.setWrapperField(this, 2, value);
20075
21479
  };
20076
21480
 
20077
21481
 
20078
21482
  /**
20079
21483
  * Clears the message field making it undefined.
20080
- * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
21484
+ * @return {!proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse} returns this
20081
21485
  */
20082
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.clearMsmpPageInfo = function() {
20083
- return this.setMsmpPageInfo(undefined);
21486
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.prototype.clearMsmpPaginationInfo = function() {
21487
+ return this.setMsmpPaginationInfo(undefined);
20084
21488
  };
20085
21489
 
20086
21490
 
@@ -20088,7 +21492,7 @@ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.clearM
20088
21492
  * Returns whether this field is set.
20089
21493
  * @return {boolean}
20090
21494
  */
20091
- proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.hasMsmpPageInfo = function() {
21495
+ proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse.prototype.hasMsmpPaginationInfo = function() {
20092
21496
  return jspb.Message.getField(this, 2) != null;
20093
21497
  };
20094
21498