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