@lansweeper/multitenant-api-grpc 0.4.63 → 0.4.65
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 +1330 -91
- package/generated-go/multitenant.pb.go +1279 -782
- package/generated-go/multitenant_grpc.pb.go +76 -0
- package/package.json +2 -2
- package/proto/multitenant.proto +34 -0
|
@@ -81,6 +81,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountByIdRequest'
|
|
|
81
81
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountByIdResponse', null, global);
|
|
82
82
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountsByAccountIdsRequest', null, global);
|
|
83
83
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountsByAccountIdsResponse', null, global);
|
|
84
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest', null, global);
|
|
85
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse', null, global);
|
|
84
86
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData', null, global);
|
|
85
87
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteLimitsRequest', null, global);
|
|
86
88
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteLimitsResponse', null, global);
|
|
@@ -100,6 +102,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.InstallStateValue', null, glo
|
|
|
100
102
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.InstallType', null, global);
|
|
101
103
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest', null, global);
|
|
102
104
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse', null, global);
|
|
105
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest', null, global);
|
|
106
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse', null, global);
|
|
103
107
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.LinkTrialInstallByClientIdRequest', null, global);
|
|
104
108
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.LinkTrialInstallByClientIdResponse', null, global);
|
|
105
109
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.ListAuthorizedLinkProfilesRequest', null, global);
|
|
@@ -126,6 +130,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailReque
|
|
|
126
130
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse', null, global);
|
|
127
131
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.SetEnabledCustomFieldsFederationRequest', null, global);
|
|
128
132
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.Site', null, global);
|
|
133
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem', null, global);
|
|
134
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo', null, global);
|
|
129
135
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteMode', null, global);
|
|
130
136
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.Subscription', null, global);
|
|
131
137
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.SubscriptionType', null, global);
|
|
@@ -2158,6 +2164,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2158
2164
|
*/
|
|
2159
2165
|
proto.lansweeper.multitenant.v1.GetSiteLimitsResponse.displayName = 'proto.lansweeper.multitenant.v1.GetSiteLimitsResponse';
|
|
2160
2166
|
}
|
|
2167
|
+
/**
|
|
2168
|
+
* Generated by JsPbCodeGenerator.
|
|
2169
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2170
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2171
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2172
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2173
|
+
* valid.
|
|
2174
|
+
* @extends {jspb.Message}
|
|
2175
|
+
* @constructor
|
|
2176
|
+
*/
|
|
2177
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest = function(opt_data) {
|
|
2178
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2179
|
+
};
|
|
2180
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest, jspb.Message);
|
|
2181
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2182
|
+
/**
|
|
2183
|
+
* @public
|
|
2184
|
+
* @override
|
|
2185
|
+
*/
|
|
2186
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.displayName = 'proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest';
|
|
2187
|
+
}
|
|
2188
|
+
/**
|
|
2189
|
+
* Generated by JsPbCodeGenerator.
|
|
2190
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2191
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2192
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2193
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2194
|
+
* valid.
|
|
2195
|
+
* @extends {jspb.Message}
|
|
2196
|
+
* @constructor
|
|
2197
|
+
*/
|
|
2198
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem = function(opt_data) {
|
|
2199
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2200
|
+
};
|
|
2201
|
+
goog.inherits(proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem, jspb.Message);
|
|
2202
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2203
|
+
/**
|
|
2204
|
+
* @public
|
|
2205
|
+
* @override
|
|
2206
|
+
*/
|
|
2207
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.displayName = 'proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem';
|
|
2208
|
+
}
|
|
2209
|
+
/**
|
|
2210
|
+
* Generated by JsPbCodeGenerator.
|
|
2211
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2212
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2213
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2214
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2215
|
+
* valid.
|
|
2216
|
+
* @extends {jspb.Message}
|
|
2217
|
+
* @constructor
|
|
2218
|
+
*/
|
|
2219
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo = function(opt_data) {
|
|
2220
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2221
|
+
};
|
|
2222
|
+
goog.inherits(proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo, jspb.Message);
|
|
2223
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2224
|
+
/**
|
|
2225
|
+
* @public
|
|
2226
|
+
* @override
|
|
2227
|
+
*/
|
|
2228
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.displayName = 'proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo';
|
|
2229
|
+
}
|
|
2230
|
+
/**
|
|
2231
|
+
* Generated by JsPbCodeGenerator.
|
|
2232
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2233
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2234
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2235
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2236
|
+
* valid.
|
|
2237
|
+
* @extends {jspb.Message}
|
|
2238
|
+
* @constructor
|
|
2239
|
+
*/
|
|
2240
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse = function(opt_data) {
|
|
2241
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.repeatedFields_, null);
|
|
2242
|
+
};
|
|
2243
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse, jspb.Message);
|
|
2244
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2245
|
+
/**
|
|
2246
|
+
* @public
|
|
2247
|
+
* @override
|
|
2248
|
+
*/
|
|
2249
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.displayName = 'proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse';
|
|
2250
|
+
}
|
|
2161
2251
|
/**
|
|
2162
2252
|
* Generated by JsPbCodeGenerator.
|
|
2163
2253
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2431,6 +2521,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2431
2521
|
*/
|
|
2432
2522
|
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest.displayName = 'proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest';
|
|
2433
2523
|
}
|
|
2524
|
+
/**
|
|
2525
|
+
* Generated by JsPbCodeGenerator.
|
|
2526
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2527
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2528
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2529
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2530
|
+
* valid.
|
|
2531
|
+
* @extends {jspb.Message}
|
|
2532
|
+
* @constructor
|
|
2533
|
+
*/
|
|
2534
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest = function(opt_data) {
|
|
2535
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2536
|
+
};
|
|
2537
|
+
goog.inherits(proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest, jspb.Message);
|
|
2538
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2539
|
+
/**
|
|
2540
|
+
* @public
|
|
2541
|
+
* @override
|
|
2542
|
+
*/
|
|
2543
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest.displayName = 'proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest';
|
|
2544
|
+
}
|
|
2434
2545
|
/**
|
|
2435
2546
|
* Generated by JsPbCodeGenerator.
|
|
2436
2547
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2452,6 +2563,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2452
2563
|
*/
|
|
2453
2564
|
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse.displayName = 'proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse';
|
|
2454
2565
|
}
|
|
2566
|
+
/**
|
|
2567
|
+
* Generated by JsPbCodeGenerator.
|
|
2568
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2569
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2570
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2571
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2572
|
+
* valid.
|
|
2573
|
+
* @extends {jspb.Message}
|
|
2574
|
+
* @constructor
|
|
2575
|
+
*/
|
|
2576
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse = function(opt_data) {
|
|
2577
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2578
|
+
};
|
|
2579
|
+
goog.inherits(proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse, jspb.Message);
|
|
2580
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2581
|
+
/**
|
|
2582
|
+
* @public
|
|
2583
|
+
* @override
|
|
2584
|
+
*/
|
|
2585
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse.displayName = 'proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse';
|
|
2586
|
+
}
|
|
2455
2587
|
/**
|
|
2456
2588
|
* Generated by JsPbCodeGenerator.
|
|
2457
2589
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -19931,8 +20063,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
19931
20063
|
* http://goto/soy-param-migration
|
|
19932
20064
|
* @return {!Object}
|
|
19933
20065
|
*/
|
|
19934
|
-
proto.lansweeper.multitenant.v1.
|
|
19935
|
-
return proto.lansweeper.multitenant.v1.
|
|
20066
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
20067
|
+
return proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.toObject(opt_includeInstance, this);
|
|
19936
20068
|
};
|
|
19937
20069
|
|
|
19938
20070
|
|
|
@@ -19941,13 +20073,13 @@ proto.lansweeper.multitenant.v1.MsmpPagination.prototype.toObject = function(opt
|
|
|
19941
20073
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
19942
20074
|
* the JSPB instance for transitional soy proto support:
|
|
19943
20075
|
* http://goto/soy-param-migration
|
|
19944
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
20076
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest} msg The msg instance to transform.
|
|
19945
20077
|
* @return {!Object}
|
|
19946
20078
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19947
20079
|
*/
|
|
19948
|
-
proto.lansweeper.multitenant.v1.
|
|
20080
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.toObject = function(includeInstance, msg) {
|
|
19949
20081
|
var f, obj = {
|
|
19950
|
-
|
|
20082
|
+
offsetId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19951
20083
|
limit: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
19952
20084
|
};
|
|
19953
20085
|
|
|
@@ -19962,23 +20094,23 @@ proto.lansweeper.multitenant.v1.MsmpPagination.toObject = function(includeInstan
|
|
|
19962
20094
|
/**
|
|
19963
20095
|
* Deserializes binary data (in protobuf wire format).
|
|
19964
20096
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
19965
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
20097
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest}
|
|
19966
20098
|
*/
|
|
19967
|
-
proto.lansweeper.multitenant.v1.
|
|
20099
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.deserializeBinary = function(bytes) {
|
|
19968
20100
|
var reader = new jspb.BinaryReader(bytes);
|
|
19969
|
-
var msg = new proto.lansweeper.multitenant.v1.
|
|
19970
|
-
return proto.lansweeper.multitenant.v1.
|
|
20101
|
+
var msg = new proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest;
|
|
20102
|
+
return proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.deserializeBinaryFromReader(msg, reader);
|
|
19971
20103
|
};
|
|
19972
20104
|
|
|
19973
20105
|
|
|
19974
20106
|
/**
|
|
19975
20107
|
* Deserializes binary data (in protobuf wire format) from the
|
|
19976
20108
|
* given reader into the given message object.
|
|
19977
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
20109
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest} msg The message object to deserialize into.
|
|
19978
20110
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
19979
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
20111
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest}
|
|
19980
20112
|
*/
|
|
19981
|
-
proto.lansweeper.multitenant.v1.
|
|
20113
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
19982
20114
|
while (reader.nextField()) {
|
|
19983
20115
|
if (reader.isEndGroup()) {
|
|
19984
20116
|
break;
|
|
@@ -19986,8 +20118,8 @@ proto.lansweeper.multitenant.v1.MsmpPagination.deserializeBinaryFromReader = fun
|
|
|
19986
20118
|
var field = reader.getFieldNumber();
|
|
19987
20119
|
switch (field) {
|
|
19988
20120
|
case 1:
|
|
19989
|
-
var value = /** @type {
|
|
19990
|
-
msg.
|
|
20121
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20122
|
+
msg.setOffsetId(value);
|
|
19991
20123
|
break;
|
|
19992
20124
|
case 2:
|
|
19993
20125
|
var value = /** @type {number} */ (reader.readInt32());
|
|
@@ -20006,9 +20138,9 @@ proto.lansweeper.multitenant.v1.MsmpPagination.deserializeBinaryFromReader = fun
|
|
|
20006
20138
|
* Serializes the message to binary data (in protobuf wire format).
|
|
20007
20139
|
* @return {!Uint8Array}
|
|
20008
20140
|
*/
|
|
20009
|
-
proto.lansweeper.multitenant.v1.
|
|
20141
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.prototype.serializeBinary = function() {
|
|
20010
20142
|
var writer = new jspb.BinaryWriter();
|
|
20011
|
-
proto.lansweeper.multitenant.v1.
|
|
20143
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.serializeBinaryToWriter(this, writer);
|
|
20012
20144
|
return writer.getResultBuffer();
|
|
20013
20145
|
};
|
|
20014
20146
|
|
|
@@ -20016,21 +20148,21 @@ proto.lansweeper.multitenant.v1.MsmpPagination.prototype.serializeBinary = funct
|
|
|
20016
20148
|
/**
|
|
20017
20149
|
* Serializes the given message to binary data (in protobuf wire
|
|
20018
20150
|
* format), writing to the given BinaryWriter.
|
|
20019
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
20151
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest} message
|
|
20020
20152
|
* @param {!jspb.BinaryWriter} writer
|
|
20021
20153
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20022
20154
|
*/
|
|
20023
|
-
proto.lansweeper.multitenant.v1.
|
|
20155
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
20024
20156
|
var f = undefined;
|
|
20025
|
-
f =
|
|
20026
|
-
if (f
|
|
20027
|
-
writer.
|
|
20157
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
20158
|
+
if (f != null) {
|
|
20159
|
+
writer.writeString(
|
|
20028
20160
|
1,
|
|
20029
20161
|
f
|
|
20030
20162
|
);
|
|
20031
20163
|
}
|
|
20032
|
-
f =
|
|
20033
|
-
if (f
|
|
20164
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
20165
|
+
if (f != null) {
|
|
20034
20166
|
writer.writeInt32(
|
|
20035
20167
|
2,
|
|
20036
20168
|
f
|
|
@@ -20040,20 +20172,38 @@ proto.lansweeper.multitenant.v1.MsmpPagination.serializeBinaryToWriter = functio
|
|
|
20040
20172
|
|
|
20041
20173
|
|
|
20042
20174
|
/**
|
|
20043
|
-
* optional
|
|
20044
|
-
* @return {
|
|
20175
|
+
* optional string offset_id = 1;
|
|
20176
|
+
* @return {string}
|
|
20045
20177
|
*/
|
|
20046
|
-
proto.lansweeper.multitenant.v1.
|
|
20047
|
-
return /** @type {
|
|
20178
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.prototype.getOffsetId = function() {
|
|
20179
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
20048
20180
|
};
|
|
20049
20181
|
|
|
20050
20182
|
|
|
20051
20183
|
/**
|
|
20052
|
-
* @param {
|
|
20053
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
20184
|
+
* @param {string} value
|
|
20185
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest} returns this
|
|
20054
20186
|
*/
|
|
20055
|
-
proto.lansweeper.multitenant.v1.
|
|
20056
|
-
return jspb.Message.
|
|
20187
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.prototype.setOffsetId = function(value) {
|
|
20188
|
+
return jspb.Message.setField(this, 1, value);
|
|
20189
|
+
};
|
|
20190
|
+
|
|
20191
|
+
|
|
20192
|
+
/**
|
|
20193
|
+
* Clears the field making it undefined.
|
|
20194
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest} returns this
|
|
20195
|
+
*/
|
|
20196
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.prototype.clearOffsetId = function() {
|
|
20197
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
20198
|
+
};
|
|
20199
|
+
|
|
20200
|
+
|
|
20201
|
+
/**
|
|
20202
|
+
* Returns whether this field is set.
|
|
20203
|
+
* @return {boolean}
|
|
20204
|
+
*/
|
|
20205
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.prototype.hasOffsetId = function() {
|
|
20206
|
+
return jspb.Message.getField(this, 1) != null;
|
|
20057
20207
|
};
|
|
20058
20208
|
|
|
20059
20209
|
|
|
@@ -20061,17 +20211,35 @@ proto.lansweeper.multitenant.v1.MsmpPagination.prototype.setOffset = function(va
|
|
|
20061
20211
|
* optional int32 limit = 2;
|
|
20062
20212
|
* @return {number}
|
|
20063
20213
|
*/
|
|
20064
|
-
proto.lansweeper.multitenant.v1.
|
|
20214
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.prototype.getLimit = function() {
|
|
20065
20215
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
20066
20216
|
};
|
|
20067
20217
|
|
|
20068
20218
|
|
|
20069
20219
|
/**
|
|
20070
20220
|
* @param {number} value
|
|
20071
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
20221
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest} returns this
|
|
20072
20222
|
*/
|
|
20073
|
-
proto.lansweeper.multitenant.v1.
|
|
20074
|
-
return jspb.Message.
|
|
20223
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.prototype.setLimit = function(value) {
|
|
20224
|
+
return jspb.Message.setField(this, 2, value);
|
|
20225
|
+
};
|
|
20226
|
+
|
|
20227
|
+
|
|
20228
|
+
/**
|
|
20229
|
+
* Clears the field making it undefined.
|
|
20230
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest} returns this
|
|
20231
|
+
*/
|
|
20232
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.prototype.clearLimit = function() {
|
|
20233
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
20234
|
+
};
|
|
20235
|
+
|
|
20236
|
+
|
|
20237
|
+
/**
|
|
20238
|
+
* Returns whether this field is set.
|
|
20239
|
+
* @return {boolean}
|
|
20240
|
+
*/
|
|
20241
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsRequest.prototype.hasLimit = function() {
|
|
20242
|
+
return jspb.Message.getField(this, 2) != null;
|
|
20075
20243
|
};
|
|
20076
20244
|
|
|
20077
20245
|
|
|
@@ -20091,8 +20259,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
20091
20259
|
* http://goto/soy-param-migration
|
|
20092
20260
|
* @return {!Object}
|
|
20093
20261
|
*/
|
|
20094
|
-
proto.lansweeper.multitenant.v1.
|
|
20095
|
-
return proto.lansweeper.multitenant.v1.
|
|
20262
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.toObject = function(opt_includeInstance) {
|
|
20263
|
+
return proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.toObject(opt_includeInstance, this);
|
|
20096
20264
|
};
|
|
20097
20265
|
|
|
20098
20266
|
|
|
@@ -20101,16 +20269,16 @@ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.toObject = function
|
|
|
20101
20269
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
20102
20270
|
* the JSPB instance for transitional soy proto support:
|
|
20103
20271
|
* http://goto/soy-param-migration
|
|
20104
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
20272
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem} msg The msg instance to transform.
|
|
20105
20273
|
* @return {!Object}
|
|
20106
20274
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20107
20275
|
*/
|
|
20108
|
-
proto.lansweeper.multitenant.v1.
|
|
20276
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.toObject = function(includeInstance, msg) {
|
|
20109
20277
|
var f, obj = {
|
|
20110
|
-
|
|
20111
|
-
|
|
20112
|
-
|
|
20113
|
-
|
|
20278
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
20279
|
+
parentType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
20280
|
+
parentId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
20281
|
+
isCustomerAccount: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
20114
20282
|
};
|
|
20115
20283
|
|
|
20116
20284
|
if (includeInstance) {
|
|
@@ -20124,23 +20292,23 @@ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.toObject = function(includeIn
|
|
|
20124
20292
|
/**
|
|
20125
20293
|
* Deserializes binary data (in protobuf wire format).
|
|
20126
20294
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
20127
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
20295
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem}
|
|
20128
20296
|
*/
|
|
20129
|
-
proto.lansweeper.multitenant.v1.
|
|
20297
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.deserializeBinary = function(bytes) {
|
|
20130
20298
|
var reader = new jspb.BinaryReader(bytes);
|
|
20131
|
-
var msg = new proto.lansweeper.multitenant.v1.
|
|
20132
|
-
return proto.lansweeper.multitenant.v1.
|
|
20299
|
+
var msg = new proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem;
|
|
20300
|
+
return proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.deserializeBinaryFromReader(msg, reader);
|
|
20133
20301
|
};
|
|
20134
20302
|
|
|
20135
20303
|
|
|
20136
20304
|
/**
|
|
20137
20305
|
* Deserializes binary data (in protobuf wire format) from the
|
|
20138
20306
|
* given reader into the given message object.
|
|
20139
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
20307
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem} msg The message object to deserialize into.
|
|
20140
20308
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
20141
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
20309
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem}
|
|
20142
20310
|
*/
|
|
20143
|
-
proto.lansweeper.multitenant.v1.
|
|
20311
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
20144
20312
|
while (reader.nextField()) {
|
|
20145
20313
|
if (reader.isEndGroup()) {
|
|
20146
20314
|
break;
|
|
@@ -20148,20 +20316,20 @@ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.deserializeBinaryFromReader =
|
|
|
20148
20316
|
var field = reader.getFieldNumber();
|
|
20149
20317
|
switch (field) {
|
|
20150
20318
|
case 1:
|
|
20151
|
-
var value = /** @type {
|
|
20152
|
-
msg.
|
|
20319
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20320
|
+
msg.setSiteId(value);
|
|
20153
20321
|
break;
|
|
20154
20322
|
case 2:
|
|
20155
|
-
var value = /** @type {
|
|
20156
|
-
msg.
|
|
20323
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20324
|
+
msg.setParentType(value);
|
|
20157
20325
|
break;
|
|
20158
20326
|
case 3:
|
|
20159
|
-
var value = /** @type {
|
|
20160
|
-
msg.
|
|
20327
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20328
|
+
msg.setParentId(value);
|
|
20161
20329
|
break;
|
|
20162
20330
|
case 4:
|
|
20163
20331
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
20164
|
-
msg.
|
|
20332
|
+
msg.setIsCustomerAccount(value);
|
|
20165
20333
|
break;
|
|
20166
20334
|
default:
|
|
20167
20335
|
reader.skipField();
|
|
@@ -20176,9 +20344,9 @@ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.deserializeBinaryFromReader =
|
|
|
20176
20344
|
* Serializes the message to binary data (in protobuf wire format).
|
|
20177
20345
|
* @return {!Uint8Array}
|
|
20178
20346
|
*/
|
|
20179
|
-
proto.lansweeper.multitenant.v1.
|
|
20347
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.serializeBinary = function() {
|
|
20180
20348
|
var writer = new jspb.BinaryWriter();
|
|
20181
|
-
proto.lansweeper.multitenant.v1.
|
|
20349
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.serializeBinaryToWriter(this, writer);
|
|
20182
20350
|
return writer.getResultBuffer();
|
|
20183
20351
|
};
|
|
20184
20352
|
|
|
@@ -20186,34 +20354,34 @@ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.serializeBinary = f
|
|
|
20186
20354
|
/**
|
|
20187
20355
|
* Serializes the given message to binary data (in protobuf wire
|
|
20188
20356
|
* format), writing to the given BinaryWriter.
|
|
20189
|
-
* @param {!proto.lansweeper.multitenant.v1.
|
|
20357
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem} message
|
|
20190
20358
|
* @param {!jspb.BinaryWriter} writer
|
|
20191
20359
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20192
20360
|
*/
|
|
20193
|
-
proto.lansweeper.multitenant.v1.
|
|
20361
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.serializeBinaryToWriter = function(message, writer) {
|
|
20194
20362
|
var f = undefined;
|
|
20195
|
-
f = message.
|
|
20196
|
-
if (f
|
|
20197
|
-
writer.
|
|
20363
|
+
f = message.getSiteId();
|
|
20364
|
+
if (f.length > 0) {
|
|
20365
|
+
writer.writeString(
|
|
20198
20366
|
1,
|
|
20199
20367
|
f
|
|
20200
20368
|
);
|
|
20201
20369
|
}
|
|
20202
|
-
f = message.
|
|
20203
|
-
if (f
|
|
20204
|
-
writer.
|
|
20370
|
+
f = message.getParentType();
|
|
20371
|
+
if (f.length > 0) {
|
|
20372
|
+
writer.writeString(
|
|
20205
20373
|
2,
|
|
20206
20374
|
f
|
|
20207
20375
|
);
|
|
20208
20376
|
}
|
|
20209
|
-
f = message.
|
|
20210
|
-
if (f
|
|
20211
|
-
writer.
|
|
20377
|
+
f = message.getParentId();
|
|
20378
|
+
if (f.length > 0) {
|
|
20379
|
+
writer.writeString(
|
|
20212
20380
|
3,
|
|
20213
20381
|
f
|
|
20214
20382
|
);
|
|
20215
20383
|
}
|
|
20216
|
-
f = message.
|
|
20384
|
+
f = message.getIsCustomerAccount();
|
|
20217
20385
|
if (f) {
|
|
20218
20386
|
writer.writeBool(
|
|
20219
20387
|
4,
|
|
@@ -20224,47 +20392,858 @@ proto.lansweeper.multitenant.v1.MsmpPaginationInfo.serializeBinaryToWriter = fun
|
|
|
20224
20392
|
|
|
20225
20393
|
|
|
20226
20394
|
/**
|
|
20227
|
-
* optional
|
|
20228
|
-
* @return {
|
|
20395
|
+
* optional string site_id = 1;
|
|
20396
|
+
* @return {string}
|
|
20229
20397
|
*/
|
|
20230
|
-
proto.lansweeper.multitenant.v1.
|
|
20231
|
-
return /** @type {
|
|
20398
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.getSiteId = function() {
|
|
20399
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
20232
20400
|
};
|
|
20233
20401
|
|
|
20234
20402
|
|
|
20235
20403
|
/**
|
|
20236
|
-
* @param {
|
|
20237
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
20404
|
+
* @param {string} value
|
|
20405
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem} returns this
|
|
20238
20406
|
*/
|
|
20239
|
-
proto.lansweeper.multitenant.v1.
|
|
20240
|
-
return jspb.Message.
|
|
20407
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.setSiteId = function(value) {
|
|
20408
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
20241
20409
|
};
|
|
20242
20410
|
|
|
20243
20411
|
|
|
20244
20412
|
/**
|
|
20245
|
-
* optional
|
|
20246
|
-
* @return {
|
|
20413
|
+
* optional string parent_type = 2;
|
|
20414
|
+
* @return {string}
|
|
20247
20415
|
*/
|
|
20248
|
-
proto.lansweeper.multitenant.v1.
|
|
20249
|
-
return /** @type {
|
|
20416
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.getParentType = function() {
|
|
20417
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
20250
20418
|
};
|
|
20251
20419
|
|
|
20252
20420
|
|
|
20253
20421
|
/**
|
|
20254
|
-
* @param {
|
|
20255
|
-
* @return {!proto.lansweeper.multitenant.v1.
|
|
20422
|
+
* @param {string} value
|
|
20423
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem} returns this
|
|
20256
20424
|
*/
|
|
20257
|
-
proto.lansweeper.multitenant.v1.
|
|
20258
|
-
return jspb.Message.
|
|
20425
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.setParentType = function(value) {
|
|
20426
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
20259
20427
|
};
|
|
20260
20428
|
|
|
20261
20429
|
|
|
20262
20430
|
/**
|
|
20263
|
-
* optional
|
|
20264
|
-
* @return {
|
|
20431
|
+
* optional string parent_id = 3;
|
|
20432
|
+
* @return {string}
|
|
20265
20433
|
*/
|
|
20266
|
-
proto.lansweeper.multitenant.v1.
|
|
20267
|
-
return /** @type {
|
|
20434
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.getParentId = function() {
|
|
20435
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
20436
|
+
};
|
|
20437
|
+
|
|
20438
|
+
|
|
20439
|
+
/**
|
|
20440
|
+
* @param {string} value
|
|
20441
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem} returns this
|
|
20442
|
+
*/
|
|
20443
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.setParentId = function(value) {
|
|
20444
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
20445
|
+
};
|
|
20446
|
+
|
|
20447
|
+
|
|
20448
|
+
/**
|
|
20449
|
+
* optional bool is_customer_account = 4;
|
|
20450
|
+
* @return {boolean}
|
|
20451
|
+
*/
|
|
20452
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.getIsCustomerAccount = function() {
|
|
20453
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
20454
|
+
};
|
|
20455
|
+
|
|
20456
|
+
|
|
20457
|
+
/**
|
|
20458
|
+
* @param {boolean} value
|
|
20459
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem} returns this
|
|
20460
|
+
*/
|
|
20461
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.setIsCustomerAccount = function(value) {
|
|
20462
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
20463
|
+
};
|
|
20464
|
+
|
|
20465
|
+
|
|
20466
|
+
|
|
20467
|
+
|
|
20468
|
+
|
|
20469
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
20470
|
+
/**
|
|
20471
|
+
* Creates an object representation of this proto.
|
|
20472
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
20473
|
+
* Optional fields that are not set will be set to undefined.
|
|
20474
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
20475
|
+
* For the list of reserved names please see:
|
|
20476
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
20477
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
20478
|
+
* JSPB instance for transitional soy proto support:
|
|
20479
|
+
* http://goto/soy-param-migration
|
|
20480
|
+
* @return {!Object}
|
|
20481
|
+
*/
|
|
20482
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.prototype.toObject = function(opt_includeInstance) {
|
|
20483
|
+
return proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.toObject(opt_includeInstance, this);
|
|
20484
|
+
};
|
|
20485
|
+
|
|
20486
|
+
|
|
20487
|
+
/**
|
|
20488
|
+
* Static version of the {@see toObject} method.
|
|
20489
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
20490
|
+
* the JSPB instance for transitional soy proto support:
|
|
20491
|
+
* http://goto/soy-param-migration
|
|
20492
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo} msg The msg instance to transform.
|
|
20493
|
+
* @return {!Object}
|
|
20494
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20495
|
+
*/
|
|
20496
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.toObject = function(includeInstance, msg) {
|
|
20497
|
+
var f, obj = {
|
|
20498
|
+
offsetId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
20499
|
+
limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
20500
|
+
hasNextPage: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
20501
|
+
};
|
|
20502
|
+
|
|
20503
|
+
if (includeInstance) {
|
|
20504
|
+
obj.$jspbMessageInstance = msg;
|
|
20505
|
+
}
|
|
20506
|
+
return obj;
|
|
20507
|
+
};
|
|
20508
|
+
}
|
|
20509
|
+
|
|
20510
|
+
|
|
20511
|
+
/**
|
|
20512
|
+
* Deserializes binary data (in protobuf wire format).
|
|
20513
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
20514
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo}
|
|
20515
|
+
*/
|
|
20516
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.deserializeBinary = function(bytes) {
|
|
20517
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
20518
|
+
var msg = new proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo;
|
|
20519
|
+
return proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.deserializeBinaryFromReader(msg, reader);
|
|
20520
|
+
};
|
|
20521
|
+
|
|
20522
|
+
|
|
20523
|
+
/**
|
|
20524
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
20525
|
+
* given reader into the given message object.
|
|
20526
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo} msg The message object to deserialize into.
|
|
20527
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
20528
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo}
|
|
20529
|
+
*/
|
|
20530
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
20531
|
+
while (reader.nextField()) {
|
|
20532
|
+
if (reader.isEndGroup()) {
|
|
20533
|
+
break;
|
|
20534
|
+
}
|
|
20535
|
+
var field = reader.getFieldNumber();
|
|
20536
|
+
switch (field) {
|
|
20537
|
+
case 1:
|
|
20538
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20539
|
+
msg.setOffsetId(value);
|
|
20540
|
+
break;
|
|
20541
|
+
case 2:
|
|
20542
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
20543
|
+
msg.setLimit(value);
|
|
20544
|
+
break;
|
|
20545
|
+
case 3:
|
|
20546
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
20547
|
+
msg.setHasNextPage(value);
|
|
20548
|
+
break;
|
|
20549
|
+
default:
|
|
20550
|
+
reader.skipField();
|
|
20551
|
+
break;
|
|
20552
|
+
}
|
|
20553
|
+
}
|
|
20554
|
+
return msg;
|
|
20555
|
+
};
|
|
20556
|
+
|
|
20557
|
+
|
|
20558
|
+
/**
|
|
20559
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
20560
|
+
* @return {!Uint8Array}
|
|
20561
|
+
*/
|
|
20562
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.prototype.serializeBinary = function() {
|
|
20563
|
+
var writer = new jspb.BinaryWriter();
|
|
20564
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.serializeBinaryToWriter(this, writer);
|
|
20565
|
+
return writer.getResultBuffer();
|
|
20566
|
+
};
|
|
20567
|
+
|
|
20568
|
+
|
|
20569
|
+
/**
|
|
20570
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
20571
|
+
* format), writing to the given BinaryWriter.
|
|
20572
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo} message
|
|
20573
|
+
* @param {!jspb.BinaryWriter} writer
|
|
20574
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20575
|
+
*/
|
|
20576
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.serializeBinaryToWriter = function(message, writer) {
|
|
20577
|
+
var f = undefined;
|
|
20578
|
+
f = message.getOffsetId();
|
|
20579
|
+
if (f.length > 0) {
|
|
20580
|
+
writer.writeString(
|
|
20581
|
+
1,
|
|
20582
|
+
f
|
|
20583
|
+
);
|
|
20584
|
+
}
|
|
20585
|
+
f = message.getLimit();
|
|
20586
|
+
if (f !== 0) {
|
|
20587
|
+
writer.writeInt32(
|
|
20588
|
+
2,
|
|
20589
|
+
f
|
|
20590
|
+
);
|
|
20591
|
+
}
|
|
20592
|
+
f = message.getHasNextPage();
|
|
20593
|
+
if (f) {
|
|
20594
|
+
writer.writeBool(
|
|
20595
|
+
3,
|
|
20596
|
+
f
|
|
20597
|
+
);
|
|
20598
|
+
}
|
|
20599
|
+
};
|
|
20600
|
+
|
|
20601
|
+
|
|
20602
|
+
/**
|
|
20603
|
+
* optional string offset_id = 1;
|
|
20604
|
+
* @return {string}
|
|
20605
|
+
*/
|
|
20606
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.prototype.getOffsetId = function() {
|
|
20607
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
20608
|
+
};
|
|
20609
|
+
|
|
20610
|
+
|
|
20611
|
+
/**
|
|
20612
|
+
* @param {string} value
|
|
20613
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo} returns this
|
|
20614
|
+
*/
|
|
20615
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.prototype.setOffsetId = function(value) {
|
|
20616
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
20617
|
+
};
|
|
20618
|
+
|
|
20619
|
+
|
|
20620
|
+
/**
|
|
20621
|
+
* optional int32 limit = 2;
|
|
20622
|
+
* @return {number}
|
|
20623
|
+
*/
|
|
20624
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.prototype.getLimit = function() {
|
|
20625
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
20626
|
+
};
|
|
20627
|
+
|
|
20628
|
+
|
|
20629
|
+
/**
|
|
20630
|
+
* @param {number} value
|
|
20631
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo} returns this
|
|
20632
|
+
*/
|
|
20633
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.prototype.setLimit = function(value) {
|
|
20634
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
20635
|
+
};
|
|
20636
|
+
|
|
20637
|
+
|
|
20638
|
+
/**
|
|
20639
|
+
* optional bool has_next_page = 3;
|
|
20640
|
+
* @return {boolean}
|
|
20641
|
+
*/
|
|
20642
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.prototype.getHasNextPage = function() {
|
|
20643
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
20644
|
+
};
|
|
20645
|
+
|
|
20646
|
+
|
|
20647
|
+
/**
|
|
20648
|
+
* @param {boolean} value
|
|
20649
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo} returns this
|
|
20650
|
+
*/
|
|
20651
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.prototype.setHasNextPage = function(value) {
|
|
20652
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
20653
|
+
};
|
|
20654
|
+
|
|
20655
|
+
|
|
20656
|
+
|
|
20657
|
+
/**
|
|
20658
|
+
* List of repeated fields within this message type.
|
|
20659
|
+
* @private {!Array<number>}
|
|
20660
|
+
* @const
|
|
20661
|
+
*/
|
|
20662
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.repeatedFields_ = [2];
|
|
20663
|
+
|
|
20664
|
+
|
|
20665
|
+
|
|
20666
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
20667
|
+
/**
|
|
20668
|
+
* Creates an object representation of this proto.
|
|
20669
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
20670
|
+
* Optional fields that are not set will be set to undefined.
|
|
20671
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
20672
|
+
* For the list of reserved names please see:
|
|
20673
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
20674
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
20675
|
+
* JSPB instance for transitional soy proto support:
|
|
20676
|
+
* http://goto/soy-param-migration
|
|
20677
|
+
* @return {!Object}
|
|
20678
|
+
*/
|
|
20679
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
20680
|
+
return proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.toObject(opt_includeInstance, this);
|
|
20681
|
+
};
|
|
20682
|
+
|
|
20683
|
+
|
|
20684
|
+
/**
|
|
20685
|
+
* Static version of the {@see toObject} method.
|
|
20686
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
20687
|
+
* the JSPB instance for transitional soy proto support:
|
|
20688
|
+
* http://goto/soy-param-migration
|
|
20689
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse} msg The msg instance to transform.
|
|
20690
|
+
* @return {!Object}
|
|
20691
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20692
|
+
*/
|
|
20693
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.toObject = function(includeInstance, msg) {
|
|
20694
|
+
var f, obj = {
|
|
20695
|
+
count: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
20696
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
20697
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.toObject, includeInstance),
|
|
20698
|
+
pageInfo: (f = msg.getPageInfo()) && proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.toObject(includeInstance, f)
|
|
20699
|
+
};
|
|
20700
|
+
|
|
20701
|
+
if (includeInstance) {
|
|
20702
|
+
obj.$jspbMessageInstance = msg;
|
|
20703
|
+
}
|
|
20704
|
+
return obj;
|
|
20705
|
+
};
|
|
20706
|
+
}
|
|
20707
|
+
|
|
20708
|
+
|
|
20709
|
+
/**
|
|
20710
|
+
* Deserializes binary data (in protobuf wire format).
|
|
20711
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
20712
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse}
|
|
20713
|
+
*/
|
|
20714
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.deserializeBinary = function(bytes) {
|
|
20715
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
20716
|
+
var msg = new proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse;
|
|
20717
|
+
return proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.deserializeBinaryFromReader(msg, reader);
|
|
20718
|
+
};
|
|
20719
|
+
|
|
20720
|
+
|
|
20721
|
+
/**
|
|
20722
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
20723
|
+
* given reader into the given message object.
|
|
20724
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse} msg The message object to deserialize into.
|
|
20725
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
20726
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse}
|
|
20727
|
+
*/
|
|
20728
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
20729
|
+
while (reader.nextField()) {
|
|
20730
|
+
if (reader.isEndGroup()) {
|
|
20731
|
+
break;
|
|
20732
|
+
}
|
|
20733
|
+
var field = reader.getFieldNumber();
|
|
20734
|
+
switch (field) {
|
|
20735
|
+
case 1:
|
|
20736
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
20737
|
+
msg.setCount(value);
|
|
20738
|
+
break;
|
|
20739
|
+
case 2:
|
|
20740
|
+
var value = new proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem;
|
|
20741
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.deserializeBinaryFromReader);
|
|
20742
|
+
msg.addItems(value);
|
|
20743
|
+
break;
|
|
20744
|
+
case 3:
|
|
20745
|
+
var value = new proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo;
|
|
20746
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.deserializeBinaryFromReader);
|
|
20747
|
+
msg.setPageInfo(value);
|
|
20748
|
+
break;
|
|
20749
|
+
default:
|
|
20750
|
+
reader.skipField();
|
|
20751
|
+
break;
|
|
20752
|
+
}
|
|
20753
|
+
}
|
|
20754
|
+
return msg;
|
|
20755
|
+
};
|
|
20756
|
+
|
|
20757
|
+
|
|
20758
|
+
/**
|
|
20759
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
20760
|
+
* @return {!Uint8Array}
|
|
20761
|
+
*/
|
|
20762
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.prototype.serializeBinary = function() {
|
|
20763
|
+
var writer = new jspb.BinaryWriter();
|
|
20764
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.serializeBinaryToWriter(this, writer);
|
|
20765
|
+
return writer.getResultBuffer();
|
|
20766
|
+
};
|
|
20767
|
+
|
|
20768
|
+
|
|
20769
|
+
/**
|
|
20770
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
20771
|
+
* format), writing to the given BinaryWriter.
|
|
20772
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse} message
|
|
20773
|
+
* @param {!jspb.BinaryWriter} writer
|
|
20774
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20775
|
+
*/
|
|
20776
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
20777
|
+
var f = undefined;
|
|
20778
|
+
f = message.getCount();
|
|
20779
|
+
if (f !== 0) {
|
|
20780
|
+
writer.writeInt32(
|
|
20781
|
+
1,
|
|
20782
|
+
f
|
|
20783
|
+
);
|
|
20784
|
+
}
|
|
20785
|
+
f = message.getItemsList();
|
|
20786
|
+
if (f.length > 0) {
|
|
20787
|
+
writer.writeRepeatedMessage(
|
|
20788
|
+
2,
|
|
20789
|
+
f,
|
|
20790
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.serializeBinaryToWriter
|
|
20791
|
+
);
|
|
20792
|
+
}
|
|
20793
|
+
f = message.getPageInfo();
|
|
20794
|
+
if (f != null) {
|
|
20795
|
+
writer.writeMessage(
|
|
20796
|
+
3,
|
|
20797
|
+
f,
|
|
20798
|
+
proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo.serializeBinaryToWriter
|
|
20799
|
+
);
|
|
20800
|
+
}
|
|
20801
|
+
};
|
|
20802
|
+
|
|
20803
|
+
|
|
20804
|
+
/**
|
|
20805
|
+
* optional int32 count = 1;
|
|
20806
|
+
* @return {number}
|
|
20807
|
+
*/
|
|
20808
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.prototype.getCount = function() {
|
|
20809
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
20810
|
+
};
|
|
20811
|
+
|
|
20812
|
+
|
|
20813
|
+
/**
|
|
20814
|
+
* @param {number} value
|
|
20815
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse} returns this
|
|
20816
|
+
*/
|
|
20817
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.prototype.setCount = function(value) {
|
|
20818
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
20819
|
+
};
|
|
20820
|
+
|
|
20821
|
+
|
|
20822
|
+
/**
|
|
20823
|
+
* repeated SiteHierarchyIdsItem items = 2;
|
|
20824
|
+
* @return {!Array<!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem>}
|
|
20825
|
+
*/
|
|
20826
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.prototype.getItemsList = function() {
|
|
20827
|
+
return /** @type{!Array<!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem>} */ (
|
|
20828
|
+
jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem, 2));
|
|
20829
|
+
};
|
|
20830
|
+
|
|
20831
|
+
|
|
20832
|
+
/**
|
|
20833
|
+
* @param {!Array<!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem>} value
|
|
20834
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse} returns this
|
|
20835
|
+
*/
|
|
20836
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.prototype.setItemsList = function(value) {
|
|
20837
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
20838
|
+
};
|
|
20839
|
+
|
|
20840
|
+
|
|
20841
|
+
/**
|
|
20842
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem=} opt_value
|
|
20843
|
+
* @param {number=} opt_index
|
|
20844
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem}
|
|
20845
|
+
*/
|
|
20846
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
20847
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem, opt_index);
|
|
20848
|
+
};
|
|
20849
|
+
|
|
20850
|
+
|
|
20851
|
+
/**
|
|
20852
|
+
* Clears the list making it empty but non-null.
|
|
20853
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse} returns this
|
|
20854
|
+
*/
|
|
20855
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.prototype.clearItemsList = function() {
|
|
20856
|
+
return this.setItemsList([]);
|
|
20857
|
+
};
|
|
20858
|
+
|
|
20859
|
+
|
|
20860
|
+
/**
|
|
20861
|
+
* optional SiteHierarchyIdsPageInfo page_info = 3;
|
|
20862
|
+
* @return {?proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo}
|
|
20863
|
+
*/
|
|
20864
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.prototype.getPageInfo = function() {
|
|
20865
|
+
return /** @type{?proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo} */ (
|
|
20866
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo, 3));
|
|
20867
|
+
};
|
|
20868
|
+
|
|
20869
|
+
|
|
20870
|
+
/**
|
|
20871
|
+
* @param {?proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo|undefined} value
|
|
20872
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse} returns this
|
|
20873
|
+
*/
|
|
20874
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.prototype.setPageInfo = function(value) {
|
|
20875
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
20876
|
+
};
|
|
20877
|
+
|
|
20878
|
+
|
|
20879
|
+
/**
|
|
20880
|
+
* Clears the message field making it undefined.
|
|
20881
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse} returns this
|
|
20882
|
+
*/
|
|
20883
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.prototype.clearPageInfo = function() {
|
|
20884
|
+
return this.setPageInfo(undefined);
|
|
20885
|
+
};
|
|
20886
|
+
|
|
20887
|
+
|
|
20888
|
+
/**
|
|
20889
|
+
* Returns whether this field is set.
|
|
20890
|
+
* @return {boolean}
|
|
20891
|
+
*/
|
|
20892
|
+
proto.lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.prototype.hasPageInfo = function() {
|
|
20893
|
+
return jspb.Message.getField(this, 3) != null;
|
|
20894
|
+
};
|
|
20895
|
+
|
|
20896
|
+
|
|
20897
|
+
|
|
20898
|
+
|
|
20899
|
+
|
|
20900
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
20901
|
+
/**
|
|
20902
|
+
* Creates an object representation of this proto.
|
|
20903
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
20904
|
+
* Optional fields that are not set will be set to undefined.
|
|
20905
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
20906
|
+
* For the list of reserved names please see:
|
|
20907
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
20908
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
20909
|
+
* JSPB instance for transitional soy proto support:
|
|
20910
|
+
* http://goto/soy-param-migration
|
|
20911
|
+
* @return {!Object}
|
|
20912
|
+
*/
|
|
20913
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.prototype.toObject = function(opt_includeInstance) {
|
|
20914
|
+
return proto.lansweeper.multitenant.v1.MsmpPagination.toObject(opt_includeInstance, this);
|
|
20915
|
+
};
|
|
20916
|
+
|
|
20917
|
+
|
|
20918
|
+
/**
|
|
20919
|
+
* Static version of the {@see toObject} method.
|
|
20920
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
20921
|
+
* the JSPB instance for transitional soy proto support:
|
|
20922
|
+
* http://goto/soy-param-migration
|
|
20923
|
+
* @param {!proto.lansweeper.multitenant.v1.MsmpPagination} msg The msg instance to transform.
|
|
20924
|
+
* @return {!Object}
|
|
20925
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20926
|
+
*/
|
|
20927
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.toObject = function(includeInstance, msg) {
|
|
20928
|
+
var f, obj = {
|
|
20929
|
+
offset: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
20930
|
+
limit: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
20931
|
+
};
|
|
20932
|
+
|
|
20933
|
+
if (includeInstance) {
|
|
20934
|
+
obj.$jspbMessageInstance = msg;
|
|
20935
|
+
}
|
|
20936
|
+
return obj;
|
|
20937
|
+
};
|
|
20938
|
+
}
|
|
20939
|
+
|
|
20940
|
+
|
|
20941
|
+
/**
|
|
20942
|
+
* Deserializes binary data (in protobuf wire format).
|
|
20943
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
20944
|
+
* @return {!proto.lansweeper.multitenant.v1.MsmpPagination}
|
|
20945
|
+
*/
|
|
20946
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.deserializeBinary = function(bytes) {
|
|
20947
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
20948
|
+
var msg = new proto.lansweeper.multitenant.v1.MsmpPagination;
|
|
20949
|
+
return proto.lansweeper.multitenant.v1.MsmpPagination.deserializeBinaryFromReader(msg, reader);
|
|
20950
|
+
};
|
|
20951
|
+
|
|
20952
|
+
|
|
20953
|
+
/**
|
|
20954
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
20955
|
+
* given reader into the given message object.
|
|
20956
|
+
* @param {!proto.lansweeper.multitenant.v1.MsmpPagination} msg The message object to deserialize into.
|
|
20957
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
20958
|
+
* @return {!proto.lansweeper.multitenant.v1.MsmpPagination}
|
|
20959
|
+
*/
|
|
20960
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.deserializeBinaryFromReader = function(msg, reader) {
|
|
20961
|
+
while (reader.nextField()) {
|
|
20962
|
+
if (reader.isEndGroup()) {
|
|
20963
|
+
break;
|
|
20964
|
+
}
|
|
20965
|
+
var field = reader.getFieldNumber();
|
|
20966
|
+
switch (field) {
|
|
20967
|
+
case 1:
|
|
20968
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
20969
|
+
msg.setOffset(value);
|
|
20970
|
+
break;
|
|
20971
|
+
case 2:
|
|
20972
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
20973
|
+
msg.setLimit(value);
|
|
20974
|
+
break;
|
|
20975
|
+
default:
|
|
20976
|
+
reader.skipField();
|
|
20977
|
+
break;
|
|
20978
|
+
}
|
|
20979
|
+
}
|
|
20980
|
+
return msg;
|
|
20981
|
+
};
|
|
20982
|
+
|
|
20983
|
+
|
|
20984
|
+
/**
|
|
20985
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
20986
|
+
* @return {!Uint8Array}
|
|
20987
|
+
*/
|
|
20988
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.prototype.serializeBinary = function() {
|
|
20989
|
+
var writer = new jspb.BinaryWriter();
|
|
20990
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.serializeBinaryToWriter(this, writer);
|
|
20991
|
+
return writer.getResultBuffer();
|
|
20992
|
+
};
|
|
20993
|
+
|
|
20994
|
+
|
|
20995
|
+
/**
|
|
20996
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
20997
|
+
* format), writing to the given BinaryWriter.
|
|
20998
|
+
* @param {!proto.lansweeper.multitenant.v1.MsmpPagination} message
|
|
20999
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21000
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21001
|
+
*/
|
|
21002
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.serializeBinaryToWriter = function(message, writer) {
|
|
21003
|
+
var f = undefined;
|
|
21004
|
+
f = message.getOffset();
|
|
21005
|
+
if (f !== 0) {
|
|
21006
|
+
writer.writeInt32(
|
|
21007
|
+
1,
|
|
21008
|
+
f
|
|
21009
|
+
);
|
|
21010
|
+
}
|
|
21011
|
+
f = message.getLimit();
|
|
21012
|
+
if (f !== 0) {
|
|
21013
|
+
writer.writeInt32(
|
|
21014
|
+
2,
|
|
21015
|
+
f
|
|
21016
|
+
);
|
|
21017
|
+
}
|
|
21018
|
+
};
|
|
21019
|
+
|
|
21020
|
+
|
|
21021
|
+
/**
|
|
21022
|
+
* optional int32 offset = 1;
|
|
21023
|
+
* @return {number}
|
|
21024
|
+
*/
|
|
21025
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.prototype.getOffset = function() {
|
|
21026
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21027
|
+
};
|
|
21028
|
+
|
|
21029
|
+
|
|
21030
|
+
/**
|
|
21031
|
+
* @param {number} value
|
|
21032
|
+
* @return {!proto.lansweeper.multitenant.v1.MsmpPagination} returns this
|
|
21033
|
+
*/
|
|
21034
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.prototype.setOffset = function(value) {
|
|
21035
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21036
|
+
};
|
|
21037
|
+
|
|
21038
|
+
|
|
21039
|
+
/**
|
|
21040
|
+
* optional int32 limit = 2;
|
|
21041
|
+
* @return {number}
|
|
21042
|
+
*/
|
|
21043
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.prototype.getLimit = function() {
|
|
21044
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21045
|
+
};
|
|
21046
|
+
|
|
21047
|
+
|
|
21048
|
+
/**
|
|
21049
|
+
* @param {number} value
|
|
21050
|
+
* @return {!proto.lansweeper.multitenant.v1.MsmpPagination} returns this
|
|
21051
|
+
*/
|
|
21052
|
+
proto.lansweeper.multitenant.v1.MsmpPagination.prototype.setLimit = function(value) {
|
|
21053
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
21054
|
+
};
|
|
21055
|
+
|
|
21056
|
+
|
|
21057
|
+
|
|
21058
|
+
|
|
21059
|
+
|
|
21060
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21061
|
+
/**
|
|
21062
|
+
* Creates an object representation of this proto.
|
|
21063
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21064
|
+
* Optional fields that are not set will be set to undefined.
|
|
21065
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21066
|
+
* For the list of reserved names please see:
|
|
21067
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21068
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21069
|
+
* JSPB instance for transitional soy proto support:
|
|
21070
|
+
* http://goto/soy-param-migration
|
|
21071
|
+
* @return {!Object}
|
|
21072
|
+
*/
|
|
21073
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.toObject = function(opt_includeInstance) {
|
|
21074
|
+
return proto.lansweeper.multitenant.v1.MsmpPaginationInfo.toObject(opt_includeInstance, this);
|
|
21075
|
+
};
|
|
21076
|
+
|
|
21077
|
+
|
|
21078
|
+
/**
|
|
21079
|
+
* Static version of the {@see toObject} method.
|
|
21080
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21081
|
+
* the JSPB instance for transitional soy proto support:
|
|
21082
|
+
* http://goto/soy-param-migration
|
|
21083
|
+
* @param {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} msg The msg instance to transform.
|
|
21084
|
+
* @return {!Object}
|
|
21085
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21086
|
+
*/
|
|
21087
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.toObject = function(includeInstance, msg) {
|
|
21088
|
+
var f, obj = {
|
|
21089
|
+
total: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21090
|
+
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
21091
|
+
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
21092
|
+
hasNextPage: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
21093
|
+
};
|
|
21094
|
+
|
|
21095
|
+
if (includeInstance) {
|
|
21096
|
+
obj.$jspbMessageInstance = msg;
|
|
21097
|
+
}
|
|
21098
|
+
return obj;
|
|
21099
|
+
};
|
|
21100
|
+
}
|
|
21101
|
+
|
|
21102
|
+
|
|
21103
|
+
/**
|
|
21104
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21105
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21106
|
+
* @return {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo}
|
|
21107
|
+
*/
|
|
21108
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.deserializeBinary = function(bytes) {
|
|
21109
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21110
|
+
var msg = new proto.lansweeper.multitenant.v1.MsmpPaginationInfo;
|
|
21111
|
+
return proto.lansweeper.multitenant.v1.MsmpPaginationInfo.deserializeBinaryFromReader(msg, reader);
|
|
21112
|
+
};
|
|
21113
|
+
|
|
21114
|
+
|
|
21115
|
+
/**
|
|
21116
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21117
|
+
* given reader into the given message object.
|
|
21118
|
+
* @param {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} msg The message object to deserialize into.
|
|
21119
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21120
|
+
* @return {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo}
|
|
21121
|
+
*/
|
|
21122
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
21123
|
+
while (reader.nextField()) {
|
|
21124
|
+
if (reader.isEndGroup()) {
|
|
21125
|
+
break;
|
|
21126
|
+
}
|
|
21127
|
+
var field = reader.getFieldNumber();
|
|
21128
|
+
switch (field) {
|
|
21129
|
+
case 1:
|
|
21130
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21131
|
+
msg.setTotal(value);
|
|
21132
|
+
break;
|
|
21133
|
+
case 2:
|
|
21134
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21135
|
+
msg.setOffset(value);
|
|
21136
|
+
break;
|
|
21137
|
+
case 3:
|
|
21138
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21139
|
+
msg.setLimit(value);
|
|
21140
|
+
break;
|
|
21141
|
+
case 4:
|
|
21142
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
21143
|
+
msg.setHasNextPage(value);
|
|
21144
|
+
break;
|
|
21145
|
+
default:
|
|
21146
|
+
reader.skipField();
|
|
21147
|
+
break;
|
|
21148
|
+
}
|
|
21149
|
+
}
|
|
21150
|
+
return msg;
|
|
21151
|
+
};
|
|
21152
|
+
|
|
21153
|
+
|
|
21154
|
+
/**
|
|
21155
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21156
|
+
* @return {!Uint8Array}
|
|
21157
|
+
*/
|
|
21158
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.serializeBinary = function() {
|
|
21159
|
+
var writer = new jspb.BinaryWriter();
|
|
21160
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.serializeBinaryToWriter(this, writer);
|
|
21161
|
+
return writer.getResultBuffer();
|
|
21162
|
+
};
|
|
21163
|
+
|
|
21164
|
+
|
|
21165
|
+
/**
|
|
21166
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
21167
|
+
* format), writing to the given BinaryWriter.
|
|
21168
|
+
* @param {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} message
|
|
21169
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21170
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21171
|
+
*/
|
|
21172
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.serializeBinaryToWriter = function(message, writer) {
|
|
21173
|
+
var f = undefined;
|
|
21174
|
+
f = message.getTotal();
|
|
21175
|
+
if (f !== 0) {
|
|
21176
|
+
writer.writeInt32(
|
|
21177
|
+
1,
|
|
21178
|
+
f
|
|
21179
|
+
);
|
|
21180
|
+
}
|
|
21181
|
+
f = message.getOffset();
|
|
21182
|
+
if (f !== 0) {
|
|
21183
|
+
writer.writeInt32(
|
|
21184
|
+
2,
|
|
21185
|
+
f
|
|
21186
|
+
);
|
|
21187
|
+
}
|
|
21188
|
+
f = message.getLimit();
|
|
21189
|
+
if (f !== 0) {
|
|
21190
|
+
writer.writeInt32(
|
|
21191
|
+
3,
|
|
21192
|
+
f
|
|
21193
|
+
);
|
|
21194
|
+
}
|
|
21195
|
+
f = message.getHasNextPage();
|
|
21196
|
+
if (f) {
|
|
21197
|
+
writer.writeBool(
|
|
21198
|
+
4,
|
|
21199
|
+
f
|
|
21200
|
+
);
|
|
21201
|
+
}
|
|
21202
|
+
};
|
|
21203
|
+
|
|
21204
|
+
|
|
21205
|
+
/**
|
|
21206
|
+
* optional int32 total = 1;
|
|
21207
|
+
* @return {number}
|
|
21208
|
+
*/
|
|
21209
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.getTotal = function() {
|
|
21210
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21211
|
+
};
|
|
21212
|
+
|
|
21213
|
+
|
|
21214
|
+
/**
|
|
21215
|
+
* @param {number} value
|
|
21216
|
+
* @return {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} returns this
|
|
21217
|
+
*/
|
|
21218
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.setTotal = function(value) {
|
|
21219
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21220
|
+
};
|
|
21221
|
+
|
|
21222
|
+
|
|
21223
|
+
/**
|
|
21224
|
+
* optional int32 offset = 2;
|
|
21225
|
+
* @return {number}
|
|
21226
|
+
*/
|
|
21227
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.getOffset = function() {
|
|
21228
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21229
|
+
};
|
|
21230
|
+
|
|
21231
|
+
|
|
21232
|
+
/**
|
|
21233
|
+
* @param {number} value
|
|
21234
|
+
* @return {!proto.lansweeper.multitenant.v1.MsmpPaginationInfo} returns this
|
|
21235
|
+
*/
|
|
21236
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.setOffset = function(value) {
|
|
21237
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
21238
|
+
};
|
|
21239
|
+
|
|
21240
|
+
|
|
21241
|
+
/**
|
|
21242
|
+
* optional int32 limit = 3;
|
|
21243
|
+
* @return {number}
|
|
21244
|
+
*/
|
|
21245
|
+
proto.lansweeper.multitenant.v1.MsmpPaginationInfo.prototype.getLimit = function() {
|
|
21246
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
20268
21247
|
};
|
|
20269
21248
|
|
|
20270
21249
|
|
|
@@ -22412,6 +23391,136 @@ proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest.prototype
|
|
|
22412
23391
|
|
|
22413
23392
|
|
|
22414
23393
|
|
|
23394
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23395
|
+
/**
|
|
23396
|
+
* Creates an object representation of this proto.
|
|
23397
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23398
|
+
* Optional fields that are not set will be set to undefined.
|
|
23399
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23400
|
+
* For the list of reserved names please see:
|
|
23401
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23402
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23403
|
+
* JSPB instance for transitional soy proto support:
|
|
23404
|
+
* http://goto/soy-param-migration
|
|
23405
|
+
* @return {!Object}
|
|
23406
|
+
*/
|
|
23407
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest.prototype.toObject = function(opt_includeInstance) {
|
|
23408
|
+
return proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest.toObject(opt_includeInstance, this);
|
|
23409
|
+
};
|
|
23410
|
+
|
|
23411
|
+
|
|
23412
|
+
/**
|
|
23413
|
+
* Static version of the {@see toObject} method.
|
|
23414
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23415
|
+
* the JSPB instance for transitional soy proto support:
|
|
23416
|
+
* http://goto/soy-param-migration
|
|
23417
|
+
* @param {!proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest} msg The msg instance to transform.
|
|
23418
|
+
* @return {!Object}
|
|
23419
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23420
|
+
*/
|
|
23421
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest.toObject = function(includeInstance, msg) {
|
|
23422
|
+
var f, obj = {
|
|
23423
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
23424
|
+
};
|
|
23425
|
+
|
|
23426
|
+
if (includeInstance) {
|
|
23427
|
+
obj.$jspbMessageInstance = msg;
|
|
23428
|
+
}
|
|
23429
|
+
return obj;
|
|
23430
|
+
};
|
|
23431
|
+
}
|
|
23432
|
+
|
|
23433
|
+
|
|
23434
|
+
/**
|
|
23435
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23436
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23437
|
+
* @return {!proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest}
|
|
23438
|
+
*/
|
|
23439
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest.deserializeBinary = function(bytes) {
|
|
23440
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23441
|
+
var msg = new proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest;
|
|
23442
|
+
return proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest.deserializeBinaryFromReader(msg, reader);
|
|
23443
|
+
};
|
|
23444
|
+
|
|
23445
|
+
|
|
23446
|
+
/**
|
|
23447
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23448
|
+
* given reader into the given message object.
|
|
23449
|
+
* @param {!proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest} msg The message object to deserialize into.
|
|
23450
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23451
|
+
* @return {!proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest}
|
|
23452
|
+
*/
|
|
23453
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
23454
|
+
while (reader.nextField()) {
|
|
23455
|
+
if (reader.isEndGroup()) {
|
|
23456
|
+
break;
|
|
23457
|
+
}
|
|
23458
|
+
var field = reader.getFieldNumber();
|
|
23459
|
+
switch (field) {
|
|
23460
|
+
case 1:
|
|
23461
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23462
|
+
msg.setSiteId(value);
|
|
23463
|
+
break;
|
|
23464
|
+
default:
|
|
23465
|
+
reader.skipField();
|
|
23466
|
+
break;
|
|
23467
|
+
}
|
|
23468
|
+
}
|
|
23469
|
+
return msg;
|
|
23470
|
+
};
|
|
23471
|
+
|
|
23472
|
+
|
|
23473
|
+
/**
|
|
23474
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23475
|
+
* @return {!Uint8Array}
|
|
23476
|
+
*/
|
|
23477
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest.prototype.serializeBinary = function() {
|
|
23478
|
+
var writer = new jspb.BinaryWriter();
|
|
23479
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest.serializeBinaryToWriter(this, writer);
|
|
23480
|
+
return writer.getResultBuffer();
|
|
23481
|
+
};
|
|
23482
|
+
|
|
23483
|
+
|
|
23484
|
+
/**
|
|
23485
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23486
|
+
* format), writing to the given BinaryWriter.
|
|
23487
|
+
* @param {!proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest} message
|
|
23488
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23489
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23490
|
+
*/
|
|
23491
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest.serializeBinaryToWriter = function(message, writer) {
|
|
23492
|
+
var f = undefined;
|
|
23493
|
+
f = message.getSiteId();
|
|
23494
|
+
if (f.length > 0) {
|
|
23495
|
+
writer.writeString(
|
|
23496
|
+
1,
|
|
23497
|
+
f
|
|
23498
|
+
);
|
|
23499
|
+
}
|
|
23500
|
+
};
|
|
23501
|
+
|
|
23502
|
+
|
|
23503
|
+
/**
|
|
23504
|
+
* optional string site_id = 1;
|
|
23505
|
+
* @return {string}
|
|
23506
|
+
*/
|
|
23507
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest.prototype.getSiteId = function() {
|
|
23508
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
23509
|
+
};
|
|
23510
|
+
|
|
23511
|
+
|
|
23512
|
+
/**
|
|
23513
|
+
* @param {string} value
|
|
23514
|
+
* @return {!proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest} returns this
|
|
23515
|
+
*/
|
|
23516
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledRequest.prototype.setSiteId = function(value) {
|
|
23517
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
23518
|
+
};
|
|
23519
|
+
|
|
23520
|
+
|
|
23521
|
+
|
|
23522
|
+
|
|
23523
|
+
|
|
22415
23524
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22416
23525
|
/**
|
|
22417
23526
|
* Creates an object representation of this proto.
|
|
@@ -22542,6 +23651,136 @@ proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse.prototyp
|
|
|
22542
23651
|
|
|
22543
23652
|
|
|
22544
23653
|
|
|
23654
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23655
|
+
/**
|
|
23656
|
+
* Creates an object representation of this proto.
|
|
23657
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23658
|
+
* Optional fields that are not set will be set to undefined.
|
|
23659
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23660
|
+
* For the list of reserved names please see:
|
|
23661
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23662
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23663
|
+
* JSPB instance for transitional soy proto support:
|
|
23664
|
+
* http://goto/soy-param-migration
|
|
23665
|
+
* @return {!Object}
|
|
23666
|
+
*/
|
|
23667
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse.prototype.toObject = function(opt_includeInstance) {
|
|
23668
|
+
return proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse.toObject(opt_includeInstance, this);
|
|
23669
|
+
};
|
|
23670
|
+
|
|
23671
|
+
|
|
23672
|
+
/**
|
|
23673
|
+
* Static version of the {@see toObject} method.
|
|
23674
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23675
|
+
* the JSPB instance for transitional soy proto support:
|
|
23676
|
+
* http://goto/soy-param-migration
|
|
23677
|
+
* @param {!proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse} msg The msg instance to transform.
|
|
23678
|
+
* @return {!Object}
|
|
23679
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23680
|
+
*/
|
|
23681
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse.toObject = function(includeInstance, msg) {
|
|
23682
|
+
var f, obj = {
|
|
23683
|
+
isEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
23684
|
+
};
|
|
23685
|
+
|
|
23686
|
+
if (includeInstance) {
|
|
23687
|
+
obj.$jspbMessageInstance = msg;
|
|
23688
|
+
}
|
|
23689
|
+
return obj;
|
|
23690
|
+
};
|
|
23691
|
+
}
|
|
23692
|
+
|
|
23693
|
+
|
|
23694
|
+
/**
|
|
23695
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23696
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23697
|
+
* @return {!proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse}
|
|
23698
|
+
*/
|
|
23699
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse.deserializeBinary = function(bytes) {
|
|
23700
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23701
|
+
var msg = new proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse;
|
|
23702
|
+
return proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse.deserializeBinaryFromReader(msg, reader);
|
|
23703
|
+
};
|
|
23704
|
+
|
|
23705
|
+
|
|
23706
|
+
/**
|
|
23707
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23708
|
+
* given reader into the given message object.
|
|
23709
|
+
* @param {!proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse} msg The message object to deserialize into.
|
|
23710
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23711
|
+
* @return {!proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse}
|
|
23712
|
+
*/
|
|
23713
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
23714
|
+
while (reader.nextField()) {
|
|
23715
|
+
if (reader.isEndGroup()) {
|
|
23716
|
+
break;
|
|
23717
|
+
}
|
|
23718
|
+
var field = reader.getFieldNumber();
|
|
23719
|
+
switch (field) {
|
|
23720
|
+
case 1:
|
|
23721
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
23722
|
+
msg.setIsEnabled(value);
|
|
23723
|
+
break;
|
|
23724
|
+
default:
|
|
23725
|
+
reader.skipField();
|
|
23726
|
+
break;
|
|
23727
|
+
}
|
|
23728
|
+
}
|
|
23729
|
+
return msg;
|
|
23730
|
+
};
|
|
23731
|
+
|
|
23732
|
+
|
|
23733
|
+
/**
|
|
23734
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23735
|
+
* @return {!Uint8Array}
|
|
23736
|
+
*/
|
|
23737
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse.prototype.serializeBinary = function() {
|
|
23738
|
+
var writer = new jspb.BinaryWriter();
|
|
23739
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse.serializeBinaryToWriter(this, writer);
|
|
23740
|
+
return writer.getResultBuffer();
|
|
23741
|
+
};
|
|
23742
|
+
|
|
23743
|
+
|
|
23744
|
+
/**
|
|
23745
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23746
|
+
* format), writing to the given BinaryWriter.
|
|
23747
|
+
* @param {!proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse} message
|
|
23748
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23749
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23750
|
+
*/
|
|
23751
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse.serializeBinaryToWriter = function(message, writer) {
|
|
23752
|
+
var f = undefined;
|
|
23753
|
+
f = message.getIsEnabled();
|
|
23754
|
+
if (f) {
|
|
23755
|
+
writer.writeBool(
|
|
23756
|
+
1,
|
|
23757
|
+
f
|
|
23758
|
+
);
|
|
23759
|
+
}
|
|
23760
|
+
};
|
|
23761
|
+
|
|
23762
|
+
|
|
23763
|
+
/**
|
|
23764
|
+
* optional bool is_enabled = 1;
|
|
23765
|
+
* @return {boolean}
|
|
23766
|
+
*/
|
|
23767
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse.prototype.getIsEnabled = function() {
|
|
23768
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
23769
|
+
};
|
|
23770
|
+
|
|
23771
|
+
|
|
23772
|
+
/**
|
|
23773
|
+
* @param {boolean} value
|
|
23774
|
+
* @return {!proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse} returns this
|
|
23775
|
+
*/
|
|
23776
|
+
proto.lansweeper.multitenant.v1.IsMetadataFieldsFederationEnabledResponse.prototype.setIsEnabled = function(value) {
|
|
23777
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
23778
|
+
};
|
|
23779
|
+
|
|
23780
|
+
|
|
23781
|
+
|
|
23782
|
+
|
|
23783
|
+
|
|
22545
23784
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22546
23785
|
/**
|
|
22547
23786
|
* Creates an object representation of this proto.
|