@lansweeper/multitenant-api-grpc 0.4.49 → 0.4.50

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,11 @@ 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.GetMsmpOrganizationListRequest', null, global);
70
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest', null, global);
71
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse', null, global);
72
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization', null, global);
73
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo', null, global);
69
74
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountByIdRequest', null, global);
70
75
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountByIdResponse', null, global);
71
76
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountsByAccountIdsRequest', null, global);
@@ -2096,6 +2101,111 @@ if (goog.DEBUG && !COMPILED) {
2096
2101
  */
2097
2102
  proto.lansweeper.multitenant.v1.GetSiteLimitsResponse.displayName = 'proto.lansweeper.multitenant.v1.GetSiteLimitsResponse';
2098
2103
  }
2104
+ /**
2105
+ * Generated by JsPbCodeGenerator.
2106
+ * @param {Array=} opt_data Optional initial data array, typically from a
2107
+ * server response, or constructed directly in Javascript. The array is used
2108
+ * in place and becomes part of the constructed object. It is not cloned.
2109
+ * If no data is provided, the constructed object will be empty, but still
2110
+ * valid.
2111
+ * @extends {jspb.Message}
2112
+ * @constructor
2113
+ */
2114
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest = function(opt_data) {
2115
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2116
+ };
2117
+ goog.inherits(proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest, jspb.Message);
2118
+ if (goog.DEBUG && !COMPILED) {
2119
+ /**
2120
+ * @public
2121
+ * @override
2122
+ */
2123
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.displayName = 'proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest';
2124
+ }
2125
+ /**
2126
+ * Generated by JsPbCodeGenerator.
2127
+ * @param {Array=} opt_data Optional initial data array, typically from a
2128
+ * server response, or constructed directly in Javascript. The array is used
2129
+ * in place and becomes part of the constructed object. It is not cloned.
2130
+ * If no data is provided, the constructed object will be empty, but still
2131
+ * valid.
2132
+ * @extends {jspb.Message}
2133
+ * @constructor
2134
+ */
2135
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest = function(opt_data) {
2136
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2137
+ };
2138
+ goog.inherits(proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest, jspb.Message);
2139
+ if (goog.DEBUG && !COMPILED) {
2140
+ /**
2141
+ * @public
2142
+ * @override
2143
+ */
2144
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.displayName = 'proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest';
2145
+ }
2146
+ /**
2147
+ * Generated by JsPbCodeGenerator.
2148
+ * @param {Array=} opt_data Optional initial data array, typically from a
2149
+ * server response, or constructed directly in Javascript. The array is used
2150
+ * in place and becomes part of the constructed object. It is not cloned.
2151
+ * If no data is provided, the constructed object will be empty, but still
2152
+ * valid.
2153
+ * @extends {jspb.Message}
2154
+ * @constructor
2155
+ */
2156
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse = function(opt_data) {
2157
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.repeatedFields_, null);
2158
+ };
2159
+ goog.inherits(proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse, jspb.Message);
2160
+ if (goog.DEBUG && !COMPILED) {
2161
+ /**
2162
+ * @public
2163
+ * @override
2164
+ */
2165
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.displayName = 'proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse';
2166
+ }
2167
+ /**
2168
+ * Generated by JsPbCodeGenerator.
2169
+ * @param {Array=} opt_data Optional initial data array, typically from a
2170
+ * server response, or constructed directly in Javascript. The array is used
2171
+ * in place and becomes part of the constructed object. It is not cloned.
2172
+ * If no data is provided, the constructed object will be empty, but still
2173
+ * valid.
2174
+ * @extends {jspb.Message}
2175
+ * @constructor
2176
+ */
2177
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization = function(opt_data) {
2178
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2179
+ };
2180
+ goog.inherits(proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization, jspb.Message);
2181
+ if (goog.DEBUG && !COMPILED) {
2182
+ /**
2183
+ * @public
2184
+ * @override
2185
+ */
2186
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.displayName = 'proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization';
2187
+ }
2188
+ /**
2189
+ * Generated by JsPbCodeGenerator.
2190
+ * @param {Array=} opt_data Optional initial data array, typically from a
2191
+ * server response, or constructed directly in Javascript. The array is used
2192
+ * in place and becomes part of the constructed object. It is not cloned.
2193
+ * If no data is provided, the constructed object will be empty, but still
2194
+ * valid.
2195
+ * @extends {jspb.Message}
2196
+ * @constructor
2197
+ */
2198
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo = function(opt_data) {
2199
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2200
+ };
2201
+ goog.inherits(proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo, jspb.Message);
2202
+ if (goog.DEBUG && !COMPILED) {
2203
+ /**
2204
+ * @public
2205
+ * @override
2206
+ */
2207
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.displayName = 'proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo';
2208
+ }
2099
2209
 
2100
2210
 
2101
2211
 
@@ -19051,6 +19161,938 @@ proto.lansweeper.multitenant.v1.GetSiteLimitsResponse.prototype.clearSiteLimitsM
19051
19161
  return this;};
19052
19162
 
19053
19163
 
19164
+
19165
+
19166
+
19167
+ if (jspb.Message.GENERATE_TO_OBJECT) {
19168
+ /**
19169
+ * Creates an object representation of this proto.
19170
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
19171
+ * Optional fields that are not set will be set to undefined.
19172
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19173
+ * For the list of reserved names please see:
19174
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19175
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19176
+ * JSPB instance for transitional soy proto support:
19177
+ * http://goto/soy-param-migration
19178
+ * @return {!Object}
19179
+ */
19180
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.toObject = function(opt_includeInstance) {
19181
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.toObject(opt_includeInstance, this);
19182
+ };
19183
+
19184
+
19185
+ /**
19186
+ * Static version of the {@see toObject} method.
19187
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19188
+ * the JSPB instance for transitional soy proto support:
19189
+ * http://goto/soy-param-migration
19190
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} msg The msg instance to transform.
19191
+ * @return {!Object}
19192
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19193
+ */
19194
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.toObject = function(includeInstance, msg) {
19195
+ var f, obj = {
19196
+ userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
19197
+ msmpPagination: (f = msg.getMsmpPagination()) && proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.toObject(includeInstance, f)
19198
+ };
19199
+
19200
+ if (includeInstance) {
19201
+ obj.$jspbMessageInstance = msg;
19202
+ }
19203
+ return obj;
19204
+ };
19205
+ }
19206
+
19207
+
19208
+ /**
19209
+ * Deserializes binary data (in protobuf wire format).
19210
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
19211
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest}
19212
+ */
19213
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.deserializeBinary = function(bytes) {
19214
+ 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);
19217
+ };
19218
+
19219
+
19220
+ /**
19221
+ * Deserializes binary data (in protobuf wire format) from the
19222
+ * given reader into the given message object.
19223
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} msg The message object to deserialize into.
19224
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19225
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest}
19226
+ */
19227
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.deserializeBinaryFromReader = function(msg, reader) {
19228
+ while (reader.nextField()) {
19229
+ if (reader.isEndGroup()) {
19230
+ break;
19231
+ }
19232
+ var field = reader.getFieldNumber();
19233
+ switch (field) {
19234
+ case 1:
19235
+ var value = /** @type {string} */ (reader.readString());
19236
+ msg.setUserId(value);
19237
+ break;
19238
+ 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);
19242
+ break;
19243
+ default:
19244
+ reader.skipField();
19245
+ break;
19246
+ }
19247
+ }
19248
+ return msg;
19249
+ };
19250
+
19251
+
19252
+ /**
19253
+ * Serializes the message to binary data (in protobuf wire format).
19254
+ * @return {!Uint8Array}
19255
+ */
19256
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.serializeBinary = function() {
19257
+ var writer = new jspb.BinaryWriter();
19258
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.serializeBinaryToWriter(this, writer);
19259
+ return writer.getResultBuffer();
19260
+ };
19261
+
19262
+
19263
+ /**
19264
+ * Serializes the given message to binary data (in protobuf wire
19265
+ * format), writing to the given BinaryWriter.
19266
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} message
19267
+ * @param {!jspb.BinaryWriter} writer
19268
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19269
+ */
19270
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.serializeBinaryToWriter = function(message, writer) {
19271
+ var f = undefined;
19272
+ f = message.getUserId();
19273
+ if (f.length > 0) {
19274
+ writer.writeString(
19275
+ 1,
19276
+ f
19277
+ );
19278
+ }
19279
+ f = message.getMsmpPagination();
19280
+ if (f != null) {
19281
+ writer.writeMessage(
19282
+ 2,
19283
+ f,
19284
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.serializeBinaryToWriter
19285
+ );
19286
+ }
19287
+ };
19288
+
19289
+
19290
+
19291
+
19292
+
19293
+ if (jspb.Message.GENERATE_TO_OBJECT) {
19294
+ /**
19295
+ * Creates an object representation of this proto.
19296
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
19297
+ * Optional fields that are not set will be set to undefined.
19298
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19299
+ * For the list of reserved names please see:
19300
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19301
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19302
+ * JSPB instance for transitional soy proto support:
19303
+ * http://goto/soy-param-migration
19304
+ * @return {!Object}
19305
+ */
19306
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.toObject = function(opt_includeInstance) {
19307
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.toObject(opt_includeInstance, this);
19308
+ };
19309
+
19310
+
19311
+ /**
19312
+ * Static version of the {@see toObject} method.
19313
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19314
+ * the JSPB instance for transitional soy proto support:
19315
+ * http://goto/soy-param-migration
19316
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} msg The msg instance to transform.
19317
+ * @return {!Object}
19318
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19319
+ */
19320
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.toObject = function(includeInstance, msg) {
19321
+ var f, obj = {
19322
+ offset: jspb.Message.getFieldWithDefault(msg, 1, 0),
19323
+ limit: jspb.Message.getFieldWithDefault(msg, 2, 0)
19324
+ };
19325
+
19326
+ if (includeInstance) {
19327
+ obj.$jspbMessageInstance = msg;
19328
+ }
19329
+ return obj;
19330
+ };
19331
+ }
19332
+
19333
+
19334
+ /**
19335
+ * Deserializes binary data (in protobuf wire format).
19336
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
19337
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest}
19338
+ */
19339
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.deserializeBinary = function(bytes) {
19340
+ 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);
19343
+ };
19344
+
19345
+
19346
+ /**
19347
+ * Deserializes binary data (in protobuf wire format) from the
19348
+ * given reader into the given message object.
19349
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} msg The message object to deserialize into.
19350
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19351
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest}
19352
+ */
19353
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.deserializeBinaryFromReader = function(msg, reader) {
19354
+ while (reader.nextField()) {
19355
+ if (reader.isEndGroup()) {
19356
+ break;
19357
+ }
19358
+ var field = reader.getFieldNumber();
19359
+ switch (field) {
19360
+ case 1:
19361
+ var value = /** @type {number} */ (reader.readInt32());
19362
+ msg.setOffset(value);
19363
+ break;
19364
+ case 2:
19365
+ var value = /** @type {number} */ (reader.readInt32());
19366
+ msg.setLimit(value);
19367
+ break;
19368
+ default:
19369
+ reader.skipField();
19370
+ break;
19371
+ }
19372
+ }
19373
+ return msg;
19374
+ };
19375
+
19376
+
19377
+ /**
19378
+ * Serializes the message to binary data (in protobuf wire format).
19379
+ * @return {!Uint8Array}
19380
+ */
19381
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.serializeBinary = function() {
19382
+ var writer = new jspb.BinaryWriter();
19383
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.serializeBinaryToWriter(this, writer);
19384
+ return writer.getResultBuffer();
19385
+ };
19386
+
19387
+
19388
+ /**
19389
+ * Serializes the given message to binary data (in protobuf wire
19390
+ * format), writing to the given BinaryWriter.
19391
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} message
19392
+ * @param {!jspb.BinaryWriter} writer
19393
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19394
+ */
19395
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.serializeBinaryToWriter = function(message, writer) {
19396
+ var f = undefined;
19397
+ f = message.getOffset();
19398
+ if (f !== 0) {
19399
+ writer.writeInt32(
19400
+ 1,
19401
+ f
19402
+ );
19403
+ }
19404
+ f = message.getLimit();
19405
+ if (f !== 0) {
19406
+ writer.writeInt32(
19407
+ 2,
19408
+ f
19409
+ );
19410
+ }
19411
+ };
19412
+
19413
+
19414
+ /**
19415
+ * optional int32 offset = 1;
19416
+ * @return {number}
19417
+ */
19418
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.getOffset = function() {
19419
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
19420
+ };
19421
+
19422
+
19423
+ /**
19424
+ * @param {number} value
19425
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} returns this
19426
+ */
19427
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.setOffset = function(value) {
19428
+ return jspb.Message.setProto3IntField(this, 1, value);
19429
+ };
19430
+
19431
+
19432
+ /**
19433
+ * optional int32 limit = 2;
19434
+ * @return {number}
19435
+ */
19436
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.getLimit = function() {
19437
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
19438
+ };
19439
+
19440
+
19441
+ /**
19442
+ * @param {number} value
19443
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} returns this
19444
+ */
19445
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.setLimit = function(value) {
19446
+ return jspb.Message.setProto3IntField(this, 2, value);
19447
+ };
19448
+
19449
+
19450
+ /**
19451
+ * optional string user_id = 1;
19452
+ * @return {string}
19453
+ */
19454
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.getUserId = function() {
19455
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
19456
+ };
19457
+
19458
+
19459
+ /**
19460
+ * @param {string} value
19461
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} returns this
19462
+ */
19463
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.setUserId = function(value) {
19464
+ return jspb.Message.setProto3StringField(this, 1, value);
19465
+ };
19466
+
19467
+
19468
+ /**
19469
+ * optional MsmpPaginationRequest msmp_pagination = 2;
19470
+ * @return {?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest}
19471
+ */
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);
19493
+ };
19494
+
19495
+
19496
+ /**
19497
+ * Returns whether this field is set.
19498
+ * @return {boolean}
19499
+ */
19500
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.hasMsmpPagination = function() {
19501
+ return jspb.Message.getField(this, 2) != null;
19502
+ };
19503
+
19504
+
19505
+
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
+
19514
+
19515
+ if (jspb.Message.GENERATE_TO_OBJECT) {
19516
+ /**
19517
+ * Creates an object representation of this proto.
19518
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
19519
+ * Optional fields that are not set will be set to undefined.
19520
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19521
+ * For the list of reserved names please see:
19522
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19523
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19524
+ * JSPB instance for transitional soy proto support:
19525
+ * http://goto/soy-param-migration
19526
+ * @return {!Object}
19527
+ */
19528
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.toObject = function(opt_includeInstance) {
19529
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.toObject(opt_includeInstance, this);
19530
+ };
19531
+
19532
+
19533
+ /**
19534
+ * Static version of the {@see toObject} method.
19535
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19536
+ * the JSPB instance for transitional soy proto support:
19537
+ * http://goto/soy-param-migration
19538
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} msg The msg instance to transform.
19539
+ * @return {!Object}
19540
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19541
+ */
19542
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.toObject = function(includeInstance, msg) {
19543
+ 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)
19547
+ };
19548
+
19549
+ if (includeInstance) {
19550
+ obj.$jspbMessageInstance = msg;
19551
+ }
19552
+ return obj;
19553
+ };
19554
+ }
19555
+
19556
+
19557
+ /**
19558
+ * Deserializes binary data (in protobuf wire format).
19559
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
19560
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse}
19561
+ */
19562
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.deserializeBinary = function(bytes) {
19563
+ 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);
19566
+ };
19567
+
19568
+
19569
+ /**
19570
+ * Deserializes binary data (in protobuf wire format) from the
19571
+ * given reader into the given message object.
19572
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} msg The message object to deserialize into.
19573
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19574
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse}
19575
+ */
19576
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.deserializeBinaryFromReader = function(msg, reader) {
19577
+ while (reader.nextField()) {
19578
+ if (reader.isEndGroup()) {
19579
+ break;
19580
+ }
19581
+ var field = reader.getFieldNumber();
19582
+ switch (field) {
19583
+ 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);
19587
+ break;
19588
+ 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);
19592
+ break;
19593
+ default:
19594
+ reader.skipField();
19595
+ break;
19596
+ }
19597
+ }
19598
+ return msg;
19599
+ };
19600
+
19601
+
19602
+ /**
19603
+ * Serializes the message to binary data (in protobuf wire format).
19604
+ * @return {!Uint8Array}
19605
+ */
19606
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.serializeBinary = function() {
19607
+ var writer = new jspb.BinaryWriter();
19608
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.serializeBinaryToWriter(this, writer);
19609
+ return writer.getResultBuffer();
19610
+ };
19611
+
19612
+
19613
+ /**
19614
+ * Serializes the given message to binary data (in protobuf wire
19615
+ * format), writing to the given BinaryWriter.
19616
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} message
19617
+ * @param {!jspb.BinaryWriter} writer
19618
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19619
+ */
19620
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.serializeBinaryToWriter = function(message, writer) {
19621
+ var f = undefined;
19622
+ f = message.getOrganizationsList();
19623
+ if (f.length > 0) {
19624
+ writer.writeRepeatedMessage(
19625
+ 1,
19626
+ f,
19627
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.serializeBinaryToWriter
19628
+ );
19629
+ }
19630
+ f = message.getMsmpPageInfo();
19631
+ if (f != null) {
19632
+ writer.writeMessage(
19633
+ 2,
19634
+ f,
19635
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.serializeBinaryToWriter
19636
+ );
19637
+ }
19638
+ };
19639
+
19640
+
19641
+
19642
+
19643
+
19644
+ if (jspb.Message.GENERATE_TO_OBJECT) {
19645
+ /**
19646
+ * Creates an object representation of this proto.
19647
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
19648
+ * Optional fields that are not set will be set to undefined.
19649
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19650
+ * For the list of reserved names please see:
19651
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19652
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19653
+ * JSPB instance for transitional soy proto support:
19654
+ * http://goto/soy-param-migration
19655
+ * @return {!Object}
19656
+ */
19657
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.toObject = function(opt_includeInstance) {
19658
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.toObject(opt_includeInstance, this);
19659
+ };
19660
+
19661
+
19662
+ /**
19663
+ * Static version of the {@see toObject} method.
19664
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19665
+ * the JSPB instance for transitional soy proto support:
19666
+ * http://goto/soy-param-migration
19667
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} msg The msg instance to transform.
19668
+ * @return {!Object}
19669
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19670
+ */
19671
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.toObject = function(includeInstance, msg) {
19672
+ var f, obj = {
19673
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
19674
+ name: jspb.Message.getFieldWithDefault(msg, 2, "")
19675
+ };
19676
+
19677
+ if (includeInstance) {
19678
+ obj.$jspbMessageInstance = msg;
19679
+ }
19680
+ return obj;
19681
+ };
19682
+ }
19683
+
19684
+
19685
+ /**
19686
+ * Deserializes binary data (in protobuf wire format).
19687
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
19688
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization}
19689
+ */
19690
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.deserializeBinary = function(bytes) {
19691
+ 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);
19694
+ };
19695
+
19696
+
19697
+ /**
19698
+ * Deserializes binary data (in protobuf wire format) from the
19699
+ * given reader into the given message object.
19700
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} msg The message object to deserialize into.
19701
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19702
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization}
19703
+ */
19704
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.deserializeBinaryFromReader = function(msg, reader) {
19705
+ while (reader.nextField()) {
19706
+ if (reader.isEndGroup()) {
19707
+ break;
19708
+ }
19709
+ var field = reader.getFieldNumber();
19710
+ switch (field) {
19711
+ case 1:
19712
+ var value = /** @type {string} */ (reader.readString());
19713
+ msg.setId(value);
19714
+ break;
19715
+ case 2:
19716
+ var value = /** @type {string} */ (reader.readString());
19717
+ msg.setName(value);
19718
+ break;
19719
+ default:
19720
+ reader.skipField();
19721
+ break;
19722
+ }
19723
+ }
19724
+ return msg;
19725
+ };
19726
+
19727
+
19728
+ /**
19729
+ * Serializes the message to binary data (in protobuf wire format).
19730
+ * @return {!Uint8Array}
19731
+ */
19732
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.serializeBinary = function() {
19733
+ var writer = new jspb.BinaryWriter();
19734
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.serializeBinaryToWriter(this, writer);
19735
+ return writer.getResultBuffer();
19736
+ };
19737
+
19738
+
19739
+ /**
19740
+ * Serializes the given message to binary data (in protobuf wire
19741
+ * format), writing to the given BinaryWriter.
19742
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} message
19743
+ * @param {!jspb.BinaryWriter} writer
19744
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19745
+ */
19746
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.serializeBinaryToWriter = function(message, writer) {
19747
+ var f = undefined;
19748
+ f = message.getId();
19749
+ if (f.length > 0) {
19750
+ writer.writeString(
19751
+ 1,
19752
+ f
19753
+ );
19754
+ }
19755
+ f = message.getName();
19756
+ if (f.length > 0) {
19757
+ writer.writeString(
19758
+ 2,
19759
+ f
19760
+ );
19761
+ }
19762
+ };
19763
+
19764
+
19765
+ /**
19766
+ * optional string id = 1;
19767
+ * @return {string}
19768
+ */
19769
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.getId = function() {
19770
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
19771
+ };
19772
+
19773
+
19774
+ /**
19775
+ * @param {string} value
19776
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} returns this
19777
+ */
19778
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.setId = function(value) {
19779
+ return jspb.Message.setProto3StringField(this, 1, value);
19780
+ };
19781
+
19782
+
19783
+ /**
19784
+ * optional string name = 2;
19785
+ * @return {string}
19786
+ */
19787
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.getName = function() {
19788
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
19789
+ };
19790
+
19791
+
19792
+ /**
19793
+ * @param {string} value
19794
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} returns this
19795
+ */
19796
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.setName = function(value) {
19797
+ return jspb.Message.setProto3StringField(this, 2, value);
19798
+ };
19799
+
19800
+
19801
+
19802
+
19803
+
19804
+ if (jspb.Message.GENERATE_TO_OBJECT) {
19805
+ /**
19806
+ * Creates an object representation of this proto.
19807
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
19808
+ * Optional fields that are not set will be set to undefined.
19809
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19810
+ * For the list of reserved names please see:
19811
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19812
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19813
+ * JSPB instance for transitional soy proto support:
19814
+ * http://goto/soy-param-migration
19815
+ * @return {!Object}
19816
+ */
19817
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.toObject = function(opt_includeInstance) {
19818
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.toObject(opt_includeInstance, this);
19819
+ };
19820
+
19821
+
19822
+ /**
19823
+ * Static version of the {@see toObject} method.
19824
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19825
+ * the JSPB instance for transitional soy proto support:
19826
+ * http://goto/soy-param-migration
19827
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} msg The msg instance to transform.
19828
+ * @return {!Object}
19829
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19830
+ */
19831
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.toObject = function(includeInstance, msg) {
19832
+ 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)
19837
+ };
19838
+
19839
+ if (includeInstance) {
19840
+ obj.$jspbMessageInstance = msg;
19841
+ }
19842
+ return obj;
19843
+ };
19844
+ }
19845
+
19846
+
19847
+ /**
19848
+ * Deserializes binary data (in protobuf wire format).
19849
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
19850
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo}
19851
+ */
19852
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.deserializeBinary = function(bytes) {
19853
+ 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);
19856
+ };
19857
+
19858
+
19859
+ /**
19860
+ * Deserializes binary data (in protobuf wire format) from the
19861
+ * given reader into the given message object.
19862
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} msg The message object to deserialize into.
19863
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19864
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo}
19865
+ */
19866
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.deserializeBinaryFromReader = function(msg, reader) {
19867
+ while (reader.nextField()) {
19868
+ if (reader.isEndGroup()) {
19869
+ break;
19870
+ }
19871
+ var field = reader.getFieldNumber();
19872
+ switch (field) {
19873
+ case 1:
19874
+ var value = /** @type {number} */ (reader.readInt32());
19875
+ msg.setTotal(value);
19876
+ break;
19877
+ case 2:
19878
+ var value = /** @type {number} */ (reader.readInt32());
19879
+ msg.setOffset(value);
19880
+ break;
19881
+ case 3:
19882
+ var value = /** @type {number} */ (reader.readInt32());
19883
+ msg.setLimit(value);
19884
+ break;
19885
+ case 4:
19886
+ var value = /** @type {boolean} */ (reader.readBool());
19887
+ msg.setHasNextPage(value);
19888
+ break;
19889
+ default:
19890
+ reader.skipField();
19891
+ break;
19892
+ }
19893
+ }
19894
+ return msg;
19895
+ };
19896
+
19897
+
19898
+ /**
19899
+ * Serializes the message to binary data (in protobuf wire format).
19900
+ * @return {!Uint8Array}
19901
+ */
19902
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.serializeBinary = function() {
19903
+ var writer = new jspb.BinaryWriter();
19904
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.serializeBinaryToWriter(this, writer);
19905
+ return writer.getResultBuffer();
19906
+ };
19907
+
19908
+
19909
+ /**
19910
+ * Serializes the given message to binary data (in protobuf wire
19911
+ * format), writing to the given BinaryWriter.
19912
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} message
19913
+ * @param {!jspb.BinaryWriter} writer
19914
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19915
+ */
19916
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.serializeBinaryToWriter = function(message, writer) {
19917
+ var f = undefined;
19918
+ f = message.getTotal();
19919
+ if (f !== 0) {
19920
+ writer.writeInt32(
19921
+ 1,
19922
+ f
19923
+ );
19924
+ }
19925
+ f = message.getOffset();
19926
+ if (f !== 0) {
19927
+ writer.writeInt32(
19928
+ 2,
19929
+ f
19930
+ );
19931
+ }
19932
+ f = message.getLimit();
19933
+ if (f !== 0) {
19934
+ writer.writeInt32(
19935
+ 3,
19936
+ f
19937
+ );
19938
+ }
19939
+ f = message.getHasNextPage();
19940
+ if (f) {
19941
+ writer.writeBool(
19942
+ 4,
19943
+ f
19944
+ );
19945
+ }
19946
+ };
19947
+
19948
+
19949
+ /**
19950
+ * optional int32 total = 1;
19951
+ * @return {number}
19952
+ */
19953
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getTotal = function() {
19954
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
19955
+ };
19956
+
19957
+
19958
+ /**
19959
+ * @param {number} value
19960
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
19961
+ */
19962
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setTotal = function(value) {
19963
+ return jspb.Message.setProto3IntField(this, 1, value);
19964
+ };
19965
+
19966
+
19967
+ /**
19968
+ * optional int32 offset = 2;
19969
+ * @return {number}
19970
+ */
19971
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getOffset = function() {
19972
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
19973
+ };
19974
+
19975
+
19976
+ /**
19977
+ * @param {number} value
19978
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
19979
+ */
19980
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setOffset = function(value) {
19981
+ return jspb.Message.setProto3IntField(this, 2, value);
19982
+ };
19983
+
19984
+
19985
+ /**
19986
+ * optional int32 limit = 3;
19987
+ * @return {number}
19988
+ */
19989
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getLimit = function() {
19990
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
19991
+ };
19992
+
19993
+
19994
+ /**
19995
+ * @param {number} value
19996
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
19997
+ */
19998
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setLimit = function(value) {
19999
+ return jspb.Message.setProto3IntField(this, 3, value);
20000
+ };
20001
+
20002
+
20003
+ /**
20004
+ * optional bool has_next_page = 4;
20005
+ * @return {boolean}
20006
+ */
20007
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getHasNextPage = function() {
20008
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
20009
+ };
20010
+
20011
+
20012
+ /**
20013
+ * @param {boolean} value
20014
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
20015
+ */
20016
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setHasNextPage = function(value) {
20017
+ return jspb.Message.setProto3BooleanField(this, 4, value);
20018
+ };
20019
+
20020
+
20021
+ /**
20022
+ * repeated MsmpOrganization organizations = 1;
20023
+ * @return {!Array<!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization>}
20024
+ */
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));
20028
+ };
20029
+
20030
+
20031
+ /**
20032
+ * @param {!Array<!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization>} value
20033
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
20034
+ */
20035
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.setOrganizationsList = function(value) {
20036
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
20037
+ };
20038
+
20039
+
20040
+ /**
20041
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization=} opt_value
20042
+ * @param {number=} opt_index
20043
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization}
20044
+ */
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);
20047
+ };
20048
+
20049
+
20050
+ /**
20051
+ * Clears the list making it empty but non-null.
20052
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
20053
+ */
20054
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.clearOrganizationsList = function() {
20055
+ return this.setOrganizationsList([]);
20056
+ };
20057
+
20058
+
20059
+ /**
20060
+ * optional MsmpPageInfo msmp_page_info = 2;
20061
+ * @return {?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo}
20062
+ */
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));
20066
+ };
20067
+
20068
+
20069
+ /**
20070
+ * @param {?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo|undefined} value
20071
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
20072
+ */
20073
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.setMsmpPageInfo = function(value) {
20074
+ return jspb.Message.setWrapperField(this, 2, value);
20075
+ };
20076
+
20077
+
20078
+ /**
20079
+ * Clears the message field making it undefined.
20080
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
20081
+ */
20082
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.clearMsmpPageInfo = function() {
20083
+ return this.setMsmpPageInfo(undefined);
20084
+ };
20085
+
20086
+
20087
+ /**
20088
+ * Returns whether this field is set.
20089
+ * @return {boolean}
20090
+ */
20091
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.hasMsmpPageInfo = function() {
20092
+ return jspb.Message.getField(this, 2) != null;
20093
+ };
20094
+
20095
+
19054
20096
  /**
19055
20097
  * @enum {number}
19056
20098
  */