@lansweeper/multitenant-api-grpc 0.4.70 → 0.4.72
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 +34 -0
- package/gen-proto/multitenant_grpc_pb.js +66 -0
- package/gen-proto/multitenant_pb.d.ts +155 -0
- package/gen-proto/multitenant_pb.js +1328 -89
- package/generated-go/multitenant.pb.go +1363 -861
- package/generated-go/multitenant_grpc.pb.go +76 -0
- package/package.json +2 -2
- package/proto/multitenant.proto +34 -0
|
@@ -59,6 +59,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobal
|
|
|
59
59
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse', null, global);
|
|
60
60
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallationLicenseByClientIdRequest', null, global);
|
|
61
61
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallationLicenseByClientIdResponse', null, global);
|
|
62
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest', null, global);
|
|
63
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse', null, global);
|
|
62
64
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest', null, global);
|
|
63
65
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse', null, global);
|
|
64
66
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsByExternalIdsRequest', null, global);
|
|
@@ -92,6 +94,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitePreviewRequest', null,
|
|
|
92
94
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitePreviewResponse', null, global);
|
|
93
95
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest', null, global);
|
|
94
96
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse', null, global);
|
|
97
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest', null, global);
|
|
98
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse', null, global);
|
|
95
99
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetUserPermissionsRequest', null, global);
|
|
96
100
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetUserPermissionsResponse', null, global);
|
|
97
101
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetUserPermissionsResponse.AuthorizationAction', null, global);
|
|
@@ -136,6 +140,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem', null,
|
|
|
136
140
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.ParentType', null, global);
|
|
137
141
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo', null, global);
|
|
138
142
|
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);
|
|
139
145
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.Subscription', null, global);
|
|
140
146
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.SubscriptionType', null, global);
|
|
141
147
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest', null, global);
|
|
@@ -2251,6 +2257,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2251
2257
|
*/
|
|
2252
2258
|
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.displayName = 'proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse';
|
|
2253
2259
|
}
|
|
2260
|
+
/**
|
|
2261
|
+
* Generated by JsPbCodeGenerator.
|
|
2262
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2263
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2264
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2265
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2266
|
+
* valid.
|
|
2267
|
+
* @extends {jspb.Message}
|
|
2268
|
+
* @constructor
|
|
2269
|
+
*/
|
|
2270
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest = function(opt_data) {
|
|
2271
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2272
|
+
};
|
|
2273
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest, jspb.Message);
|
|
2274
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2275
|
+
/**
|
|
2276
|
+
* @public
|
|
2277
|
+
* @override
|
|
2278
|
+
*/
|
|
2279
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.displayName = 'proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest';
|
|
2280
|
+
}
|
|
2281
|
+
/**
|
|
2282
|
+
* Generated by JsPbCodeGenerator.
|
|
2283
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2284
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2285
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2286
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2287
|
+
* valid.
|
|
2288
|
+
* @extends {jspb.Message}
|
|
2289
|
+
* @constructor
|
|
2290
|
+
*/
|
|
2291
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem = function(opt_data) {
|
|
2292
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2293
|
+
};
|
|
2294
|
+
goog.inherits(proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem, jspb.Message);
|
|
2295
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2296
|
+
/**
|
|
2297
|
+
* @public
|
|
2298
|
+
* @override
|
|
2299
|
+
*/
|
|
2300
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.displayName = 'proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem';
|
|
2301
|
+
}
|
|
2302
|
+
/**
|
|
2303
|
+
* Generated by JsPbCodeGenerator.
|
|
2304
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2305
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2306
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2307
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2308
|
+
* valid.
|
|
2309
|
+
* @extends {jspb.Message}
|
|
2310
|
+
* @constructor
|
|
2311
|
+
*/
|
|
2312
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo = function(opt_data) {
|
|
2313
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2314
|
+
};
|
|
2315
|
+
goog.inherits(proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo, jspb.Message);
|
|
2316
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2317
|
+
/**
|
|
2318
|
+
* @public
|
|
2319
|
+
* @override
|
|
2320
|
+
*/
|
|
2321
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.displayName = 'proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo';
|
|
2322
|
+
}
|
|
2323
|
+
/**
|
|
2324
|
+
* Generated by JsPbCodeGenerator.
|
|
2325
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2326
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2327
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2328
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2329
|
+
* valid.
|
|
2330
|
+
* @extends {jspb.Message}
|
|
2331
|
+
* @constructor
|
|
2332
|
+
*/
|
|
2333
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse = function(opt_data) {
|
|
2334
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.repeatedFields_, null);
|
|
2335
|
+
};
|
|
2336
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse, jspb.Message);
|
|
2337
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2338
|
+
/**
|
|
2339
|
+
* @public
|
|
2340
|
+
* @override
|
|
2341
|
+
*/
|
|
2342
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.displayName = 'proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse';
|
|
2343
|
+
}
|
|
2254
2344
|
/**
|
|
2255
2345
|
* Generated by JsPbCodeGenerator.
|
|
2256
2346
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2671,6 +2761,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2671
2761
|
*/
|
|
2672
2762
|
proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.displayName = 'proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse';
|
|
2673
2763
|
}
|
|
2764
|
+
/**
|
|
2765
|
+
* Generated by JsPbCodeGenerator.
|
|
2766
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2767
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2768
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2769
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2770
|
+
* valid.
|
|
2771
|
+
* @extends {jspb.Message}
|
|
2772
|
+
* @constructor
|
|
2773
|
+
*/
|
|
2774
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest = function(opt_data) {
|
|
2775
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2776
|
+
};
|
|
2777
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest, jspb.Message);
|
|
2778
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2779
|
+
/**
|
|
2780
|
+
* @public
|
|
2781
|
+
* @override
|
|
2782
|
+
*/
|
|
2783
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.displayName = 'proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest';
|
|
2784
|
+
}
|
|
2785
|
+
/**
|
|
2786
|
+
* Generated by JsPbCodeGenerator.
|
|
2787
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2788
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2789
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2790
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2791
|
+
* valid.
|
|
2792
|
+
* @extends {jspb.Message}
|
|
2793
|
+
* @constructor
|
|
2794
|
+
*/
|
|
2795
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse = function(opt_data) {
|
|
2796
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2797
|
+
};
|
|
2798
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse, jspb.Message);
|
|
2799
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2800
|
+
/**
|
|
2801
|
+
* @public
|
|
2802
|
+
* @override
|
|
2803
|
+
*/
|
|
2804
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.displayName = 'proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse';
|
|
2805
|
+
}
|
|
2674
2806
|
|
|
2675
2807
|
|
|
2676
2808
|
|
|
@@ -20995,8 +21127,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
20995
21127
|
* http://goto/soy-param-migration
|
|
20996
21128
|
* @return {!Object}
|
|
20997
21129
|
*/
|
|
20998
|
-
proto.lansweeper.multitenant.v1.
|
|
20999
|
-
return proto.lansweeper.multitenant.v1.
|
|
21130
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21131
|
+
return proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.toObject(opt_includeInstance, this);
|
|
21000
21132
|
};
|
|
21001
21133
|
|
|
21002
21134
|
|
|
@@ -21005,13 +21137,13 @@ proto.lansweeper.multitenant.v1.MsmpPagination.prototype.toObject = function(opt
|
|
|
21005
21137
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21006
21138
|
* the JSPB instance for transitional soy proto support:
|
|
21007
21139
|
* http://goto/soy-param-migration
|
|
21008
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
21140
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest} msg The msg instance to transform.
|
|
21009
21141
|
* @return {!Object}
|
|
21010
21142
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21011
21143
|
*/
|
|
21012
|
-
proto.lansweeper.multitenant.v1.
|
|
21144
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.toObject = function(includeInstance, msg) {
|
|
21013
21145
|
var f, obj = {
|
|
21014
|
-
|
|
21146
|
+
offsetId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
21015
21147
|
limit: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
21016
21148
|
};
|
|
21017
21149
|
|
|
@@ -21026,23 +21158,23 @@ proto.lansweeper.multitenant.v1.MsmpPagination.toObject = function(includeInstan
|
|
|
21026
21158
|
/**
|
|
21027
21159
|
* Deserializes binary data (in protobuf wire format).
|
|
21028
21160
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21029
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21161
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest}
|
|
21030
21162
|
*/
|
|
21031
|
-
proto.lansweeper.multitenant.v1.
|
|
21163
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.deserializeBinary = function(bytes) {
|
|
21032
21164
|
var reader = new jspb.BinaryReader(bytes);
|
|
21033
|
-
var msg = new proto.lansweeper.multitenant.v1.
|
|
21034
|
-
return proto.lansweeper.multitenant.v1.
|
|
21165
|
+
var msg = new proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest;
|
|
21166
|
+
return proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.deserializeBinaryFromReader(msg, reader);
|
|
21035
21167
|
};
|
|
21036
21168
|
|
|
21037
21169
|
|
|
21038
21170
|
/**
|
|
21039
21171
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21040
21172
|
* given reader into the given message object.
|
|
21041
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
21173
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest} msg The message object to deserialize into.
|
|
21042
21174
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21043
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21175
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest}
|
|
21044
21176
|
*/
|
|
21045
|
-
proto.lansweeper.multitenant.v1.
|
|
21177
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21046
21178
|
while (reader.nextField()) {
|
|
21047
21179
|
if (reader.isEndGroup()) {
|
|
21048
21180
|
break;
|
|
@@ -21050,8 +21182,8 @@ proto.lansweeper.multitenant.v1.MsmpPagination.deserializeBinaryFromReader = fun
|
|
|
21050
21182
|
var field = reader.getFieldNumber();
|
|
21051
21183
|
switch (field) {
|
|
21052
21184
|
case 1:
|
|
21053
|
-
var value = /** @type {
|
|
21054
|
-
msg.
|
|
21185
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21186
|
+
msg.setOffsetId(value);
|
|
21055
21187
|
break;
|
|
21056
21188
|
case 2:
|
|
21057
21189
|
var value = /** @type {number} */ (reader.readInt32());
|
|
@@ -21070,9 +21202,9 @@ proto.lansweeper.multitenant.v1.MsmpPagination.deserializeBinaryFromReader = fun
|
|
|
21070
21202
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21071
21203
|
* @return {!Uint8Array}
|
|
21072
21204
|
*/
|
|
21073
|
-
proto.lansweeper.multitenant.v1.
|
|
21205
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.prototype.serializeBinary = function() {
|
|
21074
21206
|
var writer = new jspb.BinaryWriter();
|
|
21075
|
-
proto.lansweeper.multitenant.v1.
|
|
21207
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.serializeBinaryToWriter(this, writer);
|
|
21076
21208
|
return writer.getResultBuffer();
|
|
21077
21209
|
};
|
|
21078
21210
|
|
|
@@ -21080,21 +21212,21 @@ proto.lansweeper.multitenant.v1.MsmpPagination.prototype.serializeBinary = funct
|
|
|
21080
21212
|
/**
|
|
21081
21213
|
* Serializes the given message to binary data (in protobuf wire
|
|
21082
21214
|
* format), writing to the given BinaryWriter.
|
|
21083
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
21215
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest} message
|
|
21084
21216
|
* @param {!jspb.BinaryWriter} writer
|
|
21085
21217
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21086
21218
|
*/
|
|
21087
|
-
proto.lansweeper.multitenant.v1.
|
|
21219
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21088
21220
|
var f = undefined;
|
|
21089
|
-
f =
|
|
21090
|
-
if (f
|
|
21091
|
-
writer.
|
|
21221
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
21222
|
+
if (f != null) {
|
|
21223
|
+
writer.writeString(
|
|
21092
21224
|
1,
|
|
21093
21225
|
f
|
|
21094
21226
|
);
|
|
21095
21227
|
}
|
|
21096
|
-
f =
|
|
21097
|
-
if (f
|
|
21228
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
21229
|
+
if (f != null) {
|
|
21098
21230
|
writer.writeInt32(
|
|
21099
21231
|
2,
|
|
21100
21232
|
f
|
|
@@ -21104,20 +21236,38 @@ proto.lansweeper.multitenant.v1.MsmpPagination.serializeBinaryToWriter = functio
|
|
|
21104
21236
|
|
|
21105
21237
|
|
|
21106
21238
|
/**
|
|
21107
|
-
* optional
|
|
21108
|
-
* @return {
|
|
21239
|
+
* optional string offset_id = 1;
|
|
21240
|
+
* @return {string}
|
|
21109
21241
|
*/
|
|
21110
|
-
proto.lansweeper.multitenant.v1.
|
|
21111
|
-
return /** @type {
|
|
21242
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.prototype.getOffsetId = function() {
|
|
21243
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
21112
21244
|
};
|
|
21113
21245
|
|
|
21114
21246
|
|
|
21115
21247
|
/**
|
|
21116
|
-
* @param {
|
|
21117
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21248
|
+
* @param {string} value
|
|
21249
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest} returns this
|
|
21118
21250
|
*/
|
|
21119
|
-
proto.lansweeper.multitenant.v1.
|
|
21120
|
-
return jspb.Message.
|
|
21251
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.prototype.setOffsetId = function(value) {
|
|
21252
|
+
return jspb.Message.setField(this, 1, value);
|
|
21253
|
+
};
|
|
21254
|
+
|
|
21255
|
+
|
|
21256
|
+
/**
|
|
21257
|
+
* Clears the field making it undefined.
|
|
21258
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest} returns this
|
|
21259
|
+
*/
|
|
21260
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.prototype.clearOffsetId = function() {
|
|
21261
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
21262
|
+
};
|
|
21263
|
+
|
|
21264
|
+
|
|
21265
|
+
/**
|
|
21266
|
+
* Returns whether this field is set.
|
|
21267
|
+
* @return {boolean}
|
|
21268
|
+
*/
|
|
21269
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.prototype.hasOffsetId = function() {
|
|
21270
|
+
return jspb.Message.getField(this, 1) != null;
|
|
21121
21271
|
};
|
|
21122
21272
|
|
|
21123
21273
|
|
|
@@ -21125,17 +21275,35 @@ proto.lansweeper.multitenant.v1.MsmpPagination.prototype.setOffset = function(va
|
|
|
21125
21275
|
* optional int32 limit = 2;
|
|
21126
21276
|
* @return {number}
|
|
21127
21277
|
*/
|
|
21128
|
-
proto.lansweeper.multitenant.v1.
|
|
21278
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.prototype.getLimit = function() {
|
|
21129
21279
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21130
21280
|
};
|
|
21131
21281
|
|
|
21132
21282
|
|
|
21133
21283
|
/**
|
|
21134
21284
|
* @param {number} value
|
|
21135
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21285
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest} returns this
|
|
21136
21286
|
*/
|
|
21137
|
-
proto.lansweeper.multitenant.v1.
|
|
21138
|
-
return jspb.Message.
|
|
21287
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.prototype.setLimit = function(value) {
|
|
21288
|
+
return jspb.Message.setField(this, 2, value);
|
|
21289
|
+
};
|
|
21290
|
+
|
|
21291
|
+
|
|
21292
|
+
/**
|
|
21293
|
+
* Clears the field making it undefined.
|
|
21294
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest} returns this
|
|
21295
|
+
*/
|
|
21296
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.prototype.clearLimit = function() {
|
|
21297
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
21298
|
+
};
|
|
21299
|
+
|
|
21300
|
+
|
|
21301
|
+
/**
|
|
21302
|
+
* Returns whether this field is set.
|
|
21303
|
+
* @return {boolean}
|
|
21304
|
+
*/
|
|
21305
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationRequest.prototype.hasLimit = function() {
|
|
21306
|
+
return jspb.Message.getField(this, 2) != null;
|
|
21139
21307
|
};
|
|
21140
21308
|
|
|
21141
21309
|
|
|
@@ -21155,8 +21323,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21155
21323
|
* http://goto/soy-param-migration
|
|
21156
21324
|
* @return {!Object}
|
|
21157
21325
|
*/
|
|
21158
|
-
proto.lansweeper.multitenant.v1.
|
|
21159
|
-
return proto.lansweeper.multitenant.v1.
|
|
21326
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.prototype.toObject = function(opt_includeInstance) {
|
|
21327
|
+
return proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.toObject(opt_includeInstance, this);
|
|
21160
21328
|
};
|
|
21161
21329
|
|
|
21162
21330
|
|
|
@@ -21165,16 +21333,15 @@ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.toObject = function
|
|
|
21165
21333
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21166
21334
|
* the JSPB instance for transitional soy proto support:
|
|
21167
21335
|
* http://goto/soy-param-migration
|
|
21168
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
21336
|
+
* @param {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem} msg The msg instance to transform.
|
|
21169
21337
|
* @return {!Object}
|
|
21170
21338
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21171
21339
|
*/
|
|
21172
|
-
proto.lansweeper.multitenant.v1.
|
|
21340
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.toObject = function(includeInstance, msg) {
|
|
21173
21341
|
var f, obj = {
|
|
21174
|
-
|
|
21175
|
-
|
|
21176
|
-
|
|
21177
|
-
hasNextPage: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
21342
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
21343
|
+
enabledmetadatafieldsfederation: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
21344
|
+
enabledcustomfieldsfederation: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
21178
21345
|
};
|
|
21179
21346
|
|
|
21180
21347
|
if (includeInstance) {
|
|
@@ -21188,23 +21355,23 @@ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.toObject = function(includeIn
|
|
|
21188
21355
|
/**
|
|
21189
21356
|
* Deserializes binary data (in protobuf wire format).
|
|
21190
21357
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21191
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21358
|
+
* @return {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem}
|
|
21192
21359
|
*/
|
|
21193
|
-
proto.lansweeper.multitenant.v1.
|
|
21360
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.deserializeBinary = function(bytes) {
|
|
21194
21361
|
var reader = new jspb.BinaryReader(bytes);
|
|
21195
|
-
var msg = new proto.lansweeper.multitenant.v1.
|
|
21196
|
-
return proto.lansweeper.multitenant.v1.
|
|
21362
|
+
var msg = new proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem;
|
|
21363
|
+
return proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.deserializeBinaryFromReader(msg, reader);
|
|
21197
21364
|
};
|
|
21198
21365
|
|
|
21199
21366
|
|
|
21200
21367
|
/**
|
|
21201
21368
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21202
21369
|
* given reader into the given message object.
|
|
21203
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
21370
|
+
* @param {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem} msg The message object to deserialize into.
|
|
21204
21371
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21205
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21372
|
+
* @return {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem}
|
|
21206
21373
|
*/
|
|
21207
|
-
proto.lansweeper.multitenant.v1.
|
|
21374
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
21208
21375
|
while (reader.nextField()) {
|
|
21209
21376
|
if (reader.isEndGroup()) {
|
|
21210
21377
|
break;
|
|
@@ -21212,20 +21379,16 @@ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.deserializeBinaryFromReader =
|
|
|
21212
21379
|
var field = reader.getFieldNumber();
|
|
21213
21380
|
switch (field) {
|
|
21214
21381
|
case 1:
|
|
21215
|
-
var value = /** @type {
|
|
21216
|
-
msg.
|
|
21382
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21383
|
+
msg.setSiteId(value);
|
|
21217
21384
|
break;
|
|
21218
21385
|
case 2:
|
|
21219
|
-
var value = /** @type {
|
|
21220
|
-
msg.
|
|
21386
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
21387
|
+
msg.setEnabledmetadatafieldsfederation(value);
|
|
21221
21388
|
break;
|
|
21222
21389
|
case 3:
|
|
21223
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
21224
|
-
msg.setLimit(value);
|
|
21225
|
-
break;
|
|
21226
|
-
case 4:
|
|
21227
21390
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
21228
|
-
msg.
|
|
21391
|
+
msg.setEnabledcustomfieldsfederation(value);
|
|
21229
21392
|
break;
|
|
21230
21393
|
default:
|
|
21231
21394
|
reader.skipField();
|
|
@@ -21240,9 +21403,9 @@ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.deserializeBinaryFromReader =
|
|
|
21240
21403
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21241
21404
|
* @return {!Uint8Array}
|
|
21242
21405
|
*/
|
|
21243
|
-
proto.lansweeper.multitenant.v1.
|
|
21406
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.prototype.serializeBinary = function() {
|
|
21244
21407
|
var writer = new jspb.BinaryWriter();
|
|
21245
|
-
proto.lansweeper.multitenant.v1.
|
|
21408
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.serializeBinaryToWriter(this, writer);
|
|
21246
21409
|
return writer.getResultBuffer();
|
|
21247
21410
|
};
|
|
21248
21411
|
|
|
@@ -21250,37 +21413,30 @@ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.serializeBinary = f
|
|
|
21250
21413
|
/**
|
|
21251
21414
|
* Serializes the given message to binary data (in protobuf wire
|
|
21252
21415
|
* format), writing to the given BinaryWriter.
|
|
21253
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
21416
|
+
* @param {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem} message
|
|
21254
21417
|
* @param {!jspb.BinaryWriter} writer
|
|
21255
21418
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21256
21419
|
*/
|
|
21257
|
-
proto.lansweeper.multitenant.v1.
|
|
21420
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.serializeBinaryToWriter = function(message, writer) {
|
|
21258
21421
|
var f = undefined;
|
|
21259
|
-
f = message.
|
|
21260
|
-
if (f
|
|
21261
|
-
writer.
|
|
21422
|
+
f = message.getSiteId();
|
|
21423
|
+
if (f.length > 0) {
|
|
21424
|
+
writer.writeString(
|
|
21262
21425
|
1,
|
|
21263
21426
|
f
|
|
21264
21427
|
);
|
|
21265
21428
|
}
|
|
21266
|
-
f = message.
|
|
21267
|
-
if (f
|
|
21268
|
-
writer.
|
|
21429
|
+
f = message.getEnabledmetadatafieldsfederation();
|
|
21430
|
+
if (f) {
|
|
21431
|
+
writer.writeBool(
|
|
21269
21432
|
2,
|
|
21270
21433
|
f
|
|
21271
21434
|
);
|
|
21272
21435
|
}
|
|
21273
|
-
f = message.
|
|
21274
|
-
if (f !== 0) {
|
|
21275
|
-
writer.writeInt32(
|
|
21276
|
-
3,
|
|
21277
|
-
f
|
|
21278
|
-
);
|
|
21279
|
-
}
|
|
21280
|
-
f = message.getHasNextPage();
|
|
21436
|
+
f = message.getEnabledcustomfieldsfederation();
|
|
21281
21437
|
if (f) {
|
|
21282
21438
|
writer.writeBool(
|
|
21283
|
-
|
|
21439
|
+
3,
|
|
21284
21440
|
f
|
|
21285
21441
|
);
|
|
21286
21442
|
}
|
|
@@ -21288,28 +21444,821 @@ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.serializeBinaryToWriter = fun
|
|
|
21288
21444
|
|
|
21289
21445
|
|
|
21290
21446
|
/**
|
|
21291
|
-
* optional
|
|
21292
|
-
* @return {
|
|
21447
|
+
* optional string site_id = 1;
|
|
21448
|
+
* @return {string}
|
|
21293
21449
|
*/
|
|
21294
|
-
proto.lansweeper.multitenant.v1.
|
|
21295
|
-
return /** @type {
|
|
21450
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.prototype.getSiteId = function() {
|
|
21451
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
21296
21452
|
};
|
|
21297
21453
|
|
|
21298
21454
|
|
|
21299
21455
|
/**
|
|
21300
|
-
* @param {
|
|
21301
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
21456
|
+
* @param {string} value
|
|
21457
|
+
* @return {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem} returns this
|
|
21302
21458
|
*/
|
|
21303
|
-
proto.lansweeper.multitenant.v1.
|
|
21304
|
-
return jspb.Message.
|
|
21459
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.prototype.setSiteId = function(value) {
|
|
21460
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
21305
21461
|
};
|
|
21306
21462
|
|
|
21307
21463
|
|
|
21308
21464
|
/**
|
|
21309
|
-
* optional
|
|
21310
|
-
* @return {
|
|
21465
|
+
* optional bool enabledMetadataFieldsFederation = 2;
|
|
21466
|
+
* @return {boolean}
|
|
21311
21467
|
*/
|
|
21312
|
-
proto.lansweeper.multitenant.v1.
|
|
21468
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.prototype.getEnabledmetadatafieldsfederation = function() {
|
|
21469
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
21470
|
+
};
|
|
21471
|
+
|
|
21472
|
+
|
|
21473
|
+
/**
|
|
21474
|
+
* @param {boolean} value
|
|
21475
|
+
* @return {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem} returns this
|
|
21476
|
+
*/
|
|
21477
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.prototype.setEnabledmetadatafieldsfederation = function(value) {
|
|
21478
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
21479
|
+
};
|
|
21480
|
+
|
|
21481
|
+
|
|
21482
|
+
/**
|
|
21483
|
+
* optional bool enabledCustomFieldsFederation = 3;
|
|
21484
|
+
* @return {boolean}
|
|
21485
|
+
*/
|
|
21486
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.prototype.getEnabledcustomfieldsfederation = function() {
|
|
21487
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
21488
|
+
};
|
|
21489
|
+
|
|
21490
|
+
|
|
21491
|
+
/**
|
|
21492
|
+
* @param {boolean} value
|
|
21493
|
+
* @return {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem} returns this
|
|
21494
|
+
*/
|
|
21495
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationItem.prototype.setEnabledcustomfieldsfederation = function(value) {
|
|
21496
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
21497
|
+
};
|
|
21498
|
+
|
|
21499
|
+
|
|
21500
|
+
|
|
21501
|
+
|
|
21502
|
+
|
|
21503
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21504
|
+
/**
|
|
21505
|
+
* Creates an object representation of this proto.
|
|
21506
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21507
|
+
* Optional fields that are not set will be set to undefined.
|
|
21508
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21509
|
+
* For the list of reserved names please see:
|
|
21510
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21511
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21512
|
+
* JSPB instance for transitional soy proto support:
|
|
21513
|
+
* http://goto/soy-param-migration
|
|
21514
|
+
* @return {!Object}
|
|
21515
|
+
*/
|
|
21516
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.prototype.toObject = function(opt_includeInstance) {
|
|
21517
|
+
return proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.toObject(opt_includeInstance, this);
|
|
21518
|
+
};
|
|
21519
|
+
|
|
21520
|
+
|
|
21521
|
+
/**
|
|
21522
|
+
* Static version of the {@see toObject} method.
|
|
21523
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21524
|
+
* the JSPB instance for transitional soy proto support:
|
|
21525
|
+
* http://goto/soy-param-migration
|
|
21526
|
+
* @param {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo} msg The msg instance to transform.
|
|
21527
|
+
* @return {!Object}
|
|
21528
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21529
|
+
*/
|
|
21530
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.toObject = function(includeInstance, msg) {
|
|
21531
|
+
var f, obj = {
|
|
21532
|
+
offsetId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
21533
|
+
limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
21534
|
+
hasNextPage: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
21535
|
+
};
|
|
21536
|
+
|
|
21537
|
+
if (includeInstance) {
|
|
21538
|
+
obj.$jspbMessageInstance = msg;
|
|
21539
|
+
}
|
|
21540
|
+
return obj;
|
|
21541
|
+
};
|
|
21542
|
+
}
|
|
21543
|
+
|
|
21544
|
+
|
|
21545
|
+
/**
|
|
21546
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21547
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21548
|
+
* @return {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo}
|
|
21549
|
+
*/
|
|
21550
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.deserializeBinary = function(bytes) {
|
|
21551
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21552
|
+
var msg = new proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo;
|
|
21553
|
+
return proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.deserializeBinaryFromReader(msg, reader);
|
|
21554
|
+
};
|
|
21555
|
+
|
|
21556
|
+
|
|
21557
|
+
/**
|
|
21558
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21559
|
+
* given reader into the given message object.
|
|
21560
|
+
* @param {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo} msg The message object to deserialize into.
|
|
21561
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21562
|
+
* @return {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo}
|
|
21563
|
+
*/
|
|
21564
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
21565
|
+
while (reader.nextField()) {
|
|
21566
|
+
if (reader.isEndGroup()) {
|
|
21567
|
+
break;
|
|
21568
|
+
}
|
|
21569
|
+
var field = reader.getFieldNumber();
|
|
21570
|
+
switch (field) {
|
|
21571
|
+
case 1:
|
|
21572
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21573
|
+
msg.setOffsetId(value);
|
|
21574
|
+
break;
|
|
21575
|
+
case 2:
|
|
21576
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21577
|
+
msg.setLimit(value);
|
|
21578
|
+
break;
|
|
21579
|
+
case 3:
|
|
21580
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
21581
|
+
msg.setHasNextPage(value);
|
|
21582
|
+
break;
|
|
21583
|
+
default:
|
|
21584
|
+
reader.skipField();
|
|
21585
|
+
break;
|
|
21586
|
+
}
|
|
21587
|
+
}
|
|
21588
|
+
return msg;
|
|
21589
|
+
};
|
|
21590
|
+
|
|
21591
|
+
|
|
21592
|
+
/**
|
|
21593
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21594
|
+
* @return {!Uint8Array}
|
|
21595
|
+
*/
|
|
21596
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.prototype.serializeBinary = function() {
|
|
21597
|
+
var writer = new jspb.BinaryWriter();
|
|
21598
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.serializeBinaryToWriter(this, writer);
|
|
21599
|
+
return writer.getResultBuffer();
|
|
21600
|
+
};
|
|
21601
|
+
|
|
21602
|
+
|
|
21603
|
+
/**
|
|
21604
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
21605
|
+
* format), writing to the given BinaryWriter.
|
|
21606
|
+
* @param {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo} message
|
|
21607
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21608
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21609
|
+
*/
|
|
21610
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.serializeBinaryToWriter = function(message, writer) {
|
|
21611
|
+
var f = undefined;
|
|
21612
|
+
f = message.getOffsetId();
|
|
21613
|
+
if (f.length > 0) {
|
|
21614
|
+
writer.writeString(
|
|
21615
|
+
1,
|
|
21616
|
+
f
|
|
21617
|
+
);
|
|
21618
|
+
}
|
|
21619
|
+
f = message.getLimit();
|
|
21620
|
+
if (f !== 0) {
|
|
21621
|
+
writer.writeInt32(
|
|
21622
|
+
2,
|
|
21623
|
+
f
|
|
21624
|
+
);
|
|
21625
|
+
}
|
|
21626
|
+
f = message.getHasNextPage();
|
|
21627
|
+
if (f) {
|
|
21628
|
+
writer.writeBool(
|
|
21629
|
+
3,
|
|
21630
|
+
f
|
|
21631
|
+
);
|
|
21632
|
+
}
|
|
21633
|
+
};
|
|
21634
|
+
|
|
21635
|
+
|
|
21636
|
+
/**
|
|
21637
|
+
* optional string offset_id = 1;
|
|
21638
|
+
* @return {string}
|
|
21639
|
+
*/
|
|
21640
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.prototype.getOffsetId = function() {
|
|
21641
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
21642
|
+
};
|
|
21643
|
+
|
|
21644
|
+
|
|
21645
|
+
/**
|
|
21646
|
+
* @param {string} value
|
|
21647
|
+
* @return {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo} returns this
|
|
21648
|
+
*/
|
|
21649
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.prototype.setOffsetId = function(value) {
|
|
21650
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
21651
|
+
};
|
|
21652
|
+
|
|
21653
|
+
|
|
21654
|
+
/**
|
|
21655
|
+
* optional int32 limit = 2;
|
|
21656
|
+
* @return {number}
|
|
21657
|
+
*/
|
|
21658
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.prototype.getLimit = function() {
|
|
21659
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21660
|
+
};
|
|
21661
|
+
|
|
21662
|
+
|
|
21663
|
+
/**
|
|
21664
|
+
* @param {number} value
|
|
21665
|
+
* @return {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo} returns this
|
|
21666
|
+
*/
|
|
21667
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.prototype.setLimit = function(value) {
|
|
21668
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
21669
|
+
};
|
|
21670
|
+
|
|
21671
|
+
|
|
21672
|
+
/**
|
|
21673
|
+
* optional bool has_next_page = 3;
|
|
21674
|
+
* @return {boolean}
|
|
21675
|
+
*/
|
|
21676
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.prototype.getHasNextPage = function() {
|
|
21677
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
21678
|
+
};
|
|
21679
|
+
|
|
21680
|
+
|
|
21681
|
+
/**
|
|
21682
|
+
* @param {boolean} value
|
|
21683
|
+
* @return {!proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo} returns this
|
|
21684
|
+
*/
|
|
21685
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.prototype.setHasNextPage = function(value) {
|
|
21686
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
21687
|
+
};
|
|
21688
|
+
|
|
21689
|
+
|
|
21690
|
+
|
|
21691
|
+
/**
|
|
21692
|
+
* List of repeated fields within this message type.
|
|
21693
|
+
* @private {!Array<number>}
|
|
21694
|
+
* @const
|
|
21695
|
+
*/
|
|
21696
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.repeatedFields_ = [2];
|
|
21697
|
+
|
|
21698
|
+
|
|
21699
|
+
|
|
21700
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21701
|
+
/**
|
|
21702
|
+
* Creates an object representation of this proto.
|
|
21703
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21704
|
+
* Optional fields that are not set will be set to undefined.
|
|
21705
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21706
|
+
* For the list of reserved names please see:
|
|
21707
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21708
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21709
|
+
* JSPB instance for transitional soy proto support:
|
|
21710
|
+
* http://goto/soy-param-migration
|
|
21711
|
+
* @return {!Object}
|
|
21712
|
+
*/
|
|
21713
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
21714
|
+
return proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.toObject(opt_includeInstance, this);
|
|
21715
|
+
};
|
|
21716
|
+
|
|
21717
|
+
|
|
21718
|
+
/**
|
|
21719
|
+
* Static version of the {@see toObject} method.
|
|
21720
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21721
|
+
* the JSPB instance for transitional soy proto support:
|
|
21722
|
+
* http://goto/soy-param-migration
|
|
21723
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse} msg The msg instance to transform.
|
|
21724
|
+
* @return {!Object}
|
|
21725
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21726
|
+
*/
|
|
21727
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.toObject = function(includeInstance, msg) {
|
|
21728
|
+
var f, obj = {
|
|
21729
|
+
count: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21730
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
21731
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.toObject, includeInstance),
|
|
21732
|
+
pageInfo: (f = msg.getPageInfo()) && proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.toObject(includeInstance, f)
|
|
21733
|
+
};
|
|
21734
|
+
|
|
21735
|
+
if (includeInstance) {
|
|
21736
|
+
obj.$jspbMessageInstance = msg;
|
|
21737
|
+
}
|
|
21738
|
+
return obj;
|
|
21739
|
+
};
|
|
21740
|
+
}
|
|
21741
|
+
|
|
21742
|
+
|
|
21743
|
+
/**
|
|
21744
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21745
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21746
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse}
|
|
21747
|
+
*/
|
|
21748
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.deserializeBinary = function(bytes) {
|
|
21749
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21750
|
+
var msg = new proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse;
|
|
21751
|
+
return proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.deserializeBinaryFromReader(msg, reader);
|
|
21752
|
+
};
|
|
21753
|
+
|
|
21754
|
+
|
|
21755
|
+
/**
|
|
21756
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21757
|
+
* given reader into the given message object.
|
|
21758
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse} msg The message object to deserialize into.
|
|
21759
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21760
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse}
|
|
21761
|
+
*/
|
|
21762
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
21763
|
+
while (reader.nextField()) {
|
|
21764
|
+
if (reader.isEndGroup()) {
|
|
21765
|
+
break;
|
|
21766
|
+
}
|
|
21767
|
+
var field = reader.getFieldNumber();
|
|
21768
|
+
switch (field) {
|
|
21769
|
+
case 1:
|
|
21770
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21771
|
+
msg.setCount(value);
|
|
21772
|
+
break;
|
|
21773
|
+
case 2:
|
|
21774
|
+
var value = new proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem;
|
|
21775
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.deserializeBinaryFromReader);
|
|
21776
|
+
msg.addItems(value);
|
|
21777
|
+
break;
|
|
21778
|
+
case 3:
|
|
21779
|
+
var value = new proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo;
|
|
21780
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.deserializeBinaryFromReader);
|
|
21781
|
+
msg.setPageInfo(value);
|
|
21782
|
+
break;
|
|
21783
|
+
default:
|
|
21784
|
+
reader.skipField();
|
|
21785
|
+
break;
|
|
21786
|
+
}
|
|
21787
|
+
}
|
|
21788
|
+
return msg;
|
|
21789
|
+
};
|
|
21790
|
+
|
|
21791
|
+
|
|
21792
|
+
/**
|
|
21793
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21794
|
+
* @return {!Uint8Array}
|
|
21795
|
+
*/
|
|
21796
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.prototype.serializeBinary = function() {
|
|
21797
|
+
var writer = new jspb.BinaryWriter();
|
|
21798
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.serializeBinaryToWriter(this, writer);
|
|
21799
|
+
return writer.getResultBuffer();
|
|
21800
|
+
};
|
|
21801
|
+
|
|
21802
|
+
|
|
21803
|
+
/**
|
|
21804
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
21805
|
+
* format), writing to the given BinaryWriter.
|
|
21806
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse} message
|
|
21807
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21808
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21809
|
+
*/
|
|
21810
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
21811
|
+
var f = undefined;
|
|
21812
|
+
f = message.getCount();
|
|
21813
|
+
if (f !== 0) {
|
|
21814
|
+
writer.writeInt32(
|
|
21815
|
+
1,
|
|
21816
|
+
f
|
|
21817
|
+
);
|
|
21818
|
+
}
|
|
21819
|
+
f = message.getItemsList();
|
|
21820
|
+
if (f.length > 0) {
|
|
21821
|
+
writer.writeRepeatedMessage(
|
|
21822
|
+
2,
|
|
21823
|
+
f,
|
|
21824
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.serializeBinaryToWriter
|
|
21825
|
+
);
|
|
21826
|
+
}
|
|
21827
|
+
f = message.getPageInfo();
|
|
21828
|
+
if (f != null) {
|
|
21829
|
+
writer.writeMessage(
|
|
21830
|
+
3,
|
|
21831
|
+
f,
|
|
21832
|
+
proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo.serializeBinaryToWriter
|
|
21833
|
+
);
|
|
21834
|
+
}
|
|
21835
|
+
};
|
|
21836
|
+
|
|
21837
|
+
|
|
21838
|
+
/**
|
|
21839
|
+
* optional int32 count = 1;
|
|
21840
|
+
* @return {number}
|
|
21841
|
+
*/
|
|
21842
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.prototype.getCount = function() {
|
|
21843
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21844
|
+
};
|
|
21845
|
+
|
|
21846
|
+
|
|
21847
|
+
/**
|
|
21848
|
+
* @param {number} value
|
|
21849
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse} returns this
|
|
21850
|
+
*/
|
|
21851
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.prototype.setCount = function(value) {
|
|
21852
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21853
|
+
};
|
|
21854
|
+
|
|
21855
|
+
|
|
21856
|
+
/**
|
|
21857
|
+
* repeated SiteHierarchyIdsItem items = 2;
|
|
21858
|
+
* @return {!Array<!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem>}
|
|
21859
|
+
*/
|
|
21860
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.prototype.getItemsList = function() {
|
|
21861
|
+
return /** @type{!Array<!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem>} */ (
|
|
21862
|
+
jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem, 2));
|
|
21863
|
+
};
|
|
21864
|
+
|
|
21865
|
+
|
|
21866
|
+
/**
|
|
21867
|
+
* @param {!Array<!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem>} value
|
|
21868
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse} returns this
|
|
21869
|
+
*/
|
|
21870
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.prototype.setItemsList = function(value) {
|
|
21871
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
21872
|
+
};
|
|
21873
|
+
|
|
21874
|
+
|
|
21875
|
+
/**
|
|
21876
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem=} opt_value
|
|
21877
|
+
* @param {number=} opt_index
|
|
21878
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem}
|
|
21879
|
+
*/
|
|
21880
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
21881
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem, opt_index);
|
|
21882
|
+
};
|
|
21883
|
+
|
|
21884
|
+
|
|
21885
|
+
/**
|
|
21886
|
+
* Clears the list making it empty but non-null.
|
|
21887
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse} returns this
|
|
21888
|
+
*/
|
|
21889
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.prototype.clearItemsList = function() {
|
|
21890
|
+
return this.setItemsList([]);
|
|
21891
|
+
};
|
|
21892
|
+
|
|
21893
|
+
|
|
21894
|
+
/**
|
|
21895
|
+
* optional SitesIdsWithFederationPageInfo page_info = 3;
|
|
21896
|
+
* @return {?proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo}
|
|
21897
|
+
*/
|
|
21898
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.prototype.getPageInfo = function() {
|
|
21899
|
+
return /** @type{?proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo} */ (
|
|
21900
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo, 3));
|
|
21901
|
+
};
|
|
21902
|
+
|
|
21903
|
+
|
|
21904
|
+
/**
|
|
21905
|
+
* @param {?proto.lansweeper.multitenant.v1.SitesIdsWithFederationPageInfo|undefined} value
|
|
21906
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse} returns this
|
|
21907
|
+
*/
|
|
21908
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.prototype.setPageInfo = function(value) {
|
|
21909
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
21910
|
+
};
|
|
21911
|
+
|
|
21912
|
+
|
|
21913
|
+
/**
|
|
21914
|
+
* Clears the message field making it undefined.
|
|
21915
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse} returns this
|
|
21916
|
+
*/
|
|
21917
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.prototype.clearPageInfo = function() {
|
|
21918
|
+
return this.setPageInfo(undefined);
|
|
21919
|
+
};
|
|
21920
|
+
|
|
21921
|
+
|
|
21922
|
+
/**
|
|
21923
|
+
* Returns whether this field is set.
|
|
21924
|
+
* @return {boolean}
|
|
21925
|
+
*/
|
|
21926
|
+
proto.lansweeper.multitenant.v1.GetSitesIdsWithFederationResponse.prototype.hasPageInfo = function() {
|
|
21927
|
+
return jspb.Message.getField(this, 3) != null;
|
|
21928
|
+
};
|
|
21929
|
+
|
|
21930
|
+
|
|
21931
|
+
|
|
21932
|
+
|
|
21933
|
+
|
|
21934
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21935
|
+
/**
|
|
21936
|
+
* Creates an object representation of this proto.
|
|
21937
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21938
|
+
* Optional fields that are not set will be set to undefined.
|
|
21939
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21940
|
+
* For the list of reserved names please see:
|
|
21941
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21942
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21943
|
+
* JSPB instance for transitional soy proto support:
|
|
21944
|
+
* http://goto/soy-param-migration
|
|
21945
|
+
* @return {!Object}
|
|
21946
|
+
*/
|
|
21947
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.prototype.toObject = function(opt_includeInstance) {
|
|
21948
|
+
return proto.lansweeper.multitenant.v1.MsmpPagination.toObject(opt_includeInstance, this);
|
|
21949
|
+
};
|
|
21950
|
+
|
|
21951
|
+
|
|
21952
|
+
/**
|
|
21953
|
+
* Static version of the {@see toObject} method.
|
|
21954
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21955
|
+
* the JSPB instance for transitional soy proto support:
|
|
21956
|
+
* http://goto/soy-param-migration
|
|
21957
|
+
* @param {!proto.lansweeper.multitenant.v1.MsmpPagination} msg The msg instance to transform.
|
|
21958
|
+
* @return {!Object}
|
|
21959
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21960
|
+
*/
|
|
21961
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.toObject = function(includeInstance, msg) {
|
|
21962
|
+
var f, obj = {
|
|
21963
|
+
offset: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21964
|
+
limit: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
21965
|
+
};
|
|
21966
|
+
|
|
21967
|
+
if (includeInstance) {
|
|
21968
|
+
obj.$jspbMessageInstance = msg;
|
|
21969
|
+
}
|
|
21970
|
+
return obj;
|
|
21971
|
+
};
|
|
21972
|
+
}
|
|
21973
|
+
|
|
21974
|
+
|
|
21975
|
+
/**
|
|
21976
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21977
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21978
|
+
* @return {!proto.lansweeper.multitenant.v1.MsmpPagination}
|
|
21979
|
+
*/
|
|
21980
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.deserializeBinary = function(bytes) {
|
|
21981
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21982
|
+
var msg = new proto.lansweeper.multitenant.v1.MsmpPagination;
|
|
21983
|
+
return proto.lansweeper.multitenant.v1.MsmpPagination.deserializeBinaryFromReader(msg, reader);
|
|
21984
|
+
};
|
|
21985
|
+
|
|
21986
|
+
|
|
21987
|
+
/**
|
|
21988
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21989
|
+
* given reader into the given message object.
|
|
21990
|
+
* @param {!proto.lansweeper.multitenant.v1.MsmpPagination} msg The message object to deserialize into.
|
|
21991
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21992
|
+
* @return {!proto.lansweeper.multitenant.v1.MsmpPagination}
|
|
21993
|
+
*/
|
|
21994
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.deserializeBinaryFromReader = function(msg, reader) {
|
|
21995
|
+
while (reader.nextField()) {
|
|
21996
|
+
if (reader.isEndGroup()) {
|
|
21997
|
+
break;
|
|
21998
|
+
}
|
|
21999
|
+
var field = reader.getFieldNumber();
|
|
22000
|
+
switch (field) {
|
|
22001
|
+
case 1:
|
|
22002
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22003
|
+
msg.setOffset(value);
|
|
22004
|
+
break;
|
|
22005
|
+
case 2:
|
|
22006
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22007
|
+
msg.setLimit(value);
|
|
22008
|
+
break;
|
|
22009
|
+
default:
|
|
22010
|
+
reader.skipField();
|
|
22011
|
+
break;
|
|
22012
|
+
}
|
|
22013
|
+
}
|
|
22014
|
+
return msg;
|
|
22015
|
+
};
|
|
22016
|
+
|
|
22017
|
+
|
|
22018
|
+
/**
|
|
22019
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22020
|
+
* @return {!Uint8Array}
|
|
22021
|
+
*/
|
|
22022
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.prototype.serializeBinary = function() {
|
|
22023
|
+
var writer = new jspb.BinaryWriter();
|
|
22024
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.serializeBinaryToWriter(this, writer);
|
|
22025
|
+
return writer.getResultBuffer();
|
|
22026
|
+
};
|
|
22027
|
+
|
|
22028
|
+
|
|
22029
|
+
/**
|
|
22030
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22031
|
+
* format), writing to the given BinaryWriter.
|
|
22032
|
+
* @param {!proto.lansweeper.multitenant.v1.MsmpPagination} message
|
|
22033
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22034
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22035
|
+
*/
|
|
22036
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.serializeBinaryToWriter = function(message, writer) {
|
|
22037
|
+
var f = undefined;
|
|
22038
|
+
f = message.getOffset();
|
|
22039
|
+
if (f !== 0) {
|
|
22040
|
+
writer.writeInt32(
|
|
22041
|
+
1,
|
|
22042
|
+
f
|
|
22043
|
+
);
|
|
22044
|
+
}
|
|
22045
|
+
f = message.getLimit();
|
|
22046
|
+
if (f !== 0) {
|
|
22047
|
+
writer.writeInt32(
|
|
22048
|
+
2,
|
|
22049
|
+
f
|
|
22050
|
+
);
|
|
22051
|
+
}
|
|
22052
|
+
};
|
|
22053
|
+
|
|
22054
|
+
|
|
22055
|
+
/**
|
|
22056
|
+
* optional int32 offset = 1;
|
|
22057
|
+
* @return {number}
|
|
22058
|
+
*/
|
|
22059
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.prototype.getOffset = function() {
|
|
22060
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22061
|
+
};
|
|
22062
|
+
|
|
22063
|
+
|
|
22064
|
+
/**
|
|
22065
|
+
* @param {number} value
|
|
22066
|
+
* @return {!proto.lansweeper.multitenant.v1.MsmpPagination} returns this
|
|
22067
|
+
*/
|
|
22068
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.prototype.setOffset = function(value) {
|
|
22069
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22070
|
+
};
|
|
22071
|
+
|
|
22072
|
+
|
|
22073
|
+
/**
|
|
22074
|
+
* optional int32 limit = 2;
|
|
22075
|
+
* @return {number}
|
|
22076
|
+
*/
|
|
22077
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.prototype.getLimit = function() {
|
|
22078
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22079
|
+
};
|
|
22080
|
+
|
|
22081
|
+
|
|
22082
|
+
/**
|
|
22083
|
+
* @param {number} value
|
|
22084
|
+
* @return {!proto.lansweeper.multitenant.v1.MsmpPagination} returns this
|
|
22085
|
+
*/
|
|
22086
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.prototype.setLimit = function(value) {
|
|
22087
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22088
|
+
};
|
|
22089
|
+
|
|
22090
|
+
|
|
22091
|
+
|
|
22092
|
+
|
|
22093
|
+
|
|
22094
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22095
|
+
/**
|
|
22096
|
+
* Creates an object representation of this proto.
|
|
22097
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22098
|
+
* Optional fields that are not set will be set to undefined.
|
|
22099
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22100
|
+
* For the list of reserved names please see:
|
|
22101
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22102
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22103
|
+
* JSPB instance for transitional soy proto support:
|
|
22104
|
+
* http://goto/soy-param-migration
|
|
22105
|
+
* @return {!Object}
|
|
22106
|
+
*/
|
|
22107
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.toObject = function(opt_includeInstance) {
|
|
22108
|
+
return proto.lansweeper.multitenant.v1.MsmpPaginationInfo.toObject(opt_includeInstance, this);
|
|
22109
|
+
};
|
|
22110
|
+
|
|
22111
|
+
|
|
22112
|
+
/**
|
|
22113
|
+
* Static version of the {@see toObject} method.
|
|
22114
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22115
|
+
* the JSPB instance for transitional soy proto support:
|
|
22116
|
+
* http://goto/soy-param-migration
|
|
22117
|
+
* @param {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} msg The msg instance to transform.
|
|
22118
|
+
* @return {!Object}
|
|
22119
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22120
|
+
*/
|
|
22121
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.toObject = function(includeInstance, msg) {
|
|
22122
|
+
var f, obj = {
|
|
22123
|
+
total: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22124
|
+
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22125
|
+
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
22126
|
+
hasNextPage: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
22127
|
+
};
|
|
22128
|
+
|
|
22129
|
+
if (includeInstance) {
|
|
22130
|
+
obj.$jspbMessageInstance = msg;
|
|
22131
|
+
}
|
|
22132
|
+
return obj;
|
|
22133
|
+
};
|
|
22134
|
+
}
|
|
22135
|
+
|
|
22136
|
+
|
|
22137
|
+
/**
|
|
22138
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22139
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22140
|
+
* @return {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo}
|
|
22141
|
+
*/
|
|
22142
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.deserializeBinary = function(bytes) {
|
|
22143
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22144
|
+
var msg = new proto.lansweeper.multitenant.v1.MsmpPaginationInfo;
|
|
22145
|
+
return proto.lansweeper.multitenant.v1.MsmpPaginationInfo.deserializeBinaryFromReader(msg, reader);
|
|
22146
|
+
};
|
|
22147
|
+
|
|
22148
|
+
|
|
22149
|
+
/**
|
|
22150
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22151
|
+
* given reader into the given message object.
|
|
22152
|
+
* @param {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} msg The message object to deserialize into.
|
|
22153
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22154
|
+
* @return {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo}
|
|
22155
|
+
*/
|
|
22156
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
22157
|
+
while (reader.nextField()) {
|
|
22158
|
+
if (reader.isEndGroup()) {
|
|
22159
|
+
break;
|
|
22160
|
+
}
|
|
22161
|
+
var field = reader.getFieldNumber();
|
|
22162
|
+
switch (field) {
|
|
22163
|
+
case 1:
|
|
22164
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22165
|
+
msg.setTotal(value);
|
|
22166
|
+
break;
|
|
22167
|
+
case 2:
|
|
22168
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22169
|
+
msg.setOffset(value);
|
|
22170
|
+
break;
|
|
22171
|
+
case 3:
|
|
22172
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22173
|
+
msg.setLimit(value);
|
|
22174
|
+
break;
|
|
22175
|
+
case 4:
|
|
22176
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
22177
|
+
msg.setHasNextPage(value);
|
|
22178
|
+
break;
|
|
22179
|
+
default:
|
|
22180
|
+
reader.skipField();
|
|
22181
|
+
break;
|
|
22182
|
+
}
|
|
22183
|
+
}
|
|
22184
|
+
return msg;
|
|
22185
|
+
};
|
|
22186
|
+
|
|
22187
|
+
|
|
22188
|
+
/**
|
|
22189
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22190
|
+
* @return {!Uint8Array}
|
|
22191
|
+
*/
|
|
22192
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.serializeBinary = function() {
|
|
22193
|
+
var writer = new jspb.BinaryWriter();
|
|
22194
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.serializeBinaryToWriter(this, writer);
|
|
22195
|
+
return writer.getResultBuffer();
|
|
22196
|
+
};
|
|
22197
|
+
|
|
22198
|
+
|
|
22199
|
+
/**
|
|
22200
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22201
|
+
* format), writing to the given BinaryWriter.
|
|
22202
|
+
* @param {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} message
|
|
22203
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22204
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22205
|
+
*/
|
|
22206
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.serializeBinaryToWriter = function(message, writer) {
|
|
22207
|
+
var f = undefined;
|
|
22208
|
+
f = message.getTotal();
|
|
22209
|
+
if (f !== 0) {
|
|
22210
|
+
writer.writeInt32(
|
|
22211
|
+
1,
|
|
22212
|
+
f
|
|
22213
|
+
);
|
|
22214
|
+
}
|
|
22215
|
+
f = message.getOffset();
|
|
22216
|
+
if (f !== 0) {
|
|
22217
|
+
writer.writeInt32(
|
|
22218
|
+
2,
|
|
22219
|
+
f
|
|
22220
|
+
);
|
|
22221
|
+
}
|
|
22222
|
+
f = message.getLimit();
|
|
22223
|
+
if (f !== 0) {
|
|
22224
|
+
writer.writeInt32(
|
|
22225
|
+
3,
|
|
22226
|
+
f
|
|
22227
|
+
);
|
|
22228
|
+
}
|
|
22229
|
+
f = message.getHasNextPage();
|
|
22230
|
+
if (f) {
|
|
22231
|
+
writer.writeBool(
|
|
22232
|
+
4,
|
|
22233
|
+
f
|
|
22234
|
+
);
|
|
22235
|
+
}
|
|
22236
|
+
};
|
|
22237
|
+
|
|
22238
|
+
|
|
22239
|
+
/**
|
|
22240
|
+
* optional int32 total = 1;
|
|
22241
|
+
* @return {number}
|
|
22242
|
+
*/
|
|
22243
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.getTotal = function() {
|
|
22244
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22245
|
+
};
|
|
22246
|
+
|
|
22247
|
+
|
|
22248
|
+
/**
|
|
22249
|
+
* @param {number} value
|
|
22250
|
+
* @return {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} returns this
|
|
22251
|
+
*/
|
|
22252
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.setTotal = function(value) {
|
|
22253
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22254
|
+
};
|
|
22255
|
+
|
|
22256
|
+
|
|
22257
|
+
/**
|
|
22258
|
+
* optional int32 offset = 2;
|
|
22259
|
+
* @return {number}
|
|
22260
|
+
*/
|
|
22261
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.getOffset = function() {
|
|
21313
22262
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21314
22263
|
};
|
|
21315
22264
|
|
|
@@ -24538,6 +25487,296 @@ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.prototype
|
|
|
24538
25487
|
};
|
|
24539
25488
|
|
|
24540
25489
|
|
|
25490
|
+
|
|
25491
|
+
|
|
25492
|
+
|
|
25493
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25494
|
+
/**
|
|
25495
|
+
* Creates an object representation of this proto.
|
|
25496
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
25497
|
+
* Optional fields that are not set will be set to undefined.
|
|
25498
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
25499
|
+
* For the list of reserved names please see:
|
|
25500
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
25501
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
25502
|
+
* JSPB instance for transitional soy proto support:
|
|
25503
|
+
* http://goto/soy-param-migration
|
|
25504
|
+
* @return {!Object}
|
|
25505
|
+
*/
|
|
25506
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
25507
|
+
return proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.toObject(opt_includeInstance, this);
|
|
25508
|
+
};
|
|
25509
|
+
|
|
25510
|
+
|
|
25511
|
+
/**
|
|
25512
|
+
* Static version of the {@see toObject} method.
|
|
25513
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
25514
|
+
* the JSPB instance for transitional soy proto support:
|
|
25515
|
+
* http://goto/soy-param-migration
|
|
25516
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest} msg The msg instance to transform.
|
|
25517
|
+
* @return {!Object}
|
|
25518
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25519
|
+
*/
|
|
25520
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.toObject = function(includeInstance, msg) {
|
|
25521
|
+
var f, obj = {
|
|
25522
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
25523
|
+
installId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
25524
|
+
};
|
|
25525
|
+
|
|
25526
|
+
if (includeInstance) {
|
|
25527
|
+
obj.$jspbMessageInstance = msg;
|
|
25528
|
+
}
|
|
25529
|
+
return obj;
|
|
25530
|
+
};
|
|
25531
|
+
}
|
|
25532
|
+
|
|
25533
|
+
|
|
25534
|
+
/**
|
|
25535
|
+
* Deserializes binary data (in protobuf wire format).
|
|
25536
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
25537
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest}
|
|
25538
|
+
*/
|
|
25539
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.deserializeBinary = function(bytes) {
|
|
25540
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
25541
|
+
var msg = new proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest;
|
|
25542
|
+
return proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.deserializeBinaryFromReader(msg, reader);
|
|
25543
|
+
};
|
|
25544
|
+
|
|
25545
|
+
|
|
25546
|
+
/**
|
|
25547
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
25548
|
+
* given reader into the given message object.
|
|
25549
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest} msg The message object to deserialize into.
|
|
25550
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25551
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest}
|
|
25552
|
+
*/
|
|
25553
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
25554
|
+
while (reader.nextField()) {
|
|
25555
|
+
if (reader.isEndGroup()) {
|
|
25556
|
+
break;
|
|
25557
|
+
}
|
|
25558
|
+
var field = reader.getFieldNumber();
|
|
25559
|
+
switch (field) {
|
|
25560
|
+
case 1:
|
|
25561
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25562
|
+
msg.setSiteId(value);
|
|
25563
|
+
break;
|
|
25564
|
+
case 2:
|
|
25565
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25566
|
+
msg.setInstallId(value);
|
|
25567
|
+
break;
|
|
25568
|
+
default:
|
|
25569
|
+
reader.skipField();
|
|
25570
|
+
break;
|
|
25571
|
+
}
|
|
25572
|
+
}
|
|
25573
|
+
return msg;
|
|
25574
|
+
};
|
|
25575
|
+
|
|
25576
|
+
|
|
25577
|
+
/**
|
|
25578
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
25579
|
+
* @return {!Uint8Array}
|
|
25580
|
+
*/
|
|
25581
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.prototype.serializeBinary = function() {
|
|
25582
|
+
var writer = new jspb.BinaryWriter();
|
|
25583
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.serializeBinaryToWriter(this, writer);
|
|
25584
|
+
return writer.getResultBuffer();
|
|
25585
|
+
};
|
|
25586
|
+
|
|
25587
|
+
|
|
25588
|
+
/**
|
|
25589
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
25590
|
+
* format), writing to the given BinaryWriter.
|
|
25591
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest} message
|
|
25592
|
+
* @param {!jspb.BinaryWriter} writer
|
|
25593
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25594
|
+
*/
|
|
25595
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
25596
|
+
var f = undefined;
|
|
25597
|
+
f = message.getSiteId();
|
|
25598
|
+
if (f.length > 0) {
|
|
25599
|
+
writer.writeString(
|
|
25600
|
+
1,
|
|
25601
|
+
f
|
|
25602
|
+
);
|
|
25603
|
+
}
|
|
25604
|
+
f = message.getInstallId();
|
|
25605
|
+
if (f.length > 0) {
|
|
25606
|
+
writer.writeString(
|
|
25607
|
+
2,
|
|
25608
|
+
f
|
|
25609
|
+
);
|
|
25610
|
+
}
|
|
25611
|
+
};
|
|
25612
|
+
|
|
25613
|
+
|
|
25614
|
+
/**
|
|
25615
|
+
* optional string site_id = 1;
|
|
25616
|
+
* @return {string}
|
|
25617
|
+
*/
|
|
25618
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.prototype.getSiteId = function() {
|
|
25619
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
25620
|
+
};
|
|
25621
|
+
|
|
25622
|
+
|
|
25623
|
+
/**
|
|
25624
|
+
* @param {string} value
|
|
25625
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest} returns this
|
|
25626
|
+
*/
|
|
25627
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.prototype.setSiteId = function(value) {
|
|
25628
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
25629
|
+
};
|
|
25630
|
+
|
|
25631
|
+
|
|
25632
|
+
/**
|
|
25633
|
+
* optional string install_id = 2;
|
|
25634
|
+
* @return {string}
|
|
25635
|
+
*/
|
|
25636
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.prototype.getInstallId = function() {
|
|
25637
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
25638
|
+
};
|
|
25639
|
+
|
|
25640
|
+
|
|
25641
|
+
/**
|
|
25642
|
+
* @param {string} value
|
|
25643
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest} returns this
|
|
25644
|
+
*/
|
|
25645
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.prototype.setInstallId = function(value) {
|
|
25646
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
25647
|
+
};
|
|
25648
|
+
|
|
25649
|
+
|
|
25650
|
+
|
|
25651
|
+
|
|
25652
|
+
|
|
25653
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25654
|
+
/**
|
|
25655
|
+
* Creates an object representation of this proto.
|
|
25656
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
25657
|
+
* Optional fields that are not set will be set to undefined.
|
|
25658
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
25659
|
+
* For the list of reserved names please see:
|
|
25660
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
25661
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
25662
|
+
* JSPB instance for transitional soy proto support:
|
|
25663
|
+
* http://goto/soy-param-migration
|
|
25664
|
+
* @return {!Object}
|
|
25665
|
+
*/
|
|
25666
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
25667
|
+
return proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.toObject(opt_includeInstance, this);
|
|
25668
|
+
};
|
|
25669
|
+
|
|
25670
|
+
|
|
25671
|
+
/**
|
|
25672
|
+
* Static version of the {@see toObject} method.
|
|
25673
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
25674
|
+
* the JSPB instance for transitional soy proto support:
|
|
25675
|
+
* http://goto/soy-param-migration
|
|
25676
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse} msg The msg instance to transform.
|
|
25677
|
+
* @return {!Object}
|
|
25678
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25679
|
+
*/
|
|
25680
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.toObject = function(includeInstance, msg) {
|
|
25681
|
+
var f, obj = {
|
|
25682
|
+
digitallicensetoken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
25683
|
+
};
|
|
25684
|
+
|
|
25685
|
+
if (includeInstance) {
|
|
25686
|
+
obj.$jspbMessageInstance = msg;
|
|
25687
|
+
}
|
|
25688
|
+
return obj;
|
|
25689
|
+
};
|
|
25690
|
+
}
|
|
25691
|
+
|
|
25692
|
+
|
|
25693
|
+
/**
|
|
25694
|
+
* Deserializes binary data (in protobuf wire format).
|
|
25695
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
25696
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse}
|
|
25697
|
+
*/
|
|
25698
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.deserializeBinary = function(bytes) {
|
|
25699
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
25700
|
+
var msg = new proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse;
|
|
25701
|
+
return proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.deserializeBinaryFromReader(msg, reader);
|
|
25702
|
+
};
|
|
25703
|
+
|
|
25704
|
+
|
|
25705
|
+
/**
|
|
25706
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
25707
|
+
* given reader into the given message object.
|
|
25708
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse} msg The message object to deserialize into.
|
|
25709
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25710
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse}
|
|
25711
|
+
*/
|
|
25712
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
25713
|
+
while (reader.nextField()) {
|
|
25714
|
+
if (reader.isEndGroup()) {
|
|
25715
|
+
break;
|
|
25716
|
+
}
|
|
25717
|
+
var field = reader.getFieldNumber();
|
|
25718
|
+
switch (field) {
|
|
25719
|
+
case 1:
|
|
25720
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25721
|
+
msg.setDigitallicensetoken(value);
|
|
25722
|
+
break;
|
|
25723
|
+
default:
|
|
25724
|
+
reader.skipField();
|
|
25725
|
+
break;
|
|
25726
|
+
}
|
|
25727
|
+
}
|
|
25728
|
+
return msg;
|
|
25729
|
+
};
|
|
25730
|
+
|
|
25731
|
+
|
|
25732
|
+
/**
|
|
25733
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
25734
|
+
* @return {!Uint8Array}
|
|
25735
|
+
*/
|
|
25736
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.prototype.serializeBinary = function() {
|
|
25737
|
+
var writer = new jspb.BinaryWriter();
|
|
25738
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.serializeBinaryToWriter(this, writer);
|
|
25739
|
+
return writer.getResultBuffer();
|
|
25740
|
+
};
|
|
25741
|
+
|
|
25742
|
+
|
|
25743
|
+
/**
|
|
25744
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
25745
|
+
* format), writing to the given BinaryWriter.
|
|
25746
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse} message
|
|
25747
|
+
* @param {!jspb.BinaryWriter} writer
|
|
25748
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25749
|
+
*/
|
|
25750
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
25751
|
+
var f = undefined;
|
|
25752
|
+
f = message.getDigitallicensetoken();
|
|
25753
|
+
if (f.length > 0) {
|
|
25754
|
+
writer.writeString(
|
|
25755
|
+
1,
|
|
25756
|
+
f
|
|
25757
|
+
);
|
|
25758
|
+
}
|
|
25759
|
+
};
|
|
25760
|
+
|
|
25761
|
+
|
|
25762
|
+
/**
|
|
25763
|
+
* optional string digitalLicenseToken = 1;
|
|
25764
|
+
* @return {string}
|
|
25765
|
+
*/
|
|
25766
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.prototype.getDigitallicensetoken = function() {
|
|
25767
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
25768
|
+
};
|
|
25769
|
+
|
|
25770
|
+
|
|
25771
|
+
/**
|
|
25772
|
+
* @param {string} value
|
|
25773
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse} returns this
|
|
25774
|
+
*/
|
|
25775
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.prototype.setDigitallicensetoken = function(value) {
|
|
25776
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
25777
|
+
};
|
|
25778
|
+
|
|
25779
|
+
|
|
24541
25780
|
/**
|
|
24542
25781
|
* @enum {number}
|
|
24543
25782
|
*/
|