@lansweeper/multitenant-api-grpc 0.4.49 → 0.4.51

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,968 @@ 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
+ traceId: jspb.Message.getFieldWithDefault(msg, 3, "")
19199
+ };
19200
+
19201
+ if (includeInstance) {
19202
+ obj.$jspbMessageInstance = msg;
19203
+ }
19204
+ return obj;
19205
+ };
19206
+ }
19207
+
19208
+
19209
+ /**
19210
+ * Deserializes binary data (in protobuf wire format).
19211
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
19212
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest}
19213
+ */
19214
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.deserializeBinary = function(bytes) {
19215
+ var reader = new jspb.BinaryReader(bytes);
19216
+ var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest;
19217
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.deserializeBinaryFromReader(msg, reader);
19218
+ };
19219
+
19220
+
19221
+ /**
19222
+ * Deserializes binary data (in protobuf wire format) from the
19223
+ * given reader into the given message object.
19224
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} msg The message object to deserialize into.
19225
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19226
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest}
19227
+ */
19228
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.deserializeBinaryFromReader = function(msg, reader) {
19229
+ while (reader.nextField()) {
19230
+ if (reader.isEndGroup()) {
19231
+ break;
19232
+ }
19233
+ var field = reader.getFieldNumber();
19234
+ switch (field) {
19235
+ case 1:
19236
+ var value = /** @type {string} */ (reader.readString());
19237
+ msg.setUserId(value);
19238
+ break;
19239
+ case 2:
19240
+ var value = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest;
19241
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.deserializeBinaryFromReader);
19242
+ msg.setMsmpPagination(value);
19243
+ break;
19244
+ case 3:
19245
+ var value = /** @type {string} */ (reader.readString());
19246
+ msg.setTraceId(value);
19247
+ break;
19248
+ default:
19249
+ reader.skipField();
19250
+ break;
19251
+ }
19252
+ }
19253
+ return msg;
19254
+ };
19255
+
19256
+
19257
+ /**
19258
+ * Serializes the message to binary data (in protobuf wire format).
19259
+ * @return {!Uint8Array}
19260
+ */
19261
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.serializeBinary = function() {
19262
+ var writer = new jspb.BinaryWriter();
19263
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.serializeBinaryToWriter(this, writer);
19264
+ return writer.getResultBuffer();
19265
+ };
19266
+
19267
+
19268
+ /**
19269
+ * Serializes the given message to binary data (in protobuf wire
19270
+ * format), writing to the given BinaryWriter.
19271
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} message
19272
+ * @param {!jspb.BinaryWriter} writer
19273
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19274
+ */
19275
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.serializeBinaryToWriter = function(message, writer) {
19276
+ var f = undefined;
19277
+ f = message.getUserId();
19278
+ if (f.length > 0) {
19279
+ writer.writeString(
19280
+ 1,
19281
+ f
19282
+ );
19283
+ }
19284
+ f = message.getMsmpPagination();
19285
+ if (f != null) {
19286
+ writer.writeMessage(
19287
+ 2,
19288
+ f,
19289
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.serializeBinaryToWriter
19290
+ );
19291
+ }
19292
+ f = message.getTraceId();
19293
+ if (f.length > 0) {
19294
+ writer.writeString(
19295
+ 3,
19296
+ f
19297
+ );
19298
+ }
19299
+ };
19300
+
19301
+
19302
+
19303
+
19304
+
19305
+ if (jspb.Message.GENERATE_TO_OBJECT) {
19306
+ /**
19307
+ * Creates an object representation of this proto.
19308
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
19309
+ * Optional fields that are not set will be set to undefined.
19310
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19311
+ * For the list of reserved names please see:
19312
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19313
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19314
+ * JSPB instance for transitional soy proto support:
19315
+ * http://goto/soy-param-migration
19316
+ * @return {!Object}
19317
+ */
19318
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.toObject = function(opt_includeInstance) {
19319
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.toObject(opt_includeInstance, this);
19320
+ };
19321
+
19322
+
19323
+ /**
19324
+ * Static version of the {@see toObject} method.
19325
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19326
+ * the JSPB instance for transitional soy proto support:
19327
+ * http://goto/soy-param-migration
19328
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} msg The msg instance to transform.
19329
+ * @return {!Object}
19330
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19331
+ */
19332
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.toObject = function(includeInstance, msg) {
19333
+ var f, obj = {
19334
+ offset: jspb.Message.getFieldWithDefault(msg, 1, 0),
19335
+ limit: jspb.Message.getFieldWithDefault(msg, 2, 0)
19336
+ };
19337
+
19338
+ if (includeInstance) {
19339
+ obj.$jspbMessageInstance = msg;
19340
+ }
19341
+ return obj;
19342
+ };
19343
+ }
19344
+
19345
+
19346
+ /**
19347
+ * Deserializes binary data (in protobuf wire format).
19348
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
19349
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest}
19350
+ */
19351
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.deserializeBinary = function(bytes) {
19352
+ var reader = new jspb.BinaryReader(bytes);
19353
+ var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest;
19354
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.deserializeBinaryFromReader(msg, reader);
19355
+ };
19356
+
19357
+
19358
+ /**
19359
+ * Deserializes binary data (in protobuf wire format) from the
19360
+ * given reader into the given message object.
19361
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} msg The message object to deserialize into.
19362
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19363
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest}
19364
+ */
19365
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.deserializeBinaryFromReader = function(msg, reader) {
19366
+ while (reader.nextField()) {
19367
+ if (reader.isEndGroup()) {
19368
+ break;
19369
+ }
19370
+ var field = reader.getFieldNumber();
19371
+ switch (field) {
19372
+ case 1:
19373
+ var value = /** @type {number} */ (reader.readInt32());
19374
+ msg.setOffset(value);
19375
+ break;
19376
+ case 2:
19377
+ var value = /** @type {number} */ (reader.readInt32());
19378
+ msg.setLimit(value);
19379
+ break;
19380
+ default:
19381
+ reader.skipField();
19382
+ break;
19383
+ }
19384
+ }
19385
+ return msg;
19386
+ };
19387
+
19388
+
19389
+ /**
19390
+ * Serializes the message to binary data (in protobuf wire format).
19391
+ * @return {!Uint8Array}
19392
+ */
19393
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.serializeBinary = function() {
19394
+ var writer = new jspb.BinaryWriter();
19395
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.serializeBinaryToWriter(this, writer);
19396
+ return writer.getResultBuffer();
19397
+ };
19398
+
19399
+
19400
+ /**
19401
+ * Serializes the given message to binary data (in protobuf wire
19402
+ * format), writing to the given BinaryWriter.
19403
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} message
19404
+ * @param {!jspb.BinaryWriter} writer
19405
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19406
+ */
19407
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.serializeBinaryToWriter = function(message, writer) {
19408
+ var f = undefined;
19409
+ f = message.getOffset();
19410
+ if (f !== 0) {
19411
+ writer.writeInt32(
19412
+ 1,
19413
+ f
19414
+ );
19415
+ }
19416
+ f = message.getLimit();
19417
+ if (f !== 0) {
19418
+ writer.writeInt32(
19419
+ 2,
19420
+ f
19421
+ );
19422
+ }
19423
+ };
19424
+
19425
+
19426
+ /**
19427
+ * optional int32 offset = 1;
19428
+ * @return {number}
19429
+ */
19430
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.getOffset = function() {
19431
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
19432
+ };
19433
+
19434
+
19435
+ /**
19436
+ * @param {number} value
19437
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} returns this
19438
+ */
19439
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.setOffset = function(value) {
19440
+ return jspb.Message.setProto3IntField(this, 1, value);
19441
+ };
19442
+
19443
+
19444
+ /**
19445
+ * optional int32 limit = 2;
19446
+ * @return {number}
19447
+ */
19448
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.getLimit = function() {
19449
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
19450
+ };
19451
+
19452
+
19453
+ /**
19454
+ * @param {number} value
19455
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} returns this
19456
+ */
19457
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest.prototype.setLimit = function(value) {
19458
+ return jspb.Message.setProto3IntField(this, 2, value);
19459
+ };
19460
+
19461
+
19462
+ /**
19463
+ * optional string user_id = 1;
19464
+ * @return {string}
19465
+ */
19466
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.getUserId = function() {
19467
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
19468
+ };
19469
+
19470
+
19471
+ /**
19472
+ * @param {string} value
19473
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} returns this
19474
+ */
19475
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.setUserId = function(value) {
19476
+ return jspb.Message.setProto3StringField(this, 1, value);
19477
+ };
19478
+
19479
+
19480
+ /**
19481
+ * optional MsmpPaginationRequest msmp_pagination = 2;
19482
+ * @return {?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest}
19483
+ */
19484
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.getMsmpPagination = function() {
19485
+ return /** @type{?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest} */ (
19486
+ jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest, 2));
19487
+ };
19488
+
19489
+
19490
+ /**
19491
+ * @param {?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest|undefined} value
19492
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} returns this
19493
+ */
19494
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.setMsmpPagination = function(value) {
19495
+ return jspb.Message.setWrapperField(this, 2, value);
19496
+ };
19497
+
19498
+
19499
+ /**
19500
+ * Clears the message field making it undefined.
19501
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} returns this
19502
+ */
19503
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.clearMsmpPagination = function() {
19504
+ return this.setMsmpPagination(undefined);
19505
+ };
19506
+
19507
+
19508
+ /**
19509
+ * Returns whether this field is set.
19510
+ * @return {boolean}
19511
+ */
19512
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.hasMsmpPagination = function() {
19513
+ return jspb.Message.getField(this, 2) != null;
19514
+ };
19515
+
19516
+
19517
+ /**
19518
+ * optional string trace_id = 3;
19519
+ * @return {string}
19520
+ */
19521
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.getTraceId = function() {
19522
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
19523
+ };
19524
+
19525
+
19526
+ /**
19527
+ * @param {string} value
19528
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest} returns this
19529
+ */
19530
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.prototype.setTraceId = function(value) {
19531
+ return jspb.Message.setProto3StringField(this, 3, value);
19532
+ };
19533
+
19534
+
19535
+
19536
+ /**
19537
+ * List of repeated fields within this message type.
19538
+ * @private {!Array<number>}
19539
+ * @const
19540
+ */
19541
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.repeatedFields_ = [1];
19542
+
19543
+
19544
+
19545
+ if (jspb.Message.GENERATE_TO_OBJECT) {
19546
+ /**
19547
+ * Creates an object representation of this proto.
19548
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
19549
+ * Optional fields that are not set will be set to undefined.
19550
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19551
+ * For the list of reserved names please see:
19552
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19553
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19554
+ * JSPB instance for transitional soy proto support:
19555
+ * http://goto/soy-param-migration
19556
+ * @return {!Object}
19557
+ */
19558
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.toObject = function(opt_includeInstance) {
19559
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.toObject(opt_includeInstance, this);
19560
+ };
19561
+
19562
+
19563
+ /**
19564
+ * Static version of the {@see toObject} method.
19565
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19566
+ * the JSPB instance for transitional soy proto support:
19567
+ * http://goto/soy-param-migration
19568
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} msg The msg instance to transform.
19569
+ * @return {!Object}
19570
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19571
+ */
19572
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.toObject = function(includeInstance, msg) {
19573
+ var f, obj = {
19574
+ organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(),
19575
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.toObject, includeInstance),
19576
+ msmpPageInfo: (f = msg.getMsmpPageInfo()) && proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.toObject(includeInstance, f)
19577
+ };
19578
+
19579
+ if (includeInstance) {
19580
+ obj.$jspbMessageInstance = msg;
19581
+ }
19582
+ return obj;
19583
+ };
19584
+ }
19585
+
19586
+
19587
+ /**
19588
+ * Deserializes binary data (in protobuf wire format).
19589
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
19590
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse}
19591
+ */
19592
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.deserializeBinary = function(bytes) {
19593
+ var reader = new jspb.BinaryReader(bytes);
19594
+ var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse;
19595
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.deserializeBinaryFromReader(msg, reader);
19596
+ };
19597
+
19598
+
19599
+ /**
19600
+ * Deserializes binary data (in protobuf wire format) from the
19601
+ * given reader into the given message object.
19602
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} msg The message object to deserialize into.
19603
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19604
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse}
19605
+ */
19606
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.deserializeBinaryFromReader = function(msg, reader) {
19607
+ while (reader.nextField()) {
19608
+ if (reader.isEndGroup()) {
19609
+ break;
19610
+ }
19611
+ var field = reader.getFieldNumber();
19612
+ switch (field) {
19613
+ case 1:
19614
+ var value = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization;
19615
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.deserializeBinaryFromReader);
19616
+ msg.addOrganizations(value);
19617
+ break;
19618
+ case 2:
19619
+ var value = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo;
19620
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.deserializeBinaryFromReader);
19621
+ msg.setMsmpPageInfo(value);
19622
+ break;
19623
+ default:
19624
+ reader.skipField();
19625
+ break;
19626
+ }
19627
+ }
19628
+ return msg;
19629
+ };
19630
+
19631
+
19632
+ /**
19633
+ * Serializes the message to binary data (in protobuf wire format).
19634
+ * @return {!Uint8Array}
19635
+ */
19636
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.serializeBinary = function() {
19637
+ var writer = new jspb.BinaryWriter();
19638
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.serializeBinaryToWriter(this, writer);
19639
+ return writer.getResultBuffer();
19640
+ };
19641
+
19642
+
19643
+ /**
19644
+ * Serializes the given message to binary data (in protobuf wire
19645
+ * format), writing to the given BinaryWriter.
19646
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} message
19647
+ * @param {!jspb.BinaryWriter} writer
19648
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19649
+ */
19650
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.serializeBinaryToWriter = function(message, writer) {
19651
+ var f = undefined;
19652
+ f = message.getOrganizationsList();
19653
+ if (f.length > 0) {
19654
+ writer.writeRepeatedMessage(
19655
+ 1,
19656
+ f,
19657
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.serializeBinaryToWriter
19658
+ );
19659
+ }
19660
+ f = message.getMsmpPageInfo();
19661
+ if (f != null) {
19662
+ writer.writeMessage(
19663
+ 2,
19664
+ f,
19665
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.serializeBinaryToWriter
19666
+ );
19667
+ }
19668
+ };
19669
+
19670
+
19671
+
19672
+
19673
+
19674
+ if (jspb.Message.GENERATE_TO_OBJECT) {
19675
+ /**
19676
+ * Creates an object representation of this proto.
19677
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
19678
+ * Optional fields that are not set will be set to undefined.
19679
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19680
+ * For the list of reserved names please see:
19681
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19682
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19683
+ * JSPB instance for transitional soy proto support:
19684
+ * http://goto/soy-param-migration
19685
+ * @return {!Object}
19686
+ */
19687
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.toObject = function(opt_includeInstance) {
19688
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.toObject(opt_includeInstance, this);
19689
+ };
19690
+
19691
+
19692
+ /**
19693
+ * Static version of the {@see toObject} method.
19694
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19695
+ * the JSPB instance for transitional soy proto support:
19696
+ * http://goto/soy-param-migration
19697
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} msg The msg instance to transform.
19698
+ * @return {!Object}
19699
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19700
+ */
19701
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.toObject = function(includeInstance, msg) {
19702
+ var f, obj = {
19703
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
19704
+ name: jspb.Message.getFieldWithDefault(msg, 2, "")
19705
+ };
19706
+
19707
+ if (includeInstance) {
19708
+ obj.$jspbMessageInstance = msg;
19709
+ }
19710
+ return obj;
19711
+ };
19712
+ }
19713
+
19714
+
19715
+ /**
19716
+ * Deserializes binary data (in protobuf wire format).
19717
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
19718
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization}
19719
+ */
19720
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.deserializeBinary = function(bytes) {
19721
+ var reader = new jspb.BinaryReader(bytes);
19722
+ var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization;
19723
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.deserializeBinaryFromReader(msg, reader);
19724
+ };
19725
+
19726
+
19727
+ /**
19728
+ * Deserializes binary data (in protobuf wire format) from the
19729
+ * given reader into the given message object.
19730
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} msg The message object to deserialize into.
19731
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19732
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization}
19733
+ */
19734
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.deserializeBinaryFromReader = function(msg, reader) {
19735
+ while (reader.nextField()) {
19736
+ if (reader.isEndGroup()) {
19737
+ break;
19738
+ }
19739
+ var field = reader.getFieldNumber();
19740
+ switch (field) {
19741
+ case 1:
19742
+ var value = /** @type {string} */ (reader.readString());
19743
+ msg.setId(value);
19744
+ break;
19745
+ case 2:
19746
+ var value = /** @type {string} */ (reader.readString());
19747
+ msg.setName(value);
19748
+ break;
19749
+ default:
19750
+ reader.skipField();
19751
+ break;
19752
+ }
19753
+ }
19754
+ return msg;
19755
+ };
19756
+
19757
+
19758
+ /**
19759
+ * Serializes the message to binary data (in protobuf wire format).
19760
+ * @return {!Uint8Array}
19761
+ */
19762
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.serializeBinary = function() {
19763
+ var writer = new jspb.BinaryWriter();
19764
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.serializeBinaryToWriter(this, writer);
19765
+ return writer.getResultBuffer();
19766
+ };
19767
+
19768
+
19769
+ /**
19770
+ * Serializes the given message to binary data (in protobuf wire
19771
+ * format), writing to the given BinaryWriter.
19772
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} message
19773
+ * @param {!jspb.BinaryWriter} writer
19774
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19775
+ */
19776
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.serializeBinaryToWriter = function(message, writer) {
19777
+ var f = undefined;
19778
+ f = message.getId();
19779
+ if (f.length > 0) {
19780
+ writer.writeString(
19781
+ 1,
19782
+ f
19783
+ );
19784
+ }
19785
+ f = message.getName();
19786
+ if (f.length > 0) {
19787
+ writer.writeString(
19788
+ 2,
19789
+ f
19790
+ );
19791
+ }
19792
+ };
19793
+
19794
+
19795
+ /**
19796
+ * optional string id = 1;
19797
+ * @return {string}
19798
+ */
19799
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.getId = function() {
19800
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
19801
+ };
19802
+
19803
+
19804
+ /**
19805
+ * @param {string} value
19806
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} returns this
19807
+ */
19808
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.setId = function(value) {
19809
+ return jspb.Message.setProto3StringField(this, 1, value);
19810
+ };
19811
+
19812
+
19813
+ /**
19814
+ * optional string name = 2;
19815
+ * @return {string}
19816
+ */
19817
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.getName = function() {
19818
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
19819
+ };
19820
+
19821
+
19822
+ /**
19823
+ * @param {string} value
19824
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization} returns this
19825
+ */
19826
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization.prototype.setName = function(value) {
19827
+ return jspb.Message.setProto3StringField(this, 2, value);
19828
+ };
19829
+
19830
+
19831
+
19832
+
19833
+
19834
+ if (jspb.Message.GENERATE_TO_OBJECT) {
19835
+ /**
19836
+ * Creates an object representation of this proto.
19837
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
19838
+ * Optional fields that are not set will be set to undefined.
19839
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19840
+ * For the list of reserved names please see:
19841
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19842
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19843
+ * JSPB instance for transitional soy proto support:
19844
+ * http://goto/soy-param-migration
19845
+ * @return {!Object}
19846
+ */
19847
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.toObject = function(opt_includeInstance) {
19848
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.toObject(opt_includeInstance, this);
19849
+ };
19850
+
19851
+
19852
+ /**
19853
+ * Static version of the {@see toObject} method.
19854
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19855
+ * the JSPB instance for transitional soy proto support:
19856
+ * http://goto/soy-param-migration
19857
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} msg The msg instance to transform.
19858
+ * @return {!Object}
19859
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19860
+ */
19861
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.toObject = function(includeInstance, msg) {
19862
+ var f, obj = {
19863
+ total: jspb.Message.getFieldWithDefault(msg, 1, 0),
19864
+ offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
19865
+ limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
19866
+ hasNextPage: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
19867
+ };
19868
+
19869
+ if (includeInstance) {
19870
+ obj.$jspbMessageInstance = msg;
19871
+ }
19872
+ return obj;
19873
+ };
19874
+ }
19875
+
19876
+
19877
+ /**
19878
+ * Deserializes binary data (in protobuf wire format).
19879
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
19880
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo}
19881
+ */
19882
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.deserializeBinary = function(bytes) {
19883
+ var reader = new jspb.BinaryReader(bytes);
19884
+ var msg = new proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo;
19885
+ return proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.deserializeBinaryFromReader(msg, reader);
19886
+ };
19887
+
19888
+
19889
+ /**
19890
+ * Deserializes binary data (in protobuf wire format) from the
19891
+ * given reader into the given message object.
19892
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} msg The message object to deserialize into.
19893
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19894
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo}
19895
+ */
19896
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.deserializeBinaryFromReader = function(msg, reader) {
19897
+ while (reader.nextField()) {
19898
+ if (reader.isEndGroup()) {
19899
+ break;
19900
+ }
19901
+ var field = reader.getFieldNumber();
19902
+ switch (field) {
19903
+ case 1:
19904
+ var value = /** @type {number} */ (reader.readInt32());
19905
+ msg.setTotal(value);
19906
+ break;
19907
+ case 2:
19908
+ var value = /** @type {number} */ (reader.readInt32());
19909
+ msg.setOffset(value);
19910
+ break;
19911
+ case 3:
19912
+ var value = /** @type {number} */ (reader.readInt32());
19913
+ msg.setLimit(value);
19914
+ break;
19915
+ case 4:
19916
+ var value = /** @type {boolean} */ (reader.readBool());
19917
+ msg.setHasNextPage(value);
19918
+ break;
19919
+ default:
19920
+ reader.skipField();
19921
+ break;
19922
+ }
19923
+ }
19924
+ return msg;
19925
+ };
19926
+
19927
+
19928
+ /**
19929
+ * Serializes the message to binary data (in protobuf wire format).
19930
+ * @return {!Uint8Array}
19931
+ */
19932
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.serializeBinary = function() {
19933
+ var writer = new jspb.BinaryWriter();
19934
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.serializeBinaryToWriter(this, writer);
19935
+ return writer.getResultBuffer();
19936
+ };
19937
+
19938
+
19939
+ /**
19940
+ * Serializes the given message to binary data (in protobuf wire
19941
+ * format), writing to the given BinaryWriter.
19942
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} message
19943
+ * @param {!jspb.BinaryWriter} writer
19944
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19945
+ */
19946
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.serializeBinaryToWriter = function(message, writer) {
19947
+ var f = undefined;
19948
+ f = message.getTotal();
19949
+ if (f !== 0) {
19950
+ writer.writeInt32(
19951
+ 1,
19952
+ f
19953
+ );
19954
+ }
19955
+ f = message.getOffset();
19956
+ if (f !== 0) {
19957
+ writer.writeInt32(
19958
+ 2,
19959
+ f
19960
+ );
19961
+ }
19962
+ f = message.getLimit();
19963
+ if (f !== 0) {
19964
+ writer.writeInt32(
19965
+ 3,
19966
+ f
19967
+ );
19968
+ }
19969
+ f = message.getHasNextPage();
19970
+ if (f) {
19971
+ writer.writeBool(
19972
+ 4,
19973
+ f
19974
+ );
19975
+ }
19976
+ };
19977
+
19978
+
19979
+ /**
19980
+ * optional int32 total = 1;
19981
+ * @return {number}
19982
+ */
19983
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getTotal = function() {
19984
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
19985
+ };
19986
+
19987
+
19988
+ /**
19989
+ * @param {number} value
19990
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
19991
+ */
19992
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setTotal = function(value) {
19993
+ return jspb.Message.setProto3IntField(this, 1, value);
19994
+ };
19995
+
19996
+
19997
+ /**
19998
+ * optional int32 offset = 2;
19999
+ * @return {number}
20000
+ */
20001
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getOffset = function() {
20002
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
20003
+ };
20004
+
20005
+
20006
+ /**
20007
+ * @param {number} value
20008
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
20009
+ */
20010
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setOffset = function(value) {
20011
+ return jspb.Message.setProto3IntField(this, 2, value);
20012
+ };
20013
+
20014
+
20015
+ /**
20016
+ * optional int32 limit = 3;
20017
+ * @return {number}
20018
+ */
20019
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getLimit = function() {
20020
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
20021
+ };
20022
+
20023
+
20024
+ /**
20025
+ * @param {number} value
20026
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
20027
+ */
20028
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setLimit = function(value) {
20029
+ return jspb.Message.setProto3IntField(this, 3, value);
20030
+ };
20031
+
20032
+
20033
+ /**
20034
+ * optional bool has_next_page = 4;
20035
+ * @return {boolean}
20036
+ */
20037
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.getHasNextPage = function() {
20038
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
20039
+ };
20040
+
20041
+
20042
+ /**
20043
+ * @param {boolean} value
20044
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} returns this
20045
+ */
20046
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo.prototype.setHasNextPage = function(value) {
20047
+ return jspb.Message.setProto3BooleanField(this, 4, value);
20048
+ };
20049
+
20050
+
20051
+ /**
20052
+ * repeated MsmpOrganization organizations = 1;
20053
+ * @return {!Array<!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization>}
20054
+ */
20055
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.getOrganizationsList = function() {
20056
+ return /** @type{!Array<!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization>} */ (
20057
+ jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization, 1));
20058
+ };
20059
+
20060
+
20061
+ /**
20062
+ * @param {!Array<!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization>} value
20063
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
20064
+ */
20065
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.setOrganizationsList = function(value) {
20066
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
20067
+ };
20068
+
20069
+
20070
+ /**
20071
+ * @param {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization=} opt_value
20072
+ * @param {number=} opt_index
20073
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization}
20074
+ */
20075
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.addOrganizations = function(opt_value, opt_index) {
20076
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization, opt_index);
20077
+ };
20078
+
20079
+
20080
+ /**
20081
+ * Clears the list making it empty but non-null.
20082
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
20083
+ */
20084
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.clearOrganizationsList = function() {
20085
+ return this.setOrganizationsList([]);
20086
+ };
20087
+
20088
+
20089
+ /**
20090
+ * optional MsmpPageInfo msmp_page_info = 2;
20091
+ * @return {?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo}
20092
+ */
20093
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.getMsmpPageInfo = function() {
20094
+ return /** @type{?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo} */ (
20095
+ jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo, 2));
20096
+ };
20097
+
20098
+
20099
+ /**
20100
+ * @param {?proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpPageInfo|undefined} value
20101
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
20102
+ */
20103
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.setMsmpPageInfo = function(value) {
20104
+ return jspb.Message.setWrapperField(this, 2, value);
20105
+ };
20106
+
20107
+
20108
+ /**
20109
+ * Clears the message field making it undefined.
20110
+ * @return {!proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse} returns this
20111
+ */
20112
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.clearMsmpPageInfo = function() {
20113
+ return this.setMsmpPageInfo(undefined);
20114
+ };
20115
+
20116
+
20117
+ /**
20118
+ * Returns whether this field is set.
20119
+ * @return {boolean}
20120
+ */
20121
+ proto.lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.prototype.hasMsmpPageInfo = function() {
20122
+ return jspb.Message.getField(this, 2) != null;
20123
+ };
20124
+
20125
+
19054
20126
  /**
19055
20127
  * @enum {number}
19056
20128
  */