@lansweeper/multitenant-api-grpc 0.4.73 → 0.4.75
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 +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/multitenant_grpc_pb.d.ts +14 -14
- package/gen-proto/multitenant_grpc_pb.js +18 -18
- package/gen-proto/multitenant_pb.d.ts +96 -50
- package/gen-proto/multitenant_pb.js +519 -173
- package/generated-go/multitenant.pb.go +1119 -991
- package/generated-go/multitenant_grpc.pb.go +15 -15
- package/package.json +2 -2
- package/proto/multitenant.proto +18 -10
|
@@ -94,8 +94,10 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitePreviewRequest', null,
|
|
|
94
94
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitePreviewResponse', null, global);
|
|
95
95
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest', null, global);
|
|
96
96
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse', null, global);
|
|
97
|
-
goog.exportSymbol('proto.lansweeper.multitenant.v1.
|
|
98
|
-
goog.exportSymbol('proto.lansweeper.multitenant.v1.
|
|
97
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitesOptions', null, global);
|
|
98
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitesPageInfo', null, global);
|
|
99
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitesRequest', null, global);
|
|
100
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitesResponse', null, global);
|
|
99
101
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetUserPermissionsRequest', null, global);
|
|
100
102
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetUserPermissionsResponse', null, global);
|
|
101
103
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetUserPermissionsResponse.AuthorizationAction', null, global);
|
|
@@ -139,9 +141,9 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.Site', null, global);
|
|
|
139
141
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem', null, global);
|
|
140
142
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.ParentType', null, global);
|
|
141
143
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo', null, global);
|
|
144
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteItem', null, global);
|
|
145
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteItemMetadata', null, global);
|
|
142
146
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteMode', null, global);
|
|
143
|
-
goog.exportSymbol('proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem', null, global);
|
|
144
|
-
goog.exportSymbol('proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo', null, global);
|
|
145
147
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.Subscription', null, global);
|
|
146
148
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.SubscriptionType', null, global);
|
|
147
149
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest', null, global);
|
|
@@ -2267,16 +2269,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2267
2269
|
* @extends {jspb.Message}
|
|
2268
2270
|
* @constructor
|
|
2269
2271
|
*/
|
|
2270
|
-
proto.lansweeper.multitenant.v1.
|
|
2272
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions = function(opt_data) {
|
|
2271
2273
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2272
2274
|
};
|
|
2273
|
-
goog.inherits(proto.lansweeper.multitenant.v1.
|
|
2275
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetSitesOptions, jspb.Message);
|
|
2274
2276
|
if (goog.DEBUG && !COMPILED) {
|
|
2275
2277
|
/**
|
|
2276
2278
|
* @public
|
|
2277
2279
|
* @override
|
|
2278
2280
|
*/
|
|
2279
|
-
proto.lansweeper.multitenant.v1.
|
|
2281
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.displayName = 'proto.lansweeper.multitenant.v1.GetSitesOptions';
|
|
2280
2282
|
}
|
|
2281
2283
|
/**
|
|
2282
2284
|
* Generated by JsPbCodeGenerator.
|
|
@@ -2288,16 +2290,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2288
2290
|
* @extends {jspb.Message}
|
|
2289
2291
|
* @constructor
|
|
2290
2292
|
*/
|
|
2291
|
-
proto.lansweeper.multitenant.v1.
|
|
2293
|
+
proto.lansweeper.multitenant.v1.GetSitesRequest = function(opt_data) {
|
|
2292
2294
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2293
2295
|
};
|
|
2294
|
-
goog.inherits(proto.lansweeper.multitenant.v1.
|
|
2296
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetSitesRequest, jspb.Message);
|
|
2295
2297
|
if (goog.DEBUG && !COMPILED) {
|
|
2296
2298
|
/**
|
|
2297
2299
|
* @public
|
|
2298
2300
|
* @override
|
|
2299
2301
|
*/
|
|
2300
|
-
proto.lansweeper.multitenant.v1.
|
|
2302
|
+
proto.lansweeper.multitenant.v1.GetSitesRequest.displayName = 'proto.lansweeper.multitenant.v1.GetSitesRequest';
|
|
2301
2303
|
}
|
|
2302
2304
|
/**
|
|
2303
2305
|
* Generated by JsPbCodeGenerator.
|
|
@@ -2309,16 +2311,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2309
2311
|
* @extends {jspb.Message}
|
|
2310
2312
|
* @constructor
|
|
2311
2313
|
*/
|
|
2312
|
-
proto.lansweeper.multitenant.v1.
|
|
2314
|
+
proto.lansweeper.multitenant.v1.SiteItemMetadata = function(opt_data) {
|
|
2313
2315
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2314
2316
|
};
|
|
2315
|
-
goog.inherits(proto.lansweeper.multitenant.v1.
|
|
2317
|
+
goog.inherits(proto.lansweeper.multitenant.v1.SiteItemMetadata, jspb.Message);
|
|
2316
2318
|
if (goog.DEBUG && !COMPILED) {
|
|
2317
2319
|
/**
|
|
2318
2320
|
* @public
|
|
2319
2321
|
* @override
|
|
2320
2322
|
*/
|
|
2321
|
-
proto.lansweeper.multitenant.v1.
|
|
2323
|
+
proto.lansweeper.multitenant.v1.SiteItemMetadata.displayName = 'proto.lansweeper.multitenant.v1.SiteItemMetadata';
|
|
2322
2324
|
}
|
|
2323
2325
|
/**
|
|
2324
2326
|
* Generated by JsPbCodeGenerator.
|
|
@@ -2330,16 +2332,58 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2330
2332
|
* @extends {jspb.Message}
|
|
2331
2333
|
* @constructor
|
|
2332
2334
|
*/
|
|
2333
|
-
proto.lansweeper.multitenant.v1.
|
|
2334
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
2335
|
+
proto.lansweeper.multitenant.v1.SiteItem = function(opt_data) {
|
|
2336
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2337
|
+
};
|
|
2338
|
+
goog.inherits(proto.lansweeper.multitenant.v1.SiteItem, jspb.Message);
|
|
2339
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2340
|
+
/**
|
|
2341
|
+
* @public
|
|
2342
|
+
* @override
|
|
2343
|
+
*/
|
|
2344
|
+
proto.lansweeper.multitenant.v1.SiteItem.displayName = 'proto.lansweeper.multitenant.v1.SiteItem';
|
|
2345
|
+
}
|
|
2346
|
+
/**
|
|
2347
|
+
* Generated by JsPbCodeGenerator.
|
|
2348
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2349
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2350
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2351
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2352
|
+
* valid.
|
|
2353
|
+
* @extends {jspb.Message}
|
|
2354
|
+
* @constructor
|
|
2355
|
+
*/
|
|
2356
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo = function(opt_data) {
|
|
2357
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2358
|
+
};
|
|
2359
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetSitesPageInfo, jspb.Message);
|
|
2360
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2361
|
+
/**
|
|
2362
|
+
* @public
|
|
2363
|
+
* @override
|
|
2364
|
+
*/
|
|
2365
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo.displayName = 'proto.lansweeper.multitenant.v1.GetSitesPageInfo';
|
|
2366
|
+
}
|
|
2367
|
+
/**
|
|
2368
|
+
* Generated by JsPbCodeGenerator.
|
|
2369
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2370
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2371
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2372
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2373
|
+
* valid.
|
|
2374
|
+
* @extends {jspb.Message}
|
|
2375
|
+
* @constructor
|
|
2376
|
+
*/
|
|
2377
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse = function(opt_data) {
|
|
2378
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.GetSitesResponse.repeatedFields_, null);
|
|
2335
2379
|
};
|
|
2336
|
-
goog.inherits(proto.lansweeper.multitenant.v1.
|
|
2380
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetSitesResponse, jspb.Message);
|
|
2337
2381
|
if (goog.DEBUG && !COMPILED) {
|
|
2338
2382
|
/**
|
|
2339
2383
|
* @public
|
|
2340
2384
|
* @override
|
|
2341
2385
|
*/
|
|
2342
|
-
proto.lansweeper.multitenant.v1.
|
|
2386
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.displayName = 'proto.lansweeper.multitenant.v1.GetSitesResponse';
|
|
2343
2387
|
}
|
|
2344
2388
|
/**
|
|
2345
2389
|
* Generated by JsPbCodeGenerator.
|
|
@@ -21127,8 +21171,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21127
21171
|
* http://goto/soy-param-migration
|
|
21128
21172
|
* @return {!Object}
|
|
21129
21173
|
*/
|
|
21130
|
-
proto.lansweeper.multitenant.v1.
|
|
21131
|
-
return proto.lansweeper.multitenant.v1.
|
|
21174
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.prototype.toObject = function(opt_includeInstance) {
|
|
21175
|
+
return proto.lansweeper.multitenant.v1.GetSitesOptions.toObject(opt_includeInstance, this);
|
|
21132
21176
|
};
|
|
21133
21177
|
|
|
21134
21178
|
|
|
@@ -21137,11 +21181,11 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.prototype.toObj
|
|
|
21137
21181
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21138
21182
|
* the JSPB instance for transitional soy proto support:
|
|
21139
21183
|
* http://goto/soy-param-migration
|
|
21140
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
21184
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesOptions} msg The msg instance to transform.
|
|
21141
21185
|
* @return {!Object}
|
|
21142
21186
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21143
21187
|
*/
|
|
21144
|
-
proto.lansweeper.multitenant.v1.
|
|
21188
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.toObject = function(includeInstance, msg) {
|
|
21145
21189
|
var f, obj = {
|
|
21146
21190
|
offsetId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
21147
21191
|
limit: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
@@ -21158,23 +21202,23 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.toObject = func
|
|
|
21158
21202
|
/**
|
|
21159
21203
|
* Deserializes binary data (in protobuf wire format).
|
|
21160
21204
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21161
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21205
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesOptions}
|
|
21162
21206
|
*/
|
|
21163
|
-
proto.lansweeper.multitenant.v1.
|
|
21207
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.deserializeBinary = function(bytes) {
|
|
21164
21208
|
var reader = new jspb.BinaryReader(bytes);
|
|
21165
|
-
var msg = new proto.lansweeper.multitenant.v1.
|
|
21166
|
-
return proto.lansweeper.multitenant.v1.
|
|
21209
|
+
var msg = new proto.lansweeper.multitenant.v1.GetSitesOptions;
|
|
21210
|
+
return proto.lansweeper.multitenant.v1.GetSitesOptions.deserializeBinaryFromReader(msg, reader);
|
|
21167
21211
|
};
|
|
21168
21212
|
|
|
21169
21213
|
|
|
21170
21214
|
/**
|
|
21171
21215
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21172
21216
|
* given reader into the given message object.
|
|
21173
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
21217
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesOptions} msg The message object to deserialize into.
|
|
21174
21218
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21175
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21219
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesOptions}
|
|
21176
21220
|
*/
|
|
21177
|
-
proto.lansweeper.multitenant.v1.
|
|
21221
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.deserializeBinaryFromReader = function(msg, reader) {
|
|
21178
21222
|
while (reader.nextField()) {
|
|
21179
21223
|
if (reader.isEndGroup()) {
|
|
21180
21224
|
break;
|
|
@@ -21202,9 +21246,9 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.deserializeBina
|
|
|
21202
21246
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21203
21247
|
* @return {!Uint8Array}
|
|
21204
21248
|
*/
|
|
21205
|
-
proto.lansweeper.multitenant.v1.
|
|
21249
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.prototype.serializeBinary = function() {
|
|
21206
21250
|
var writer = new jspb.BinaryWriter();
|
|
21207
|
-
proto.lansweeper.multitenant.v1.
|
|
21251
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.serializeBinaryToWriter(this, writer);
|
|
21208
21252
|
return writer.getResultBuffer();
|
|
21209
21253
|
};
|
|
21210
21254
|
|
|
@@ -21212,11 +21256,11 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.prototype.seria
|
|
|
21212
21256
|
/**
|
|
21213
21257
|
* Serializes the given message to binary data (in protobuf wire
|
|
21214
21258
|
* format), writing to the given BinaryWriter.
|
|
21215
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
21259
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesOptions} message
|
|
21216
21260
|
* @param {!jspb.BinaryWriter} writer
|
|
21217
21261
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21218
21262
|
*/
|
|
21219
|
-
proto.lansweeper.multitenant.v1.
|
|
21263
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.serializeBinaryToWriter = function(message, writer) {
|
|
21220
21264
|
var f = undefined;
|
|
21221
21265
|
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
21222
21266
|
if (f != null) {
|
|
@@ -21239,25 +21283,25 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.serializeBinary
|
|
|
21239
21283
|
* optional string offset_id = 1;
|
|
21240
21284
|
* @return {string}
|
|
21241
21285
|
*/
|
|
21242
|
-
proto.lansweeper.multitenant.v1.
|
|
21286
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.prototype.getOffsetId = function() {
|
|
21243
21287
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
21244
21288
|
};
|
|
21245
21289
|
|
|
21246
21290
|
|
|
21247
21291
|
/**
|
|
21248
21292
|
* @param {string} value
|
|
21249
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21293
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesOptions} returns this
|
|
21250
21294
|
*/
|
|
21251
|
-
proto.lansweeper.multitenant.v1.
|
|
21295
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.prototype.setOffsetId = function(value) {
|
|
21252
21296
|
return jspb.Message.setField(this, 1, value);
|
|
21253
21297
|
};
|
|
21254
21298
|
|
|
21255
21299
|
|
|
21256
21300
|
/**
|
|
21257
21301
|
* Clears the field making it undefined.
|
|
21258
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21302
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesOptions} returns this
|
|
21259
21303
|
*/
|
|
21260
|
-
proto.lansweeper.multitenant.v1.
|
|
21304
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.prototype.clearOffsetId = function() {
|
|
21261
21305
|
return jspb.Message.setField(this, 1, undefined);
|
|
21262
21306
|
};
|
|
21263
21307
|
|
|
@@ -21266,7 +21310,7 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.prototype.clear
|
|
|
21266
21310
|
* Returns whether this field is set.
|
|
21267
21311
|
* @return {boolean}
|
|
21268
21312
|
*/
|
|
21269
|
-
proto.lansweeper.multitenant.v1.
|
|
21313
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.prototype.hasOffsetId = function() {
|
|
21270
21314
|
return jspb.Message.getField(this, 1) != null;
|
|
21271
21315
|
};
|
|
21272
21316
|
|
|
@@ -21275,25 +21319,25 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.prototype.hasOf
|
|
|
21275
21319
|
* optional int32 limit = 2;
|
|
21276
21320
|
* @return {number}
|
|
21277
21321
|
*/
|
|
21278
|
-
proto.lansweeper.multitenant.v1.
|
|
21322
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.prototype.getLimit = function() {
|
|
21279
21323
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21280
21324
|
};
|
|
21281
21325
|
|
|
21282
21326
|
|
|
21283
21327
|
/**
|
|
21284
21328
|
* @param {number} value
|
|
21285
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21329
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesOptions} returns this
|
|
21286
21330
|
*/
|
|
21287
|
-
proto.lansweeper.multitenant.v1.
|
|
21331
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.prototype.setLimit = function(value) {
|
|
21288
21332
|
return jspb.Message.setField(this, 2, value);
|
|
21289
21333
|
};
|
|
21290
21334
|
|
|
21291
21335
|
|
|
21292
21336
|
/**
|
|
21293
21337
|
* Clears the field making it undefined.
|
|
21294
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21338
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesOptions} returns this
|
|
21295
21339
|
*/
|
|
21296
|
-
proto.lansweeper.multitenant.v1.
|
|
21340
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.prototype.clearLimit = function() {
|
|
21297
21341
|
return jspb.Message.setField(this, 2, undefined);
|
|
21298
21342
|
};
|
|
21299
21343
|
|
|
@@ -21302,7 +21346,7 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.prototype.clear
|
|
|
21302
21346
|
* Returns whether this field is set.
|
|
21303
21347
|
* @return {boolean}
|
|
21304
21348
|
*/
|
|
21305
|
-
proto.lansweeper.multitenant.v1.
|
|
21349
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.prototype.hasLimit = function() {
|
|
21306
21350
|
return jspb.Message.getField(this, 2) != null;
|
|
21307
21351
|
};
|
|
21308
21352
|
|
|
@@ -21323,8 +21367,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21323
21367
|
* http://goto/soy-param-migration
|
|
21324
21368
|
* @return {!Object}
|
|
21325
21369
|
*/
|
|
21326
|
-
proto.lansweeper.multitenant.v1.
|
|
21327
|
-
return proto.lansweeper.multitenant.v1.
|
|
21370
|
+
proto.lansweeper.multitenant.v1.GetSitesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21371
|
+
return proto.lansweeper.multitenant.v1.GetSitesRequest.toObject(opt_includeInstance, this);
|
|
21328
21372
|
};
|
|
21329
21373
|
|
|
21330
21374
|
|
|
@@ -21333,15 +21377,13 @@ proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.prototype.toObject =
|
|
|
21333
21377
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21334
21378
|
* the JSPB instance for transitional soy proto support:
|
|
21335
21379
|
* http://goto/soy-param-migration
|
|
21336
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
21380
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesRequest} msg The msg instance to transform.
|
|
21337
21381
|
* @return {!Object}
|
|
21338
21382
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21339
21383
|
*/
|
|
21340
|
-
proto.lansweeper.multitenant.v1.
|
|
21384
|
+
proto.lansweeper.multitenant.v1.GetSitesRequest.toObject = function(includeInstance, msg) {
|
|
21341
21385
|
var f, obj = {
|
|
21342
|
-
|
|
21343
|
-
enabledmetadatafieldsfederation: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
21344
|
-
enabledcustomfieldsfederation: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
21386
|
+
options: (f = msg.getOptions()) && proto.lansweeper.multitenant.v1.GetSitesOptions.toObject(includeInstance, f)
|
|
21345
21387
|
};
|
|
21346
21388
|
|
|
21347
21389
|
if (includeInstance) {
|
|
@@ -21355,23 +21397,23 @@ proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.toObject = function(i
|
|
|
21355
21397
|
/**
|
|
21356
21398
|
* Deserializes binary data (in protobuf wire format).
|
|
21357
21399
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21358
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21400
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesRequest}
|
|
21359
21401
|
*/
|
|
21360
|
-
proto.lansweeper.multitenant.v1.
|
|
21402
|
+
proto.lansweeper.multitenant.v1.GetSitesRequest.deserializeBinary = function(bytes) {
|
|
21361
21403
|
var reader = new jspb.BinaryReader(bytes);
|
|
21362
|
-
var msg = new proto.lansweeper.multitenant.v1.
|
|
21363
|
-
return proto.lansweeper.multitenant.v1.
|
|
21404
|
+
var msg = new proto.lansweeper.multitenant.v1.GetSitesRequest;
|
|
21405
|
+
return proto.lansweeper.multitenant.v1.GetSitesRequest.deserializeBinaryFromReader(msg, reader);
|
|
21364
21406
|
};
|
|
21365
21407
|
|
|
21366
21408
|
|
|
21367
21409
|
/**
|
|
21368
21410
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21369
21411
|
* given reader into the given message object.
|
|
21370
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
21412
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesRequest} msg The message object to deserialize into.
|
|
21371
21413
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21372
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21414
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesRequest}
|
|
21373
21415
|
*/
|
|
21374
|
-
proto.lansweeper.multitenant.v1.
|
|
21416
|
+
proto.lansweeper.multitenant.v1.GetSitesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21375
21417
|
while (reader.nextField()) {
|
|
21376
21418
|
if (reader.isEndGroup()) {
|
|
21377
21419
|
break;
|
|
@@ -21379,16 +21421,164 @@ proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.deserializeBinaryFrom
|
|
|
21379
21421
|
var field = reader.getFieldNumber();
|
|
21380
21422
|
switch (field) {
|
|
21381
21423
|
case 1:
|
|
21382
|
-
var value =
|
|
21383
|
-
|
|
21424
|
+
var value = new proto.lansweeper.multitenant.v1.GetSitesOptions;
|
|
21425
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.GetSitesOptions.deserializeBinaryFromReader);
|
|
21426
|
+
msg.setOptions(value);
|
|
21384
21427
|
break;
|
|
21385
|
-
|
|
21428
|
+
default:
|
|
21429
|
+
reader.skipField();
|
|
21430
|
+
break;
|
|
21431
|
+
}
|
|
21432
|
+
}
|
|
21433
|
+
return msg;
|
|
21434
|
+
};
|
|
21435
|
+
|
|
21436
|
+
|
|
21437
|
+
/**
|
|
21438
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21439
|
+
* @return {!Uint8Array}
|
|
21440
|
+
*/
|
|
21441
|
+
proto.lansweeper.multitenant.v1.GetSitesRequest.prototype.serializeBinary = function() {
|
|
21442
|
+
var writer = new jspb.BinaryWriter();
|
|
21443
|
+
proto.lansweeper.multitenant.v1.GetSitesRequest.serializeBinaryToWriter(this, writer);
|
|
21444
|
+
return writer.getResultBuffer();
|
|
21445
|
+
};
|
|
21446
|
+
|
|
21447
|
+
|
|
21448
|
+
/**
|
|
21449
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
21450
|
+
* format), writing to the given BinaryWriter.
|
|
21451
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesRequest} message
|
|
21452
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21453
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21454
|
+
*/
|
|
21455
|
+
proto.lansweeper.multitenant.v1.GetSitesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21456
|
+
var f = undefined;
|
|
21457
|
+
f = message.getOptions();
|
|
21458
|
+
if (f != null) {
|
|
21459
|
+
writer.writeMessage(
|
|
21460
|
+
1,
|
|
21461
|
+
f,
|
|
21462
|
+
proto.lansweeper.multitenant.v1.GetSitesOptions.serializeBinaryToWriter
|
|
21463
|
+
);
|
|
21464
|
+
}
|
|
21465
|
+
};
|
|
21466
|
+
|
|
21467
|
+
|
|
21468
|
+
/**
|
|
21469
|
+
* optional GetSitesOptions options = 1;
|
|
21470
|
+
* @return {?proto.lansweeper.multitenant.v1.GetSitesOptions}
|
|
21471
|
+
*/
|
|
21472
|
+
proto.lansweeper.multitenant.v1.GetSitesRequest.prototype.getOptions = function() {
|
|
21473
|
+
return /** @type{?proto.lansweeper.multitenant.v1.GetSitesOptions} */ (
|
|
21474
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.GetSitesOptions, 1));
|
|
21475
|
+
};
|
|
21476
|
+
|
|
21477
|
+
|
|
21478
|
+
/**
|
|
21479
|
+
* @param {?proto.lansweeper.multitenant.v1.GetSitesOptions|undefined} value
|
|
21480
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesRequest} returns this
|
|
21481
|
+
*/
|
|
21482
|
+
proto.lansweeper.multitenant.v1.GetSitesRequest.prototype.setOptions = function(value) {
|
|
21483
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
21484
|
+
};
|
|
21485
|
+
|
|
21486
|
+
|
|
21487
|
+
/**
|
|
21488
|
+
* Clears the message field making it undefined.
|
|
21489
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesRequest} returns this
|
|
21490
|
+
*/
|
|
21491
|
+
proto.lansweeper.multitenant.v1.GetSitesRequest.prototype.clearOptions = function() {
|
|
21492
|
+
return this.setOptions(undefined);
|
|
21493
|
+
};
|
|
21494
|
+
|
|
21495
|
+
|
|
21496
|
+
/**
|
|
21497
|
+
* Returns whether this field is set.
|
|
21498
|
+
* @return {boolean}
|
|
21499
|
+
*/
|
|
21500
|
+
proto.lansweeper.multitenant.v1.GetSitesRequest.prototype.hasOptions = function() {
|
|
21501
|
+
return jspb.Message.getField(this, 1) != null;
|
|
21502
|
+
};
|
|
21503
|
+
|
|
21504
|
+
|
|
21505
|
+
|
|
21506
|
+
|
|
21507
|
+
|
|
21508
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21509
|
+
/**
|
|
21510
|
+
* Creates an object representation of this proto.
|
|
21511
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21512
|
+
* Optional fields that are not set will be set to undefined.
|
|
21513
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21514
|
+
* For the list of reserved names please see:
|
|
21515
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21516
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21517
|
+
* JSPB instance for transitional soy proto support:
|
|
21518
|
+
* http://goto/soy-param-migration
|
|
21519
|
+
* @return {!Object}
|
|
21520
|
+
*/
|
|
21521
|
+
proto.lansweeper.multitenant.v1.SiteItemMetadata.prototype.toObject = function(opt_includeInstance) {
|
|
21522
|
+
return proto.lansweeper.multitenant.v1.SiteItemMetadata.toObject(opt_includeInstance, this);
|
|
21523
|
+
};
|
|
21524
|
+
|
|
21525
|
+
|
|
21526
|
+
/**
|
|
21527
|
+
* Static version of the {@see toObject} method.
|
|
21528
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21529
|
+
* the JSPB instance for transitional soy proto support:
|
|
21530
|
+
* http://goto/soy-param-migration
|
|
21531
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteItemMetadata} msg The msg instance to transform.
|
|
21532
|
+
* @return {!Object}
|
|
21533
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21534
|
+
*/
|
|
21535
|
+
proto.lansweeper.multitenant.v1.SiteItemMetadata.toObject = function(includeInstance, msg) {
|
|
21536
|
+
var f, obj = {
|
|
21537
|
+
enabledMetadataFieldsFederation: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
21538
|
+
enabledCustomFieldsFederation: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
21539
|
+
};
|
|
21540
|
+
|
|
21541
|
+
if (includeInstance) {
|
|
21542
|
+
obj.$jspbMessageInstance = msg;
|
|
21543
|
+
}
|
|
21544
|
+
return obj;
|
|
21545
|
+
};
|
|
21546
|
+
}
|
|
21547
|
+
|
|
21548
|
+
|
|
21549
|
+
/**
|
|
21550
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21551
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21552
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteItemMetadata}
|
|
21553
|
+
*/
|
|
21554
|
+
proto.lansweeper.multitenant.v1.SiteItemMetadata.deserializeBinary = function(bytes) {
|
|
21555
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21556
|
+
var msg = new proto.lansweeper.multitenant.v1.SiteItemMetadata;
|
|
21557
|
+
return proto.lansweeper.multitenant.v1.SiteItemMetadata.deserializeBinaryFromReader(msg, reader);
|
|
21558
|
+
};
|
|
21559
|
+
|
|
21560
|
+
|
|
21561
|
+
/**
|
|
21562
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21563
|
+
* given reader into the given message object.
|
|
21564
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteItemMetadata} msg The message object to deserialize into.
|
|
21565
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21566
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteItemMetadata}
|
|
21567
|
+
*/
|
|
21568
|
+
proto.lansweeper.multitenant.v1.SiteItemMetadata.deserializeBinaryFromReader = function(msg, reader) {
|
|
21569
|
+
while (reader.nextField()) {
|
|
21570
|
+
if (reader.isEndGroup()) {
|
|
21571
|
+
break;
|
|
21572
|
+
}
|
|
21573
|
+
var field = reader.getFieldNumber();
|
|
21574
|
+
switch (field) {
|
|
21575
|
+
case 1:
|
|
21386
21576
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
21387
|
-
msg.
|
|
21577
|
+
msg.setEnabledMetadataFieldsFederation(value);
|
|
21388
21578
|
break;
|
|
21389
|
-
case
|
|
21579
|
+
case 2:
|
|
21390
21580
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
21391
|
-
msg.
|
|
21581
|
+
msg.setEnabledCustomFieldsFederation(value);
|
|
21392
21582
|
break;
|
|
21393
21583
|
default:
|
|
21394
21584
|
reader.skipField();
|
|
@@ -21403,9 +21593,9 @@ proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.deserializeBinaryFrom
|
|
|
21403
21593
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21404
21594
|
* @return {!Uint8Array}
|
|
21405
21595
|
*/
|
|
21406
|
-
proto.lansweeper.multitenant.v1.
|
|
21596
|
+
proto.lansweeper.multitenant.v1.SiteItemMetadata.prototype.serializeBinary = function() {
|
|
21407
21597
|
var writer = new jspb.BinaryWriter();
|
|
21408
|
-
proto.lansweeper.multitenant.v1.
|
|
21598
|
+
proto.lansweeper.multitenant.v1.SiteItemMetadata.serializeBinaryToWriter(this, writer);
|
|
21409
21599
|
return writer.getResultBuffer();
|
|
21410
21600
|
};
|
|
21411
21601
|
|
|
@@ -21413,87 +21603,243 @@ proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.prototype.serializeBi
|
|
|
21413
21603
|
/**
|
|
21414
21604
|
* Serializes the given message to binary data (in protobuf wire
|
|
21415
21605
|
* format), writing to the given BinaryWriter.
|
|
21416
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
21606
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteItemMetadata} message
|
|
21417
21607
|
* @param {!jspb.BinaryWriter} writer
|
|
21418
21608
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21419
21609
|
*/
|
|
21420
|
-
proto.lansweeper.multitenant.v1.
|
|
21610
|
+
proto.lansweeper.multitenant.v1.SiteItemMetadata.serializeBinaryToWriter = function(message, writer) {
|
|
21421
21611
|
var f = undefined;
|
|
21422
|
-
f = message.
|
|
21423
|
-
if (f
|
|
21424
|
-
writer.
|
|
21612
|
+
f = message.getEnabledMetadataFieldsFederation();
|
|
21613
|
+
if (f) {
|
|
21614
|
+
writer.writeBool(
|
|
21425
21615
|
1,
|
|
21426
21616
|
f
|
|
21427
21617
|
);
|
|
21428
21618
|
}
|
|
21429
|
-
f = message.
|
|
21619
|
+
f = message.getEnabledCustomFieldsFederation();
|
|
21430
21620
|
if (f) {
|
|
21431
21621
|
writer.writeBool(
|
|
21432
21622
|
2,
|
|
21433
21623
|
f
|
|
21434
21624
|
);
|
|
21435
21625
|
}
|
|
21436
|
-
|
|
21437
|
-
|
|
21438
|
-
|
|
21439
|
-
|
|
21626
|
+
};
|
|
21627
|
+
|
|
21628
|
+
|
|
21629
|
+
/**
|
|
21630
|
+
* optional bool enabled_metadata_fields_federation = 1;
|
|
21631
|
+
* @return {boolean}
|
|
21632
|
+
*/
|
|
21633
|
+
proto.lansweeper.multitenant.v1.SiteItemMetadata.prototype.getEnabledMetadataFieldsFederation = function() {
|
|
21634
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
21635
|
+
};
|
|
21636
|
+
|
|
21637
|
+
|
|
21638
|
+
/**
|
|
21639
|
+
* @param {boolean} value
|
|
21640
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteItemMetadata} returns this
|
|
21641
|
+
*/
|
|
21642
|
+
proto.lansweeper.multitenant.v1.SiteItemMetadata.prototype.setEnabledMetadataFieldsFederation = function(value) {
|
|
21643
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
21644
|
+
};
|
|
21645
|
+
|
|
21646
|
+
|
|
21647
|
+
/**
|
|
21648
|
+
* optional bool enabled_custom_fields_federation = 2;
|
|
21649
|
+
* @return {boolean}
|
|
21650
|
+
*/
|
|
21651
|
+
proto.lansweeper.multitenant.v1.SiteItemMetadata.prototype.getEnabledCustomFieldsFederation = function() {
|
|
21652
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
21653
|
+
};
|
|
21654
|
+
|
|
21655
|
+
|
|
21656
|
+
/**
|
|
21657
|
+
* @param {boolean} value
|
|
21658
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteItemMetadata} returns this
|
|
21659
|
+
*/
|
|
21660
|
+
proto.lansweeper.multitenant.v1.SiteItemMetadata.prototype.setEnabledCustomFieldsFederation = function(value) {
|
|
21661
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
21662
|
+
};
|
|
21663
|
+
|
|
21664
|
+
|
|
21665
|
+
|
|
21666
|
+
|
|
21667
|
+
|
|
21668
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21669
|
+
/**
|
|
21670
|
+
* Creates an object representation of this proto.
|
|
21671
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21672
|
+
* Optional fields that are not set will be set to undefined.
|
|
21673
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21674
|
+
* For the list of reserved names please see:
|
|
21675
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21676
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21677
|
+
* JSPB instance for transitional soy proto support:
|
|
21678
|
+
* http://goto/soy-param-migration
|
|
21679
|
+
* @return {!Object}
|
|
21680
|
+
*/
|
|
21681
|
+
proto.lansweeper.multitenant.v1.SiteItem.prototype.toObject = function(opt_includeInstance) {
|
|
21682
|
+
return proto.lansweeper.multitenant.v1.SiteItem.toObject(opt_includeInstance, this);
|
|
21683
|
+
};
|
|
21684
|
+
|
|
21685
|
+
|
|
21686
|
+
/**
|
|
21687
|
+
* Static version of the {@see toObject} method.
|
|
21688
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21689
|
+
* the JSPB instance for transitional soy proto support:
|
|
21690
|
+
* http://goto/soy-param-migration
|
|
21691
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteItem} msg The msg instance to transform.
|
|
21692
|
+
* @return {!Object}
|
|
21693
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21694
|
+
*/
|
|
21695
|
+
proto.lansweeper.multitenant.v1.SiteItem.toObject = function(includeInstance, msg) {
|
|
21696
|
+
var f, obj = {
|
|
21697
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
21698
|
+
metadata: (f = msg.getMetadata()) && proto.lansweeper.multitenant.v1.SiteItemMetadata.toObject(includeInstance, f)
|
|
21699
|
+
};
|
|
21700
|
+
|
|
21701
|
+
if (includeInstance) {
|
|
21702
|
+
obj.$jspbMessageInstance = msg;
|
|
21703
|
+
}
|
|
21704
|
+
return obj;
|
|
21705
|
+
};
|
|
21706
|
+
}
|
|
21707
|
+
|
|
21708
|
+
|
|
21709
|
+
/**
|
|
21710
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21711
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21712
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteItem}
|
|
21713
|
+
*/
|
|
21714
|
+
proto.lansweeper.multitenant.v1.SiteItem.deserializeBinary = function(bytes) {
|
|
21715
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21716
|
+
var msg = new proto.lansweeper.multitenant.v1.SiteItem;
|
|
21717
|
+
return proto.lansweeper.multitenant.v1.SiteItem.deserializeBinaryFromReader(msg, reader);
|
|
21718
|
+
};
|
|
21719
|
+
|
|
21720
|
+
|
|
21721
|
+
/**
|
|
21722
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21723
|
+
* given reader into the given message object.
|
|
21724
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteItem} msg The message object to deserialize into.
|
|
21725
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21726
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteItem}
|
|
21727
|
+
*/
|
|
21728
|
+
proto.lansweeper.multitenant.v1.SiteItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
21729
|
+
while (reader.nextField()) {
|
|
21730
|
+
if (reader.isEndGroup()) {
|
|
21731
|
+
break;
|
|
21732
|
+
}
|
|
21733
|
+
var field = reader.getFieldNumber();
|
|
21734
|
+
switch (field) {
|
|
21735
|
+
case 1:
|
|
21736
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21737
|
+
msg.setId(value);
|
|
21738
|
+
break;
|
|
21739
|
+
case 2:
|
|
21740
|
+
var value = new proto.lansweeper.multitenant.v1.SiteItemMetadata;
|
|
21741
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.SiteItemMetadata.deserializeBinaryFromReader);
|
|
21742
|
+
msg.setMetadata(value);
|
|
21743
|
+
break;
|
|
21744
|
+
default:
|
|
21745
|
+
reader.skipField();
|
|
21746
|
+
break;
|
|
21747
|
+
}
|
|
21748
|
+
}
|
|
21749
|
+
return msg;
|
|
21750
|
+
};
|
|
21751
|
+
|
|
21752
|
+
|
|
21753
|
+
/**
|
|
21754
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21755
|
+
* @return {!Uint8Array}
|
|
21756
|
+
*/
|
|
21757
|
+
proto.lansweeper.multitenant.v1.SiteItem.prototype.serializeBinary = function() {
|
|
21758
|
+
var writer = new jspb.BinaryWriter();
|
|
21759
|
+
proto.lansweeper.multitenant.v1.SiteItem.serializeBinaryToWriter(this, writer);
|
|
21760
|
+
return writer.getResultBuffer();
|
|
21761
|
+
};
|
|
21762
|
+
|
|
21763
|
+
|
|
21764
|
+
/**
|
|
21765
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
21766
|
+
* format), writing to the given BinaryWriter.
|
|
21767
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteItem} message
|
|
21768
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21769
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21770
|
+
*/
|
|
21771
|
+
proto.lansweeper.multitenant.v1.SiteItem.serializeBinaryToWriter = function(message, writer) {
|
|
21772
|
+
var f = undefined;
|
|
21773
|
+
f = message.getId();
|
|
21774
|
+
if (f.length > 0) {
|
|
21775
|
+
writer.writeString(
|
|
21776
|
+
1,
|
|
21440
21777
|
f
|
|
21441
21778
|
);
|
|
21442
21779
|
}
|
|
21780
|
+
f = message.getMetadata();
|
|
21781
|
+
if (f != null) {
|
|
21782
|
+
writer.writeMessage(
|
|
21783
|
+
2,
|
|
21784
|
+
f,
|
|
21785
|
+
proto.lansweeper.multitenant.v1.SiteItemMetadata.serializeBinaryToWriter
|
|
21786
|
+
);
|
|
21787
|
+
}
|
|
21443
21788
|
};
|
|
21444
21789
|
|
|
21445
21790
|
|
|
21446
21791
|
/**
|
|
21447
|
-
* optional string
|
|
21792
|
+
* optional string id = 1;
|
|
21448
21793
|
* @return {string}
|
|
21449
21794
|
*/
|
|
21450
|
-
proto.lansweeper.multitenant.v1.
|
|
21795
|
+
proto.lansweeper.multitenant.v1.SiteItem.prototype.getId = function() {
|
|
21451
21796
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
21452
21797
|
};
|
|
21453
21798
|
|
|
21454
21799
|
|
|
21455
21800
|
/**
|
|
21456
21801
|
* @param {string} value
|
|
21457
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21802
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteItem} returns this
|
|
21458
21803
|
*/
|
|
21459
|
-
proto.lansweeper.multitenant.v1.
|
|
21804
|
+
proto.lansweeper.multitenant.v1.SiteItem.prototype.setId = function(value) {
|
|
21460
21805
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
21461
21806
|
};
|
|
21462
21807
|
|
|
21463
21808
|
|
|
21464
21809
|
/**
|
|
21465
|
-
* optional
|
|
21466
|
-
* @return {
|
|
21810
|
+
* optional SiteItemMetadata metadata = 2;
|
|
21811
|
+
* @return {?proto.lansweeper.multitenant.v1.SiteItemMetadata}
|
|
21467
21812
|
*/
|
|
21468
|
-
proto.lansweeper.multitenant.v1.
|
|
21469
|
-
return /** @type
|
|
21813
|
+
proto.lansweeper.multitenant.v1.SiteItem.prototype.getMetadata = function() {
|
|
21814
|
+
return /** @type{?proto.lansweeper.multitenant.v1.SiteItemMetadata} */ (
|
|
21815
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.SiteItemMetadata, 2));
|
|
21470
21816
|
};
|
|
21471
21817
|
|
|
21472
21818
|
|
|
21473
21819
|
/**
|
|
21474
|
-
* @param {
|
|
21475
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21476
|
-
|
|
21477
|
-
proto.lansweeper.multitenant.v1.
|
|
21478
|
-
return jspb.Message.
|
|
21820
|
+
* @param {?proto.lansweeper.multitenant.v1.SiteItemMetadata|undefined} value
|
|
21821
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteItem} returns this
|
|
21822
|
+
*/
|
|
21823
|
+
proto.lansweeper.multitenant.v1.SiteItem.prototype.setMetadata = function(value) {
|
|
21824
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
21479
21825
|
};
|
|
21480
21826
|
|
|
21481
21827
|
|
|
21482
21828
|
/**
|
|
21483
|
-
*
|
|
21484
|
-
* @return {
|
|
21829
|
+
* Clears the message field making it undefined.
|
|
21830
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteItem} returns this
|
|
21485
21831
|
*/
|
|
21486
|
-
proto.lansweeper.multitenant.v1.
|
|
21487
|
-
return
|
|
21832
|
+
proto.lansweeper.multitenant.v1.SiteItem.prototype.clearMetadata = function() {
|
|
21833
|
+
return this.setMetadata(undefined);
|
|
21488
21834
|
};
|
|
21489
21835
|
|
|
21490
21836
|
|
|
21491
21837
|
/**
|
|
21492
|
-
*
|
|
21493
|
-
* @return {
|
|
21838
|
+
* Returns whether this field is set.
|
|
21839
|
+
* @return {boolean}
|
|
21494
21840
|
*/
|
|
21495
|
-
proto.lansweeper.multitenant.v1.
|
|
21496
|
-
return jspb.Message.
|
|
21841
|
+
proto.lansweeper.multitenant.v1.SiteItem.prototype.hasMetadata = function() {
|
|
21842
|
+
return jspb.Message.getField(this, 2) != null;
|
|
21497
21843
|
};
|
|
21498
21844
|
|
|
21499
21845
|
|
|
@@ -21513,8 +21859,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21513
21859
|
* http://goto/soy-param-migration
|
|
21514
21860
|
* @return {!Object}
|
|
21515
21861
|
*/
|
|
21516
|
-
proto.lansweeper.multitenant.v1.
|
|
21517
|
-
return proto.lansweeper.multitenant.v1.
|
|
21862
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo.prototype.toObject = function(opt_includeInstance) {
|
|
21863
|
+
return proto.lansweeper.multitenant.v1.GetSitesPageInfo.toObject(opt_includeInstance, this);
|
|
21518
21864
|
};
|
|
21519
21865
|
|
|
21520
21866
|
|
|
@@ -21523,11 +21869,11 @@ proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.prototype.toObjec
|
|
|
21523
21869
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21524
21870
|
* the JSPB instance for transitional soy proto support:
|
|
21525
21871
|
* http://goto/soy-param-migration
|
|
21526
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
21872
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesPageInfo} msg The msg instance to transform.
|
|
21527
21873
|
* @return {!Object}
|
|
21528
21874
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21529
21875
|
*/
|
|
21530
|
-
proto.lansweeper.multitenant.v1.
|
|
21876
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo.toObject = function(includeInstance, msg) {
|
|
21531
21877
|
var f, obj = {
|
|
21532
21878
|
offsetId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
21533
21879
|
limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
@@ -21545,23 +21891,23 @@ proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.toObject = functi
|
|
|
21545
21891
|
/**
|
|
21546
21892
|
* Deserializes binary data (in protobuf wire format).
|
|
21547
21893
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21548
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21894
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesPageInfo}
|
|
21549
21895
|
*/
|
|
21550
|
-
proto.lansweeper.multitenant.v1.
|
|
21896
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo.deserializeBinary = function(bytes) {
|
|
21551
21897
|
var reader = new jspb.BinaryReader(bytes);
|
|
21552
|
-
var msg = new proto.lansweeper.multitenant.v1.
|
|
21553
|
-
return proto.lansweeper.multitenant.v1.
|
|
21898
|
+
var msg = new proto.lansweeper.multitenant.v1.GetSitesPageInfo;
|
|
21899
|
+
return proto.lansweeper.multitenant.v1.GetSitesPageInfo.deserializeBinaryFromReader(msg, reader);
|
|
21554
21900
|
};
|
|
21555
21901
|
|
|
21556
21902
|
|
|
21557
21903
|
/**
|
|
21558
21904
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21559
21905
|
* given reader into the given message object.
|
|
21560
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
21906
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesPageInfo} msg The message object to deserialize into.
|
|
21561
21907
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21562
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21908
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesPageInfo}
|
|
21563
21909
|
*/
|
|
21564
|
-
proto.lansweeper.multitenant.v1.
|
|
21910
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
21565
21911
|
while (reader.nextField()) {
|
|
21566
21912
|
if (reader.isEndGroup()) {
|
|
21567
21913
|
break;
|
|
@@ -21593,9 +21939,9 @@ proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.deserializeBinary
|
|
|
21593
21939
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21594
21940
|
* @return {!Uint8Array}
|
|
21595
21941
|
*/
|
|
21596
|
-
proto.lansweeper.multitenant.v1.
|
|
21942
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo.prototype.serializeBinary = function() {
|
|
21597
21943
|
var writer = new jspb.BinaryWriter();
|
|
21598
|
-
proto.lansweeper.multitenant.v1.
|
|
21944
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo.serializeBinaryToWriter(this, writer);
|
|
21599
21945
|
return writer.getResultBuffer();
|
|
21600
21946
|
};
|
|
21601
21947
|
|
|
@@ -21603,11 +21949,11 @@ proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.prototype.seriali
|
|
|
21603
21949
|
/**
|
|
21604
21950
|
* Serializes the given message to binary data (in protobuf wire
|
|
21605
21951
|
* format), writing to the given BinaryWriter.
|
|
21606
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
21952
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesPageInfo} message
|
|
21607
21953
|
* @param {!jspb.BinaryWriter} writer
|
|
21608
21954
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21609
21955
|
*/
|
|
21610
|
-
proto.lansweeper.multitenant.v1.
|
|
21956
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo.serializeBinaryToWriter = function(message, writer) {
|
|
21611
21957
|
var f = undefined;
|
|
21612
21958
|
f = message.getOffsetId();
|
|
21613
21959
|
if (f.length > 0) {
|
|
@@ -21637,16 +21983,16 @@ proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.serializeBinaryTo
|
|
|
21637
21983
|
* optional string offset_id = 1;
|
|
21638
21984
|
* @return {string}
|
|
21639
21985
|
*/
|
|
21640
|
-
proto.lansweeper.multitenant.v1.
|
|
21986
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo.prototype.getOffsetId = function() {
|
|
21641
21987
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
21642
21988
|
};
|
|
21643
21989
|
|
|
21644
21990
|
|
|
21645
21991
|
/**
|
|
21646
21992
|
* @param {string} value
|
|
21647
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21993
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesPageInfo} returns this
|
|
21648
21994
|
*/
|
|
21649
|
-
proto.lansweeper.multitenant.v1.
|
|
21995
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo.prototype.setOffsetId = function(value) {
|
|
21650
21996
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
21651
21997
|
};
|
|
21652
21998
|
|
|
@@ -21655,16 +22001,16 @@ proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.prototype.setOffs
|
|
|
21655
22001
|
* optional int32 limit = 2;
|
|
21656
22002
|
* @return {number}
|
|
21657
22003
|
*/
|
|
21658
|
-
proto.lansweeper.multitenant.v1.
|
|
22004
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo.prototype.getLimit = function() {
|
|
21659
22005
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21660
22006
|
};
|
|
21661
22007
|
|
|
21662
22008
|
|
|
21663
22009
|
/**
|
|
21664
22010
|
* @param {number} value
|
|
21665
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
22011
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesPageInfo} returns this
|
|
21666
22012
|
*/
|
|
21667
|
-
proto.lansweeper.multitenant.v1.
|
|
22013
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo.prototype.setLimit = function(value) {
|
|
21668
22014
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
21669
22015
|
};
|
|
21670
22016
|
|
|
@@ -21673,16 +22019,16 @@ proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.prototype.setLimi
|
|
|
21673
22019
|
* optional bool has_next_page = 3;
|
|
21674
22020
|
* @return {boolean}
|
|
21675
22021
|
*/
|
|
21676
|
-
proto.lansweeper.multitenant.v1.
|
|
22022
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo.prototype.getHasNextPage = function() {
|
|
21677
22023
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
21678
22024
|
};
|
|
21679
22025
|
|
|
21680
22026
|
|
|
21681
22027
|
/**
|
|
21682
22028
|
* @param {boolean} value
|
|
21683
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
22029
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesPageInfo} returns this
|
|
21684
22030
|
*/
|
|
21685
|
-
proto.lansweeper.multitenant.v1.
|
|
22031
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo.prototype.setHasNextPage = function(value) {
|
|
21686
22032
|
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
21687
22033
|
};
|
|
21688
22034
|
|
|
@@ -21693,7 +22039,7 @@ proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.prototype.setHasN
|
|
|
21693
22039
|
* @private {!Array<number>}
|
|
21694
22040
|
* @const
|
|
21695
22041
|
*/
|
|
21696
|
-
proto.lansweeper.multitenant.v1.
|
|
22042
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.repeatedFields_ = [2];
|
|
21697
22043
|
|
|
21698
22044
|
|
|
21699
22045
|
|
|
@@ -21710,8 +22056,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21710
22056
|
* http://goto/soy-param-migration
|
|
21711
22057
|
* @return {!Object}
|
|
21712
22058
|
*/
|
|
21713
|
-
proto.lansweeper.multitenant.v1.
|
|
21714
|
-
return proto.lansweeper.multitenant.v1.
|
|
22059
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
22060
|
+
return proto.lansweeper.multitenant.v1.GetSitesResponse.toObject(opt_includeInstance, this);
|
|
21715
22061
|
};
|
|
21716
22062
|
|
|
21717
22063
|
|
|
@@ -21720,16 +22066,16 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.prototype.toOb
|
|
|
21720
22066
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21721
22067
|
* the JSPB instance for transitional soy proto support:
|
|
21722
22068
|
* http://goto/soy-param-migration
|
|
21723
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
22069
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesResponse} msg The msg instance to transform.
|
|
21724
22070
|
* @return {!Object}
|
|
21725
22071
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21726
22072
|
*/
|
|
21727
|
-
proto.lansweeper.multitenant.v1.
|
|
22073
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.toObject = function(includeInstance, msg) {
|
|
21728
22074
|
var f, obj = {
|
|
21729
22075
|
count: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21730
22076
|
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
21731
|
-
proto.lansweeper.multitenant.v1.
|
|
21732
|
-
pageInfo: (f = msg.getPageInfo()) && proto.lansweeper.multitenant.v1.
|
|
22077
|
+
proto.lansweeper.multitenant.v1.SiteItem.toObject, includeInstance),
|
|
22078
|
+
pageInfo: (f = msg.getPageInfo()) && proto.lansweeper.multitenant.v1.GetSitesPageInfo.toObject(includeInstance, f)
|
|
21733
22079
|
};
|
|
21734
22080
|
|
|
21735
22081
|
if (includeInstance) {
|
|
@@ -21743,23 +22089,23 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.toObject = fun
|
|
|
21743
22089
|
/**
|
|
21744
22090
|
* Deserializes binary data (in protobuf wire format).
|
|
21745
22091
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21746
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
22092
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesResponse}
|
|
21747
22093
|
*/
|
|
21748
|
-
proto.lansweeper.multitenant.v1.
|
|
22094
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.deserializeBinary = function(bytes) {
|
|
21749
22095
|
var reader = new jspb.BinaryReader(bytes);
|
|
21750
|
-
var msg = new proto.lansweeper.multitenant.v1.
|
|
21751
|
-
return proto.lansweeper.multitenant.v1.
|
|
22096
|
+
var msg = new proto.lansweeper.multitenant.v1.GetSitesResponse;
|
|
22097
|
+
return proto.lansweeper.multitenant.v1.GetSitesResponse.deserializeBinaryFromReader(msg, reader);
|
|
21752
22098
|
};
|
|
21753
22099
|
|
|
21754
22100
|
|
|
21755
22101
|
/**
|
|
21756
22102
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21757
22103
|
* given reader into the given message object.
|
|
21758
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
22104
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesResponse} msg The message object to deserialize into.
|
|
21759
22105
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21760
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
22106
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesResponse}
|
|
21761
22107
|
*/
|
|
21762
|
-
proto.lansweeper.multitenant.v1.
|
|
22108
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
21763
22109
|
while (reader.nextField()) {
|
|
21764
22110
|
if (reader.isEndGroup()) {
|
|
21765
22111
|
break;
|
|
@@ -21771,13 +22117,13 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.deserializeBin
|
|
|
21771
22117
|
msg.setCount(value);
|
|
21772
22118
|
break;
|
|
21773
22119
|
case 2:
|
|
21774
|
-
var value = new proto.lansweeper.multitenant.v1.
|
|
21775
|
-
reader.readMessage(value,proto.lansweeper.multitenant.v1.
|
|
22120
|
+
var value = new proto.lansweeper.multitenant.v1.SiteItem;
|
|
22121
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.SiteItem.deserializeBinaryFromReader);
|
|
21776
22122
|
msg.addItems(value);
|
|
21777
22123
|
break;
|
|
21778
22124
|
case 3:
|
|
21779
|
-
var value = new proto.lansweeper.multitenant.v1.
|
|
21780
|
-
reader.readMessage(value,proto.lansweeper.multitenant.v1.
|
|
22125
|
+
var value = new proto.lansweeper.multitenant.v1.GetSitesPageInfo;
|
|
22126
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.GetSitesPageInfo.deserializeBinaryFromReader);
|
|
21781
22127
|
msg.setPageInfo(value);
|
|
21782
22128
|
break;
|
|
21783
22129
|
default:
|
|
@@ -21793,9 +22139,9 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.deserializeBin
|
|
|
21793
22139
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21794
22140
|
* @return {!Uint8Array}
|
|
21795
22141
|
*/
|
|
21796
|
-
proto.lansweeper.multitenant.v1.
|
|
22142
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.prototype.serializeBinary = function() {
|
|
21797
22143
|
var writer = new jspb.BinaryWriter();
|
|
21798
|
-
proto.lansweeper.multitenant.v1.
|
|
22144
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.serializeBinaryToWriter(this, writer);
|
|
21799
22145
|
return writer.getResultBuffer();
|
|
21800
22146
|
};
|
|
21801
22147
|
|
|
@@ -21803,11 +22149,11 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.prototype.seri
|
|
|
21803
22149
|
/**
|
|
21804
22150
|
* Serializes the given message to binary data (in protobuf wire
|
|
21805
22151
|
* format), writing to the given BinaryWriter.
|
|
21806
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
22152
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesResponse} message
|
|
21807
22153
|
* @param {!jspb.BinaryWriter} writer
|
|
21808
22154
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21809
22155
|
*/
|
|
21810
|
-
proto.lansweeper.multitenant.v1.
|
|
22156
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
21811
22157
|
var f = undefined;
|
|
21812
22158
|
f = message.getCount();
|
|
21813
22159
|
if (f !== 0) {
|
|
@@ -21821,7 +22167,7 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.serializeBinar
|
|
|
21821
22167
|
writer.writeRepeatedMessage(
|
|
21822
22168
|
2,
|
|
21823
22169
|
f,
|
|
21824
|
-
proto.lansweeper.multitenant.v1.
|
|
22170
|
+
proto.lansweeper.multitenant.v1.SiteItem.serializeBinaryToWriter
|
|
21825
22171
|
);
|
|
21826
22172
|
}
|
|
21827
22173
|
f = message.getPageInfo();
|
|
@@ -21829,7 +22175,7 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.serializeBinar
|
|
|
21829
22175
|
writer.writeMessage(
|
|
21830
22176
|
3,
|
|
21831
22177
|
f,
|
|
21832
|
-
proto.lansweeper.multitenant.v1.
|
|
22178
|
+
proto.lansweeper.multitenant.v1.GetSitesPageInfo.serializeBinaryToWriter
|
|
21833
22179
|
);
|
|
21834
22180
|
}
|
|
21835
22181
|
};
|
|
@@ -21839,82 +22185,82 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.serializeBinar
|
|
|
21839
22185
|
* optional int32 count = 1;
|
|
21840
22186
|
* @return {number}
|
|
21841
22187
|
*/
|
|
21842
|
-
proto.lansweeper.multitenant.v1.
|
|
22188
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.prototype.getCount = function() {
|
|
21843
22189
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21844
22190
|
};
|
|
21845
22191
|
|
|
21846
22192
|
|
|
21847
22193
|
/**
|
|
21848
22194
|
* @param {number} value
|
|
21849
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
22195
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesResponse} returns this
|
|
21850
22196
|
*/
|
|
21851
|
-
proto.lansweeper.multitenant.v1.
|
|
22197
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.prototype.setCount = function(value) {
|
|
21852
22198
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21853
22199
|
};
|
|
21854
22200
|
|
|
21855
22201
|
|
|
21856
22202
|
/**
|
|
21857
|
-
* repeated
|
|
21858
|
-
* @return {!Array<!proto.lansweeper.multitenant.v1.
|
|
22203
|
+
* repeated SiteItem items = 2;
|
|
22204
|
+
* @return {!Array<!proto.lansweeper.multitenant.v1.SiteItem>}
|
|
21859
22205
|
*/
|
|
21860
|
-
proto.lansweeper.multitenant.v1.
|
|
21861
|
-
return /** @type{!Array<!proto.lansweeper.multitenant.v1.
|
|
21862
|
-
jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.multitenant.v1.
|
|
22206
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.prototype.getItemsList = function() {
|
|
22207
|
+
return /** @type{!Array<!proto.lansweeper.multitenant.v1.SiteItem>} */ (
|
|
22208
|
+
jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.multitenant.v1.SiteItem, 2));
|
|
21863
22209
|
};
|
|
21864
22210
|
|
|
21865
22211
|
|
|
21866
22212
|
/**
|
|
21867
|
-
* @param {!Array<!proto.lansweeper.multitenant.v1.
|
|
21868
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
22213
|
+
* @param {!Array<!proto.lansweeper.multitenant.v1.SiteItem>} value
|
|
22214
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesResponse} returns this
|
|
21869
22215
|
*/
|
|
21870
|
-
proto.lansweeper.multitenant.v1.
|
|
22216
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.prototype.setItemsList = function(value) {
|
|
21871
22217
|
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
21872
22218
|
};
|
|
21873
22219
|
|
|
21874
22220
|
|
|
21875
22221
|
/**
|
|
21876
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
22222
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteItem=} opt_value
|
|
21877
22223
|
* @param {number=} opt_index
|
|
21878
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
22224
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteItem}
|
|
21879
22225
|
*/
|
|
21880
|
-
proto.lansweeper.multitenant.v1.
|
|
21881
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.lansweeper.multitenant.v1.
|
|
22226
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
22227
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.lansweeper.multitenant.v1.SiteItem, opt_index);
|
|
21882
22228
|
};
|
|
21883
22229
|
|
|
21884
22230
|
|
|
21885
22231
|
/**
|
|
21886
22232
|
* Clears the list making it empty but non-null.
|
|
21887
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
22233
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesResponse} returns this
|
|
21888
22234
|
*/
|
|
21889
|
-
proto.lansweeper.multitenant.v1.
|
|
22235
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.prototype.clearItemsList = function() {
|
|
21890
22236
|
return this.setItemsList([]);
|
|
21891
22237
|
};
|
|
21892
22238
|
|
|
21893
22239
|
|
|
21894
22240
|
/**
|
|
21895
|
-
* optional
|
|
21896
|
-
* @return {?proto.lansweeper.multitenant.v1.
|
|
22241
|
+
* optional GetSitesPageInfo page_info = 3;
|
|
22242
|
+
* @return {?proto.lansweeper.multitenant.v1.GetSitesPageInfo}
|
|
21897
22243
|
*/
|
|
21898
|
-
proto.lansweeper.multitenant.v1.
|
|
21899
|
-
return /** @type{?proto.lansweeper.multitenant.v1.
|
|
21900
|
-
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.
|
|
22244
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.prototype.getPageInfo = function() {
|
|
22245
|
+
return /** @type{?proto.lansweeper.multitenant.v1.GetSitesPageInfo} */ (
|
|
22246
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.GetSitesPageInfo, 3));
|
|
21901
22247
|
};
|
|
21902
22248
|
|
|
21903
22249
|
|
|
21904
22250
|
/**
|
|
21905
|
-
* @param {?proto.lansweeper.multitenant.v1.
|
|
21906
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
22251
|
+
* @param {?proto.lansweeper.multitenant.v1.GetSitesPageInfo|undefined} value
|
|
22252
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesResponse} returns this
|
|
21907
22253
|
*/
|
|
21908
|
-
proto.lansweeper.multitenant.v1.
|
|
22254
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.prototype.setPageInfo = function(value) {
|
|
21909
22255
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
21910
22256
|
};
|
|
21911
22257
|
|
|
21912
22258
|
|
|
21913
22259
|
/**
|
|
21914
22260
|
* Clears the message field making it undefined.
|
|
21915
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
22261
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesResponse} returns this
|
|
21916
22262
|
*/
|
|
21917
|
-
proto.lansweeper.multitenant.v1.
|
|
22263
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.prototype.clearPageInfo = function() {
|
|
21918
22264
|
return this.setPageInfo(undefined);
|
|
21919
22265
|
};
|
|
21920
22266
|
|
|
@@ -21923,7 +22269,7 @@ proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.prototype.clea
|
|
|
21923
22269
|
* Returns whether this field is set.
|
|
21924
22270
|
* @return {boolean}
|
|
21925
22271
|
*/
|
|
21926
|
-
proto.lansweeper.multitenant.v1.
|
|
22272
|
+
proto.lansweeper.multitenant.v1.GetSitesResponse.prototype.hasPageInfo = function() {
|
|
21927
22273
|
return jspb.Message.getField(this, 3) != null;
|
|
21928
22274
|
};
|
|
21929
22275
|
|