@lansweeper/multitenant-api-grpc 0.4.62 → 0.4.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/multitenant_grpc_pb.d.ts +17 -0
- package/gen-proto/multitenant_grpc_pb.js +33 -0
- package/gen-proto/multitenant_pb.d.ts +46 -0
- package/gen-proto/multitenant_pb.js +364 -0
- package/generated-go/multitenant.pb.go +914 -755
- package/generated-go/multitenant_grpc.pb.go +38 -0
- package/package.json +2 -2
- package/proto/multitenant.proto +10 -0
|
@@ -55,6 +55,7 @@ interface IMultitenantService extends grpc.ServiceDefinition<grpc.UntypedService
|
|
|
55
55
|
setEnabledCustomFieldsFederation: IMultitenantService_ISetEnabledCustomFieldsFederation;
|
|
56
56
|
isCustomFieldsFederationEnabled: IMultitenantService_IIsCustomFieldsFederationEnabled;
|
|
57
57
|
getSitePreview: IMultitenantService_IGetSitePreview;
|
|
58
|
+
updateSiteSkipDataExport: IMultitenantService_IUpdateSiteSkipDataExport;
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
interface IMultitenantService_ICheckAccessToSiteByAccountId extends grpc.MethodDefinition<multitenant_pb.CheckAccessToSiteByAccountIdRequest, multitenant_pb.CheckAccessToSiteByAccountIdResponse> {
|
|
@@ -462,6 +463,15 @@ interface IMultitenantService_IGetSitePreview extends grpc.MethodDefinition<mult
|
|
|
462
463
|
responseSerialize: grpc.serialize<multitenant_pb.GetSitePreviewResponse>;
|
|
463
464
|
responseDeserialize: grpc.deserialize<multitenant_pb.GetSitePreviewResponse>;
|
|
464
465
|
}
|
|
466
|
+
interface IMultitenantService_IUpdateSiteSkipDataExport extends grpc.MethodDefinition<multitenant_pb.UpdateSiteSkipDataExportRequest, multitenant_pb.UpdateSiteSkipDataExportResponse> {
|
|
467
|
+
path: "/lansweeper.multitenant.v1.Multitenant/UpdateSiteSkipDataExport";
|
|
468
|
+
requestStream: false;
|
|
469
|
+
responseStream: false;
|
|
470
|
+
requestSerialize: grpc.serialize<multitenant_pb.UpdateSiteSkipDataExportRequest>;
|
|
471
|
+
requestDeserialize: grpc.deserialize<multitenant_pb.UpdateSiteSkipDataExportRequest>;
|
|
472
|
+
responseSerialize: grpc.serialize<multitenant_pb.UpdateSiteSkipDataExportResponse>;
|
|
473
|
+
responseDeserialize: grpc.deserialize<multitenant_pb.UpdateSiteSkipDataExportResponse>;
|
|
474
|
+
}
|
|
465
475
|
|
|
466
476
|
export const MultitenantService: IMultitenantService;
|
|
467
477
|
|
|
@@ -511,6 +521,7 @@ export interface IMultitenantServer extends grpc.UntypedServiceImplementation {
|
|
|
511
521
|
setEnabledCustomFieldsFederation: grpc.handleUnaryCall<multitenant_pb.SetEnabledCustomFieldsFederationRequest, google_protobuf_empty_pb.Empty>;
|
|
512
522
|
isCustomFieldsFederationEnabled: grpc.handleUnaryCall<multitenant_pb.IsCustomFieldsFederationEnabledRequest, multitenant_pb.IsCustomFieldsFederationEnabledResponse>;
|
|
513
523
|
getSitePreview: grpc.handleUnaryCall<multitenant_pb.GetSitePreviewRequest, multitenant_pb.GetSitePreviewResponse>;
|
|
524
|
+
updateSiteSkipDataExport: grpc.handleUnaryCall<multitenant_pb.UpdateSiteSkipDataExportRequest, multitenant_pb.UpdateSiteSkipDataExportResponse>;
|
|
514
525
|
}
|
|
515
526
|
|
|
516
527
|
export interface IMultitenantClient {
|
|
@@ -649,6 +660,9 @@ export interface IMultitenantClient {
|
|
|
649
660
|
getSitePreview(request: multitenant_pb.GetSitePreviewRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSitePreviewResponse) => void): grpc.ClientUnaryCall;
|
|
650
661
|
getSitePreview(request: multitenant_pb.GetSitePreviewRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSitePreviewResponse) => void): grpc.ClientUnaryCall;
|
|
651
662
|
getSitePreview(request: multitenant_pb.GetSitePreviewRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSitePreviewResponse) => void): grpc.ClientUnaryCall;
|
|
663
|
+
updateSiteSkipDataExport(request: multitenant_pb.UpdateSiteSkipDataExportRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.UpdateSiteSkipDataExportResponse) => void): grpc.ClientUnaryCall;
|
|
664
|
+
updateSiteSkipDataExport(request: multitenant_pb.UpdateSiteSkipDataExportRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.UpdateSiteSkipDataExportResponse) => void): grpc.ClientUnaryCall;
|
|
665
|
+
updateSiteSkipDataExport(request: multitenant_pb.UpdateSiteSkipDataExportRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.UpdateSiteSkipDataExportResponse) => void): grpc.ClientUnaryCall;
|
|
652
666
|
}
|
|
653
667
|
|
|
654
668
|
export class MultitenantClient extends grpc.Client implements IMultitenantClient {
|
|
@@ -788,4 +802,7 @@ export class MultitenantClient extends grpc.Client implements IMultitenantClient
|
|
|
788
802
|
public getSitePreview(request: multitenant_pb.GetSitePreviewRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSitePreviewResponse) => void): grpc.ClientUnaryCall;
|
|
789
803
|
public getSitePreview(request: multitenant_pb.GetSitePreviewRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSitePreviewResponse) => void): grpc.ClientUnaryCall;
|
|
790
804
|
public getSitePreview(request: multitenant_pb.GetSitePreviewRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSitePreviewResponse) => void): grpc.ClientUnaryCall;
|
|
805
|
+
public updateSiteSkipDataExport(request: multitenant_pb.UpdateSiteSkipDataExportRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.UpdateSiteSkipDataExportResponse) => void): grpc.ClientUnaryCall;
|
|
806
|
+
public updateSiteSkipDataExport(request: multitenant_pb.UpdateSiteSkipDataExportRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.UpdateSiteSkipDataExportResponse) => void): grpc.ClientUnaryCall;
|
|
807
|
+
public updateSiteSkipDataExport(request: multitenant_pb.UpdateSiteSkipDataExportRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.UpdateSiteSkipDataExportResponse) => void): grpc.ClientUnaryCall;
|
|
791
808
|
}
|
|
@@ -941,6 +941,28 @@ function deserialize_lansweeper_multitenant_v1_UpdateSiteMetadataResponse(buffer
|
|
|
941
941
|
return multitenant_pb.UpdateSiteMetadataResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
942
942
|
}
|
|
943
943
|
|
|
944
|
+
function serialize_lansweeper_multitenant_v1_UpdateSiteSkipDataExportRequest(arg) {
|
|
945
|
+
if (!(arg instanceof multitenant_pb.UpdateSiteSkipDataExportRequest)) {
|
|
946
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest');
|
|
947
|
+
}
|
|
948
|
+
return Buffer.from(arg.serializeBinary());
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
function deserialize_lansweeper_multitenant_v1_UpdateSiteSkipDataExportRequest(buffer_arg) {
|
|
952
|
+
return multitenant_pb.UpdateSiteSkipDataExportRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
function serialize_lansweeper_multitenant_v1_UpdateSiteSkipDataExportResponse(arg) {
|
|
956
|
+
if (!(arg instanceof multitenant_pb.UpdateSiteSkipDataExportResponse)) {
|
|
957
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse');
|
|
958
|
+
}
|
|
959
|
+
return Buffer.from(arg.serializeBinary());
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
function deserialize_lansweeper_multitenant_v1_UpdateSiteSkipDataExportResponse(buffer_arg) {
|
|
963
|
+
return multitenant_pb.UpdateSiteSkipDataExportResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
964
|
+
}
|
|
965
|
+
|
|
944
966
|
function serialize_lansweeper_multitenant_v1_UpdateSiteSubscriptionRequest(arg) {
|
|
945
967
|
if (!(arg instanceof multitenant_pb.UpdateSiteSubscriptionRequest)) {
|
|
946
968
|
throw new Error('Expected argument of type lansweeper.multitenant.v1.UpdateSiteSubscriptionRequest');
|
|
@@ -1482,6 +1504,17 @@ var MultitenantService = exports.MultitenantService = {
|
|
|
1482
1504
|
responseSerialize: serialize_lansweeper_multitenant_v1_GetSitePreviewResponse,
|
|
1483
1505
|
responseDeserialize: deserialize_lansweeper_multitenant_v1_GetSitePreviewResponse,
|
|
1484
1506
|
},
|
|
1507
|
+
updateSiteSkipDataExport: {
|
|
1508
|
+
path: '/lansweeper.multitenant.v1.Multitenant/UpdateSiteSkipDataExport',
|
|
1509
|
+
requestStream: false,
|
|
1510
|
+
responseStream: false,
|
|
1511
|
+
requestType: multitenant_pb.UpdateSiteSkipDataExportRequest,
|
|
1512
|
+
responseType: multitenant_pb.UpdateSiteSkipDataExportResponse,
|
|
1513
|
+
requestSerialize: serialize_lansweeper_multitenant_v1_UpdateSiteSkipDataExportRequest,
|
|
1514
|
+
requestDeserialize: deserialize_lansweeper_multitenant_v1_UpdateSiteSkipDataExportRequest,
|
|
1515
|
+
responseSerialize: serialize_lansweeper_multitenant_v1_UpdateSiteSkipDataExportResponse,
|
|
1516
|
+
responseDeserialize: deserialize_lansweeper_multitenant_v1_UpdateSiteSkipDataExportResponse,
|
|
1517
|
+
},
|
|
1485
1518
|
};
|
|
1486
1519
|
|
|
1487
1520
|
exports.MultitenantClient = grpc.makeGenericClientConstructor(MultitenantService);
|
|
@@ -2349,6 +2349,52 @@ export namespace UpdateSiteMetadataResponse {
|
|
|
2349
2349
|
}
|
|
2350
2350
|
}
|
|
2351
2351
|
|
|
2352
|
+
export class UpdateSiteSkipDataExportRequest extends jspb.Message {
|
|
2353
|
+
getSiteId(): string;
|
|
2354
|
+
setSiteId(value: string): UpdateSiteSkipDataExportRequest;
|
|
2355
|
+
getSkipDataExport(): boolean;
|
|
2356
|
+
setSkipDataExport(value: boolean): UpdateSiteSkipDataExportRequest;
|
|
2357
|
+
getUpdatedBy(): string;
|
|
2358
|
+
setUpdatedBy(value: string): UpdateSiteSkipDataExportRequest;
|
|
2359
|
+
|
|
2360
|
+
serializeBinary(): Uint8Array;
|
|
2361
|
+
toObject(includeInstance?: boolean): UpdateSiteSkipDataExportRequest.AsObject;
|
|
2362
|
+
static toObject(includeInstance: boolean, msg: UpdateSiteSkipDataExportRequest): UpdateSiteSkipDataExportRequest.AsObject;
|
|
2363
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2364
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2365
|
+
static serializeBinaryToWriter(message: UpdateSiteSkipDataExportRequest, writer: jspb.BinaryWriter): void;
|
|
2366
|
+
static deserializeBinary(bytes: Uint8Array): UpdateSiteSkipDataExportRequest;
|
|
2367
|
+
static deserializeBinaryFromReader(message: UpdateSiteSkipDataExportRequest, reader: jspb.BinaryReader): UpdateSiteSkipDataExportRequest;
|
|
2368
|
+
}
|
|
2369
|
+
|
|
2370
|
+
export namespace UpdateSiteSkipDataExportRequest {
|
|
2371
|
+
export type AsObject = {
|
|
2372
|
+
siteId: string,
|
|
2373
|
+
skipDataExport: boolean,
|
|
2374
|
+
updatedBy: string,
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
export class UpdateSiteSkipDataExportResponse extends jspb.Message {
|
|
2379
|
+
getSuccess(): boolean;
|
|
2380
|
+
setSuccess(value: boolean): UpdateSiteSkipDataExportResponse;
|
|
2381
|
+
|
|
2382
|
+
serializeBinary(): Uint8Array;
|
|
2383
|
+
toObject(includeInstance?: boolean): UpdateSiteSkipDataExportResponse.AsObject;
|
|
2384
|
+
static toObject(includeInstance: boolean, msg: UpdateSiteSkipDataExportResponse): UpdateSiteSkipDataExportResponse.AsObject;
|
|
2385
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2386
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2387
|
+
static serializeBinaryToWriter(message: UpdateSiteSkipDataExportResponse, writer: jspb.BinaryWriter): void;
|
|
2388
|
+
static deserializeBinary(bytes: Uint8Array): UpdateSiteSkipDataExportResponse;
|
|
2389
|
+
static deserializeBinaryFromReader(message: UpdateSiteSkipDataExportResponse, reader: jspb.BinaryReader): UpdateSiteSkipDataExportResponse;
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
export namespace UpdateSiteSkipDataExportResponse {
|
|
2393
|
+
export type AsObject = {
|
|
2394
|
+
success: boolean,
|
|
2395
|
+
}
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2352
2398
|
export class GetSiteLimitsRequest extends jspb.Message {
|
|
2353
2399
|
clearSiteIdsList(): void;
|
|
2354
2400
|
getSiteIdsList(): Array<string>;
|
|
@@ -136,6 +136,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.UpdateInstallByClientIdReques
|
|
|
136
136
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse', null, global);
|
|
137
137
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.UpdateSiteMetadataRequest', null, global);
|
|
138
138
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.UpdateSiteMetadataResponse', null, global);
|
|
139
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest', null, global);
|
|
140
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse', null, global);
|
|
139
141
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.UpdateSiteSubscriptionRequest', null, global);
|
|
140
142
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.UpdateSiteSubscriptionResponse', null, global);
|
|
141
143
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest', null, global);
|
|
@@ -2072,6 +2074,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2072
2074
|
*/
|
|
2073
2075
|
proto.lansweeper.multitenant.v1.UpdateSiteMetadataResponse.displayName = 'proto.lansweeper.multitenant.v1.UpdateSiteMetadataResponse';
|
|
2074
2076
|
}
|
|
2077
|
+
/**
|
|
2078
|
+
* Generated by JsPbCodeGenerator.
|
|
2079
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2080
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2081
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2082
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2083
|
+
* valid.
|
|
2084
|
+
* @extends {jspb.Message}
|
|
2085
|
+
* @constructor
|
|
2086
|
+
*/
|
|
2087
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest = function(opt_data) {
|
|
2088
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2089
|
+
};
|
|
2090
|
+
goog.inherits(proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest, jspb.Message);
|
|
2091
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2092
|
+
/**
|
|
2093
|
+
* @public
|
|
2094
|
+
* @override
|
|
2095
|
+
*/
|
|
2096
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.displayName = 'proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest';
|
|
2097
|
+
}
|
|
2098
|
+
/**
|
|
2099
|
+
* Generated by JsPbCodeGenerator.
|
|
2100
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2101
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2102
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2103
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2104
|
+
* valid.
|
|
2105
|
+
* @extends {jspb.Message}
|
|
2106
|
+
* @constructor
|
|
2107
|
+
*/
|
|
2108
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse = function(opt_data) {
|
|
2109
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2110
|
+
};
|
|
2111
|
+
goog.inherits(proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse, jspb.Message);
|
|
2112
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2113
|
+
/**
|
|
2114
|
+
* @public
|
|
2115
|
+
* @override
|
|
2116
|
+
*/
|
|
2117
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse.displayName = 'proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse';
|
|
2118
|
+
}
|
|
2075
2119
|
/**
|
|
2076
2120
|
* Generated by JsPbCodeGenerator.
|
|
2077
2121
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -19263,6 +19307,326 @@ proto.lansweeper.multitenant.v1.UpdateSiteMetadataResponse.prototype.setSuccess
|
|
|
19263
19307
|
|
|
19264
19308
|
|
|
19265
19309
|
|
|
19310
|
+
|
|
19311
|
+
|
|
19312
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
19313
|
+
/**
|
|
19314
|
+
* Creates an object representation of this proto.
|
|
19315
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
19316
|
+
* Optional fields that are not set will be set to undefined.
|
|
19317
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
19318
|
+
* For the list of reserved names please see:
|
|
19319
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
19320
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
19321
|
+
* JSPB instance for transitional soy proto support:
|
|
19322
|
+
* http://goto/soy-param-migration
|
|
19323
|
+
* @return {!Object}
|
|
19324
|
+
*/
|
|
19325
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.prototype.toObject = function(opt_includeInstance) {
|
|
19326
|
+
return proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.toObject(opt_includeInstance, this);
|
|
19327
|
+
};
|
|
19328
|
+
|
|
19329
|
+
|
|
19330
|
+
/**
|
|
19331
|
+
* Static version of the {@see toObject} method.
|
|
19332
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
19333
|
+
* the JSPB instance for transitional soy proto support:
|
|
19334
|
+
* http://goto/soy-param-migration
|
|
19335
|
+
* @param {!proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest} msg The msg instance to transform.
|
|
19336
|
+
* @return {!Object}
|
|
19337
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19338
|
+
*/
|
|
19339
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.toObject = function(includeInstance, msg) {
|
|
19340
|
+
var f, obj = {
|
|
19341
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19342
|
+
skipDataExport: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
19343
|
+
updatedBy: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
19344
|
+
};
|
|
19345
|
+
|
|
19346
|
+
if (includeInstance) {
|
|
19347
|
+
obj.$jspbMessageInstance = msg;
|
|
19348
|
+
}
|
|
19349
|
+
return obj;
|
|
19350
|
+
};
|
|
19351
|
+
}
|
|
19352
|
+
|
|
19353
|
+
|
|
19354
|
+
/**
|
|
19355
|
+
* Deserializes binary data (in protobuf wire format).
|
|
19356
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
19357
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest}
|
|
19358
|
+
*/
|
|
19359
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.deserializeBinary = function(bytes) {
|
|
19360
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
19361
|
+
var msg = new proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest;
|
|
19362
|
+
return proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.deserializeBinaryFromReader(msg, reader);
|
|
19363
|
+
};
|
|
19364
|
+
|
|
19365
|
+
|
|
19366
|
+
/**
|
|
19367
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
19368
|
+
* given reader into the given message object.
|
|
19369
|
+
* @param {!proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest} msg The message object to deserialize into.
|
|
19370
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
19371
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest}
|
|
19372
|
+
*/
|
|
19373
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
19374
|
+
while (reader.nextField()) {
|
|
19375
|
+
if (reader.isEndGroup()) {
|
|
19376
|
+
break;
|
|
19377
|
+
}
|
|
19378
|
+
var field = reader.getFieldNumber();
|
|
19379
|
+
switch (field) {
|
|
19380
|
+
case 1:
|
|
19381
|
+
var value = /** @type {string} */ (reader.readString());
|
|
19382
|
+
msg.setSiteId(value);
|
|
19383
|
+
break;
|
|
19384
|
+
case 2:
|
|
19385
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
19386
|
+
msg.setSkipDataExport(value);
|
|
19387
|
+
break;
|
|
19388
|
+
case 3:
|
|
19389
|
+
var value = /** @type {string} */ (reader.readString());
|
|
19390
|
+
msg.setUpdatedBy(value);
|
|
19391
|
+
break;
|
|
19392
|
+
default:
|
|
19393
|
+
reader.skipField();
|
|
19394
|
+
break;
|
|
19395
|
+
}
|
|
19396
|
+
}
|
|
19397
|
+
return msg;
|
|
19398
|
+
};
|
|
19399
|
+
|
|
19400
|
+
|
|
19401
|
+
/**
|
|
19402
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
19403
|
+
* @return {!Uint8Array}
|
|
19404
|
+
*/
|
|
19405
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.prototype.serializeBinary = function() {
|
|
19406
|
+
var writer = new jspb.BinaryWriter();
|
|
19407
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.serializeBinaryToWriter(this, writer);
|
|
19408
|
+
return writer.getResultBuffer();
|
|
19409
|
+
};
|
|
19410
|
+
|
|
19411
|
+
|
|
19412
|
+
/**
|
|
19413
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
19414
|
+
* format), writing to the given BinaryWriter.
|
|
19415
|
+
* @param {!proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest} message
|
|
19416
|
+
* @param {!jspb.BinaryWriter} writer
|
|
19417
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19418
|
+
*/
|
|
19419
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.serializeBinaryToWriter = function(message, writer) {
|
|
19420
|
+
var f = undefined;
|
|
19421
|
+
f = message.getSiteId();
|
|
19422
|
+
if (f.length > 0) {
|
|
19423
|
+
writer.writeString(
|
|
19424
|
+
1,
|
|
19425
|
+
f
|
|
19426
|
+
);
|
|
19427
|
+
}
|
|
19428
|
+
f = message.getSkipDataExport();
|
|
19429
|
+
if (f) {
|
|
19430
|
+
writer.writeBool(
|
|
19431
|
+
2,
|
|
19432
|
+
f
|
|
19433
|
+
);
|
|
19434
|
+
}
|
|
19435
|
+
f = message.getUpdatedBy();
|
|
19436
|
+
if (f.length > 0) {
|
|
19437
|
+
writer.writeString(
|
|
19438
|
+
3,
|
|
19439
|
+
f
|
|
19440
|
+
);
|
|
19441
|
+
}
|
|
19442
|
+
};
|
|
19443
|
+
|
|
19444
|
+
|
|
19445
|
+
/**
|
|
19446
|
+
* optional string site_id = 1;
|
|
19447
|
+
* @return {string}
|
|
19448
|
+
*/
|
|
19449
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.prototype.getSiteId = function() {
|
|
19450
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
19451
|
+
};
|
|
19452
|
+
|
|
19453
|
+
|
|
19454
|
+
/**
|
|
19455
|
+
* @param {string} value
|
|
19456
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest} returns this
|
|
19457
|
+
*/
|
|
19458
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.prototype.setSiteId = function(value) {
|
|
19459
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
19460
|
+
};
|
|
19461
|
+
|
|
19462
|
+
|
|
19463
|
+
/**
|
|
19464
|
+
* optional bool skip_data_export = 2;
|
|
19465
|
+
* @return {boolean}
|
|
19466
|
+
*/
|
|
19467
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.prototype.getSkipDataExport = function() {
|
|
19468
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
19469
|
+
};
|
|
19470
|
+
|
|
19471
|
+
|
|
19472
|
+
/**
|
|
19473
|
+
* @param {boolean} value
|
|
19474
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest} returns this
|
|
19475
|
+
*/
|
|
19476
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.prototype.setSkipDataExport = function(value) {
|
|
19477
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
19478
|
+
};
|
|
19479
|
+
|
|
19480
|
+
|
|
19481
|
+
/**
|
|
19482
|
+
* optional string updated_by = 3;
|
|
19483
|
+
* @return {string}
|
|
19484
|
+
*/
|
|
19485
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.prototype.getUpdatedBy = function() {
|
|
19486
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
19487
|
+
};
|
|
19488
|
+
|
|
19489
|
+
|
|
19490
|
+
/**
|
|
19491
|
+
* @param {string} value
|
|
19492
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest} returns this
|
|
19493
|
+
*/
|
|
19494
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportRequest.prototype.setUpdatedBy = function(value) {
|
|
19495
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
19496
|
+
};
|
|
19497
|
+
|
|
19498
|
+
|
|
19499
|
+
|
|
19500
|
+
|
|
19501
|
+
|
|
19502
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
19503
|
+
/**
|
|
19504
|
+
* Creates an object representation of this proto.
|
|
19505
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
19506
|
+
* Optional fields that are not set will be set to undefined.
|
|
19507
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
19508
|
+
* For the list of reserved names please see:
|
|
19509
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
19510
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
19511
|
+
* JSPB instance for transitional soy proto support:
|
|
19512
|
+
* http://goto/soy-param-migration
|
|
19513
|
+
* @return {!Object}
|
|
19514
|
+
*/
|
|
19515
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse.prototype.toObject = function(opt_includeInstance) {
|
|
19516
|
+
return proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse.toObject(opt_includeInstance, this);
|
|
19517
|
+
};
|
|
19518
|
+
|
|
19519
|
+
|
|
19520
|
+
/**
|
|
19521
|
+
* Static version of the {@see toObject} method.
|
|
19522
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
19523
|
+
* the JSPB instance for transitional soy proto support:
|
|
19524
|
+
* http://goto/soy-param-migration
|
|
19525
|
+
* @param {!proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse} msg The msg instance to transform.
|
|
19526
|
+
* @return {!Object}
|
|
19527
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19528
|
+
*/
|
|
19529
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse.toObject = function(includeInstance, msg) {
|
|
19530
|
+
var f, obj = {
|
|
19531
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
19532
|
+
};
|
|
19533
|
+
|
|
19534
|
+
if (includeInstance) {
|
|
19535
|
+
obj.$jspbMessageInstance = msg;
|
|
19536
|
+
}
|
|
19537
|
+
return obj;
|
|
19538
|
+
};
|
|
19539
|
+
}
|
|
19540
|
+
|
|
19541
|
+
|
|
19542
|
+
/**
|
|
19543
|
+
* Deserializes binary data (in protobuf wire format).
|
|
19544
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
19545
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse}
|
|
19546
|
+
*/
|
|
19547
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse.deserializeBinary = function(bytes) {
|
|
19548
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
19549
|
+
var msg = new proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse;
|
|
19550
|
+
return proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse.deserializeBinaryFromReader(msg, reader);
|
|
19551
|
+
};
|
|
19552
|
+
|
|
19553
|
+
|
|
19554
|
+
/**
|
|
19555
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
19556
|
+
* given reader into the given message object.
|
|
19557
|
+
* @param {!proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse} msg The message object to deserialize into.
|
|
19558
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
19559
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse}
|
|
19560
|
+
*/
|
|
19561
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
19562
|
+
while (reader.nextField()) {
|
|
19563
|
+
if (reader.isEndGroup()) {
|
|
19564
|
+
break;
|
|
19565
|
+
}
|
|
19566
|
+
var field = reader.getFieldNumber();
|
|
19567
|
+
switch (field) {
|
|
19568
|
+
case 1:
|
|
19569
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
19570
|
+
msg.setSuccess(value);
|
|
19571
|
+
break;
|
|
19572
|
+
default:
|
|
19573
|
+
reader.skipField();
|
|
19574
|
+
break;
|
|
19575
|
+
}
|
|
19576
|
+
}
|
|
19577
|
+
return msg;
|
|
19578
|
+
};
|
|
19579
|
+
|
|
19580
|
+
|
|
19581
|
+
/**
|
|
19582
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
19583
|
+
* @return {!Uint8Array}
|
|
19584
|
+
*/
|
|
19585
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse.prototype.serializeBinary = function() {
|
|
19586
|
+
var writer = new jspb.BinaryWriter();
|
|
19587
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse.serializeBinaryToWriter(this, writer);
|
|
19588
|
+
return writer.getResultBuffer();
|
|
19589
|
+
};
|
|
19590
|
+
|
|
19591
|
+
|
|
19592
|
+
/**
|
|
19593
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
19594
|
+
* format), writing to the given BinaryWriter.
|
|
19595
|
+
* @param {!proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse} message
|
|
19596
|
+
* @param {!jspb.BinaryWriter} writer
|
|
19597
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19598
|
+
*/
|
|
19599
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse.serializeBinaryToWriter = function(message, writer) {
|
|
19600
|
+
var f = undefined;
|
|
19601
|
+
f = message.getSuccess();
|
|
19602
|
+
if (f) {
|
|
19603
|
+
writer.writeBool(
|
|
19604
|
+
1,
|
|
19605
|
+
f
|
|
19606
|
+
);
|
|
19607
|
+
}
|
|
19608
|
+
};
|
|
19609
|
+
|
|
19610
|
+
|
|
19611
|
+
/**
|
|
19612
|
+
* optional bool success = 1;
|
|
19613
|
+
* @return {boolean}
|
|
19614
|
+
*/
|
|
19615
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse.prototype.getSuccess = function() {
|
|
19616
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
19617
|
+
};
|
|
19618
|
+
|
|
19619
|
+
|
|
19620
|
+
/**
|
|
19621
|
+
* @param {boolean} value
|
|
19622
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse} returns this
|
|
19623
|
+
*/
|
|
19624
|
+
proto.lansweeper.multitenant.v1.UpdateSiteSkipDataExportResponse.prototype.setSuccess = function(value) {
|
|
19625
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
19626
|
+
};
|
|
19627
|
+
|
|
19628
|
+
|
|
19629
|
+
|
|
19266
19630
|
/**
|
|
19267
19631
|
* List of repeated fields within this message type.
|
|
19268
19632
|
* @private {!Array<number>}
|